/* ═══════════════════════════════════════════════════════════════════════════
   MAX'D OUT — public site design system

   WHY THESE TOKENS
   Color — built from the two hex values already shipped on the live brand:
   accent #FF6B2B (coming-soon wordmark, every CTA) and its deep support
   #C84A18. The old base #0d0d0f was a *cool* near-black (blue undertone),
   which fought the orange; the new base family (#100D0C / #191413 / #241D1B)
   shifts the undertone warm so the orange sits *in* the room instead of on
   top of it. One new accent earns its place: ledger green #7BC898 — old
   paper ledgers were ruled in green, and this product's whole promise is
   "chaos in, posted-and-balanced out," so green is reserved exclusively for
   the *ordered* state: posted ticks, category chips, ledger rules. Orange =
   money in motion; green = money settled. Text is warm paper (#F5EFE8), not
   white, for the same undertone reason.

   Type — Bricolage Grotesque for display: a grotesque with hand-cut
   irregularity, which is the product in one face (trades-and-service
   hand-work meeting a typographic *system*). Instrument Sans for body:
   clean, slightly warm, reads as chosen rather than defaulted. IBM Plex
   Mono with tabular figures for EVERY dollar amount and number on the page
   — bookkeeping is precision, so numbers get a ledger voice of their own,
   anywhere they appear, even inside chat bubbles.

   Signature element — the hero "chaos → order" stage: a messy real text
   message scanned into a ruled ledger row with leader dots, a counted-up
   tabular amount, and a green Posted tick. That transformation IS the
   product; everything else on the page echoes it (mini ledger lines in the
   phone threads, mono prices, the closer's "books balanced" flourish).
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* color */
  --ink-0: #100D0C;        /* page — warm near-black */
  --ink-1: #191413;        /* raised surface */
  --ink-2: #241D1B;        /* high surface / bubbles */
  --line:  #322820;        /* warm hairline */
  --paper: #F5EFE8;        /* warm paper text */
  --paper-dim:   rgba(245, 239, 232, 0.64);
  --paper-faint: rgba(245, 239, 232, 0.38);
  --accent: #FF6B2B;       /* exact live brand orange */
  --accent-deep: #C84A18;  /* exact live support orange */
  --ledger: #7BC898;       /* green reserved for the "posted/ordered" state */
  --ledger-dim: rgba(123, 200, 152, 0.32);

  /* type */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* shape + depth */
  --r-lg: 20px; --r-md: 14px; --r-sm: 9px;
  --shadow-card: 0 2px 6px rgba(0,0,0,.35), 0 24px 48px -12px rgba(0,0,0,.5);
  --shadow-float: 0 4px 10px rgba(0,0,0,.4), 0 40px 80px -20px rgba(0,0,0,.6);
  --glow-accent: 0 0 80px 8px rgba(255,107,43,.14);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* NOTE: do not put overflow-x hidden/clip on html or body. `hidden` breaks
   position:sticky; `clip` makes the root non-scrollable entirely. Decorative
   glows are clipped at their own section instead (see .hero / .cta-band). */
/* Grain is baked into the background stack (top layer, 4%) rather than a
   fixed blend-mode overlay — a fixed + mix-blend-mode layer over a
   backdrop-filter header broke Chromium's compositor outright. */
body {
  font-family: var(--font-body);
  background-color: var(--ink-0);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    radial-gradient(1100px 700px at 78% -8%, rgba(255,107,43,.075), transparent 62%),
    radial-gradient(900px 600px at -10% 32%, rgba(123,200,152,.045), transparent 55%);
  color: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* numbers always speak ledger */
.amt { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: -0.01em; }

/* focus — visible everywhere, brand-colored */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16,13,12,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(50,40,32,.7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 48px; height: 64px; }
.brand { font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 26px; flex: 1; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--paper-dim); transition: color .15s; }
.nav-links a:hover { color: var(--paper); }
.nav-links .btn-primary { margin-left: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 11px; border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, filter .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #FF7E42, var(--accent) 55%, #F25E1D);
  color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 24px -6px rgba(255,107,43,.5); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 32px -6px rgba(255,107,43,.62); transform: translateY(-1px); }
.btn-ghost { background: var(--ink-2); border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: #4A3A2E; transform: translateY(-1px); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { font-size: 1.02rem; padding: 15px 30px; border-radius: 13px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* clips .stage-glow's negative insets without touching the root scroller */
.hero { padding: 84px 0 64px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
/* grid items default to min-width:auto, so the ledger's nowrap mono text would
   force the column wider than the page. min-width:0 lets them actually shrink. */
.hero-grid > * { min-width: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--accent);
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
/* min is set so the longest word ("Bookkeeping") fits a 390px viewport without
   clipping — the display face is wide, so it needs a lower floor than usual */
.hero h1 { font-family: var(--font-display); font-size: clamp(1.95rem, 8.4vw, 4.1rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 22px; overflow-wrap: break-word; }
.hero h1 .accent { color: var(--accent); }
.hero .sub { font-size: clamp(1.02rem, 1.9vw, 1.18rem); color: var(--paper-dim); max-width: 30em; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.fineprint { margin-top: 18px; color: var(--paper-faint); font-size: .84rem; }

/* ── Signature: chaos → order stage ─────────────────────────────────────── */
/* isolate: the glow is a radial-gradient sitting under a clip-path'd element;
   without its own stacking context some compositors blend the two wrongly and
   the ledger paints half-drawn. */
.stage { position: relative; padding: 8px 4px; isolation: isolate; }
.stage-glow { position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,107,43,.16), transparent 72%); }
.stage-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 0; }

.msg-in { position: relative; align-self: flex-start; max-width: 88%; margin-top: 38px;
  background: linear-gradient(180deg, #2B2220, #241C1A); border: 1px solid #3A2D26;
  border-radius: 18px 18px 18px 6px; padding: 13px 16px; transform: rotate(-1.4deg);
  box-shadow: var(--shadow-card); }
.msg-in .msg-who { font-family: var(--font-mono); font-size: .66rem; color: var(--paper-faint);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.msg-in .msg-txt { font-size: .95rem; color: var(--paper); line-height: 1.45; }
/* scrap pokes out above the bubble's top-right corner — never over the text */
.receipt-scrap { position: absolute; right: 10px; top: -48px; transform: rotate(7deg); opacity: .85; }

.beam-track { display: flex; justify-content: center; padding: 10px 0; }
.beam { width: 2px; height: 44px; border-radius: 2px; background:
  linear-gradient(180deg, var(--accent), var(--ledger)); opacity: .25; position: relative; overflow: hidden; }
.beam::after { content: ''; position: absolute; inset: -100% 0 auto 0; height: 60%;
  background: linear-gradient(180deg, transparent, #fff, transparent); opacity: 0; }

.ledger-out { position: relative; background: linear-gradient(180deg, #1B1512, #151009);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px 15px;
  box-shadow: var(--shadow-card); overflow: hidden;
  transform: translateZ(0); /* own layer — see .stage isolation note */ }
.ledger-head { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--paper-faint); margin-bottom: 14px;
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 9px; }
/* the entry sits ON its ledger rule, like a line written in a real book */
.ledger-row { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-mono);
  font-size: .92rem; border-bottom: 1px solid var(--ledger-dim); padding-bottom: 8px; }
.ledger-row .ldate { color: var(--paper-faint); font-size: .8rem; }
.ledger-row .lmemo { color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; } /* min-width lets flex shrink it, so the amount never clips */
.ledger-row .dots { flex: 1; min-width: 24px; border-bottom: 2px dotted rgba(245,239,232,.22); transform: translateY(-4px); }
.ledger-row .amt { font-weight: 600; font-size: 1.02rem; }
.ledger-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.chip { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ledger); border: 1px solid var(--ledger-dim); border-radius: 30px; padding: 4px 11px; }
.posted { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono);
  font-size: .74rem; color: var(--ledger); }
.posted svg { display: block; }

/* stage animation states (JS drives .s1–.s4; static-by-default for no-JS/reduced) */
.stage.animated .msg-in { opacity: 0; transform: rotate(-1.4deg) translateY(14px) scale(.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.3,1); }
.stage.animated .beam { opacity: 0; transition: opacity .3s; }
.stage.animated .ledger-out { clip-path: inset(0 100% 0 0 round var(--r-md)); transition: clip-path .65s cubic-bezier(.3,.7,.2,1); }
.stage.animated .posted { opacity: 0; transform: scale(.5); transition: opacity .3s, transform .35s cubic-bezier(.2,1.6,.4,1); }
.stage.animated.s1 .msg-in { opacity: 1; transform: rotate(-1.4deg) translateY(0) scale(1); }
.stage.animated.s2 .beam { opacity: .8; }
.stage.animated.s2 .beam::after { opacity: 1; animation: beam-sweep .9s ease-in-out infinite; }
.stage.animated.s3 .ledger-out { clip-path: inset(0 0 0 0 round var(--r-md)); }
.stage.animated.s4 .posted { opacity: 1; transform: scale(1); }
@keyframes beam-sweep { from { top: -70%; } to { top: 110%; } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 72px 0; position: relative; }
.section h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4.6vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.025em; text-align: center; margin-bottom: 12px; line-height: 1.1;
  overflow-wrap: break-word; }
.section .lead { text-align: center; color: var(--paper-dim); max-width: 36em; margin: 0 auto 52px; font-size: 1.04rem; }

/* ── Phone showcase ─────────────────────────────────────────────────────── */
.showcase { padding-top: 44px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.phone-col { display: flex; flex-direction: column; }
.phone-col:nth-child(even) { transform: translateY(30px); }
.phone { background: linear-gradient(180deg, #221B17, #171210); border: 1px solid #3A2D24;
  border-radius: 32px; padding: 9px; box-shadow: var(--shadow-float); position: relative; }
.phone::after { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 5px; border-radius: 3px; background: #0B0908; }
.phone-screen { background: #0C0A09; border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; min-height: 330px; }
.chat-head { text-align: center; padding: 16px 10px 11px; border-bottom: 1px solid #241D19;
  background: linear-gradient(180deg, #171210, #0C0A09); }
.chat-head .avatar { width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 6px;
  background: linear-gradient(135deg, #FF9A6C, var(--accent-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 12px; }
.chat-head .who { font-size: 12.5px; font-weight: 600; }
.chat-head .ctx { font-family: var(--font-mono); font-size: 8.5px; color: var(--paper-faint);
  text-transform: uppercase; letter-spacing: .14em; margin-top: 3px; }
.thread { padding: 13px 11px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; justify-content: flex-end; }
.b { max-width: 86%; padding: 8px 11px; border-radius: 15px; font-size: 12px; line-height: 1.42; white-space: pre-line; }
/* hidden start-state only when JS can reveal it — see the .js flag in <head> */
.js .b { opacity: 0; transform: translateY(10px) scale(.97);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.3,1);
  transition-delay: calc(var(--d, 0) * .5s); }
.js .play .b { opacity: 1; transform: none; }
.b.them { align-self: flex-start; background: #251E1A; color: var(--paper); border-bottom-left-radius: 5px; }
.b.me { align-self: flex-end; background: linear-gradient(160deg, #FF8047, #F05A17); color: #fff;
  border-bottom-right-radius: 5px; box-shadow: 0 4px 12px -4px rgba(255,107,43,.4); }
.b.photo { padding: 5px; background: #251E1A; align-self: flex-end; }
.b.photo svg { display: block; border-radius: 9px; }
.b .mini-ledger { display: block; margin-top: 6px; padding: 6px 8px; border-radius: 7px;
  background: rgba(123,200,152,.08); border: 1px solid rgba(123,200,152,.18);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ledger); }
.phone-cap { text-align: center; margin-top: 16px; font-size: .82rem; color: var(--paper-dim); font-weight: 500; }

/* ── "Try it live" demo phone ───────────────────────────────────────────── */
/* Follows the 4-phone example grid. The grid's even columns are shifted down
   with a transform, which doesn't add layout height — so this block needs a
   real top margin to clear the poked-out captions, or "Try it live" collides
   with them. */
.live-demo-block { margin: 88px 0 0; } /* bottom spacing comes from section padding alone */
.live-header { display: flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800;
  letter-spacing: -0.02em; text-align: center; margin-bottom: 22px; }
/* Larger variant for the dedicated /try-it-live page, where the widget is the
   page's whole reason for being there rather than a mid-page callout on
   pricing — the heading and caption both read as a page hero, not a section
   label. */
.live-header-page { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 16px; }
.live-lead { font-size: clamp(1.1rem, 2.2vw, 1.32rem); max-width: 40em; }
.live-header .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,43,.18), 0 0 16px rgba(255,107,43,.55);
  animation: live-pulse 1.8s ease-in-out infinite; flex-shrink: 0; }
.live-header-page .dot { width: 15px; height: 15px; }
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.phone-col.live .phone { border-color: rgba(255,107,43,.5);
  box-shadow: var(--shadow-float), 0 0 60px -10px rgba(255,107,43,.3); }
.demo-thread { min-height: 150px; }
.b.typing { display: inline-flex; gap: 4px; align-items: center; padding: 11px 13px; }
.b.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--paper-faint);
  animation: dot 1.1s infinite ease-in-out; }
.b.typing i:nth-child(2) { animation-delay: .16s; }
.b.typing i:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%,60%,100% { opacity:.3; transform:translateY(0);} 30% { opacity:1; transform:translateY(-3px);} }
/* compose bar — styled like a real SMS input */
.compose { display: flex; gap: 7px; align-items: center; padding: 9px 10px;
  border-top: 1px solid #241D19; background: #100D0C; }
.compose input { flex: 1; min-width: 0; background: #1E1815; border: 1px solid #322820;
  border-radius: 30px; padding: 8px 12px; color: var(--paper);
  font-family: var(--font-body); font-size: 12px; }
.compose input::placeholder { color: var(--paper-faint); }
.compose input:focus { outline: none; border-color: var(--accent); }
.compose button { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: none;
  background: linear-gradient(180deg, #FF7E42, var(--accent)); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: filter .15s, opacity .15s; }
.compose button:hover:not(:disabled) { filter: brightness(1.1); }
.compose button:disabled { opacity: .45; cursor: not-allowed; }
.demo-note { text-align: center; font-size: .74rem; color: var(--paper-faint); margin-top: 9px;
  min-height: 1.1em; }
.demo-note a { color: var(--accent); text-decoration: underline; }
.demo-note.err { color: #F5A9A9; }

/* ── Capability strip (custom icons) ────────────────────────────────────── */
/* No top margin — the .lead above already carries 52px; stacking another 84px
   here left a dead zone between the section intro and the strip. */
.caps { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 0 56px; padding: 40px 0; }
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cap { display: flex; gap: 14px; align-items: flex-start; }
.cap .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(180deg, #241C18, #1B1512); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--accent); }
.cap .ic svg { display: block; }
.cap h3 { font-size: .95rem; font-weight: 600; margin-bottom: 3px; }
.cap p { font-size: .84rem; color: var(--paper-dim); line-height: 1.45; }

/* ── Nav dropdown ("Who it's for") ─────────────────────────────────────────
   Hover/focus reveal, no JS — :focus-within covers keyboard + tap-to-focus.
   ::before adds an invisible bridge over the gap so the mouse doesn't lose
   the panel crossing from trigger to content. */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; font: inherit; font-size: .92rem; font-weight: 500;
  color: var(--paper-dim); cursor: pointer; padding: 0; transition: color .15s; }
.nav-dropdown-trigger svg { transition: transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger { color: var(--paper); }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: calc(100% + 18px); left: 50%; width: 300px;
  transform: translateX(-50%) translateY(-6px);
  background: linear-gradient(180deg, var(--ink-1), #151110); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 40; }
.nav-dropdown-panel::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.nav-dropdown-item { display: block; padding: 11px 13px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--paper); transition: background .15s; }
.nav-dropdown-item:hover, .nav-dropdown-item:focus { background: rgba(255,107,43,.1); }
.nav-dropdown-title { display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .94rem; margin-bottom: 3px; }
.nav-dropdown-identity { display: block; font-size: .74rem; color: var(--paper-faint); line-height: 1.5; }
.nav-dropdown-identity .sep { margin: 0 1px; opacity: .55; }
.nav-dropdown-note { margin-top: 2px; padding: 10px 13px 5px; border-top: 1px solid var(--line);
  font-size: .74rem; color: var(--paper-faint); }

/* ── "Features" nav dropdown — two-column icon grid ────────────────────── */
.nav-dropdown-panel.wide { width: 560px; padding: 14px; }
.nav-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.nav-feat-col-title { font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--paper-faint); padding: 4px 9px 9px; }
.nav-feat-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 9px;
  border-radius: var(--r-sm); text-decoration: none; color: var(--paper); transition: background .15s; }
.nav-feat-item:hover, .nav-feat-item:focus { background: rgba(255,107,43,.1); }
.nav-feat-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,107,43,.1); border: 1px solid rgba(255,107,43,.25); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.nav-feat-icon svg { width: 16px; height: 16px; }
.nav-feat-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: .86rem; margin-bottom: 2px; }
.nav-feat-desc { display: block; font-size: .74rem; color: var(--paper-faint); line-height: 1.4; }

/* ── Mobile nav (hamburger + panel) ────────────────────────────────────────
   Hidden entirely above 640px, where .nav-links carries the full desktop
   nav instead (see .hide-sm rule in the 640px media query below). Below
   640px the hover/focus-within dropdowns above are neither visible nor
   reachable by touch, so this panel is the only way to reach "Who it's
   for", "Features", "Resources", and Login on a phone. */
.nav-burger { display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-left: auto; flex-shrink: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--paper); cursor: pointer; }
.nav-burger-close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger-open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger-close { display: block; }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - 64px); overflow-y: auto;
  background: linear-gradient(180deg, var(--ink-1), #151110);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-float);
  padding: 8px 20px 20px; }
.mobile-nav-group { border-bottom: 1px solid var(--line); }
.mobile-nav-group summary { display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--paper); cursor: pointer; list-style: none; }
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after { content: ''; width: 9px; height: 9px;
  border-right: 1.6px solid var(--paper-dim); border-bottom: 1.6px solid var(--paper-dim);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.mobile-nav-group[open] summary::after { transform: rotate(-135deg); }
.mobile-nav-group a { display: block; padding: 11px 2px 11px 14px; font-size: .88rem;
  color: var(--paper-dim); }
.mobile-nav-group a:last-child { padding-bottom: 16px; }
.mobile-nav-link { display: block; padding: 15px 2px; font-family: var(--font-display);
  font-weight: 700; font-size: .95rem; color: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav-link:last-child { border-bottom: none; }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: linear-gradient(180deg, var(--ink-1), #151110); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.plan:hover { transform: translateY(-6px); border-color: #4A3A2E; box-shadow: var(--shadow-float); }
.plan:target { border-color: var(--accent); box-shadow: var(--glow-accent), var(--shadow-float);
  animation: plan-target-flash 1.6s ease; }
@keyframes plan-target-flash {
  0%, 100% { box-shadow: var(--glow-accent), var(--shadow-float); }
  30% { box-shadow: 0 0 0 3px rgba(255,107,43,.4), var(--glow-accent), var(--shadow-float); }
}
.plan.popular { background: linear-gradient(180deg, #241A14, #191210); border-color: rgba(255,107,43,.55);
  box-shadow: var(--glow-accent), var(--shadow-card); transform: scale(1.035); z-index: 2; }
.plan.popular:hover { transform: scale(1.035) translateY(-6px);
  box-shadow: 0 0 100px 12px rgba(255,107,43,.2), var(--shadow-float); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, #FF7E42, var(--accent)); color: #fff;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 30px; white-space: nowrap;
  box-shadow: 0 6px 16px -4px rgba(255,107,43,.5); }
.plan .pname { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; margin-bottom: 5px; }
/* Clarifies a tier name that reads as something else out of context (e.g.
   "Shop" as retail, not the team/crew tier) — small and muted, never
   changes the tier name itself. Block by default (own line, e.g. under a
   pricing card's title or a compare-table header); .inline keeps it on the
   same line as the title where a third stacked line would be cluttered
   (the "Who it's for" nav dropdown, which already has its own identity
   line under the title). */
.tier-subtitle { display: block; font-size: .68rem; font-weight: 500; color: var(--paper-faint); margin-top: 2px; }
.tier-subtitle.inline { display: inline; margin-top: 0; margin-left: 6px; }
.plan .pblurb { color: var(--paper-dim); font-size: .85rem; min-height: 42px; margin-bottom: 16px; }
.plan .price { font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 2.35rem; font-weight: 600; letter-spacing: -0.04em; }
.plan .price small { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; color: var(--paper-dim); }
.plan ul { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: .88rem; padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  border-radius: 50%; border: 1.5px solid var(--ledger-dim);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8' viewBox='0 0 9 8'%3E%3Cpath d='M1 4.2 L3.4 6.6 L8 1' stroke='%237BC898' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.plan .btn { margin-top: auto; }
.tiers-note { text-align: center; color: var(--paper-faint); font-size: .84rem; margin-top: 30px; }
.tiers-note .amt { color: var(--paper-dim); }

/* ── Compare features table ────────────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-1), #151110); margin-top: 8px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: center; font-size: .88rem;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare-table th { font-family: var(--font-display); font-weight: 700; color: var(--paper);
  font-size: .82rem; letter-spacing: .01em; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .ftr-col { text-align: left; color: var(--paper-dim); white-space: normal;
  min-width: 260px; }
.compare-table th.ftr-col { color: var(--paper-faint); font-weight: 600; }
.compare-table td.yes { position: relative; }
.compare-table td.yes::before { content: ''; display: inline-block; width: 15px; height: 15px;
  border-radius: 50%; border: 1.5px solid var(--ledger-dim); vertical-align: middle;
  margin-right: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8' viewBox='0 0 9 8'%3E%3Cpath d='M1 4.2 L3.4 6.6 L8 1' stroke='%237BC898' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.compare-table td.yes { color: var(--paper-dim); font-size: .82rem; }
.compare-table td.no { color: var(--paper-faint); }
@media (max-width: 640px) {
  .compare-table .ftr-col { min-width: 200px; }
}

/* ── Coming-soon callout ──────────────────────────────────────────────────
   Deliberately NOT styled like .cap/.plan/.compare-table — those are audited
   against what's actually built. Dashed border + gray (not accent-orange)
   tag so this never reads as a live, verified capability. */
.coming-soon-card { max-width: 640px; margin: 22px auto 0; padding: 16px 20px;
  border: 1.5px dashed var(--line); border-radius: var(--r-md);
  display: flex; align-items: center; gap: 14px; background: transparent; }
.coming-soon-tag { flex-shrink: 0; font-family: var(--font-mono); font-size: .68rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper-faint); border: 1px solid var(--line); border-radius: 30px;
  padding: 4px 11px; white-space: nowrap; }
.coming-soon-card p { margin: 0; font-size: .88rem; color: var(--paper-dim); }
@media (max-width: 560px) {
  .coming-soon-card { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Getting started: numbered step sequence ─────────────────────────────── */
.gs-steps { display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.gs-step { display: grid; grid-template-columns: 40px 1fr; gap: 22px; padding-bottom: 34px;
  position: relative; }
.gs-step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px;
  bottom: 0; width: 1px; background: var(--line); }
.gs-num { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,107,43,.4);
  background: linear-gradient(180deg, var(--ink-1), #151110); color: var(--accent);
  font-family: var(--font-mono); font-weight: 600; font-size: .95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; }
.gs-body { padding-top: 6px; }
.gs-title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  margin-bottom: 6px; }
.gs-text { color: var(--paper-dim); font-size: .92rem; line-height: 1.6; }
.gs-text a { color: var(--accent); text-decoration: none; font-weight: 600; }
.gs-text a:hover { text-decoration: underline; }
.gs-shot { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-card); max-width: 100%; }
.gs-shot img { display: block; width: 100%; height: auto; }
.gs-substeps { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.gs-substep { display: flex; align-items: baseline; gap: 8px; font-size: .88rem;
  color: var(--paper-dim); }
.gs-substep-mark { color: var(--paper-faint); font-family: var(--font-mono); font-size: .78rem;
  flex-shrink: 0; }
.gs-close { text-align: center; margin-top: 4px; padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--paper); }
@media (max-width: 640px) {
  .gs-step { grid-template-columns: 32px 1fr; gap: 16px; }
  .gs-num { width: 32px; height: 32px; font-size: .82rem; }
  .gs-step:not(:last-child)::before { left: 15px; }
}

.phones-2col { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto 20px; }

/* ── FAQ accordion (native <details>, no JS) ──────────────────────────────── */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 2px 20px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 26px 16px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; position: absolute; top: 50%; right: 2px; width: 9px; height: 9px;
  border-right: 1.8px solid var(--paper-faint); border-bottom: 1.8px solid var(--paper-faint);
  transform: translateY(-65%) rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-answer { color: var(--paper-dim); font-size: .92rem; line-height: 1.6; padding-bottom: 18px; margin: 0; }
.faq-answer a { color: var(--accent); }

/* ── About: principles grid + founder note ────────────────────────────────── */
.founder-note { margin: 28px auto 0; max-width: 640px; padding: 22px 26px;
  border-left: 3px solid var(--accent); background: rgba(255,107,43,.04);
  border-radius: 0 var(--r-md) var(--r-md) 0; }
.founder-note p { color: var(--paper-dim); font-size: .96rem; line-height: 1.65; margin: 0 0 14px; }
.founder-note p:last-child { margin-bottom: 0; }
.founder-sig { color: var(--paper) !important; font-weight: 600; font-size: .9rem !important; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; max-width: 900px; margin: 0 auto; }
.principle h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.principle p { color: var(--paper-dim); font-size: .86rem; line-height: 1.5; }

/* ── Contact: mailto card ─────────────────────────────────────────────────── */
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center; background: var(--ink-1); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 48px 32px; color: var(--paper-faint); }

/* ── Smart matching demo (SPEC 6.1 fuzzy match) ────────────────────────────
   Two independently-observed .rev blocks: the confident 3-in-1 match above,
   the "not sure — asks" case below. Each row's connector line draws in via
   stroke-dashoffset, then its checkmark/? badge pops, staggered by --d. */
.match-demo { display: flex; align-items: center; gap: 28px; max-width: 640px; margin: 0 auto 22px;
  background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; }
.match-cases { display: flex; flex-direction: column; gap: 14px; flex: 1; min-width: 0; }
.match-row { display: flex; align-items: center; gap: 8px; }
.match-chip { flex-shrink: 0; background: var(--ink-0); border: 1px solid var(--line); border-radius: 30px;
  padding: 8px 16px; font-size: .86rem; color: var(--paper); white-space: nowrap; }
.match-line { flex-shrink: 0; color: var(--paper-faint); }
.match-line .line-path, .match-line .line-head { stroke: currentColor; stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.match-line .line-path { stroke-dasharray: 62; stroke-dashoffset: 62; transition: stroke-dashoffset .5s ease; }
.match-line .line-head { opacity: 0; transition: opacity .2s ease; }
.match-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--ledger); background: rgba(123,200,152,.12);
  opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .3s cubic-bezier(.2,1.6,.4,1); }
.match-demo.in .match-row .line-path { stroke-dashoffset: 0; transition-delay: calc(var(--d) * .22s); }
.match-demo.in .match-row .line-head { opacity: 1; transition-delay: calc(var(--d) * .22s + .35s); }
.match-demo.in .match-row .match-check { opacity: 1; transform: scale(1); transition-delay: calc(var(--d) * .22s + .45s); }
.match-target { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 18px 22px; border-radius: var(--r-md); border: 1px solid rgba(123,200,152,.35);
  background: rgba(123,200,152,.06); opacity: 0; transform: translateX(8px);
  transition: opacity .4s ease, transform .4s ease; }
.match-demo.in .match-target { opacity: 1; transform: none; transition-delay: calc(var(--d) * .22s); }
.match-target-icon { color: var(--ledger); }
.match-target-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.match-target-sub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper-faint); }

.match-demo-unsure { flex-direction: column; align-items: stretch; gap: 16px; max-width: 480px; }
.match-check-unsure { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--accent); background: rgba(255,107,43,.12); font-family: var(--font-mono);
  font-size: .8rem; font-weight: 700; opacity: 0; transform: scale(.4);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,1.6,.4,1); }
.match-demo-unsure.in .match-row .line-path { stroke-dashoffset: 0; }
.match-demo-unsure.in .match-row .line-head { opacity: 1; transition-delay: .35s; }
.match-demo-unsure.in .match-row .match-check-unsure { opacity: 1; transform: scale(1); transition-delay: .45s; }
.match-clarify { display: flex; flex-direction: column; gap: 6px; padding-left: 4px; opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease .65s, transform .4s ease .65s; }
.match-demo-unsure.in .match-clarify { opacity: 1; transform: none; }
.match-clarify-bubble { align-self: flex-start; background: var(--ink-0); border: 1px solid rgba(255,107,43,.35);
  border-radius: 14px; padding: 10px 14px; font-size: .88rem; color: var(--paper); }
.match-clarify-note { font-size: .78rem; color: var(--paper-faint); }

/* ── Logic grid: merges the matching demo + automatic/asks comparison into
   one two-column section. .match-demo-confident turns the base card column
   (intro sentence on top) instead of row; .match-body restores the original
   cases+target row one level deeper, so .match-demo-unsure (which reuses the
   same base .match-demo chrome) is untouched. ── */
.logic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.logic-col { display: flex; flex-direction: column; gap: 20px; }
.match-demo-confident { flex-direction: column; align-items: stretch; max-width: none; margin: 0; }
.match-intro { color: var(--paper-dim); font-size: .92rem; line-height: 1.55; margin-bottom: 20px; }
.match-body { display: flex; align-items: center; gap: 28px; }
.logic-col .match-demo-unsure { max-width: none; margin: 0; }
.logic-col .path-card { margin: 0; }

/* ── /for/solo: feature-depth list ─────────────────────────────────────────
   Same icon-badge language as the "Features" nav dropdown, scaled up for a
   full page section — one row per capability with room for the explanatory
   line the pricing card and nav dropdown don't have space for. */
.feature-detail-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.feature-detail-row { display: flex; gap: 18px; align-items: flex-start; padding: 20px 4px;
  border-bottom: 1px solid var(--line); }
.feature-detail-row:last-child { border-bottom: none; }
.feature-detail-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,107,43,.1); border: 1px solid rgba(255,107,43,.25); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.feature-detail-icon svg { width: 21px; height: 21px; }
.feature-detail-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: 5px; }
.feature-detail-text { color: var(--paper-dim); font-size: .92rem; line-height: 1.55; }

/* ── /for/solo: QuickBooks / no-QuickBooks fact comparison ────────────────── */
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.path-card { background: linear-gradient(180deg, var(--ink-1), #151110); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px; }
.path-title { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem;
  margin-bottom: 18px; letter-spacing: -0.01em; }
.check-list { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.check-list li { font-size: .88rem; color: var(--paper-dim); line-height: 1.5; padding-left: 26px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 15px; height: 15px;
  border-radius: 50%; border: 1.5px solid var(--ledger-dim);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8' viewBox='0 0 9 8'%3E%3Cpath d='M1 4.2 L3.4 6.6 L8 1' stroke='%237BC898' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
/* Neutral marker for exclusion facts ("doesn't do") — a checkmark there would
   read as a positive, which is backwards for what the list is saying. */
.check-list.exclude li::before { border-color: var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='2' viewBox='0 0 9 2'%3E%3Cpath d='M0 1 H9' stroke='%23A89E97' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.path-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--paper-faint); line-height: 1.5; }

/* ── Closer ─────────────────────────────────────────────────────────────── */
.cta-band { text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1D1613, #151010);
  border: 1px solid var(--line); border-radius: 26px; padding: 68px 28px; }
.cta-band::before { content: ''; position: absolute; inset: -30% -20% auto; height: 120%;
  background: radial-gradient(closest-side at 50% 0%, rgba(255,107,43,.14), transparent 70%); pointer-events: none; }
.cta-band .flourish { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ledger); margin-bottom: 20px; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--paper-dim); max-width: 34em; margin: 0 auto 30px; }

/* ── Signup form (inherits system) ──────────────────────────────────────── */
.form-wrap { max-width: 460px; margin: 0 auto; }
.form-card { background: linear-gradient(180deg, var(--ink-1), #151110); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--paper-dim); margin-bottom: 7px; }
.field input, .field select { width: 100%; background: var(--ink-0); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; color: var(--paper); font-size: 1rem; font-family: var(--font-body);
  appearance: none; -webkit-appearance: none; transition: border-color .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A89E97' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.field-check input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.field-check label { color: var(--paper-dim); font-size: .78rem; font-weight: 400; line-height: 1.55; margin-bottom: 0; }
.field-check label a { color: var(--accent); }
.form-note { font-size: .82rem; color: var(--paper-faint); text-align: center; margin-top: 16px; }
.form-err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.5); color: #F5A9A9;
  border-radius: 10px; padding: 11px 14px; font-size: .88rem; margin-bottom: 18px; display: none; }

/* ── Preview banner / footer ────────────────────────────────────────────── */
.preview-banner { background: var(--accent-deep); color: #fff; text-align: center;
  font-size: .8rem; font-weight: 500; padding: 7px 16px; position: relative; z-index: 41; }
.preview-banner a { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 48px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer .links { display: flex; gap: 22px; }
.site-footer a { color: var(--paper-faint); font-size: .85rem; transition: color .15s; }
.site-footer a:hover { color: var(--paper); }
.site-footer .copy { color: var(--paper-faint); font-size: .8rem; }
.site-footer .social-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.site-footer .social-link:hover { color: var(--accent); }

.hero-social { display: inline-flex; align-items: center; gap: 6px; color: var(--paper-faint);
  font-size: .82rem; font-weight: 600; margin-top: 14px; transition: color .15s; }
.hero-social:hover { color: var(--accent); }

/* ── Scroll reveal (JS-gated, same reasoning as .b) ─────────────────────── */
.js .rev { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.js .rev.in { opacity: 1; transform: none; }

/* ── Site-wide motion & micro-interactions ────────────────────────────────
   .sr is applied by static/js/site.js to below-the-fold components only, so
   nothing in the initial viewport ever flashes hidden. --sri staggers
   siblings within one parent group (capped at 5 in JS). */
.js .sr { opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1);
  transition-delay: calc(var(--sri, 0) * 90ms); }
.js .sr.in { opacity: 1; transform: none; }

.feature-detail-row { border-radius: var(--r-sm);
  transition: background .2s ease, transform .2s ease; }
.feature-detail-row:hover { background: rgba(255,107,43,.045); transform: translateX(5px); }
.feature-detail-icon { transition: transform .25s cubic-bezier(.2,1.4,.4,1), box-shadow .25s ease; }
.feature-detail-row:hover .feature-detail-icon { transform: rotate(-5deg) scale(1.08);
  box-shadow: 0 0 24px -6px rgba(255,107,43,.5); }

.path-card { transition: transform .22s ease, border-color .22s ease, box-shadow .25s ease; }
.path-card:hover { transform: translateY(-5px); border-color: #4A3A2E; box-shadow: var(--shadow-float); }

.cap .ic { transition: transform .25s cubic-bezier(.2,1.4,.4,1), border-color .2s ease; }
.cap:hover .ic { transform: translateY(-3px) rotate(-4deg); border-color: rgba(255,107,43,.45); }

.faq-item { transition: border-color .2s ease, background .2s ease; }
.faq-item:hover { border-color: #4A3A2E; }
.faq-item[open] { border-color: rgba(255,107,43,.3); background: #1B1512; }
.faq-item[open] .faq-answer { animation: faq-in .3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* hover lives on .phone (inner), never .phone-col — the column already
   carries the staggered translateY offset on even children */
.phone { transition: transform .3s ease, box-shadow .3s ease; }
.phone-col:hover .phone { transform: translateY(-4px); box-shadow: var(--shadow-float), 0 0 40px -14px rgba(255,107,43,.25); }

.match-chip { transition: border-color .2s ease, transform .2s ease; }
.match-row:hover .match-chip { border-color: rgba(255,107,43,.4); transform: translateX(2px); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.popular { transform: none; }
  .plan.popular:hover { transform: translateY(-6px); }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  /* stack before the columns get too narrow for the cases+target row */
  .logic-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .match-body { flex-direction: column; align-items: stretch; }
}
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 0 48px; }
  .stage { max-width: 470px; margin: 0 auto; width: 100%; }
  .phones { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .phone-col:nth-child(even) { transform: translateY(22px); }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-links .hide-sm { display: none; }
  .nav-links .btn-primary { padding: 9px 14px !important; font-size: .84rem !important; white-space: nowrap; }
  .site-header .wrap { gap: 14px; }
  .nav-burger { display: inline-flex; }
  .caps-grid { grid-template-columns: 1fr; gap: 20px; }
  .principles-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .match-demo { flex-direction: column; padding: 22px 20px; }
  .match-target { align-self: stretch; }
  .section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .phones { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .phone-col:nth-child(even) { transform: none; }
  .receipt-scrap { display: none; }
  .ledger-row .lmemo { font-size: .82rem; }
}

/* ── Lead-capture modal ──────────────────────────────────────────────────── */
/* :not([hidden]) rather than a bare selector: `display:flex` on the plain
   class has the same specificity as the UA's `[hidden]{display:none}` and,
   loading later in the cascade, WINS — leaving a full-page, click-eating
   overlay sitting over the entire site even while `hidden` is set. Scoping
   the flex rule to :not([hidden]) removes the tie instead of relying on
   source order to lose it. */
.lead-modal-backdrop[hidden] { display: none; }
.lead-modal-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 100;
  background: rgba(6,5,4,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.lead-modal { position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(180deg, var(--ink-1), #151110); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px 26px; box-shadow: var(--shadow-float);
  max-height: 88vh; overflow-y: auto; }
.lead-modal-close { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2);
  color: var(--paper-dim); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .15s, border-color .15s; }
.lead-modal-close:hover { color: var(--paper); border-color: #4A3A2E; }
.lead-modal h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 6px 8px 0; line-height: 1.15; }
.lead-modal-sub { color: var(--paper-dim); font-size: .9rem; margin-bottom: 22px; }
.lead-modal .field { margin-bottom: 14px; }
.lead-modal .field label { display: block; font-size: .8rem; font-weight: 600;
  color: var(--paper-dim); margin-bottom: 6px; }
.lead-modal .field input, .lead-modal .field select {
  width: 100%; background: var(--ink-0); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; color: var(--paper); font-size: .92rem; font-family: var(--font-body);
  appearance: none; -webkit-appearance: none; }
.lead-modal .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A89E97' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.lead-modal .field input:focus, .lead-modal .field select:focus { outline: none; border-color: var(--accent); }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-modal-err { display: none; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.5);
  color: #F5A9A9; border-radius: 10px; padding: 9px 12px; font-size: .84rem; margin-bottom: 14px; }
.lead-modal-done { text-align: center; padding: 10px 0 4px; }
.lead-check { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; background: rgba(123,200,152,.1); }
.lead-modal-done p { font-size: 1rem; font-weight: 600; margin-bottom: 18px; }

/* ── New-to-bookkeeping reassurance: crossed-out jargon → one clear chip ──
   Deliberately not another card grid or phone mockup — this section's whole
   point is "you don't need to parse any of this," so it shows the jargon
   being dismissed rather than explaining it. */
.reassure { text-align: center; }
.reassure-wrap { max-width: 640px; margin: 0 auto; }
.jargon-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 30px 0 18px; }
.jargon-chip { padding: 7px 15px; border-radius: 30px; border: 1px solid var(--line);
  color: var(--paper-faint); font-family: var(--font-mono); font-size: .78rem;
  text-decoration: line-through; text-decoration-color: rgba(245,239,232,.3); opacity: .7; }
.reassure-arrow { display: flex; align-items: center; justify-content: center;
  margin: 4px 0 20px; color: var(--paper-faint); }
.reassure-arrow svg { animation: reassure-bob 2.2s ease-in-out infinite; }
@keyframes reassure-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.clear-chip { display: inline-block; padding: 12px 26px; border-radius: 30px;
  background: linear-gradient(180deg, #FF7E42, var(--accent)); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--glow-accent), 0 6px 16px -4px rgba(255,107,43,.5); }
.reassure-body { color: var(--paper-dim); font-size: .96rem; line-height: 1.65;
  max-width: 560px; margin: 26px auto 0; }
.reassure-body strong { color: var(--paper); }
.reassure-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--accent); font-weight: 600; font-size: .92rem; text-decoration: none; }
.reassure-link:hover { text-decoration: underline; }
.reassure-link svg { transition: transform .15s ease; }
.reassure-link:hover svg { transform: translateX(3px); }

/* ── Bookkeeper callout: its own visual moment, not a footnote ──────────── */
.bk-callout { background: linear-gradient(180deg, var(--ink-1), #151110);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 40px;
  box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.bk-callout::before { content: ''; position: absolute; top: -60%; right: -10%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,200,152,.1), transparent 70%); pointer-events: none; }
.bk-callout-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px;
  align-items: center; position: relative; z-index: 1; }
.bk-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; color: var(--ledger);
  border: 1px solid var(--ledger-dim); border-radius: 30px; padding: 5px 13px; margin-bottom: 16px; }
.bk-callout h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.bk-callout-lead { color: var(--paper-dim); font-size: .96rem; line-height: 1.6; margin-bottom: 22px; }
.bk-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.bk-features li { font-size: .88rem; color: var(--paper-dim); padding-left: 24px; position: relative; }
.bk-features li::before { content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px;
  border-radius: 50%; border: 1.5px solid var(--ledger-dim);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='8' viewBox='0 0 9 8'%3E%3Cpath d='M1 4.2 L3.4 6.6 L8 1' stroke='%237BC898' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.bk-features li strong { color: var(--paper); }
/* Mini audit-log mockup — a new visual pattern, not a reused phone/card */
.audit-log { background: var(--ink-0); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; }
.audit-log-head { display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--paper-faint); }
.audit-log-head .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ledger);
  box-shadow: 0 0 8px rgba(123,200,152,.6); display: inline-block; margin-right: 7px; }
.audit-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); }
.audit-row:last-child { border-bottom: none; }
.audit-row-icon { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(123,200,152,.1); color: var(--ledger); }
.audit-row-icon.blocked { background: rgba(239,68,68,.1); color: #F5A9A9; }
.audit-row-body { min-width: 0; }
.audit-row-title { font-size: .82rem; color: var(--paper); font-weight: 600; }
.audit-row-meta { font-size: .74rem; color: var(--paper-faint); margin-top: 2px;
  font-family: var(--font-mono); }
.bk-cta { display: inline-flex; align-items: center; gap: 7px; }
/* Overrides .section h2's default margin-bottom (22px, tuned for a lead
   paragraph following it) — this header sits directly above the callout
   card instead, so it needs more room to read as this section's header
   rather than a caption glued to the card. */
.bk-transition { margin-bottom: 32px; }
@media (max-width: 900px) {
  .bk-callout-grid { grid-template-columns: 1fr; gap: 30px; }
  .bk-callout { padding: 32px 24px; }
}

/* ── Reduced motion — everything lands in its final state ───────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .b, .js .rev, .js .sr { opacity: 1 !important; transform: none !important; }
  .phone-col:nth-child(even) { transform: translateY(0); }
  .stage.animated .msg-in, .stage.animated .posted { opacity: 1; transform: none; }
  .stage.animated .ledger-out { clip-path: none; }
  .stage.animated .beam { opacity: .5; }
}
