/* ==========================================================================
   BiteCast marketing site - design system
   Light-locked. Tokens mirror the app's theme.ts v5 (light mode).
   System font stack (matches the app's SF Pro). One accent: emerald.
   Brand chartreuse appears ONLY as the label on the ink CTA pill + small badges.
   ========================================================================== */

:root {
  /* surfaces (light mode) */
  --bg: #E7EDE9;          /* paper50  - page base, lifts white cards */
  --surface: #FFFFFF;     /* paper    - cards / sheets */
  --surface-2: #EAF0EB;   /* paper100 - recessed fills, tracks */
  --tint: #DCE7DF;        /* soft emerald-leaning band between bg and surface-2 */

  /* ink (brand dark) - used for CTA pill, the wordmark, deep text accents */
  --ink: #11201D;         /* ink900 */
  --ink-deep: #0B1416;    /* ink950 - CTA pressed */

  /* text */
  --text: #16211E;        /* pine950  16.5:1 */
  --text-2: #4B5D56;      /* pine600   7.0:1 */
  --text-3: #6E837B;      /* pine400   4.0:1 large/meta only */

  /* accent (the ONE accent: emerald) */
  --accent: #047857;      /* emerald700 - accent text/icons/links 5.5:1 */
  --accent-strong: #036B4D;
  --accent-soft: rgba(4, 120, 87, 0.12);
  --accent-soft-2: rgba(4, 120, 87, 0.18);

  /* brand lure color - chartreuse. Only legible as a FILL with ink text,
     or as the label on the ink pill. Never as bare text/large fill on light. */
  --chartreuse: #C8F046;

  /* score demo color (good band only on this page) */
  --score-good: #047857;

  /* lines */
  --hairline: #CBD6CD;    /* paper300 1.50:1 */
  --border: #A8BBAC;      /* paper400 2.03:1 */

  /* elevation (one soft ink-tinted shadow, per the app's light cue) */
  --elev-card: 0 2px 8px rgba(16, 33, 30, 0.10);
  --elev-overlay: 0 6px 20px rgba(16, 33, 30, 0.14), 0 2px 6px rgba(16, 33, 30, 0.10);
  --elev-hero: 0 24px 60px rgba(16, 33, 30, 0.16), 0 6px 18px rgba(16, 33, 30, 0.10);

  /* shape system: pill buttons, lg/xl cards, md inputs (locked) */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* rhythm */
  --container: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------ reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "tnum" 1;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------ layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* ----------------------------- typography ------------------------------- */
h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
.h-display { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.035em; }
.h-section { font-size: clamp(1.85rem, 4.2vw, 2.9rem); letter-spacing: -0.03em; }
.h-sub { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; }
.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 34ch;
  margin: 0;
}
.muted { color: var(--text-2); }
.prose-max { max-width: 62ch; }

/* ----------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* primary = ink pill + chartreuse label (light-mode CTA inversion) */
.btn-store {
  background: var(--ink);
  color: var(--chartreuse);
  padding: 11px 22px 11px 20px;
  box-shadow: var(--elev-card);
}
.btn-store:hover { background: var(--ink-deep); transform: translateY(-2px); box-shadow: var(--elev-overlay); }
.btn-store.soon { cursor: default; }
.btn-store.soon:hover { background: var(--ink); transform: none; box-shadow: var(--elev-card); }
.btn-store.soon:active { transform: none; }
.btn-store .apple { width: 22px; height: 22px; fill: var(--chartreuse); flex: none; }
.btn-store .store-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; text-align: left; }
.btn-store .store-copy .small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.02em; opacity: 0.92; }
.btn-store .store-copy .big { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

/* ghost = text/link button */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 13px 22px;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

/* small chartreuse badge (fill + ink text + hairline) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--chartreuse); color: var(--ink);
  border: 1px solid rgba(22, 33, 30, 0.12);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 5px 11px; border-radius: var(--r-pill);
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--hairline);
  font-size: 0.82rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-pill);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ------------------------------ nav ------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(231, 237, 233, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav-inner {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .wordmark { font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) { font-size: 0.95rem; font-weight: 600; color: var(--text-2); transition: color 0.15s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ------------------------------ hero ------------------------------------ */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { max-width: 40ch; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent-word { color: var(--accent); }
.hero .lede { margin-bottom: 30px; max-width: 40ch; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-reassure { margin-top: 18px; font-size: 0.88rem; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-reassure svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; }

/* ------------------------- phone + carousel ----------------------------- */
.showcase { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 19.3;
  background: var(--ink);
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--elev-hero);
}
.phone::after { /* notch */
  content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 22px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--surface);
}
.carousel { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* honest, labeled placeholders for app screenshots (replace with real images) */
.slide.s1 { background: linear-gradient(170deg, #F2F7F3 0%, #E2EFE7 100%); }
.slide.s2 { background: linear-gradient(170deg, #EFF5F6 0%, #DCEAEF 100%); }
.slide.s3 { background: linear-gradient(170deg, #F4F5EE 0%, #E7EEDD 100%); }
.slide-top { display: flex; align-items: center; justify-content: space-between; }
.slide-kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.slide-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.score-dial {
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--score-good) 0 87%, var(--surface-2) 87% 100%);
  position: relative;
}
.score-dial::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--surface); }
.score-dial .num { position: relative; font-size: 3.1rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.score-meta { text-align: center; }
.score-meta .label { font-size: 0.92rem; font-weight: 700; color: var(--score-good); }
.score-meta .where { font-size: 0.78rem; color: var(--text-3); }
.slide-why { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.why-row { display: flex; align-items: center; gap: 9px; font-size: 0.74rem; color: var(--text-2); background: rgba(255,255,255,0.66); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 7px 10px; }
.why-row .tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.ph-note {
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
  border: 1px dashed var(--border); border-radius: var(--r-pill); padding: 4px 9px; align-self: center;
}
.bars { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-row .day { font-size: 0.7rem; color: var(--text-3); width: 30px; }
.bar-track { flex: 1; height: 12px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent-strong), var(--accent)); }
.scan-card { width: 100%; background: rgba(255,255,255,0.72); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.scan-thumb { height: 90px; border-radius: var(--r-sm); background: linear-gradient(135deg, #D7E6DC, #C3DBCB); display: grid; place-items: center; color: var(--text-3); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.scan-line { display: flex; align-items: center; justify-content: space-between; }
.scan-line .sp { font-weight: 800; font-size: 0.95rem; }
.scan-line .cf { font-size: 0.68rem; color: var(--accent); font-weight: 700; }
.carousel-dots { display: flex; gap: 11px; justify-content: center; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--border); transition: background-color 0.2s var(--ease); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--ink); }

/* ---------------------- capability strip -------------------------------- */
.caps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden;
  margin-top: 8px;
}
.cap { background: var(--surface); padding: 24px 24px; text-align: center; }
.cap .big { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.cap .lbl { font-size: 0.9rem; color: var(--text-2); margin-top: 4px; }

/* ------------------------- how it works --------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); margin-top: 44px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 0.98rem; margin: 0; }

/* ------------------------- credibility split ---------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.inputs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.input-chip {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-pill);
  padding: 9px 16px; font-size: 0.92rem; font-weight: 600; color: var(--text);
  box-shadow: var(--elev-card);
}
.input-chip.more { background: var(--accent-soft); border-color: rgba(4, 120, 87, 0.40); color: var(--accent); box-shadow: none; }
.cred-visual {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--elev-card);
}
.cred-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cred-head .big-score { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--score-good); font-variant-numeric: tabular-nums; line-height: 1; }
.cred-head .big-score small { font-size: 1rem; color: var(--text-3); font-weight: 700; }
.factor { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--hairline); }
.factor:first-of-type { border-top: 0; }
.factor .fname { font-weight: 600; font-size: 0.96rem; }
.factor .fwhy { grid-column: 1 / 2; font-size: 0.84rem; color: var(--text-2); }
.factor .fval { font-size: 0.82rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ------------------------- scanner feature ------------------------------ */
.feature-band { background: var(--surface); border-block: 1px solid var(--hairline); }
.feature-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.ba-card { border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 16px; background: var(--bg); text-align: center; }
.ba-card img { width: 100%; height: auto; display: block; border-radius: var(--r-md); margin-bottom: 12px; }
.ba-card .cap-t { font-size: 0.86rem; font-weight: 700; }
.ba-card .cap-s { font-size: 0.78rem; color: var(--text-2); }
.ba-arrow { color: var(--accent); display: grid; place-items: center; }
.ba-arrow svg { width: 28px; height: 28px; }

/* ---------------------------- free vs pro ------------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.plan { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 34px); }
.plan.pro { border: 1.5px solid var(--ink); position: relative; box-shadow: var(--elev-card); }
.plan .plan-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.plan h3 { font-size: 1.35rem; }
.plan .price { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.plan .price small { color: var(--text-3); font-weight: 600; font-size: 0.8rem; }
.plan .tag { font-size: 0.92rem; color: var(--text-2); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--text); }
.plan li svg { width: 19px; height: 19px; stroke: var(--accent); flex: none; margin-top: 2px; }
.plan .note { margin-top: 20px; font-size: 0.84rem; color: var(--text-3); }

/* ----------------------------- final CTA -------------------------------- */
.cta-band { }
.cta-card {
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  text-align: center;
}
.cta-card h2 { margin-bottom: 16px; }
.cta-card .lede { margin: 0 auto 30px; max-width: 46ch; }
.cta-card .hero-actions { justify-content: center; }

/* ------------------------------ footer ---------------------------------- */
.footer { border-top: 1px solid var(--hairline); background: var(--surface); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 40px; }
.footer .brand { margin-bottom: 14px; }
.footer-blurb { color: var(--text-2); font-size: 0.92rem; max-width: 32ch; margin: 0 0 16px; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--text-2); font-size: 0.95rem; padding: 5px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-block: 24px 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: 0.84rem; color: var(--text-3); max-width: 64ch; }
.disclaimer { font-size: 0.82rem; color: var(--text-3); line-height: 1.5; }

/* ------------------------- reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn-store, .nav { transition: none; }
}

/* ============================ inner pages =============================== */
.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.page-head .lede { max-width: 60ch; margin-top: 14px; }
.page-head .updated { font-size: 0.86rem; color: var(--text-3); margin-top: 12px; }

/* legal / prose */
.prose { max-width: 760px; margin-inline: auto; padding-bottom: clamp(48px, 8vw, 100px); color: var(--text-2); }
.prose h2 { font-size: 1.45rem; color: var(--text); margin: 40px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.12rem; color: var(--text); margin: 28px 0 10px; }
.prose h4 { font-size: 1rem; color: var(--text); margin: 22px 0 8px; }
.prose p { margin: 0 0 16px; line-height: 1.7; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; line-height: 1.65; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 34px 0; }
.prose .table-wrap { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--hairline); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.legal-toc {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 20px 24px; margin-bottom: 36px;
}
.legal-toc strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin-bottom: 6px; font-size: 0.9rem; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--accent); }

/* faq accordion */
.faq-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: 1.08rem; font-weight: 700; color: var(--text);
}
.faq-q .ic { width: 24px; height: 24px; flex: none; position: relative; transition: transform 0.3s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .ic::before { top: 11px; left: 3px; right: 3px; height: 2px; }
.faq-q .ic::after { left: 11px; top: 3px; bottom: 3px; width: 2px; transition: opacity 0.3s var(--ease); }
.faq-q[aria-expanded="true"] .ic::after { opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.34s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--text-2); line-height: 1.7; }
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } .faq-q .ic { transition: none; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.contact-card a { color: var(--accent); font-weight: 600; }
.form { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--elev-card); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; width: 100%; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .help { font-size: 0.82rem; color: var(--text-3); }
.form .btn-store { width: 100%; justify-content: center; }
.form-note { font-size: 0.84rem; color: var(--text-3); margin: 14px 0 0; text-align: center; }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--chartreuse); padding: 10px 16px; border-radius: 0 0 var(--r-md) 0; }
.skip:focus { left: 0; }

/* ============================ responsive =============================== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero .lede { max-width: 46ch; }
  .hero-grid { gap: 8px; }
  .showcase { margin-top: 26px; }
  .phone { width: min(290px, 72vw); }
  .split, .feature-wrap, .contact-grid { grid-template-columns: 1fr; }
  .cred-visual { order: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-col.first { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    padding: 12px var(--gutter) 20px; box-shadow: var(--elev-overlay);
  }
  .nav[data-open="true"] .nav-links a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
  .nav[data-open="true"] .nav-links .btn-store { display: inline-flex; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .caps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .beforeafter { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  .legal-toc ol { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
