/* ==========================================================================
   TaxComply — marketing site (taxcomply.co.zw)
   Design tokens are lifted verbatim from the console's src/index.css so the
   apex site, app.taxcomply.co.zw and pos.taxcomply.co.zw read as one product.
   Primary teal #0D3B3E + seal green #22E07D on cool paper #F4F6F8,
   charcoal ink #0B1F24. Fonts: Montserrat (display/body) + JetBrains Mono.
   ========================================================================== */

/* ---- Fonts (self-hosted, identical to the console) ---------------------- */
@font-face {
  font-family: 'Montserrat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---- Design tokens (verbatim from the console) ------------------------- */
:root {
  --background: 210 22% 97%;   /* #F4F6F8 cool paper */
  --foreground: 192 53% 9%;    /* #0B1F24 charcoal   */
  --card: 0 0% 100%;
  --card-foreground: 192 53% 9%;
  --primary: 184 65% 15%;      /* #0D3B3E primary teal */
  --primary-foreground: 160 40% 97%;
  --secondary: 200 20% 93%;
  --secondary-foreground: 192 40% 14%;
  --muted: 200 20% 94%;
  --muted-foreground: 196 12% 42%;
  --accent: 200 22% 92%;
  --accent-foreground: 192 40% 14%;
  --brass: 150 72% 38%;        /* TaxComply green, deepened for on-light contrast */
  --brass-foreground: 160 60% 8%;
  --destructive: 8 62% 46%;
  --success: 150 68% 32%;
  --warning: 34 78% 42%;
  --border: 200 16% 87%;
  --input: 200 16% 85%;
  --ring: 150 60% 34%;
  --radius: 0.5rem;

  --font-sans: 'Montserrat Variable', Montserrat, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, monospace;

  --shadow-seal: 0 1px 2px hsl(var(--foreground) / 0.04),
    0 8px 24px -12px hsl(var(--foreground) / 0.18);
  --shadow-seal-lg: 0 2px 4px hsl(var(--foreground) / 0.05),
    0 24px 48px -20px hsl(var(--foreground) / 0.28);

  --maxw: 1180px;
}

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

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-feature-settings: 'cv05', 'ss01', 'tnum';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; border-radius: 4px; }
::selection { background: hsl(var(--brass) / 0.28); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- Type scale ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: hsl(var(--foreground));
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
p { color: hsl(var(--muted-foreground)); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(var(--muted-foreground));
}

/* ---- Layout scaffolding -------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head .eyebrow { display: block; margin-bottom: 0.9rem; }
.section-head h2 + p { margin-top: 1rem; font-size: 1.075rem; max-width: 40rem; }
.center { text-align: center; margin-inline: auto; }
.center .section-head { margin-inline: auto; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 2.75rem; padding-inline: 1.25rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 3.1rem; padding-inline: 1.6rem; font-size: 1rem; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-seal); }
.btn-primary:hover { background: hsl(var(--primary) / 0.92); }
.btn-accent { background: hsl(var(--brass)); color: hsl(var(--brass-foreground)); box-shadow: var(--shadow-seal); }
.btn-accent:hover { background: hsl(var(--brass) / 0.9); }
.btn-ghost { color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.btn-ghost:hover { background: hsl(var(--accent)); }
.btn-onteal { background: hsl(0 0% 100% / 0.12); color: #fff; border: 1px solid hsl(0 0% 100% / 0.24); backdrop-filter: blur(6px); }
.btn-onteal:hover { background: hsl(0 0% 100% / 0.2); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: hsl(var(--brass)); }
.link-arrow svg { transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: hsl(var(--background) / 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: hsl(var(--border));
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { width: 2rem; height: 2rem; border-radius: 22%; }
.wordmark { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.wordmark b { font-weight: 600; color: hsl(var(--primary)); }
.nav-links { display: flex; gap: 1.75rem; margin-inline: auto; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: hsl(var(--muted-foreground));
  transition: color 0.15s ease;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius); border: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground));
  transition: background-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
.nav-toggle { display: none; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(60% 60% at 78% 15%, hsl(var(--brass) / 0.12), transparent 70%),
    radial-gradient(50% 55% at 12% 8%, hsl(var(--primary) / 0.10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  margin-top: 1.25rem;
}
.hero h1 .accent { color: hsl(var(--primary)); }
.hero-sub { margin-top: 1.4rem; font-size: 1.14rem; max-width: 34rem; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: 0.82rem; color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-note .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: hsl(var(--success)); box-shadow: 0 0 0 4px hsl(var(--success) / 0.16); }

/* pill row */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  border: 1px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--muted-foreground));
}
.pill .tick { color: hsl(var(--brass)); }

/* ---- Signature: the verified receipt ------------------------------------ */
.receipt-stage { position: relative; display: grid; place-items: center; }
.receipt {
  position: relative; width: min(340px, 100%);
  background: hsl(var(--card)); color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border)); border-radius: 14px;
  box-shadow: var(--shadow-seal-lg);
  padding: 1.4rem 1.4rem 0;
  transform: rotate(-1.6deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.receipt:hover { transform: rotate(0deg) translateY(-4px); }
.receipt-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px dashed hsl(var(--border)); }
.receipt-top .biz { display: flex; align-items: center; gap: 0.55rem; }
.receipt-top .biz img { width: 1.6rem; height: 1.6rem; border-radius: 22%; }
.receipt-top .biz b { font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.receipt-time {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: hsl(var(--muted-foreground));
  padding-right: 2.5rem; /* clear the corner seal */
}
.receipt-lines { padding: 0.9rem 0; font-family: var(--font-mono); font-size: 0.78rem; }
.receipt-lines .row { display: flex; justify-content: space-between; padding: 0.28rem 0; color: hsl(var(--muted-foreground)); }
.receipt-lines .row span:last-child { color: hsl(var(--card-foreground)); font-variant-numeric: tabular-nums; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; padding: 0.8rem 0; border-top: 1px dashed hsl(var(--border)); border-bottom: 1px dashed hsl(var(--border)); }
.receipt-total .lbl { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: hsl(var(--muted-foreground)); }
.receipt-total .amt { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.receipt-fiscal { display: grid; grid-template-columns: 1fr auto; gap: 0.9rem; align-items: center; padding: 1rem 0; }
.fiscal-meta { display: grid; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.62rem; }
.fiscal-meta .k { color: hsl(var(--muted-foreground)); text-transform: uppercase; letter-spacing: 0.08em; }
.fiscal-meta .v { color: hsl(var(--card-foreground)); font-variant-numeric: tabular-nums; word-break: break-all; }
.qr { width: 74px; height: 74px; border-radius: 8px; padding: 5px; background: #fff; border: 1px solid hsl(var(--border)); }
.qr rect { fill: #0B1F24; }
.receipt-perf { height: 20px; margin: 0 -1.4rem; background:
  radial-gradient(circle at 8px -2px, transparent 8px, hsl(var(--card)) 8px) repeat-x;
  background-size: 16px 20px; background-position: 8px 0;
  filter: drop-shadow(0 1px 0 hsl(var(--border))); }

/* floating verify badge on the receipt */
.verify-seal {
  position: absolute; top: -18px; right: -18px; z-index: 2;
  width: 62px; height: 62px; border-radius: 50%;
  background: hsl(var(--brass)); color: hsl(var(--brass-foreground));
  display: grid; place-items: center;
  box-shadow: var(--shadow-seal-lg);
  border: 3px solid hsl(var(--card));
}
.verify-seal svg { width: 30px; height: 30px; }
.verify-seal .ring { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed hsl(var(--brass) / 0.4); }

/* small floating stat card */
.float-stat {
  position: absolute; left: -12px; bottom: 34px; z-index: 2;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 12px;
  box-shadow: var(--shadow-seal); padding: 0.7rem 0.9rem; display: flex; gap: 0.6rem; align-items: center;
}
.float-stat .n { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.float-stat .l { font-family: var(--font-mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--muted-foreground)); }
.float-stat .ico { width: 2rem; height: 2rem; border-radius: 8px; display: grid; place-items: center; background: hsl(var(--brass) / 0.14); color: hsl(var(--brass)); }

/* ---- Trust strip --------------------------------------------------------- */
.trust { border-block: 1px solid hsl(var(--border)); background: hsl(var(--card) / 0.5); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; padding-block: 1.15rem; }
.trust .label { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.18em; color: hsl(var(--muted-foreground)); }
.trust .items { display: flex; flex-wrap: wrap; gap: 0.9rem 1.75rem; align-items: center; }
.trust .item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 600; color: hsl(var(--foreground)); }
.trust .item svg { width: 1.05rem; height: 1.05rem; color: hsl(var(--brass)); }

/* ---- Platform cards (app + pos) ----------------------------------------- */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px;
  padding: 1.75rem; box-shadow: var(--shadow-seal);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.pcard::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--brass)));
  opacity: 0; transition: opacity 0.2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-seal-lg); border-color: hsl(var(--brass) / 0.4); }
.pcard:hover::after { opacity: 1; }
.pcard .kicker { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: hsl(var(--brass)); }
.pcard .ico { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.1rem; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.pcard h3 { margin-top: 0.5rem; font-size: 1.35rem; font-weight: 700; }
.pcard .url { font-family: var(--font-mono); font-size: 0.78rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }
.pcard p { margin-top: 0.8rem; font-size: 0.95rem; }
.pcard ul { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.pcard li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: hsl(var(--foreground)); }
.pcard li svg { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: hsl(var(--brass)); }
.pcard .foot { margin-top: auto; padding-top: 1.5rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- Feature grid -------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.fcard {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 14px;
  padding: 1.5rem; transition: transform 0.2s ease, border-color 0.2s ease;
}
.fcard:hover { transform: translateY(-3px); border-color: hsl(var(--brass) / 0.4); }
.fcard .ico { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1rem; background: hsl(var(--brass) / 0.12); color: hsl(var(--brass)); }
.fcard h3 { font-size: 1.05rem; font-weight: 700; }
.fcard p { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.55; }

/* ---- How it works (a genuine sequence, so numbers earn their place) ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; padding: 1.75rem 1.5rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 14px; }
.step .no { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: hsl(var(--brass)); letter-spacing: 0.1em; }
.step h3 { margin-top: 0.8rem; font-size: 1.1rem; }
.step p { margin-top: 0.5rem; font-size: 0.9rem; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: -0.65rem; width: 1.3rem; height: 1px; background: hsl(var(--border));
}

/* ---- Audience ------------------------------------------------------------ */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.acard { padding: 1.6rem; border: 1px solid hsl(var(--border)); border-radius: 14px; background: linear-gradient(180deg, hsl(var(--card)), hsl(var(--background))); }
.acard .tag { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: hsl(var(--muted-foreground)); }
.acard h3 { margin-top: 0.5rem; font-size: 1.15rem; }
.acard p { margin-top: 0.6rem; font-size: 0.9rem; }

/* ---- Stat band ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .n { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.stat .n .accent { color: hsl(var(--brass)); }
.stat .l { margin-top: 0.35rem; font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: hsl(var(--muted-foreground)); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-radius: 22px; padding: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 120%; background: radial-gradient(circle, hsl(var(--brass) / 0.22), transparent 65%); }
.cta-band .eyebrow { color: hsl(var(--brass)); }
.cta-band h2 { color: hsl(var(--primary-foreground)); position: relative; max-width: 22ch; }
.cta-band p { color: hsl(var(--primary-foreground) / 0.8); margin-top: 1rem; position: relative; max-width: 46ch; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; position: relative; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid hsl(var(--border)); padding-block: 3.5rem 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.foot-brand p { margin-top: 1rem; font-size: 0.9rem; max-width: 26rem; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: hsl(var(--muted-foreground)); font-weight: 500; margin-bottom: 1rem; }
.foot-col a { display: block; font-size: 0.9rem; color: hsl(var(--muted-foreground)); padding: 0.28rem 0; transition: color 0.15s ease; }
.foot-col a:hover { color: hsl(var(--foreground)); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid hsl(var(--border)); }
.foot-bottom p { font-size: 0.82rem; }
.foot-bottom .made { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: 0.45rem; }
.foot-bottom .made .zw { display: inline-flex; gap: 2px; }
.foot-bottom .made .zw i { width: 4px; height: 12px; border-radius: 1px; display: inline-block; }

/* ---- Legal / document pages ---------------------------------------------- */
.doc { max-width: 46rem; margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem); }
.doc .eyebrow { display: block; margin-bottom: 0.75rem; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.doc .updated { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.doc h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.doc h3 { font-size: 1.02rem; margin-top: 1.75rem; }
.doc p { margin-top: 0.9rem; line-height: 1.7; }
.doc ul { margin-top: 0.9rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: hsl(var(--muted-foreground)); }
.doc li { line-height: 1.65; }
.doc strong { color: hsl(var(--foreground)); font-weight: 700; }
.doc a { color: hsl(var(--brass)); font-weight: 600; }
.doc a:hover { text-decoration: underline; }
.doc-table-wrap { margin-top: 1.2rem; overflow-x: auto; border: 1px solid hsl(var(--border)); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.doc table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9rem; }
.doc th, .doc td { text-align: left; padding: 0.72rem 0.95rem; border-bottom: 1px solid hsl(var(--border)); vertical-align: top; line-height: 1.55; }
.doc thead th { background: hsl(var(--muted)); font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--muted-foreground)); font-weight: 600; white-space: nowrap; }
.doc td { color: hsl(var(--muted-foreground)); }
.doc td:first-child { color: hsl(var(--foreground)); font-weight: 500; }
.doc tbody tr:last-child td { border-bottom: none; }
.doc-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 2rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.doc-back:hover { color: hsl(var(--foreground)); }

/* ---- Reveal-on-scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .receipt, .pcard, .fcard { transition: none; }
  .verify-seal .ring, .float-stat { animation: none !important; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .receipt-stage { margin-top: 1rem; order: -1; }
  .features, .steps, .audience { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; left: 0; right: 0; top: 4.5rem;
    flex-direction: column; gap: 0; margin: 0;
    background: hsl(var(--background)); border-bottom: 1px solid hsl(var(--border));
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-links.open a { padding: 0.75rem 0; border-bottom: 1px solid hsl(var(--border)); }
  .nav-toggle { display: inline-grid; }
  .nav .btn-signin { display: none; }
  .platforms, .features, .audience { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .float-stat { left: 0; }
}
