/* Front door site styles, v2: calm, airy, premium. Big rounded white panels on a light grey page,
   hairline borders, big tight type, restrained colour, transform/opacity-only motion.
   System font stack only, no external assets. */

:root {
  /* Theme accent: dark shade for light mode, light shade for dark mode. main.js swaps these. */
  --accent-d: #1F3A5F;
  --accent-l: #8FB3E3;

  --bg: #F3F4F6;
  --surface: #FFFFFF;
  --surface-2: #F4F5F7;
  --inset: #F7F8FA;            /* cards sitting inside a white panel */
  --ink: #0B0F19;
  --muted: #555D6B;
  --soft: #7A828F;             /* large text only (3:1) */
  --hairline: rgba(11, 15, 25, .08);
  --hairline-strong: rgba(11, 15, 25, .15);
  --shadow-sm: 0 1px 2px rgba(11, 15, 25, .04), 0 2px 8px rgba(11, 15, 25, .04);
  --shadow: 0 1px 2px rgba(11, 15, 25, .04), 0 12px 32px -8px rgba(11, 15, 25, .10);
  --shadow-lg: 0 2px 6px rgba(11, 15, 25, .04), 0 40px 80px -24px rgba(11, 15, 25, .22);

  --brand: var(--accent-d);
  --on-brand: #FFFFFF;
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #FFFFFF);
  --glow-a: color-mix(in srgb, var(--accent-d) 70%, #3B82F6);
  --glow-b: #14B8A6;
  --glow-c: #8B5CF6;
  --glow-opacity: .55;

  /* Status chips */
  --c-sent-bg: #EAF1FF;     --c-sent: #1D4ED8;
  --c-opened-bg: #FEF3C7;   --c-opened: #92400E;
  --c-accepted-bg: #DCFCE7; --c-accepted: #166534;
  --c-declined-bg: #FEE2E2; --c-declined: #B91C1C;
  --c-sched-bg: #EFEDFB;    --c-sched: #5B44B8;

  /* Pastel step tints */
  --tint-blue: #EEF3FD;
  --tint-peach: #FDF1E9;
  --tint-mint: #EAF7F0;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-panel: 32px;
  --wrap: 1160px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) {
    --bg: #08090C;
    --surface: #111419;
    --surface-2: #181C23;
    --inset: #0D1014;
    --ink: #EDEFF3;
    --muted: #A3ACB9;
    --soft: #7E8795;
    --hairline: rgba(255, 255, 255, .08);
    --hairline-strong: rgba(255, 255, 255, .15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -24px rgba(0, 0, 0, .7);
    --brand: var(--accent-l);
    --on-brand: #0B1017;
    --brand-soft: color-mix(in srgb, var(--brand) 13%, #111419);
    --glow-a: color-mix(in srgb, var(--accent-l) 60%, #3B82F6);
    --glow-opacity: .30;
    --c-sent-bg: rgba(59, 130, 246, .16);   --c-sent: #9DBBFF;
    --c-opened-bg: rgba(245, 158, 11, .16); --c-opened: #FCD34D;
    --c-accepted-bg: rgba(34, 197, 94, .16); --c-accepted: #86EFAC;
    --c-declined-bg: rgba(239, 68, 68, .16); --c-declined: #FCA5A5;
    --c-sched-bg: rgba(139, 92, 246, .18);  --c-sched: #C4B5FD;
    --tint-blue: #131B28;
    --tint-peach: #1F1812;
    --tint-mint: #111E18;
    color-scheme: dark;
  }
}

:root[data-mode="dark"] {
  --bg: #08090C;
  --surface: #111419;
  --surface-2: #181C23;
  --inset: #0D1014;
  --ink: #EDEFF3;
  --muted: #A3ACB9;
  --soft: #7E8795;
  --hairline: rgba(255, 255, 255, .08);
  --hairline-strong: rgba(255, 255, 255, .15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -24px rgba(0, 0, 0, .7);
  --brand: var(--accent-l);
  --on-brand: #0B1017;
  --brand-soft: color-mix(in srgb, var(--brand) 13%, #111419);
  --glow-a: color-mix(in srgb, var(--accent-l) 60%, #3B82F6);
  --glow-opacity: .30;
  --c-sent-bg: rgba(59, 130, 246, .16);   --c-sent: #9DBBFF;
  --c-opened-bg: rgba(245, 158, 11, .16); --c-opened: #FCD34D;
  --c-accepted-bg: rgba(34, 197, 94, .16); --c-accepted: #86EFAC;
  --c-declined-bg: rgba(239, 68, 68, .16); --c-declined: #FCA5A5;
  --c-sched-bg: rgba(139, 92, 246, .18);  --c-sched: #C4B5FD;
  --tint-blue: #131B28;
  --tint-peach: #1F1812;
  --tint-mint: #111E18;
  color-scheme: dark;
}

/* ---------- Base ---------- */

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: anywhere; /* long names, emails and suburbs wrap instead of spilling (fixed copy is unaffected) */
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Buttons: dark pills with a small icon ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 8px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .9375rem; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  max-width: 100%; text-align: center; /* a label too long for the screen wraps, never clips */
}
.btn .i { width: 22px; height: 22px; margin-right: -8px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, currentColor 16%, transparent); }
.btn .i svg { width: 12px; height: 12px; }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 1px 2px rgba(11, 15, 25, .16), inset 0 1px 0 rgba(255, 255, 255, .10); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--hairline-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--soft); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 44px; padding: 6px 18px; font-size: .875rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
  .btn:active { transform: translateY(1px); }
  .btn .i { transition: transform .25s ease; }
  .btn:hover .i { transform: translateX(2px); }
}

/* ---------- Floating pill nav ---------- */

.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 12px; margin-top: 12px; }
.nav-pill {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  max-width: 1080px; min-height: 60px; margin: 0 auto;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand);
}
.brand-mark svg { width: 17px; height: 17px; }

.site-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.site-nav ul { list-style: none; display: flex; gap: 2px; min-width: 0; }
.site-nav li { min-width: 0; }
.brand { flex: none; }
.nav-actions { min-width: 0; }
.nav-link {
  display: block; max-width: 100%; min-height: 44px; padding: 0 14px; line-height: 44px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-radius: 999px; color: var(--muted);
  font-weight: 500; font-size: .9375rem; text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  cursor: pointer; place-items: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 899px) {
  .js .menu-toggle { display: grid; }
  .js .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 8px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; min-height: 48px; padding: 0 16px; line-height: 48px; color: var(--ink); font-size: 1rem; border-radius: 14px; }
  .no-js .site-nav { display: none; }
}
@media (max-width: 419px) {
  .nav-cta { padding: 6px 14px; }
  .nav-cta .i { display: none; }
  .brand { font-size: 1rem; gap: 8px; }
  .nav-pill { padding-left: 12px; }
}

/* ---------- Type helpers ---------- */

.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 30px; padding: 4px 14px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  color: var(--muted); font-size: .8125rem; font-weight: 600;
}
.is-panel .pill-eyebrow { background: var(--inset); box-shadow: none; }
.pill-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.display {
  margin-top: 24px;
  font-size: clamp(2.5rem, 1.1rem + 6vw, 5.25rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 750;
}
.display .line, .h2 .line { display: block; }
.soft { color: var(--soft); }

.h2 { font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.h3 { font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 20px; }
.lead { margin: 24px auto 0; max-width: 620px; color: var(--muted); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.6; }
.body-lg { margin-top: 20px; max-width: 640px; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }

/* ---------- Sections and panels ---------- */

section { scroll-margin-top: 96px; }
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h2 { margin-top: 20px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .body-lg { margin-left: auto; margin-right: auto; }

/* Big rounded white panels stacked on the grey page. */
.section.is-panel { padding: 6px var(--gutter); }
.section.is-panel > .wrap {
  max-width: calc(var(--wrap) + 160px);
  padding: 72px 20px;
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid var(--hairline);
}

/* ---------- Hero ---------- */

.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-copy { text-align: center; max-width: calc(980px + var(--gutter) * 2); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px;
  margin-top: 28px; color: var(--muted); font-size: .875rem; font-weight: 500;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* Referral note at the top of the hero. ref.js sets html[data-ref] in the <head>, before the first paint, so the
   note is either there from the start or never: nothing moves. No motion at all. README "Referral codes". */
.ref-strip { display: none; }
html[data-ref] .ref-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px;
  max-width: 880px; margin: 0 auto 32px; padding: 12px 12px 12px 22px;
  border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg);
  background: var(--brand-soft); text-align: left;
}
.ref-strip-text { flex: 1 1 280px; margin: 0; color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.ref-strip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 599px) {
  html[data-ref] .ref-strip { margin-bottom: 24px; padding: 16px; text-align: center; }
  .ref-strip-text { flex-basis: 100%; }
  .ref-strip-actions { width: 100%; }
  .ref-strip-actions .btn { flex: 1 1 140px; }
}

.hero-stage { position: relative; margin-top: 56px; }
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 4%; width: min(1100px, 120%); height: 82%;
  transform: translateX(-50%);
  background:
    radial-gradient(38% 52% at 28% 48%, var(--glow-a), transparent 70%),
    radial-gradient(34% 46% at 72% 40%, var(--glow-b), transparent 70%),
    radial-gradient(32% 44% at 52% 78%, var(--glow-c), transparent 70%);
  filter: blur(56px);
  opacity: var(--glow-opacity);
}
@media (prefers-reduced-motion: no-preference) {
  .glow { animation: glow-drift 18s ease-in-out infinite alternate; }
}
@keyframes glow-drift {
  from { transform: translateX(-50%) scale(1) rotate(0deg); }
  to { transform: translateX(-50%) scale(1.06) rotate(4deg); }
}

.product-shot {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 8px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.product-shot img { border-radius: 17px; width: 100%; background: #F7F8FA; }

.demo-badge {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 24px; padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline-strong);
  color: var(--muted); font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.demo-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #D97706; }
.shot-badge { position: absolute; top: 16px; right: 16px; z-index: 2; box-shadow: var(--shadow-sm); }

/* Live quote activity feed */
.feed {
  position: relative; z-index: 2;
  width: 100%; max-width: 380px; margin: -40px auto 0;
  padding: 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.feed-head { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 4px 10px; }
.feed-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: .9375rem; margin-right: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.feed-toggle {
  width: 44px; height: 44px; margin: -6px -8px -6px 0;
  display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
}
.feed-toggle:hover { background: var(--surface-2); color: var(--ink); }
.feed-toggle svg { width: 16px; height: 16px; }
.i-play { display: none; }
[aria-pressed="true"] > .i-play { display: block; }
[aria-pressed="true"] > .i-pause { display: none; }

.feed-list { list-style: none; display: grid; gap: 6px; }
.feed-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 8px; row-gap: 4px; align-items: center;
  height: 64px; padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface); border: 1px solid var(--hairline);
}
.feed-item .chip { grid-column: 1; grid-row: 1; justify-self: start; }
.feed-time { grid-column: 2; grid-row: 1; justify-self: end; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.feed-text { grid-column: 1 / -1; grid-row: 2; font-size: .875rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Live mode (JS + motion allowed): rows are positioned with transforms only, so no layout shift. */
.feed-list.is-live { position: relative; display: block; height: calc(64px * 4 + 6px * 3); overflow: hidden; }
.feed-list.is-live .feed-item { position: absolute; left: 0; right: 0; top: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .4s ease; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 22px; padding: 1px 9px;
  border-radius: 999px;
  font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-sent { background: var(--c-sent-bg); color: var(--c-sent); }
.chip-opened { background: var(--c-opened-bg); color: var(--c-opened); }
.chip-accepted { background: var(--c-accepted-bg); color: var(--c-accepted); }
.chip-declined { background: var(--c-declined-bg); color: var(--c-declined); }
.chip-scheduled { background: var(--c-sched-bg); color: var(--c-sched); }

/* ---------- Problem: word-by-word reveal ---------- */

.statement { padding: 72px 0 96px; }
.statement .pill-eyebrow { margin-bottom: 28px; }
.statement-text {
  font-size: clamp(1.625rem, 1.05rem + 2.3vw, 2.75rem);
  line-height: 1.25; letter-spacing: -0.03em; font-weight: 650;
  color: var(--ink);
}
.statement-text .w { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .statement-text .w { color: var(--soft); transition: color .35s ease; }
  .js .statement-text .w.on { color: var(--ink); }
}

/* ---------- Section enter: gentle fade and slight scale (once) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .55s ease-out, transform .55s ease-out; }
  .js .reveal.is-in { opacity: 1; transform: none; }

  .js .reveal-lines .line {
    filter: blur(12px); opacity: .1; transform: translateY(10px);
    transition: filter 1s ease, opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
  }
  .js .reveal-lines .line + .line { transition-delay: .18s; }
  .js .reveal-lines.is-in .line { filter: none; opacity: 1; transform: none; }
}

/* ---------- Steps ---------- */

.steps { list-style: none; display: grid; gap: 16px; }
.step {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.tint-blue { background: var(--tint-blue); }
.tint-peach { background: var(--tint-peach); }
.tint-mint { background: var(--tint-mint); }
.step-ui { padding: 28px 24px 8px; min-height: 236px; display: flex; align-items: center; }
.step-body { padding: 16px 28px 32px; }
.step-num { display: block; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.step h3 { margin-top: 6px; font-size: 1.5rem; letter-spacing: -0.025em; }
.step-aside { display: inline-block; max-width: 100%; color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin-top: 10px; color: var(--muted); }

.ui-card {
  width: 100%;
  display: grid; gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  font-size: .8125rem;
}
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--muted); font-weight: 600; }
.ui-chip.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ui-line { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--hairline); }
.ui-line strong { display: block; font-size: .875rem; }
.ui-line span { color: var(--muted); }
.ui-line b { font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ui-stepper { display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--hairline-strong); border-radius: 10px; overflow: hidden; }
.ui-stepper span { width: 32px; height: 30px; display: grid; place-items: center; color: var(--muted); }
.ui-stepper .v { width: 44px; color: var(--ink); font-weight: 600; border-left: 1px solid var(--hairline); border-right: 1px solid var(--hairline); }
.ui-stepper em { font-style: normal; padding: 0 10px; color: var(--muted); }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ui-row + .ui-row { padding-top: 12px; border-top: 1px solid var(--hairline); }
.ui-row > span:first-child { font-weight: 600; font-size: .875rem; }
.ui-row small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; }
.ui-total span { display: block; color: var(--muted); }
.ui-total b { font-size: 1.625rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ui-accept { display: grid; place-items: center; min-height: 40px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: .875rem; }

/* Light-only app screenshots: soften slightly on dark pages */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .product-shot img { filter: brightness(.93); }
}
:root[data-mode="dark"] .product-shot img { filter: brightness(.93); }

/* ---------- Theme swatches (in "Make it yours") ---------- */

.swatches { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; min-height: 44px; padding: 12px 4px 10px;
  border-radius: 14px; border: 1px solid var(--hairline);
  background: var(--inset); color: var(--ink);
  font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer;
}
.swatch:hover { border-color: var(--hairline-strong); }
.swatches li, .swatch { min-width: 0; }
.swatch-chip { position: relative; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--sw-d) 0 50%, var(--sw-l) 50% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.swatch[aria-checked="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--surface); }
.swatch[aria-checked="true"] .swatch-chip::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand); }

.mode-toggle { display: inline-flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--hairline); }
.mode-toggle button {
  min-height: 44px; min-width: 96px; padding: 0 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer;
}
.mode-toggle button svg { width: 17px; height: 17px; }
.mode-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.theme-status { margin-top: 14px; color: var(--muted); font-size: .9375rem; min-height: 1.6em; }
.theme-status strong { color: var(--ink); font-weight: 600; }

.mini-list { list-style: none; display: grid; gap: 10px; margin-top: 28px; color: var(--muted); }
.mini-list li { display: flex; gap: 12px; align-items: baseline; }
.mini-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }

/* ---------- Trades ---------- */

.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.chip-trade {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--inset); border: 1px solid var(--hairline);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
}
.chip-yours { gap: 8px; background: transparent; border: 1.5px dashed var(--hairline-strong); }
.chip-yours svg { width: 16px; height: 16px; color: var(--brand); }
.trades-note { margin: 32px auto 0; max-width: 620px; text-align: center; color: var(--muted); }
.trades-note strong { color: var(--ink); font-weight: 650; }

/* ---------- Card icons and the Coming tag ---------- */

.card-icon { width: 40px; height: 40px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); }
.card-icon svg { width: 20px; height: 20px; }

.tag-coming {
  display: inline-flex; align-items: center; min-height: 20px; padding: 1px 8px;
  border-radius: 999px; border: 1px solid var(--hairline-strong);
  color: var(--muted); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* The sample email is a customer's screen, so it stays light in dark mode. */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .cz-mail { filter: brightness(.93); }
}
:root[data-mode="dark"] .cz-mail { filter: brightness(.93); }

/* ---------- Make it yours: tone, theme and trade ---------- */

.cz-grid { display: grid; gap: 48px; align-items: center; }
.cz-copy .h2 { margin-top: 20px; }

.cz-demo { padding: 20px 16px; border-radius: 28px; background: var(--inset); border: 1px solid var(--hairline); }
.cz-label { font-weight: 650; font-size: .9375rem; }
.cz-label + .cz-tones { margin-top: 10px; }
.cz-tones + .cz-label { margin-top: 20px; }
.cz-tones { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-tones button {
  min-height: 44px; padding: 6px 16px;
  border-radius: 999px; border: 1px solid var(--hairline-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.cz-tones button:hover { border-color: var(--soft); }
.cz-tones button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.cz-controls + .cz-preview { margin-top: 24px; }

/* One card for tone and theme: the swatches retint the whole page, and the sample email follows the theme. */
.cz-copy .chips-start { justify-content: flex-start; max-width: none; margin: 28px 0 0; }
.cz-copy .trades-note { max-width: none; margin: 16px 0 0; text-align: left; }
.cz-demo .cz-label + .swatches { margin-top: 10px; }
.cz-demo .swatches { gap: 6px; }
.cz-copy .chips { gap: 8px; }
.cz-copy .chip-trade { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.cz-demo .swatch { gap: 6px; padding: 8px 2px 6px; background: var(--surface); font-size: .75rem; }
.cz-demo .swatch-chip { width: 26px; height: 26px; }
.cz-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; }
.cz-mode .mode-toggle { margin-top: 0; background: var(--surface); }
.cz-mode .mode-toggle button { min-width: 0; padding: 0 14px; }
.cz-mode .mode-toggle button[aria-pressed="true"] { background: var(--inset); }
.cz-mode .theme-status { margin-top: 0; }
.cz-preview { --cz: var(--accent-d); }

/* The quote section's closing band: the delivery log in three lines, then the demo button. */
.fx-x-coda { max-width: 960px; margin: 48px auto 0; }
.log-points { list-style: none; display: grid; gap: 10px; }
.log-points li { padding: 18px 20px; border-radius: var(--radius); background: var(--inset); border: 1px solid var(--hairline); }
.log-points strong { display: block; letter-spacing: -0.01em; }
.log-points span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.fx-x-coda .demo-cta { margin-top: 28px; }
@media (min-width: 768px) { .log-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .js .fx-x-coda { margin-top: 0; padding-bottom: 72px; }
}

/* One short row: alongside Xero, made for the ute. */
#built > .wrap { padding-top: 40px; padding-bottom: 40px; }
.duo { display: grid; gap: 12px; }
.duo-card { padding: 24px 20px; border-radius: 20px; background: var(--inset); border: 1px solid var(--hairline); }
.duo-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.duo-card > p { margin-top: 8px; color: var(--muted); }
.duo-card .mini-list { margin-top: 12px; }
.duo-card .duo-coming { margin-top: 14px; font-size: .9375rem; }
.duo-coming .tag-coming { margin-right: 8px; vertical-align: 1px; }
#built .fineprint { margin-top: 16px; }
.duo-card .card-icon { margin-bottom: 14px; }
@media (min-width: 768px) { .duo-card { padding: 28px; } }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* What's inside (#built): two feature cards with a Demo data picture, then three small cards */
.feat { display: grid; gap: 12px; margin-bottom: 12px; }
.feat-card { display: grid; gap: 24px; padding: 24px 20px; border-radius: 20px; background: var(--inset); border: 1px solid var(--hairline); min-width: 0; }
.feat-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.feat-copy { min-width: 0; max-width: 640px; }
.feat-copy > p { margin-top: 8px; color: var(--muted); }
.feat-copy .mini-list { margin-top: 16px; }
.feat-shot { position: relative; margin: 0; padding-top: 38px; min-width: 0; }
.feat-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hairline); background: #F7F8FA; }
.feat-shot .shot-badge { top: 0; right: 0; }
.feat-split .feat-shot img { max-width: 560px; }
@media (min-width: 768px) { .feat-card { padding: 28px; } }
@media (min-width: 1000px) {
  .feat-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; }
  .feat-split .feat-shot img { max-width: none; }
}
@media (min-width: 1000px) { .duo.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cz-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cz-kind { color: var(--muted); font-size: .875rem; font-weight: 600; }
.cz-mail { margin-top: 12px; border-radius: 20px; overflow: hidden; background: #FFFFFF; color: #0B0F19; box-shadow: 0 0 0 1px rgba(11, 15, 25, .06), var(--shadow); }
.cz-mail-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--cz, #1F3A5F); color: #FFFFFF; font-weight: 650; }
.cz-logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-size: .875rem; font-weight: 750; }
.cz-mail-body { padding: 20px 18px 18px; }
.cz-msg-wrap { display: grid; }
.cz-msg-wrap > .cz-msg { grid-area: 1 / 1; }
.cz-msg { font-size: 1rem; line-height: 1.6; }
.cz-sizer { visibility: hidden; }
.cz-btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; padding: 0 22px; border-radius: 999px; background: var(--cz, #1F3A5F); color: #FFFFFF; font-weight: 650; font-size: .9375rem; }
.cz-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(11, 15, 25, .08); color: #555D6B; font-size: .875rem; }
.cz-foot span { text-decoration: underline; text-underline-offset: 2px; }
.cz-cap { margin-top: 12px; color: var(--muted); font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
  .cz-mail-head, .cz-btn { transition: background-color .3s ease; }
  .cz-msg.is-swap { animation: cz-in .35s ease; }
}
@keyframes cz-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Interactive demo button (in the quote section) ---------- */

.demo-cta { display: flex; justify-content: center; margin-top: 32px; }
.demo-soon {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 6px 18px;
  border-radius: 999px; background: var(--inset); border: 1.5px dashed var(--hairline-strong);
  color: var(--muted); font-weight: 600; font-size: .9375rem;
}
.demo-soon .dot { width: 8px; height: 8px; border-radius: 50%; background: #D97706; }

/* ---------- Fine print ---------- */

.fineprint { margin-top: 32px; color: var(--muted); font-size: .8125rem; max-width: 760px; }

/* ---------- Pricing ---------- */

.pricing-box { display: grid; gap: 32px; max-width: 1000px; margin: 0 auto; padding: 28px 20px; border-radius: 28px; border: 1px solid var(--hairline-strong); }
.price-slot { order: -1; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 28px 20px; border-radius: 20px; background: var(--inset); border: 1px solid var(--hairline); }
.price-slot .price-badge { display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .8125rem; font-weight: 700; }
.price-slot .price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; line-height: 1; }
.price-slot .amt { font-size: clamp(2.75rem, 11vw, 3.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-slot .per { color: var(--muted); font-weight: 600; font-size: 1.125rem; }
.fair-use { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: .9375rem; }
.price-slot .plan-terms { color: var(--muted); }
.price-slot .plan-terms span, #pricing-title .soft { display: inline-block; max-width: 100%; } /* each phrase stays whole when it fits */
.price-slot .btn { margin-top: 6px; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px; padding: 16px 4px;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hairline-strong); color: var(--muted); }
.faq summary .chev svg { width: 14px; height: 14px; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 4px; color: var(--muted); max-width: 720px; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary .chev { transition: transform .25s ease; }
}

/* ---------- Early access band ---------- */

.cta-band { position: relative; overflow: hidden; padding: 80px 20px; border-radius: var(--radius-panel); background: var(--surface); border: 1px solid var(--hairline); text-align: center; }
.cta-band .glow-soft { top: 30%; height: 120%; width: 110%; opacity: calc(var(--glow-opacity) * .7); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner .body-lg { margin-left: auto; margin-right: auto; }
.cta-inner .btn { margin-top: 32px; }

/* ---------- Dialog ---------- */

dialog.modal { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--hairline); border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(10, 12, 16, .45); backdrop-filter: blur(4px); }
.modal-inner { padding: 28px 28px 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal h2 { font-size: 1.5rem; letter-spacing: -0.03em; }
.modal p { margin-top: 12px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.icon-btn { flex: none; width: 44px; height: 44px; margin: -8px -10px 0 0; display: grid; place-items: center; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */

.site-footer { padding: 48px 0 56px; color: var(--muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 24px; }
.footer-meta { display: grid; gap: 4px; margin-top: 10px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); font-weight: 500; text-decoration: none; }
.footer-links a:hover { background: var(--surface); }
.made-by {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin-top: 14px; padding: 6px 16px;
  border-radius: 999px; border: 1px solid var(--hairline-strong);
  color: var(--ink); font-weight: 600; text-decoration: none;
}
.made-by:hover { background: var(--surface); }
.made-by { max-width: 100%; }
.made-by svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.footer-note { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: .875rem; }

/* ---------- Legal and 404 pages ---------- */

.doc-panel { margin: 24px auto 0; max-width: calc(860px + var(--gutter) * 2); padding: 0 var(--gutter); }
.doc-panel > .doc { padding: 48px 20px 56px; border-radius: var(--radius-panel); background: var(--surface); border: 1px solid var(--hairline); }
.doc h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -0.04em; }
.doc h2 { margin-top: 48px; font-size: 1.5rem; letter-spacing: -0.025em; }
.doc h3 { margin-top: 28px; font-size: 1.125rem; }
.doc p, .doc ul { margin-top: 12px; color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--ink); }
.doc .updated { margin-top: 12px; font-size: .9375rem; }
.doc .draft-banner { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 8px; padding: 16px 18px; border-radius: var(--radius); background: #FEF3C7; color: #78350F; border: 1px solid #F5C04A; font-weight: 600; }
.draft-banner svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.ph { display: inline-block; max-width: 100%; line-height: normal; padding: 0 5px; border-radius: 6px; background: var(--surface-2); border: 1px dashed var(--hairline-strong); color: var(--ink); font-weight: 600; } /* whole on one line when it fits */

.notfound { padding: 96px 20px; text-align: center; }
.notfound h1 { margin-top: 20px; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -0.04em; }

/* ---------- Breakpoints ---------- */

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  
  
  .section.is-panel > .wrap { padding: 88px 40px; }
  .pricing-box { padding: 40px; }
  
  
  
  
  
  .cta-band { padding: 104px 48px; }
  .doc-panel > .doc { padding: 64px 56px 72px; }
}

@media (min-width: 768px) {
  .hero { padding: 88px 0 96px; }
  .hero-stage { margin-top: 72px; }
  .section-head { margin-bottom: 72px; }
  .statement { padding: 96px 0 128px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 900px) {
  .section.is-panel > .wrap { padding: 120px 80px; }
  
  
  
  
  
  .pricing-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 48px; }
  .price-slot { order: 0; padding: 36px 28px; }
  .cz-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  .cz-demo { padding: 28px; }
  
  
  .faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: 112px; margin-bottom: 0; }
  .feed { position: absolute; right: calc(var(--gutter) + 8px); bottom: -48px; margin: 0; width: 360px; }
  .hero { padding-bottom: 136px; }
}

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .step { flex-direction: row; align-items: stretch; }
  .step-ui { flex: none; width: 46%; padding: 28px 8px 28px 24px; }
  .step-body { flex: 1; align-self: center; padding: 28px; }
}

.section.cta-section { padding: 6px 0 0; }
.statement .pill-eyebrow { font-size: .8125rem; line-height: 1.3; letter-spacing: 0; }

/* Hero parallax: main.js sets --py while scrolling (motion allowed only). */
.hero-stage .product-shot { translate: 0 var(--py, 0px); }
.hero-stage .glow { translate: 0 calc(var(--py, 0px) * 2); }

/* ---------- v2 round 1 fixes ---------- */

.display { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 4.75rem); }
.hero-copy { max-width: calc(1120px + var(--gutter) * 2); }
.section.cta-section { padding: 6px var(--gutter) 0; }
.section.cta-section > .wrap { max-width: calc(var(--wrap) + 160px); padding: 0; }
.cta-band .glow-soft { top: 10%; height: 100%; }

@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) { --glow-opacity: .42; } }
:root[data-mode="dark"] { --glow-opacity: .42; }

/* ---------- v2 round 2 fixes ---------- */

/* ---------- Get set up in 10 minutes: the strip under the hero, linking to the first guide (guides/) ---------- */

.setup-strip { padding: 6px var(--gutter); }
.setup-strip-in {
  display: grid; gap: 16px; align-items: center;
  max-width: calc(var(--wrap) + 160px); margin: 0 auto; padding: 22px 20px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
}
.setup-strip h2 { font-size: 1.25rem; letter-spacing: -0.02em; }
.setup-strip p { margin-top: 4px; color: var(--muted); }
.setup-strip .cta-row { margin-top: 0; justify-content: flex-start; }
.setup-strip .pill-eyebrow { margin-bottom: 10px; }

@media (min-width: 600px) {
  .setup-strip-in { padding: 24px 28px; }
}
@media (min-width: 768px) {
  .setup-strip-in { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
}

/* ---------- Early access form (the dialog; sent by main.js to api/early-access.js) ---------- */

dialog.modal-form { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal-form .modal-inner { padding: 24px 20px 22px; }
.modal-form h2:focus { outline: none; }
.ea-form { display: grid; gap: 18px; margin-top: 20px; }
.modal .ea-req-note { margin: 0; font-size: .875rem; }
.ea-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.ea-row { display: grid; gap: 18px; }
.ea-fieldset { margin: 0; padding: 0; border: 0; }
.ea-label { padding: 0; color: var(--ink); font-weight: 600; font-size: .9375rem; }
.ea-opt { color: var(--muted); font-weight: 500; }
.ea-input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--hairline-strong); border-radius: 12px; background: var(--inset); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.4;
  appearance: none; -webkit-appearance: none; box-shadow: none;
}
.ea-input:hover { border-color: var(--soft); }
.ea-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); background: var(--surface); }
.ea-textarea { min-height: 96px; resize: vertical; }
.ea-input[aria-invalid="true"] { border-color: var(--c-declined); }
.modal .ea-hint { margin: 0; font-size: .875rem; }
.modal .ea-err { margin: 0; color: var(--c-declined); font-size: .875rem; font-weight: 600; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ea-chip {
  min-height: 40px; max-width: 100%; padding: 6px 14px;
  border: 1px solid var(--hairline-strong); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer;
}
.ea-chip:hover { border-color: var(--soft); }
.ea-chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.ea-radios { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.ea-radio {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 6px 14px 6px 10px;
  border: 1px solid var(--hairline-strong); border-radius: 999px; background: var(--surface); color: var(--ink);
  font-size: .875rem; font-weight: 600; line-height: 1.25; cursor: pointer;
}
.ea-radio:hover { border-color: var(--soft); }
.ea-radio input {
  flex: none; width: 18px; height: 18px; margin: 0;
  border: 1.5px solid var(--soft); border-radius: 50%; background: var(--surface);
  appearance: none; -webkit-appearance: none; cursor: pointer;
}
.ea-radio input:checked { border: 5px solid var(--brand); }
.ea-radio:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.ea-radio input:focus-visible { outline: none; }
.ea-radio:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.ea-check { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 2px 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.ea-check input { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.ea-box {
  flex: none; width: 24px; height: 24px; display: grid; place-items: center;
  border: 1.5px solid var(--soft); border-radius: 7px; background: var(--surface); color: transparent;
}
.ea-box svg { width: 15px; height: 15px; }
.ea-check input:checked + .ea-box { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.ea-check input:focus-visible + .ea-box { outline: 2px solid var(--brand); outline-offset: 3px; }
.ea-check input[aria-invalid="true"] + .ea-box { border-color: var(--c-declined); }
.ea-check-text { padding-top: 1px; line-height: 1.45; }
.ea-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.modal .ea-alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--c-declined-bg); color: var(--c-declined); font-weight: 600; font-size: .9375rem; }
.ea-submit { width: 100%; }
.ea-spinner { display: none; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; }
.ea-form[aria-busy="true"] .ea-spinner { display: inline-block; }
.ea-form[aria-busy="true"] .ea-submit .i { display: none; }
.ea-form[aria-busy="true"] .ea-submit { cursor: progress; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .ea-form[aria-busy="true"] .ea-spinner { animation: ea-spin .8s linear infinite; }
  @keyframes ea-spin { to { transform: rotate(360deg); } }
}
.modal .ea-fine { margin: 0; font-size: .875rem; line-height: 1.5; }
.ea-done { padding: 8px 0 0; }
.ea-done-mark { width: 52px; height: 52px; margin-top: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.ea-done-mark svg { width: 26px; height: 26px; }
.modal .ea-done-title { margin-top: 16px; color: var(--ink); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ea-done-title:focus { outline: none; }
.js .ea-nojs { display: none; }
.no-js [data-open-early-access], .no-js .cta-contact { display: none; }
.ea-nojs, .cta-contact { max-width: 520px; margin: 24px auto 0; color: var(--muted); font-size: .9375rem; }
.ea-nojs { padding: 12px 16px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font-weight: 600; }
.cta-inner .btn + .ea-nojs + .cta-contact, .cta-inner .btn + .cta-contact { margin-top: 20px; }
@media (min-width: 600px) {
  .modal-form .modal-inner { padding: 30px 32px 28px; }
  .ea-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
}

/* ---------- Legal pages: plain-language note under the title ---------- */

.doc .summary-note { margin: 24px 0 8px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font-weight: 600; }

/* ---------- Lost quotes calculator (T80; the home page's #quote-calculator and quote-calculator/; docs/CALCULATOR.md) ----------
   Our own inputs and sliders (no browser-styled controls). Light and dark follow the page tokens; the accent follows the theme.
   No motion apart from colour changes on hover, and those only with prefers-reduced-motion: no-preference. */

.calc { max-width: 1000px; margin: 0 auto; }
.calc-nojs { max-width: 560px; margin: 0 auto; padding: 14px 18px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font-weight: 600; text-align: center; }
.js .calc-nojs { display: none; }
.no-js .calc-ui { display: none; }
.calc-ui { display: grid; gap: 16px; }
.calc-in, .calc-out { min-width: 0; padding: 24px 20px; border-radius: 24px; border: 1px solid var(--hairline-strong); }
.calc-in { display: grid; gap: 24px; align-content: start; }
.calc-out { display: flex; flex-direction: column; gap: 16px; background: var(--inset); border-color: var(--hairline); }
.calc-step { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.calc-field { display: grid; gap: 8px; min-width: 0; }
.calc-label { color: var(--ink); font-weight: 600; font-size: 1rem; }
.calc-label-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.calc-val { color: var(--ink); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }

.calc-box {
  display: flex; align-items: center; min-width: 0; min-height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1px solid var(--hairline-strong); background: var(--surface); box-shadow: var(--shadow-sm);
}
.calc-box:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc-box:has(.calc-num[aria-invalid="true"]) { border-color: var(--c-declined); }
.calc-unit { flex: none; margin-right: 6px; color: var(--muted); font-weight: 600; font-size: 1.125rem; }
.calc-num {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 0; width: 100%; min-height: 50px; padding: 0; border: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.calc-num:focus { outline: none; }
.calc-err { color: var(--c-declined); font-weight: 600; font-size: .9375rem; }
.calc-hint { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.calc-hint strong { color: var(--ink); }

/* The slider: a 44px tall touch area around an 8px track; --at is the value as a percentage. */
.calc-slider { position: relative; height: 44px; margin: 0 14px; cursor: pointer; touch-action: none; border-radius: 999px; }
.calc-slider:focus { outline: none; }
.calc-slider:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.calc-track { position: absolute; left: 0; right: 0; top: 18px; height: 8px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline-strong); }
.calc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--at, 0%); border-radius: 999px; background: var(--brand); }
.calc-thumb {
  position: absolute; top: 8px; left: var(--at, 0%); width: 28px; height: 28px; margin-left: -14px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow-sm);
}

.calc-out-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.calc-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border-radius: 999px; background: var(--c-opened-bg); color: var(--c-opened); font-size: .8125rem; font-weight: 700; }
.calc-result { display: grid; gap: 6px; min-width: 0; }
.calc-k { color: var(--muted); font-weight: 600; }
.calc-big { color: var(--ink); font-size: clamp(2.25rem, 9vw, 3.25rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-big.is-long { font-size: clamp(1.5rem, 6.4vw, 2.5rem); } /* 13+ characters, e.g. A$11,988,000,000: smaller, so it fits on a phone */
.calc-mid.is-long { font-size: clamp(1.25rem, 5.2vw, 1.75rem); }
.calc-how { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.calc-won { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); display: grid; gap: 4px; }
.calc-mid { color: var(--brand); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.calc-empty { padding: 20px 16px; border-radius: var(--radius); border: 1.5px dashed var(--hairline-strong); color: var(--ink); font-weight: 600; text-align: center; }
.calc-fine { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.calc-actions .btn { flex: 1 1 220px; }
.calc-share-icon { width: 18px; height: 18px; flex: none; }
.calc-share-status:empty { display: none; }
.calc-share-status { color: var(--ink); font-size: .9375rem; font-weight: 600; }
.calc-share-link { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hairline-strong); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; user-select: all; -webkit-user-select: all; }
.calc-more { margin-top: 24px; text-align: center; color: var(--muted); }
.calc-more a, .calc-notes a { color: var(--ink); font-weight: 600; }

/* The calculator's own page */
.calc-hero { padding-bottom: 28px; }
.calc-hero h1, .calc-k { text-wrap: balance; }
.calc-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.calc-notes { max-width: 760px; margin: 56px auto 24px; color: var(--muted); line-height: 1.65; }
.calc-notes h2 { margin: 32px 0 12px; color: var(--ink); font-size: 1.375rem; letter-spacing: -0.02em; }
.calc-notes h2:first-child { margin-top: 0; }
.calc-sum { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 22px; }
.calc-sum strong { color: var(--ink); }

/* "Do you pay for leads?" (T89): an optional, collapsed part of the calculator, and the lead fees in the result */
.calc-leads { display: grid; gap: 20px; min-width: 0; padding-top: 20px; border-top: 1px solid var(--hairline); }
.calc-leads-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 10px 16px;
  border-radius: 14px; border: 1px dashed var(--hairline-strong); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.calc-leads-toggle:hover { border-style: solid; }
.calc-leads-toggle:focus { outline: none; }
.calc-leads-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc-leads-toggle[aria-expanded="true"] { border-style: solid; background: var(--surface); }
.calc-leads-text { display: grid; gap: 2px; min-width: 0; }
.calc-leads-q { font-weight: 600; }
.calc-leads-sum { color: var(--muted); font-size: .875rem; font-weight: 600; }
.calc-leads-chev { flex: none; width: 20px; height: 20px; }
.calc-leads-toggle[aria-expanded="true"] .calc-leads-chev { transform: rotate(180deg); }
.calc-leads-panel { display: grid; gap: 24px; }
.calc-leads-panel[hidden] { display: none; }
.calc-unit-after { margin: 0 0 0 8px; font-size: 1rem; }
.calc-fees { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); display: grid; gap: 4px; min-width: 0; }
.calc-fees[hidden], .calc-pay[hidden] { display: none; }
.calc-fees .calc-mid { overflow-wrap: anywhere; }
.calc-pay { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hairline); color: var(--ink); line-height: 1.5; }

/* Paying for leads? (T89): the short home page section */
.lead-steps { list-style: none; display: grid; gap: 16px; max-width: 1000px; margin: 0 auto; counter-reset: lead; }
.lead-step { counter-increment: lead; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--hairline); background: var(--surface); }
.lead-step::before { content: counter(lead); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--inset); color: var(--ink); font-weight: 700; font-size: .9375rem; }
.lead-step h3 { margin-top: 14px; font-size: 1.25rem; letter-spacing: -0.02em; }
.lead-step p { margin-top: 6px; color: var(--muted); line-height: 1.55; }
.lead-sum { display: grid; gap: 12px; justify-items: start; max-width: 1000px; margin: 20px auto 0; padding: 24px; border-radius: var(--radius-lg); background: var(--inset); border: 1px solid var(--hairline); }
#lead-costs .h2 { text-wrap: balance; }
.lead-sum-k { color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.lead-sum-eq { color: var(--ink); font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.lead-sum-fix { color: var(--muted); line-height: 1.6; }

/* Founding 10 on the pricing card */
.founders { display: grid; gap: 6px; justify-items: center; }
.founders-count { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; color: var(--ink); font-weight: 600; }
.founders-dots { display: inline-flex; gap: 4px; }
.founders-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.founders-dots i.is-taken { background: var(--hairline-strong); }
.founders-line { color: var(--muted); font-size: .9375rem; text-wrap: balance; }

@media (prefers-reduced-motion: no-preference) {
  .calc-box { transition: border-color .2s ease; }
  .calc-leads-chev { transition: transform .2s ease; }
}
@media (min-width: 600px) {
  .calc-in, .calc-out { padding: 32px; }
}
@media (min-width: 900px) {
  .lead-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .lead-sum { padding: 32px; }
  .calc-ui { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px; align-items: start; }
}

/* ---------- Self-serve checkout (T97; docs/CHECKOUT.md). Built from the early-access form's pieces (ea-*); the logo picker is a
   styled label over a hidden input (no browser-styled controls). ---------- */

.checkout-cta { display: grid; gap: 10px; justify-items: center; width: 100%; }
.checkout-cta .btn { margin-top: 6px; }
.checkout-note { max-width: 300px; color: var(--muted); font-size: .875rem; line-height: 1.45; text-wrap: balance; }
.price-slot .checkout-cta:not([hidden]) + .btn { margin-top: 0; }
.co-steps { display: grid; gap: 10px; margin-top: 16px; padding: 0; list-style: none; counter-reset: co; }
.co-steps li { position: relative; padding-left: 38px; color: var(--muted); counter-increment: co; }
.co-steps li::before { content: counter(co); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .8125rem; font-weight: 700; }
.co-steps strong { color: var(--ink); }
.doc .co-steps li + li { margin-top: 0; }
.co-page h1:focus { outline: none; }
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.co-card { margin-top: 40px; padding: 24px 18px; border-radius: var(--radius-lg); background: var(--inset); border: 1px solid var(--hairline); }
.doc .co-card h2 { margin-top: 0; }
.co-card .ea-input, .co-card .ea-chip, .co-card .ea-box { background: var(--surface); }
.co-page .ea-hint, .co-page .ea-err, .co-page .ea-alert, .co-page .ea-fine, .co-page .ea-done-title { margin: 0; }
.co-page .ea-hint { font-size: .875rem; }
.co-page .ea-err { color: var(--c-declined); font-size: .875rem; font-weight: 600; }
.co-page .ea-alert { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--c-declined-bg); color: var(--c-declined); font-weight: 600; font-size: .9375rem; }
.co-page .ea-form .ea-alert { margin-top: 0; }
.co-page .ea-done-title { margin-top: 8px; color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.co-status { margin-top: 16px; }
.co-note { padding: 12px 16px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink); font-weight: 600; }
.doc .co-note { color: var(--ink); }
.co-loading { display: flex; align-items: center; gap: 12px; }
.co-spinner { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 30%, transparent); border-top-color: var(--brand); }
.co-copy-msg:empty { display: none; }
.co-file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.co-file-btn { position: relative; overflow: hidden; }
.co-file-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.co-file-btn:has(.co-file-input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.co-file-name { min-width: 0; color: var(--muted); font-size: .875rem; }
.co-logo-preview img { display: block; max-width: 180px; max-height: 90px; width: auto; height: auto; padding: 6px; border-radius: 10px; border: 1px solid var(--hairline); background: #FFFFFF; }
.ea-form[aria-busy="true"] .ea-submit[disabled], [data-portal][aria-busy="true"] { cursor: progress; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .co-spinner { animation: ea-spin .8s linear infinite; }
}
@media (min-width: 600px) {
  .co-card { padding: 28px 28px; }
}
/* the [OWNER TO DECIDE] draft in terms.html (refunds): the same amber as the draft banner, in both modes */
.doc .owner-decide { margin-top: 20px; padding: 2px 18px 14px; border-radius: var(--radius); background: #FEF3C7; border: 1px solid #F5C04A; }
.doc .owner-decide p, .doc .owner-decide strong, .doc .owner-decide a { color: #78350F; }
