/* ============================================================
   OptiFarm marketing site
   Brand tokens mirror the app design system (app_colors).
   ============================================================ */

:root {
  --green:        #479559;
  --green-deep:   #2F6B40;
  --green-bright: #62A571;
  --green-tint:   #E7F0EA;

  --ink:          #1C2620;
  --ink-charcoal: #333333;
  --ink-soft:     #5A6A60;

  --surface:      #FFFFFF;
  --surface-warm: #F7F5EF;
  --line:         #E3E0D6;

  --warn:         #C8841C;

  /* Radii mirror app_spacing.dart: buttons and inputs use md (14), cards lg (18). */
  --radius-sm: 10px;   /* radiusSm */
  --radius:    14px;   /* radiusMd: buttons, inputs, small cards */
  --radius-lg: 18px;   /* radiusLg: cards */
  --radius-xl: 22px;   /* radiusXl */
  --radius-pill: 999px; /* chips and badges only, matching chipTheme */

  --shadow-sm: 0 1px 2px rgba(28, 38, 32, .05), 0 2px 8px rgba(28, 38, 32, .04);
  --shadow:    0 6px 20px rgba(28, 38, 32, .08), 0 2px 6px rgba(28, 38, 32, .05);
  --shadow-lg: 0 24px 60px rgba(28, 38, 32, .16), 0 8px 24px rgba(28, 38, 32, .08);

  --maxw: 1180px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 12px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(71,149,89,.28); }
.btn--primary:hover { background: var(--green-deep); box-shadow: 0 12px 26px rgba(47,107,64,.34); }

.btn--ghost { background: transparent; color: var(--green-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); background: var(--green-tint); }

.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }

.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { background: var(--green-tint); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- nav ---------- */
.nav {
  /* Fixed so the nav OVERLAYS the hero (transparent over green), rather than
     reserving a white strip above it. The hero's top padding clears it. */
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 32px; width: auto; }
/* Over the green hero show a clean white wordmark; once the nav turns solid
   (on scroll) switch to the full-colour logo. Inverting the colour logo
   flattened the mark to a white blob, so we swap rather than filter. */
.brand__word--hero {
  display: none; font-family: var(--font-display); font-weight: 800;
  font-size: 21px; letter-spacing: .05em; color: #fff;
}
.nav:not(.is-solid) .brand__logo { display: none; }
.nav:not(.is-solid) .brand__word--hero { display: inline-block; }
.nav__links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px; color: #fff;
  opacity: .92; transition: opacity .15s;
}
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__signin { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.10); }
.nav__signin:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* solid state after scroll (set by JS) */
.nav.is-solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav.is-solid .nav__links a { color: var(--ink); }
.nav.is-solid .nav__signin { color: var(--green-deep); border-color: var(--line); }
.nav.is-solid .nav__signin:hover { background: var(--green-tint); }
.nav.is-solid .nav__toggle span { background: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }

/* ---------- eyebrow / headings ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-tint);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--light { color: #eafff0; background: rgba(255,255,255,.14); }

.section { padding: 96px 0; }
.section--warm { background: var(--surface-warm); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); }
.section__sub { margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.section__sub--light { color: rgba(255,255,255,.82); }

/* ============================ HERO ============================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 120px 0 96px;
  background: linear-gradient(155deg, #2b6a3d 0%, #23532f 55%, #16341d 100%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    radial-gradient(1000px 500px at 78% -8%, rgba(98,165,113,.55), transparent 60%),
    radial-gradient(700px 500px at 8% 110%, rgba(20,60,32,.6), transparent 60%);
}
/* topographic contour texture */
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image:
    repeating-radial-gradient(circle at 82% 12%, transparent 0 26px, rgba(255,255,255,.25) 27px 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
          mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero__copy h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.03em; }
.grad {
  background: linear-gradient(90deg, #bff3cb, #7fd196);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; font-size: 20px; color: rgba(255,255,255,.9); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__cta--center { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; }
.hero__trust li { position: relative; padding-left: 26px; font-size: 15px; color: rgba(255,255,255,.9); font-weight: 500; }
.hero__trust li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #bff3cb;
  font-size: 11px; display: grid; place-items: center; font-weight: 700;
}

/* ---------- device frames holding real app screenshots ---------- */
/* Dark rounded bezel around a real portrait screenshot. No fake notch: the
   captures already include the phone's own status bar. */
.device {
  background: #0f130d;
  border-radius: 36px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08);
}
.device__screen { border-radius: 30px; overflow: hidden; background: #000; line-height: 0; }
.device__screen img { width: 100%; height: auto; display: block; }

/* Hero: front phone in flow, a second phone behind it for depth. */
.hero__art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero__art .device { width: 250px; }
.hero__art .device--front { position: relative; z-index: 2; transform: rotate(-3deg); }
.hero__art .device--back {
  position: absolute; z-index: 1; width: 220px; right: 6%; top: 4%;
  transform: rotate(7deg);
}

/* ============================ TRUST STRIP ============================ */
.strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; }
.strip__item { text-align: center; }
.strip__item b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--green-deep); }
.strip__item span { font-size: 13.5px; color: var(--ink-soft); }

/* ============================ WHY ============================ */
.why__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.why__copy h2 { font-size: clamp(26px, 3.6vw, 38px); }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep); font-weight: 800; font-size: 12px; display: grid; place-items: center;
}
.checklist--light li { color: rgba(255,255,255,.9); }
.checklist--light li::before { background: rgba(255,255,255,.16); color: #bff3cb; }
.why__cards { display: flex; flex-direction: column; gap: 16px; }
.minicard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.minicard__ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-deep); margin-bottom: 14px;
}
.minicard__ico svg { width: 22px; height: 22px; }
.minicard b { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.minicard span { color: var(--ink-soft); font-size: 15px; }

/* ============================ BENTO FEATURES ============================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4cfbf; }
.bento__lead { grid-column: span 1; grid-row: span 2; background: linear-gradient(170deg, #fbfaf6, #fff); display: flex; flex-direction: column; }
.bento .card h3 { font-size: 19px; margin-bottom: 8px; }
.bento .card p { color: var(--ink-soft); font-size: 15.5px; }
.feature__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-tint); color: var(--green-deep); margin-bottom: 16px;
}
.feature__ico svg { width: 26px; height: 26px; }
.bento__chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--green-deep); background: var(--green-tint); border-radius: 999px; padding: 6px 12px; }

/* ============================ COMPLIANCE ============================ */
.compliance { color: #fff; background: linear-gradient(160deg, #234f2e, #16341d); }
.compliance__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.compliance__copy h2 { font-size: clamp(26px, 3.6vw, 40px); }
.reg { margin-top: 30px; }
.reg h3 { font-size: 18px; color: #d8f5df; margin-bottom: 12px; }
.compliance__panel { display: flex; justify-content: center; }
.cert {
  width: 100%; max-width: 400px; background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px;
}
.cert__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.cert__mark { font-family: var(--font-display); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.cert__ok { font-size: 12px; font-weight: 700; color: var(--green-deep); background: var(--green-tint); border-radius: 999px; padding: 5px 12px; }
.cert__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cert__row small { color: var(--ink-soft); font-size: 13px; }
.cert__row b { font-size: 14px; text-align: right; }
.cert__foot { margin-top: 16px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--green-deep); background: var(--green-tint); border-radius: 12px; padding: 12px; }

/* ============================ STEPS ============================ */
.grid { display: grid; gap: 24px; }
.grid--steps { grid-template-columns: repeat(3, 1fr); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(150deg, var(--green-bright), var(--green-deep)); margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================ PLATFORM ============================ */
.platform__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.platform__copy h2 { font-size: clamp(26px, 3.6vw, 40px); }
.platform__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.platform__col h3 { font-size: 17px; margin-bottom: 8px; }
.platform__col p { color: var(--ink-soft); font-size: 14.5px; }
.platform__col .feature__ico { width: 46px; height: 46px; font-size: 22px; }
.badges { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 14px; }
.store-badge__ico { width: 20px; height: 24px; background: #fff; -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 3c.1 1-.3 2-1 2.8-.7.8-1.8 1.4-2.8 1.3-.1-1 .4-2 1-2.7C14.5 3.6 15.6 3 16.5 3zm2.8 15.3c-.5 1.1-.7 1.6-1.3 2.6-.9 1.4-2.1 3.1-3.6 3.1-1.3 0-1.7-.9-3.5-.9s-2.2.8-3.5.9c-1.5.1-2.6-1.5-3.5-2.9C-.2 17.6-.6 12.8 1.6 10c.9-1.3 2.4-2.1 3.8-2.1 1.4 0 2.3.9 3.5.9 1.1 0 1.8-.9 3.5-.9 1.2 0 2.5.7 3.4 1.8-3 1.6-2.5 5.9.9 7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.5 3c.1 1-.3 2-1 2.8-.7.8-1.8 1.4-2.8 1.3-.1-1 .4-2 1-2.7C14.5 3.6 15.6 3 16.5 3zm2.8 15.3c-.5 1.1-.7 1.6-1.3 2.6-.9 1.4-2.1 3.1-3.6 3.1-1.3 0-1.7-.9-3.5-.9s-2.2.8-3.5.9c-1.5.1-2.6-1.5-3.5-2.9C-.2 17.6-.6 12.8 1.6 10c.9-1.3 2.4-2.1 3.8-2.1 1.4 0 2.3.9 3.5.9 1.1 0 1.8-.9 3.5-.9 1.2 0 2.5.7 3.4 1.8-3 1.6-2.5 5.9.9 7z'/%3E%3C/svg%3E"); }
.store-badge__ico--play { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 2l16 10L3 22z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 2l16 10L3 22z'/%3E%3C/svg%3E"); }
.store-badge small { display: block; font-size: 9.5px; opacity: .8; line-height: 1; }
.store-badge b { font-family: var(--font-display); font-size: 14px; line-height: 1.1; }
.muted-note { font-size: 12.5px; color: var(--ink-soft); }
.platform__art { display: flex; justify-content: center; }
.platform__art .device { width: 270px; transform: rotate(-2deg); }

/* ============================ SCREENSHOT GALLERY ============================ */
.gallery { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; }
.gallery__item { margin: 0; text-align: center; }
.gallery .device { width: 264px; }
.gallery__cap { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.gallery__cap small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ============================ PRICING ============================ */
.grid--pricing { grid-template-columns: repeat(3, 1fr); align-items: start; }
.price { display: flex; flex-direction: column; position: relative; }
.price__head h3 { font-family: var(--font-display); font-size: 22px; }
.price__for { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.price__amount { display: flex; align-items: baseline; gap: 2px; margin: 20px 0 4px; font-family: var(--font-display); }
.price__amount .cur { font-size: 22px; font-weight: 600; color: var(--ink-soft); }
.price__amount .num { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.price__amount .per { font-size: 16px; color: var(--ink-soft); }
.price__range { font-size: 14px; font-weight: 600; color: var(--green-deep); background: var(--green-tint); display: inline-block; border-radius: 999px; padding: 4px 12px; }
.price__list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 26px; }
.price__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); }
.price__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.price .btn { margin-top: auto; }
.price--featured {
  border-color: var(--green); box-shadow: 0 20px 44px rgba(47,107,64,.18);
  transform: translateY(-8px);
}
.price--featured:hover { transform: translateY(-12px); }
.price__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px rgba(71,149,89,.35);
}
.price__foot { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 32px; }

/* Herd-size pricing: billing toggle + a tiered card and a Commercial card. */
.pricing__toggle {
  display: flex; width: fit-content; margin: 0 auto 36px; gap: 4px;
  padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.ptoggle {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-soft);
  padding: 9px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.ptoggle.is-active { background: var(--green); color: #fff; }
.ptoggle__save { font-size: 11px; font-weight: 700; background: var(--green-tint); color: var(--green-deep); padding: 2px 8px; border-radius: 999px; }
.ptoggle.is-active .ptoggle__save { background: rgba(255,255,255,.22); color: #fff; }

.pricing__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; max-width: 920px; margin: 0 auto; }
.pricex { display: flex; flex-direction: column; }
.pricex--main { border-color: var(--green); box-shadow: 0 20px 44px rgba(47,107,64,.14); }
.pricex--commercial { background: linear-gradient(170deg, #fbfaf6, #fff); }
.pricex h3 { font-family: var(--font-display); font-size: 22px; }
.pricex__pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tierbtn {
  border: 1px solid var(--line); background: var(--surface); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink);
  padding: 9px 14px; border-radius: 10px; transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.tierbtn:hover { border-color: var(--green); }
.tierbtn.is-active { background: var(--green-tint); border-color: var(--green); color: var(--green-deep); }
.pricex__label { font-size: 14px; font-weight: 600; color: var(--green-deep); }
.pricex .price__amount { margin: 12px 0 2px; }
.pricex__note { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 10px; min-height: 20px; }
.pricex__perhead { font-size: 14px; color: var(--green-deep); font-weight: 600; margin: 0 0 10px; }
.pricex__perhead b { font-weight: 800; }
.pricex__lsu {
  font-size: 12.5px; color: var(--ink-soft); margin: 0 0 18px; padding: 8px 12px;
  background: var(--green-tint); border-radius: 10px;
}
.pricex .btn { margin-top: 0; margin-bottom: 4px; }
.pricex .price__list { margin: 22px 0 0; }
.price__amount .num--sm { font-size: 34px; }

/* ============================ FAQ ============================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-display);
  font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--green); transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); padding: 0 0 20px; font-size: 15.5px; }

/* ============================ FINAL CTA ============================ */
.cta { position: relative; color: #fff; overflow: hidden; padding: 96px 0; text-align: center; background: linear-gradient(150deg, #2b6a3d, #16341d); }
.cta__bg { position: absolute; inset: 0; opacity: .5; background: radial-gradient(700px 400px at 50% -20%, rgba(98,165,113,.5), transparent 60%); }
.cta__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta__inner h2 { font-size: clamp(28px, 4.4vw, 46px); }
.cta__inner p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.88); }

/* ============================ FOOTER ============================ */
.footer { background: #12160f; color: rgba(255,255,255,.72); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 14px; font-size: 15px; max-width: 320px; }
.brand--light { display: inline-flex; align-items: center; gap: 10px; }
.brand__word { font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; color: #fff; font-size: 18px; }
.footer__col h4 { font-family: var(--font-display); font-size: 14px; color: #fff; margin-bottom: 16px; letter-spacing: .04em; }
.footer__col a { display: block; padding: 6px 0; font-size: 15px; color: rgba(255,255,255,.7); transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }

/* ============================ REVEAL ANIMATION ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .hero__grid, .why__grid, .compliance__grid, .platform__grid { grid-template-columns: 1fr; }
  .hero__art { min-height: 380px; margin-top: 12px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__lead { grid-column: span 2; grid-row: auto; }
  .platform__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; margin: 0; transform: translateY(-140%); transition: transform .3s var(--ease); box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__toggle { display: flex; }
  /* Keep "Sign in" reachable in the top bar; the primary CTA sits in the hero
     just below, so drop it from the bar to leave room on narrow screens. */
  .nav__signin { display: inline-flex; padding: 9px 16px; }
  .nav__actions > .btn--primary { display: none; }
  .strip__inner { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .bento, .grid--steps, .grid--pricing, .pricing__grid { grid-template-columns: 1fr; }
  .bento__lead { grid-column: auto; }
  .platform__cols { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__art { min-height: 340px; }
  .hero__art .device { width: 210px; }
  .hero__art .device--back { width: 184px; right: 2%; }
  .gallery { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
