
:root {
  --bg: #f6f8f4;
  --bg-soft: #eef4ef;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #1b2631;
  --muted: #5c6b78;
  --line: #d8e1e8;
  --brand-green: #135f3c;
  --brand-green-2: #1d7a4d;
  --brand-gold: #c9941e;
  --brand-ink: #1f2730;
  --shadow: 0 20px 50px rgba(19, 32, 45, 0.08);
  --shadow-soft: 0 10px 28px rgba(19, 32, 45, 0.06);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201,148,30,0.09), transparent 30%),
    radial-gradient(circle at top right, rgba(29,122,77,0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfa 0%, #f3f7f6 48%, #eef3f7 100%);
  line-height: 1.6;
}
a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-2); }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px; 
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,225,232,0.85);
}
.brand-image { display: inline-flex; align-items: center; }
.brand-logo-full { height: 54px; width: auto; background: transparent; }
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--brand-ink); font-weight: 600; }
.main-nav .nav-cta {
  padding: 10px 16px; border-radius: 999px;
  background: var(--brand-green); color: white;
  box-shadow: var(--shadow-soft);
}
.main-nav .nav-cta:hover { background: var(--brand-green-2); color: white; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: white; color: var(--brand-ink);
  border-radius: 12px; padding: 8px 12px; font-size: 1.1rem;
}
main, .site-footer { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 48px 0 26px;
}
.hero-copy h1, .page-hero h1 {
  margin: 0 0 18px; font-size: clamp(2.35rem, 5vw, 4.3rem); line-height: 1.05; letter-spacing: -0.03em;
}
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 800; color: var(--brand-green); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
}
.button.primary { background: linear-gradient(135deg, var(--brand-green), var(--brand-green-2)); color: white; box-shadow: var(--shadow-soft); }
.button.secondary { background: white; color: var(--brand-ink); border-color: var(--line); }
.hero-brand-card {
  background: linear-gradient(180deg, rgba(248,250,247,0.96), rgba(238,243,240,0.98));
  border: 1px solid rgba(208,218,210,0.95);
  box-shadow: 0 22px 52px rgba(19, 32, 45, 0.07);
  border-radius: 28px; padding: 24px 24px 20px;
}
.hero-logo {
  width: min(100%, 440px);
  margin: 0 auto 6px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.code-card, .code-panel {
  margin-top: 18px; background: #0f1720; color: #e9f0f8; border-radius: 18px; padding: 18px 20px; overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.code-card.compact { margin-top: 20px; }
.code-card pre, .code-panel pre { margin: 0; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.strip {
  margin: 6px 0 30px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(90deg, rgba(19,95,60,0.08), rgba(201,148,30,0.11));
  border: 1px solid rgba(201,148,30,0.18);
}
.section { padding: 26px 0 18px; }
.section.contrast {
  background: linear-gradient(180deg, #163a33 0%, #152d43 100%);
  color: #f5f8fb; border-radius: 28px; padding: 36px 28px; margin: 18px 0;
  box-shadow: var(--shadow);
}
.section.contrast .eyebrow, .section.contrast p { color: rgba(245,248,251,0.86); }
.section.contrast h2 { color: white; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(1.65rem, 4vw, 2.7rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
.section-heading p { margin: 0; color: var(--muted); max-width: 65ch; }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: rgba(255,255,255,0.92); border: 1px solid rgba(216,225,232,0.9);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
}
.card h3 { margin: 0 0 10px; font-size: 1.14rem; }
.card p { margin: 0; color: var(--muted); }
.page-hero { padding: 42px 0 10px; }
.page-hero p { color: var(--muted); max-width: 65ch; }
.site-footer {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start;
  margin-top: 48px; padding: 28px 0 44px; border-top: 1px solid rgba(216,225,232,0.9);
}
.footer-brand { margin-bottom: 12px; }
.site-footer p { margin: 0; color: var(--muted); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.site-footer nav a { color: var(--brand-ink); font-weight: 600; }
@media (max-width: 980px) {
  .hero, .grid.four, .grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  main, .site-footer { width: min(1160px, calc(100% - 28px)); }
  .site-header { padding: 12px 14px; }
  .brand-logo-full { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 74px; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow);
  }
  body.nav-open .main-nav { display: flex; }
  .hero, .grid.two, .grid.three, .grid.four, .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .hero { padding-top: 28px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
}

.hero-brand-card .code-card.compact { margin-top: 10px; }
