/* ==========================================================================
   Boomerang home, v2
   Direction: product-forward SaaS. Deep "ledger night" navy bands with a fine
   grid and soft sky glow, alternating with bright paper sections. Real-looking
   UI panels carry the story; floating status cards show records moving.
   Brand colors kept from the app: navy #133a7c, sky #47a8e5.
   Built desktop first; steps down at 1180 / 960 / 720 / 520.
   ========================================================================== */
:root {
  --night: #061330;
  --night-2: #0a1d45;
  --navy: #133a7c;
  --navy-2: #1b4a98;
  --sky: #47a8e5;
  --sky-hi: #8fd0ff;
  --sky-soft: #e4f2fc;
  --mint: #2fbf8f;
  --mint-soft: #dcf5ec;
  --amber: #f2a33a;
  --red: #d64a3b;
  --red-soft: #fbe4e1;

  --paper: #ffffff;
  --mist: #f3f6fb;
  --card: #ffffff;
  --ink: #0e1a30;
  --muted: #56647c;
  --faint: #8b97ab;
  --line: #e2e8f1;
  --line-2: #cfd8e6;

  --on-night: #ffffff;
  --on-night-muted: #a9bad6;
  --on-night-line: rgba(255,255,255,0.12);
  --accent-ink: var(--navy-2);
  --accent-ink-strong: var(--navy);
  --ok-ink: #13805c;

  --f-display: 'Plus Jakarta Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14,26,48,.06), 0 2px 8px rgba(14,26,48,.05);
  --shadow: 0 2px 4px rgba(14,26,48,.04), 0 18px 48px -12px rgba(14,40,90,.22);
  --shadow-lg: 0 30px 80px -20px rgba(3,12,32,.55), 0 8px 24px -8px rgba(3,12,32,.35);
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1426; --mist: #0f1a30; --card: #13203a; --ink: #e9eef7; --muted: #a2afc4; --faint: #7d8aa2;
    --line: #22314d; --line-2: #2d3e5f; --sky-soft: #15314f; --mint-soft: #123a30; --red-soft: #41201d;
    --accent-ink: var(--sky-hi); --accent-ink-strong: var(--sky-hi); --ok-ink: #6fdcb4;
    --shadow: 0 18px 48px -12px rgba(0,0,0,.6); --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0b1426; --mist: #0f1a30; --card: #13203a; --ink: #e9eef7; --muted: #a2afc4; --faint: #7d8aa2;
  --line: #22314d; --line-2: #2d3e5f; --sky-soft: #15314f; --mint-soft: #123a30; --red-soft: #41201d;
  --shadow: 0 18px 48px -12px rgba(0,0,0,.6); --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --accent-ink: var(--sky-hi); --accent-ink-strong: var(--sky-hi); --ok-ink: #6fdcb4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
.hero-grid > *, .feature > *, .reports-grid > *, .contact > *, .tracker-show > *, .usa > *, .tile > *, .bento > *, .tour > *, .faq > *, .tour-panel > *, .tour-stage > * { min-width: 0; }
.win-bar .crumb { min-width: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); }
.night a:not(.btn) { color: var(--sky-hi); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* shared type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 0.76rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sky); }
.night .eyebrow { color: var(--sky-hi); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.night .lede { color: var(--on-night-muted); }
.grad { color: var(--sky-hi); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* bands */
.band { padding-block: 112px; position: relative; }
.band-mist { background: var(--mist); }
.night { background: var(--night); color: var(--on-night); position: relative; isolation: isolate; overflow: hidden; }
.night::before { /* fine ledger grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(143,208,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143,208,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--sky); color: #061330; box-shadow: 0 8px 24px -8px rgba(71,168,229,.7), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { background: #62b7ee; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--navy); }

/* pills / status */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 0.72rem/1 var(--f-body); letter-spacing: 0.04em; padding: 6px 10px; border-radius: 999px; background: var(--sky-soft); color: var(--accent-ink-strong); white-space: nowrap; }
:root[data-theme="dark"] .pill { color: var(--sky-hi); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill { color: var(--sky-hi); } }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.ok { background: var(--mint-soft); color: var(--ok-ink); }
.pill.warn { background: var(--red-soft); color: var(--red); }
.pill.draft { background: var(--mist); color: var(--muted); border: 1px solid var(--line); }
.pill.plain::before { content: none; }
.tags-panel .pill { background: rgba(71,168,229,.16); color: var(--sky-hi); }
.night .shot .pill { background: var(--sky-soft); color: var(--accent-ink-strong); }
.night .shot .pill.warn { background: var(--red-soft); color: var(--red); }
.night .shot .shot-note { color: var(--muted); }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(6,19,48,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { transition: background .25s ease, border-color .25s ease; }
/* at the top of the home page the bar sits over the hero as clear glass */
.nav.at-top { background: rgba(255,255,255,.05); border-bottom-color: rgba(255,255,255,.1); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 150px; height: 30px; }
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a:not(.btn) { display: block; padding: 9px 14px; border-radius: 999px; color: var(--on-night-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color .15s, background .15s; }
.nav-links > li > a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { margin-left: 10px; }
.nav .btn { padding: 11px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #fff; width: 42px; height: 42px; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 20px; height: 20px; }

/* ===== hero ===== */
.hero { padding-block: 84px 0; background: radial-gradient(1200px 600px at 75% -10%, #123a80 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, #071a3e 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; align-content: start; }
.badge { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; line-height: 1.35; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 0.86rem; color: var(--on-night-muted); }
.badge b { flex: none; background: var(--sky); color: #061330; font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.hero h1 { max-width: 16ch; }
.hero .lede { font-size: 1.16rem; color: #c3d2ea; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li { font-size: 0.8rem; font-weight: 600; color: #cfe0f6; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }

/* hero product stage */
.stage { position: relative; padding: 56px 0 120px 24px; }
.stage .win { margin-right: 36px; }
.win { background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--navy); color: #fff; font-size: 0.82rem; }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); }
.wm { display: inline-block; width: 92px; height: 18px; background: url("/assets/wordmark-small-060388a5.png") left center / contain no-repeat; flex: none; }
.win-bar .crumb { color: #b9cbe6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body { padding: 20px; display: grid; gap: 16px; }
.win-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.win-head strong { font: 700 1.05rem/1.2 var(--f-display); display: block; }
.win-head small { color: var(--muted); font-size: 0.82rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 4px; }
.kpi span { font-size: 0.7rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kpi b { font: 700 1.05rem/1.1 var(--f-mono); }
.kpi.hl { background: var(--mint-soft); border-color: rgba(47,191,143,.5); }
.kpi.hl b { color: var(--ok-ink); }
.chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 8px; }
.chart-top { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; gap: 10px; }
.legend { display: flex; gap: 12px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.chart svg { width: 100%; height: auto; display: block; }
.feed { display: grid; gap: 0; font-size: 0.86rem; }
.feed div { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.feed div:first-child { border-top: 0; }
.feed .ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--sky-soft); color: var(--accent-ink-strong); flex: none; }
.feed .ico svg { width: 15px; height: 15px; }
.feed .t { flex: 1; min-width: 0; }
.feed .t small { display: block; color: var(--muted); font-size: 0.76rem; }
.feed .amt { font-family: var(--f-mono); font-size: 0.82rem; }

.float { position: absolute; background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 8px; font-size: 0.84rem; }
.float .fh { display: flex; align-items: center; gap: 10px; }
.float .fh .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float .fh .ic svg { width: 16px; height: 16px; }
.float .fh b { display: block; font-size: 0.86rem; }
.float .fh small { display: block; color: var(--muted); font-size: 0.74rem; }
.f-approve { right: -24px; top: 12px; width: 250px; }
.f-approve .ic { background: var(--mint-soft); color: var(--ok-ink); }
.f-steps { display: flex; gap: 4px; }
.f-steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--mint); }
.f-je { right: -28px; bottom: 6px; width: 290px; }
.f-je .ic { background: var(--sky-soft); color: var(--accent-ink-strong); }
.je { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.je td { padding: 4px 0; border-top: 1px dashed var(--line-2); }
.je td.n { text-align: right; font-family: var(--f-mono); padding-left: 10px; }
.je tr.tot td { border-top: 1.5px solid var(--ink); font-weight: 700; }
.je td.bal { color: var(--ok-ink); }
.je td.bal::before { content: "✓ "; }
.f-lock { left: -6px; bottom: 34px; padding: 10px 14px; }
.f-lock .ic { background: #fff4e3; color: #b86e0b; }

/* trust strip */
.trust { margin-top: 72px; border-top: 1px solid var(--on-night-line); }
.trust ul { list-style: none; margin: 0; padding: 26px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: #c3d2ea; line-height: 1.45; }
.trust li svg { width: 20px; height: 20px; color: var(--sky-hi); flex: none; margin-top: 1px; }
.trust li b { color: #fff; font-weight: 600; display: block; }

/* ===== flow / loop ===== */
.loop { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.loop::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--line-2)); }
.step { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 0 4px; }
.step .node { counter-increment: s; position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--accent-ink); }
.step .node svg { width: 24px; height: 24px; }
.step .node::after { content: counter(s); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); color: #fff; font: 700 0.7rem/22px var(--f-mono); text-align: center; }
.step strong { font: 700 1.04rem/1.25 var(--f-display); margin-top: 6px; }
.step span { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.loop-return { margin: 44px auto 0; width: max-content; max-width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 0.92rem; color: var(--muted); }
.loop-return svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.loop-return b { color: var(--ink); }

/* ===== why: bento ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.tile.w4 { grid-column: span 4; }
.tile.w2 { grid-column: span 2; }
.tile p { color: var(--muted); font-size: 0.97rem; }
.tile a { font-weight: 600; font-size: 0.92rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; width: max-content; }
.tile a:hover { text-decoration: underline; }
.tile .art { margin-top: 8px; }
.tile.split { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; align-content: center; }
.tile.split .txt { display: grid; gap: 14px; align-content: start; }
.tile.dark { background: linear-gradient(160deg, var(--navy) 0%, var(--night-2) 100%); color: #fff; border-color: transparent; }
.tile.dark p { color: var(--on-night-muted); }
.tile.dark a { color: var(--sky-hi); }
/* tile art: one record, many documents */
.hub { position: relative; height: 210px; }
.hub svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--night); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 0.8rem; text-align: center; box-shadow: var(--shadow); width: 150px; }
.hub .core b { display: block; font: 700 0.92rem/1.2 var(--f-display); }
.hub .core small { color: var(--sky-hi); font-family: var(--f-mono); font-size: 0.72rem; }
.hub .sat { position: absolute; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 10px; font-size: 0.76rem; font-weight: 600; display: flex; align-items: center; gap: 7px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.hub .sat i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.hub .s1 { left: 0; top: 8px; } .hub .s2 { right: 0; top: 8px; } .hub .s3 { left: 0; bottom: 8px; } .hub .s4 { right: 0; bottom: 8px; }
.hub .s2 i, .hub .s3 i { background: var(--mint); }
/* tile art: balance */
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 0.78rem; }
.scale div { border-radius: 10px; padding: 10px 12px; background: var(--mist); display: grid; gap: 2px; }
.scale b { font: 700 1rem var(--f-mono); }
.scale .eq { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; background: var(--mint-soft); color: var(--ok-ink); font-weight: 600; }
/* tile art: stub */
.stub { border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 0.78rem; display: grid; gap: 6px; background: var(--paper); }
.stub div { display: flex; justify-content: space-between; gap: 10px; }
.stub .n { font-family: var(--f-mono); }
.stub .net { border-top: 1px solid var(--line-2); padding-top: 6px; font-weight: 700; }
/* tile art: company switcher */
.switcher { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 8px; display: grid; gap: 4px; font-size: 0.86rem; }
.switcher div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: #dbe6f6; }
.switcher div.on { background: rgba(71,168,229,.2); color: #fff; }
.switcher .av { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 700 0.72rem var(--f-display); background: rgba(255,255,255,.12); flex: none; }
.switcher div.on .av { background: var(--sky); color: var(--night); }
.switcher .tag-s { margin-left: auto; font-size: 0.7rem; color: var(--on-night-muted); }
.switcher .key { display: flex; align-items: center; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; padding-top: 10px; font-size: 0.78rem; color: var(--sky-hi); }
.switcher .key svg { width: 15px; height: 15px; }

/* ===== feature rows ===== */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature-copy { display: grid; gap: 18px; align-content: start; }
.feature-copy h3 { margin-top: 8px; }
.feature-copy p:not(.lede):not(.eyebrow) { color: var(--muted); }
.night .feature-copy p:not(.lede):not(.eyebrow) { color: var(--on-night-muted); }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); }
.night .checks li { color: #dbe6f6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4a98' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.night .checks li::before { background-color: rgba(71,168,229,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.subcard { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--card); display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.subcard p { font-size: 0.95rem; }

/* product shots */
.shot-stage { position: relative; }
.shot-stage::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: rgba(71,168,229,.14); z-index: 0; }
.shot { position: relative; z-index: 1; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.shot .win-body { gap: 14px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.ledger th.num { text-align: right; }
.ledger th, .ledger td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger th { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--mist); }
.ledger th:first-child { border-top-left-radius: 8px; } .ledger th:last-child { border-top-right-radius: 8px; }
.ledger th.num { font-family: var(--f-body); font-size: 0.7rem; }
.ledger td.num { text-align: right; font-family: var(--f-mono); font-size: 0.82rem; }
.ledger tbody tr:hover td { background: var(--mist); }
.ledger tfoot td { font-weight: 700; border-bottom: none; border-top: 2px solid var(--ink); }
.shot-note { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.shot-note svg { width: 14px; height: 14px; flex: none; }
.night .shot-note { color: var(--on-night-muted); }
.table-wrap { overflow-x: auto; }
.rows { display: grid; gap: 0; font-size: 0.88rem; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.rows .who { color: var(--muted); }

/* timesheet grid */
.ts-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 0.7fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 0.84rem; font-variant-numeric: tabular-nums; }
.ts-grid > div { padding: 10px; border-top: 1px solid var(--line); min-width: 0; font-family: var(--f-mono); font-size: 0.8rem; }
.ts-grid .h { border-top: 0; background: var(--mist); font: 600 0.68rem var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ts-grid .job { font: 600 0.84rem/1.3 var(--f-body); }
.ts-grid .job small { display: block; font-weight: 400; color: var(--muted); font-size: 0.74rem; }
.ts-grid .ot { display: inline-block; margin-top: 3px; font-size: 0.68rem; color: var(--accent-ink); background: var(--sky-soft); padding: 1px 5px; border-radius: 4px; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ladder > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; font-size: 0.8rem; }
.ladder > div b { font-size: 0.82rem; }
.ladder > div small { color: var(--muted); }
.ladder .pill { justify-self: start; }
.ladder > div.done { border-color: rgba(47,191,143,.5); background: var(--mint-soft); }
.ladder > div.now { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(71,168,229,.15); }

/* phone */
.phone-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-stage::before { content: ""; position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(71,168,229,.28), transparent 65%); }
.phone { position: relative; width: 300px; max-width: 100%; background: var(--card); color: var(--ink); border: 11px solid #0b1424; border-radius: 46px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.85rem; }
.phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); background: #0b1424; border-radius: 14px; z-index: 2; }
.phone-top { background: linear-gradient(160deg, var(--navy), var(--night-2)); color: #fff; padding: 42px 16px 14px; display: grid; gap: 12px; }
.phone-top strong { font: 700 1.05rem var(--f-display); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,0.12); border-radius: 10px; padding: 3px; font-weight: 600; font-size: 0.8rem; text-align: center; }
.seg span { padding: 6px 0; border-radius: 8px; color: var(--on-night-muted); }
.seg .on { background: #fff; color: var(--navy); }
.phone-day { display: flex; justify-content: space-between; padding: 12px 16px 6px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.phone-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); }
.phone-row small { display: block; color: var(--muted); font-size: 0.74rem; }
.phone-row .h { font-family: var(--f-mono); font-size: 0.82rem; font-weight: 700; }
.phone-add { margin: 14px 16px; padding: 11px; text-align: center; border-radius: 12px; background: var(--sky); color: #061330; font-weight: 700; }
.phone-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: var(--mist); text-align: center; font-size: 0.7rem; font-weight: 600; color: var(--muted); padding: 10px 0 16px; }
.phone-tabs .on { color: var(--accent-ink); }
.p-float { position: absolute; z-index: 3; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 0.8rem; }
.p-float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mint-soft); color: var(--ok-ink); flex: none; }
.p-float .ic svg { width: 16px; height: 16px; }
.p-float b { display: block; font-size: 0.82rem; }
.p-float small { color: var(--muted); font-size: 0.72rem; }
.pf1 { right: 2%; top: 22%; }
.pf2 { left: 0; bottom: 18%; }
.pf2 .ic { background: var(--sky-soft); color: var(--accent-ink); }

/* trackers */
.trackers { background: radial-gradient(900px 500px at 20% 60%, rgba(71,168,229,.16), transparent 60%), var(--night); }
.tracker-show { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.tags-panel { display: grid; gap: 34px; justify-items: center; }
.tags { display: flex; align-items: flex-end; justify-content: center; gap: 56px; flex-wrap: wrap; }
.tag { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 180px; }
.tag-art { position: relative; filter: drop-shadow(0 20px 26px rgba(0,0,0,0.45)); }
.tag-art svg { display: block; position: relative; }
.tag-mark { position: absolute; height: auto; pointer-events: none; opacity: 0.2; filter: grayscale(1) invert(1) contrast(3) brightness(1.6); mix-blend-mode: multiply; }
.tag figcaption { display: grid; gap: 4px; }
.tag figcaption strong { font: 700 1.04rem var(--f-display); }
.tag figcaption span { color: var(--on-night-muted); font-size: 0.9rem; }
.map { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.guarantee { border: 1px solid var(--on-night-line); background: rgba(255,255,255,.03); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.guarantee .gi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(71,168,229,.16); color: var(--sky-hi); }
.guarantee .gi svg { width: 20px; height: 20px; }
.guarantee strong { font: 700 1.04rem var(--f-display); }
.guarantee p { color: var(--on-night-muted); font-size: 0.95rem; }

/* platform facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-sm); }
.icon-box { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--accent-ink); }
.icon-box svg { width: 22px; height: 22px; }
.fact strong { font: 700 1.08rem var(--f-display); }
.fact p { color: var(--muted); font-size: 0.95rem; }

/* reports */
.reports-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.inbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.inbox-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.inbox-head b { color: var(--ink); font: 700 0.95rem var(--f-display); }
.mail { display: grid; grid-template-columns: 124px 1fr; gap: 18px; padding: 20px; border-top: 1px solid var(--line); position: relative; }
.mail:first-of-type { border-top: 0; }
.mail .time { font: 700 1.05rem/1.2 var(--f-mono); color: var(--accent-ink); }
.mail .time small { display: block; font: 500 0.7rem var(--f-body); color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.mail .what { font-weight: 700; display: block; margin-bottom: 4px; line-height: 1.35; }
.mail .who { color: var(--muted); font-size: 0.92rem; }
.mail::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 0 3px 3px 0; background: var(--sky); }
.dash-note { margin-top: 28px; }

/* QuickBooks */
.compare-wrap { overflow-x: auto; margin-bottom: 96px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--card); }
.compare { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 600 0.74rem var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--mist); position: sticky; top: 0; }
.compare thead th.us { background: var(--night); color: #fff; }
.compare thead th.us span { display: inline-flex; align-items: center; gap: 10px; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 700; width: 22%; font-family: var(--f-display); }
.compare td:nth-child(2) { color: var(--muted); width: 30%; }
.compare td:nth-child(3) { position: relative; padding-left: 52px; background: linear-gradient(90deg, rgba(71,168,229,.07), rgba(71,168,229,.02)); }
.compare td:nth-child(3)::before { content: ""; position: absolute; left: 20px; top: 19px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313805c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.compare tbody tr:hover td { background: var(--mist); }
.compare tbody tr:hover td:nth-child(3) { background: rgba(71,168,229,.1); }
.cutover { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; counter-reset: step; position: relative; }
.cut { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 26px; display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-sm); }
.cut::before { counter-increment: step; content: "0" counter(step); font: 700 0.8rem var(--f-mono); color: var(--accent-ink); background: var(--sky-soft); width: max-content; padding: 6px 10px; border-radius: 8px; }
.cut:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 40px; width: 12px; height: 12px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg); z-index: 2; }
.cut strong { font: 700 1.1rem var(--f-display); }
.cut p { color: var(--muted); font-size: 0.94rem; }

/* modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.module { background: var(--card); padding: 30px 28px; display: grid; gap: 12px; align-content: start; transition: background .2s; }
.module:hover { background: var(--paper); }
.module h3 { display: flex; align-items: center; gap: 12px; }
.module h3 .icon-box { width: 38px; height: 38px; border-radius: 11px; }
.module h3 .icon-box svg { width: 19px; height: 19px; }
.module p { color: var(--muted); font-size: 0.94rem; }

/* USA */
.usa { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center; }
.usa-seal { display: grid; gap: 14px; justify-items: start; }
.usa-seal .big { font: 800 clamp(2.6rem, 5.4vw, 4.2rem)/0.95 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.usa-seal .big span { display: block; color: var(--accent-ink); }
.usa-seal p { color: var(--muted); max-width: 32ch; }
.usa-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usa-facts > div { border-top: 2px solid var(--sky); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.usa-facts strong { font: 700 1.04rem/1.3 var(--f-display); }
.usa-facts p { color: var(--muted); font-size: 0.94rem; }

/* contact */
.contact-band { background: radial-gradient(900px 600px at 85% 20%, rgba(71,168,229,.3), transparent 60%), var(--night); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.form { display: grid; gap: 16px; background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.form-title { font: 700 1.3rem var(--f-display); letter-spacing: -0.02em; }
.form label { display: grid; gap: 7px; font-size: 0.88rem; font-weight: 600; }
.form input, .form textarea { font: 400 1rem var(--f-body); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); min-width: 0; width: 100%; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(71,168,229,.18); }
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; padding: 16px; }
.form .hint { font-size: 0.85rem; color: var(--muted); text-align: center; }
.form-done { display: grid; gap: 8px; padding: 18px; border-radius: 12px; background: var(--mint-soft); color: var(--ink); border: 1px solid rgba(47,191,143,.5); }
.form-done .hint { color: var(--muted); }
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--red-soft); border: 1px solid rgba(214,74,59,.4); color: var(--red); font-size: 0.92rem; }
.form-error p { margin: 0; }
.form-error p + p { margin-top: 4px; }
.form [aria-invalid="true"] { border-color: var(--red); }
.form button[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
turbo-frame { display: block; }

/* footer */
.footer { background: #040d22; color: var(--on-night-muted); padding-block: 56px 40px; font-size: 0.9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-top img { width: 140px; height: 28px; }
.footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--on-night-muted); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; }
[hidden] { display: none !important; }


/* ===== v2 additions ===== */
/* accent word: same face as the heading, picked out in colour */
h2 .accent, h3 .accent, h4 .accent { color: var(--accent-ink); }
.night h2 .accent, .night h3 .accent, .night h4 .accent { color: var(--sky-hi); }

/* mega menu */
.has-menu { position: relative; }
.menu-btn { background: none; border: 0; color: var(--on-night-muted); font: 500 0.95rem var(--f-body); padding: 9px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.menu-btn:hover, .has-menu:focus-within .menu-btn, .has-menu.open .menu-btn { color: #fff; background: rgba(255,255,255,.07); }
.has-menu:hover .menu-btn svg, .has-menu.open .menu-btn svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: -20px; width: 640px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.mega a:hover { background: var(--mist); }
.mega .icon-box { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.mega .icon-box svg { width: 18px; height: 18px; }
.mega b { display: block; font-weight: 600; font-size: 0.93rem; }
.mega small { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.mega .mega-all { grid-column: 1 / -1; justify-content: space-between; align-items: center; background: var(--mist); margin-top: 6px; font-weight: 600; font-size: 0.9rem; color: var(--accent-ink); }
.mega .mega-all svg { width: 16px; height: 16px; }

/* hero extras */
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--sky-hi); text-decoration: none; font-weight: 600; font-size: 0.95rem; width: fit-content; }
.text-link svg { width: 15px; height: 15px; transition: transform .15s; }
.text-link:hover svg { transform: translateX(3px); }
.night .text-link { color: var(--sky-hi); }

/* "what it retires" row */
.retire { padding: 22px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.retire-row { display: flex; align-items: center; gap: 28px; }
.retire-label { font: 700 0.74rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex: none; }
.retire-label b { display: block; color: var(--ink); letter-spacing: .02em; text-transform: none; font: 700 1rem var(--f-display); }
.track span { font: 600 0.93rem var(--f-display); color: var(--muted); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: var(--mist); text-decoration: line-through; text-decoration-color: rgba(71,168,229,.85); text-decoration-thickness: 2px; }
.marquee { flex: 1; min-width: 0; }
.track { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.track .set { display: contents; }


/* field / office venn */
.venn { position: relative; height: 230px; }
.circ { position: absolute; top: 50%; width: min(210px, 64%); aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); display: grid; align-content: center; gap: 6px; padding: 0 26px; font-size: 0.8rem; }
.circ.c1 { left: 0; background: rgba(71,168,229,.12); border: 1.5px solid rgba(71,168,229,.55); justify-items: start; }
.circ.c2 { right: 0; background: rgba(71,168,229,.06); border: 1.5px solid rgba(71,168,229,.55); justify-items: end; text-align: right; }
.circ .ct { font: 700 0.84rem var(--f-display); color: var(--ink); }
.circ .ci { color: var(--muted); line-height: 1.55; }
.venn .mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--night); color: #fff; border-radius: 12px; padding: 9px 12px; text-align: center; font-size: 0.76rem; box-shadow: var(--shadow); z-index: 1; }
.venn .mid b { display: block; font: 700 0.86rem var(--f-display); }
.venn .mid small { color: var(--sky-hi); font-family: var(--f-mono); font-size: 0.7rem; }

/* module tour */
.tour { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.tour-nav { display: grid; gap: 4px; position: sticky; top: 110px; }
.tour-nav button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 0.98rem var(--f-body); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tour-nav button .icon-box { width: 36px; height: 36px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.tour-nav button .icon-box svg { width: 18px; height: 18px; }
.tour-nav button:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.tour-nav button[aria-selected="true"] { color: var(--ink); background: var(--card); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tour-nav button[aria-selected="true"] .icon-box { background: var(--sky); color: var(--night); border-color: transparent; }
:root[data-theme="dark"] .tour-nav button:hover { background: rgba(255,255,255,.04); }
.tour-panel { display: grid; gap: 22px; }
.js .tour-panel:not(.on) { display: none; }
.js .tour-panel.on { animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.device { background: #0b1424; border-radius: 26px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.device::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2a3954; }
.device .win { border: 0; box-shadow: none; border-radius: 16px; min-height: 380px; }
.tp-desc { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: baseline; padding: 0 6px; }
.tp-desc h3 { font-size: 1.25rem; }
.tp-desc p { color: var(--muted); font-size: 0.98rem; grid-column: 1 / -1; max-width: 70ch; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 0.86rem; display: grid; gap: 4px; background: var(--mist); }
.msg small { color: var(--muted); font-size: 0.76rem; }
.msg .at { color: var(--accent-ink); font-weight: 600; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset span { font-size: 0.74rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line); color: var(--muted); }
.searchbox { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--sky); border-radius: 12px; padding: 11px 14px; box-shadow: 0 0 0 4px rgba(71,168,229,.15); font-size: 0.95rem; }
.searchbox svg { width: 18px; height: 18px; color: var(--muted); }
.searchbox .caret { width: 1.5px; height: 18px; background: var(--ink); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.sgroup { display: grid; gap: 2px; }
.sgroup > small { font-size: 0.68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 6px 2px; }
.sgroup > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 0.86rem; }
.sgroup > div:first-of-type { background: var(--sky-soft); }
.sgroup > div svg { width: 15px; height: 15px; color: var(--accent-ink); flex: none; }
.sgroup mark { background: rgba(242,163,58,.3); color: inherit; border-radius: 3px; padding: 0 2px; }


/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.faq .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 1.08rem/1.35 var(--f-display); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4a98' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--muted); padding: 0 50px 22px 0; }

/* footer columns */
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { width: 150px; height: 30px; }
.footer-brand p { max-width: 34ch; }
.footer h4 { font: 700 0.76rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 10px; }


/* ===== v4: motion, depth, scale ===== */
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.section-head { max-width: 820px; }

/* centered hero with a wide product scene */
/* the hero runs up underneath the sticky nav */
.hero { margin-top: calc(-1 * var(--navh, 70px)); padding-block: calc(72px + var(--navh, 70px)) 0; }
.hero-grid { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.hero-copy { justify-items: center; text-align: center; max-width: 1000px; gap: 24px; }
.hero h1 { max-width: 19ch; font-size: clamp(2.6rem, 5.4vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.03; }
.hero .lede { margin-inline: auto; max-width: 60ch; }
.hero-ctas { justify-content: center; }
.hero .btn { padding: 16px 26px; font-size: 1.04rem; }
.stage { width: 100%; max-width: 1120px; padding: 20px 0 30px; isolation: isolate; }
.stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1000px; max-width: 120%; height: 560px; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(71,168,229,.45), transparent); filter: blur(40px); z-index: -1; pointer-events: none; }
.stage .win { width: min(680px, 100%); margin: 0 auto; }
.f-approve { left: 0; right: auto; top: -6px; width: 250px; }
.f-lock { left: 0; right: auto; top: auto; bottom: 58px; }
.f-je { right: 0; left: auto; top: 252px; bottom: auto; width: 275px; }

/* hero story sequence (only when JS + motion allowed) */
.anim [data-seq] { opacity: 0; translate: 0 12px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.7,.2,1); }
.anim [data-seq].on { opacity: 1; translate: 0 0; }
.anim .win[data-seq] { translate: none; transform: perspective(1600px) rotateX(18deg) scale(.94); transform-origin: 50% 0; transition: opacity .9s ease, transform 1.3s cubic-bezier(.2,.7,.2,1); }
.anim .win[data-seq].on { transform: none; }
.f-steps i { position: relative; overflow: hidden; background: var(--line); }
.f-steps i::after { content: ""; position: absolute; inset: 0; background: var(--mint); }
.anim .f-steps i[data-seq] { opacity: 1; translate: none; }
.anim .f-steps i[data-seq]::after { transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.anim .f-steps i[data-seq].on::after { transform: none; }
.anim .je tr.tot[data-seq].on td.bal { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.12); } }
.je td.bal { display: inline-block; }

/* mobile nav CTA */
.nav-m-cta { display: none; }

/* scroll story for the five steps (desktop) */
.story-screen { display: none; }
@media (min-width: 1101px) {
  .story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
  .story .loop { display: block; max-width: none; }
  .story .loop::before { left: 27px; right: auto; top: 28vh; bottom: 28vh; width: 2px; height: auto; }
  .story .step { min-height: 56vh; grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 24px; row-gap: 6px; align-content: center; padding: 0; transition: opacity .4s ease; }
  .story .step .node { grid-row: span 2; transition: transform .4s ease, box-shadow .4s ease, background .4s ease, color .4s ease; }
  .story .step strong { font-size: 1.5rem; margin-top: 2px; letter-spacing: -0.02em; }
  .story .step span:not(.node) { font-size: 1.05rem; max-width: 40ch; }
  .js .story .step { opacity: .32; }
  .js .story .step.active { opacity: 1; }
  .story .step.active .node { background: var(--sky); color: var(--night); border-color: transparent; transform: scale(1.08); box-shadow: 0 10px 30px -8px rgba(71,168,229,.7); }
  .story-screen { display: block; position: sticky; top: calc(50vh - 230px); height: 460px; }
  .story-screen::before { content: ""; position: absolute; inset: 6% -3% -4% 6%; border-radius: 28px; background: rgba(71,168,229,.14); }
  .scr { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
  .scr.on { opacity: 1; transform: none; }
  .scr .win { width: 100%; background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
  .scr .phone { width: 290px; }
}


/* ===== v5: shorter page ===== */
html { scroll-padding-top: 132px; }
.band { padding-block: 88px; }
.section-head { margin-bottom: 40px; }
.usa-band { padding-block: 64px; }
.usa-seal .big { font-size: clamp(2.2rem, 4vw, 3.2rem); }
@media (min-width: 1101px) { .story .step { min-height: 40vh; } .story-screen { top: calc(50vh - 200px); height: 420px; } }

/* section bar */
.secbar { position: sticky; top: var(--navh, 70px); z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .secbar { background: rgba(11,20,38,.88); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .secbar { background: rgba(11,20,38,.88); } }
.secbar ul { list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.secbar ul::-webkit-scrollbar { display: none; }
.secbar a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.88rem; transition: background .2s, color .2s; }
.secbar a:hover { color: var(--ink); background: var(--mist); }
.secbar a.active { background: var(--night); color: #fff; }
.secbar .sb-cta { margin-left: auto; }
.secbar .sb-cta a { color: var(--accent-ink); }
.secbar .sb-cta a:hover { background: var(--sky-soft); }

/* expandable detail */
details.more { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-top: 4px; }
details.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; font-weight: 600; font-size: 0.93rem; color: var(--accent-ink); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4a98' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
details.more[open] summary::after { transform: rotate(45deg); }
.more-body { padding: 0 16px 16px; display: grid; gap: 12px; color: var(--muted); font-size: 0.95rem; }
.more-body .checks li { color: var(--ink); font-size: 0.95rem; }
details.more-inline { border: 0; background: none; margin: -4px 0 0; }
details.more-inline summary { padding: 0; width: fit-content; justify-content: flex-start; }
details.more-inline .more-body { padding: 12px 0 0; }
details.more-dark { grid-column: 1 / -1; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
details.more-dark summary { color: var(--sky-hi); }
details.more-dark summary::after { background-color: rgba(255,255,255,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd0ff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
details.more-dark .more-body { color: var(--on-night-muted); }
details.more-dark .eyebrow { color: var(--sky-hi); }
details.more-dark .tp-h { color: #fff; }
.pfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 6px; }
.pfact { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pfact .icon-box { width: 34px; height: 34px; border-radius: 10px; background: rgba(71,168,229,.18); color: var(--sky-hi); }
.pfact .icon-box svg { width: 17px; height: 17px; }
.pfact strong { color: #fff; font: 700 0.98rem var(--f-display); }
.pfact p { font-size: 0.88rem; }

/* tour panels with feature copy */
.tp-copy { display: grid; gap: 24px; padding: 6px 4px 0; }
.tp-copy.feat { grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.tp-main { display: grid; gap: 12px; align-content: start; }
.tp-h { font: 800 clamp(1.5rem, 2.3vw, 2rem)/1.15 var(--f-display); letter-spacing: -0.03em; }
.tp-lede { color: var(--muted); }
.tp-side { display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); padding-left: 28px; }
.tp-side > p { color: var(--muted); font-size: 0.95rem; }
.tp-label { font: 700 0.74rem var(--f-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink) !important; }
.device .shot, .device .inbox { border: 0; box-shadow: none; border-radius: 16px; }
.tour-panel .phone-stage { padding: 10px 0 0; }

/* QuickBooks table: first four rows until expanded */
.compare-wrap { margin-bottom: 0; position: relative; }
.compare-wrap.collapsed tbody tr:nth-child(n+5) { display: none; }
.show-all-row { display: flex; justify-content: center; margin: 20px 0 88px; }
.show-all { font: 600 0.95rem var(--f-body); color: var(--accent-ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 22px; cursor: pointer; box-shadow: var(--shadow-sm); }
.show-all:hover { border-color: var(--sky); }


/* ===================== responsive: tablet landscape ===================== */
@media (max-width: 1180px) {
  .wrap { padding-inline: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 18ch; }
  .stage { display: flex; flex-direction: column; max-width: 700px; margin-inline: auto; width: 100%; padding: 8px 0 0; }
  .stage .win { margin-right: 0; }
  .float { position: relative; inset: auto; z-index: 2; }
  .f-approve { order: -1; align-self: flex-end; width: 250px; margin-bottom: -18px; }
  .f-lock { display: none; }
  .f-je { align-self: flex-end; width: min(300px, 94%); margin-top: -26px; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .feature, .reports-grid, .tracker-show, .contact { gap: 48px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .shot-stage::before { inset: 6% 0 -5% 6%; }
  .tour { grid-template-columns: 240px 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ===================== tablet portrait ===================== */
@media (max-width: 960px) {
  body { font-size: 16.5px; }
  .band { padding-block: 88px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links > li > a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav-links { max-height: calc(100vh - 80px); overflow-y: auto; }
  .menu-btn { pointer-events: none; padding: 12px 14px 4px; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; }
  .menu-btn svg { display: none; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; translate: none; transition: none; grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px; }
  .mega a { color: #dbe6f6; padding: 10px 14px; }
  .mega a:hover { background: rgba(255,255,255,.06); }
  .mega small { color: var(--on-night-muted); }
  .mega .icon-box { background: rgba(71,168,229,.16); color: var(--sky-hi); }
  .mega .mega-all { background: rgba(255,255,255,.05); color: var(--sky-hi); }
  .tour { grid-template-columns: 1fr; gap: 20px; }
  .tp-copy.feat { grid-template-columns: 1fr; gap: 20px; }
  .tp-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .pfacts { grid-template-columns: 1fr 1fr; }
  .band { padding-block: 72px; }
  .tour-nav { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .tour-nav button { width: auto; flex: none; padding: 8px 14px 8px 8px; border-color: var(--line); background: var(--card); }
  .tour-nav button .icon-box { width: 30px; height: 30px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq .section-head { position: static; }
  .nav-cta { margin: 8px 0 0; } .nav-cta .btn { width: 100%; }
  .nav-toggle { display: grid; }
  .nav-m-cta { display: inline-flex; margin-left: auto; padding: 9px 14px !important; font-size: 0.85rem !important; }
  .nav .wrap { gap: 10px; }
  .loop { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .loop::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .step { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 20px; row-gap: 4px; padding: 0 0 28px; }
  .step .node { grid-row: span 2; }
  .step strong { margin-top: 4px; }
  .loop-return { margin-top: 12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.w4, .tile.w2 { grid-column: span 1; }
  .tile.split { grid-column: 1 / -1; }
  .feature, .reports-grid, .tracker-show, .contact, .usa { grid-template-columns: 1fr; gap: 44px; }
  .feature.flip > :first-child { order: 0; }
  .feature > .shot-stage, .feature > .phone-stage { order: 2 !important; }
  .guarantees { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr 1fr; }
  .cutover { grid-template-columns: 1fr; }
  .cut:not(:last-child)::after { right: auto; left: 40px; top: auto; bottom: -16px; transform: rotate(135deg); }
}
/* ===================== mobile ===================== */
@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  .band { padding-block: 72px; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: calc(56px + var(--navh, 70px)); }
  .stage { padding: 76px 0 150px; }
  .stage { display: flex; flex-direction: column; padding: 8px 0 0; }
  .stage .win { margin-right: 0; }
  .float { position: relative; inset: auto; z-index: 2; }
  .f-approve { order: -1; align-self: flex-end; width: 230px; margin-bottom: -18px; }
  .f-lock { display: none; }
  .f-je { align-self: flex-end; width: min(300px, 94%); margin-top: -26px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .trust ul { grid-template-columns: 1fr; gap: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
  .tile.split { grid-template-columns: 1fr; }
  .facts, .modules, .usa-facts { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .ts-grid { min-width: 520px; }
  .mail { grid-template-columns: 1fr; gap: 6px; }
  .form { padding: 24px; }
  .form .row2 { grid-template-columns: 1fr; }
  .tags { gap: 36px; }
  .pf1 { right: 0; top: 8%; } .pf2 { left: 0; bottom: 6%; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .retire-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .device { padding: 8px; border-radius: 20px; }
  .device .win { min-height: 0; }
  .qa details p { padding-right: 0; }
  .band { padding-block: 56px; }
  .usa-band { padding-block: 48px; }
  .show-all-row { margin-bottom: 56px; }
  .secbar .sb-cta { display: none; }
  .pfacts { grid-template-columns: 1fr; }
  /* swipe rows instead of tall stacks */
  .trust ul, .guarantees, .cutover, .usa-facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 4px 20px 10px; scrollbar-width: none; }
  .trust ul::-webkit-scrollbar, .guarantees::-webkit-scrollbar, .cutover::-webkit-scrollbar, .usa-facts::-webkit-scrollbar { display: none; }
  .trust li, .guarantee, .cut, .usa-facts > div { flex: 0 0 82%; scroll-snap-align: start; }
  .trust li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
  .usa-facts > div { background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--sky); border-radius: 12px; padding: 16px; }
  .cut:not(:last-child)::after { display: none; }
  .guarantees { margin-top: 40px; }
}
@media (max-width: 420px) {
  .nav-logo img { width: 118px; height: auto; }
  .hero h1 { font-size: 2.45rem; }
  .hero-ctas .btn { width: 100%; }
  .feed .amt { display: none; }
}

/* ---------- Privacy policy (/privacy): one readable column of prose ---------- */
.nav-solid { background: var(--night); }
.policy { padding-block: 72px 96px; }
.policy .wrap { max-width: 760px; }
.policy h1 { margin: 16px 0 10px; font-size: clamp(2.1rem, 4vw, 3rem); }
.policy .updated { color: var(--muted); font-size: 0.95rem; }
.policy .lede { margin-top: 28px; font-size: 1.12rem; }
.policy h2 { margin: 52px 0 14px; font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.policy h3 { margin: 28px 0 8px; }
.policy p + p { margin-top: 12px; }
.policy ul { margin: 0; padding-left: 1.2em; }
.policy li + li { margin-top: 10px; }
.policy li::marker { color: var(--sky); }
.policy + .footer { padding-block: 32px; }
.policy + .footer .footer-bottom { padding-top: 0; }
@media (max-width: 720px) { .policy { padding-block: 44px 64px; } }
