/* Earned Today marketing site
   Colours, type and spacing come from the design boards in the handoff.
   Green means paid and done. Amber means waiting. Nothing else is coloured. */

/* ---------- fonts ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --rule: #D8D2C6;
  --chip: #E9E4DA;

  --ink: #15191F;
  --body: #3D4452;
  --muted: #545C6B;

  --green: #1B6B45;
  --green-dark: #14523A;
  --green-light: #DFF0E6;
  --green-edge: #BFE0CC;
  --green-on-dark: #6CC08F;

  --amber: #8A5210;
  --amber-light: #F6E7CF;
  --amber-edge: #E8CFA3;

  --dark-panel: #2A303B;
  --dark-text: #B9B3A7;

  --display: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gutter: 120px;
  --section-y: 96px;
  --radius: 12px;
  --shell: 1200px;
}

@media (max-width: 1240px) { :root { --gutter: 56px; } }
@media (max-width: 900px)  { :root { --gutter: 32px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; --section-y: 56px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }

img, svg { max-width: 100%; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .cta-band :focus-visible { outline-color: var(--green-on-dark); }

.mono { font-family: var(--mono); font-weight: 600; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: var(--paper); }

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

/* ---------- layout ---------- */
.shell { max-width: var(--shell); margin: 0 auto; width: 100%; }

.section { padding: var(--section-y) var(--gutter); }
.section--white {
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section--dark { background: var(--ink); color: var(--paper); }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; max-width: 720px; }

.eyebrow {
  font-family: var(--mono);
  font-size: clamp(12px, 0.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.section--dark .eyebrow { color: var(--green-on-dark); }

h1 { font-weight: 800; font-size: clamp(36px, 4.45vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(30px, 3.06vw, 44px); line-height: 1.08; }
h3 { font-weight: 700; font-size: clamp(20px, 1.53vw, 22px); line-height: 1.2; }

.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--body); }
.section--dark .lead { color: var(--dark-text); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--white { background: var(--white); color: var(--green); height: 56px; padding: 0 28px; }
.btn--white:hover { background: var(--green-light); color: var(--green-dark); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  height: 80px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
  z-index: 40;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { text-decoration: none; color: var(--body); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .login { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 12px 16px; }
.header-cta {
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
}
.header-cta:hover { background: #000; color: var(--paper); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 39;
}
.mobile-menu[data-open='true'] { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu a:last-child {
  border-bottom: 0;
  margin-top: 14px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (max-width: 1023px) {
  .site-header { height: 64px; }
  .brand-mark { width: 26px; height: 26px; border-radius: 7px; }
  .brand-name { font-size: 19px; }
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  padding: 88px var(--gutter) 72px;
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
}
.hero-copy { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-sub { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.5; color: var(--body); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }

.hero-visual { position: relative; width: 576px; height: 600px; flex-shrink: 0; }
.hero-visual .paycard { position: absolute; top: 0; right: 0; width: 440px; }
.hero-visual .phone { position: absolute; left: 0; bottom: 0; }

@media (max-width: 1240px) {
  .hero { gap: 40px; }
  .hero-copy { width: 46%; }
  .hero-visual { width: 520px; }
  .hero-visual .paycard { width: 400px; }
}
@media (max-width: 1023px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 44px var(--gutter) 40px;
  }
  .hero-copy { width: auto; gap: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { height: 52px; width: 100%; }
  .hero-visual {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
  .hero-visual .paycard { display: none; }
  .hero-visual .phone { position: static; }
}

/* ---------- the payment card mock ---------- */
.paycard {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(21, 25, 31, 0.10);
}
.paycard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.paycard-head .col { display: flex; flex-direction: column; gap: 2px; }
.paycard-head .col--right { align-items: flex-end; text-align: right; }

.label-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.small-muted { font-size: 12px; color: var(--muted); }

.bank-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  color: var(--body);
  flex-wrap: wrap;
}

.plan-rows { display: flex; flex-direction: column; gap: 8px; }
.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
}
.plan-row .n {
  width: 24px; height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
}
.plan-row .who { font-weight: 600; color: var(--ink); width: 84px; flex-shrink: 0; }
.plan-row .amt { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.plan-row .state { font-size: 13px; margin-left: auto; text-align: right; }

.plan-row--done { background: var(--green-light); }
.plan-row--done .n { background: var(--green); color: var(--white); }
.plan-row--done .state { color: var(--green); font-weight: 600; }

.plan-row--now { background: var(--white); border: 1.5px solid var(--green); padding: 10px 14px; }
.plan-row--now .n { border: 2px solid var(--green); color: var(--green); }
.plan-row--now .state { color: var(--green); font-weight: 600; }

.plan-row--wait { background: var(--amber-light); }
.plan-row--wait .n { background: var(--amber); color: var(--white); }
.plan-row--wait .state { color: var(--amber); font-weight: 600; font-family: var(--mono); }

.plan-row--locked { background: var(--paper); border: 1px dashed var(--rule); color: var(--muted); }
.plan-row--locked .n { background: var(--rule); color: var(--muted); }
.plan-row--locked .who, .plan-row--locked .amt { color: inherit; }

.fake-btn {
  margin-left: auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.progress-wrap { display: flex; flex-direction: column; gap: 8px; }
.progress-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.progress-top .mono { color: var(--ink); }
.progress-track { height: 8px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.progress-fill { height: 100%; background: var(--green); border-radius: 999px; }

/* ---------- the phone mock ---------- */
.phone {
  width: 250px;
  border-radius: 36px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(21, 25, 31, 0.22);
  flex-shrink: 0;
}
.phone-screen {
  border-radius: 28px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 480px;
}
.phone-top {
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}
.phone-top .mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-top .who { font-size: 12px; font-weight: 600; color: var(--ink); }
.phone-top .num { font-family: var(--mono); font-size: 10px; color: var(--muted); }

.thread {
  flex-grow: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.thread .stamp { align-self: center; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.bubble {
  align-self: flex-start;
  max-width: 178px;
  padding: 9px 11px;
  border-radius: 14px 14px 14px 4px;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink);
}
.bubble--me {
  align-self: flex-end;
  max-width: none;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.bubble--good { background: var(--green-light); border-color: var(--green-edge); }

.phone--tall { width: 270px; }
.phone--tall .phone-screen { height: 540px; }
.phone--tall .thread { gap: 7px; font-size: 11.5px; line-height: 1.35; padding: 12px 10px; }
.phone--tall .bubble { max-width: 192px; padding: 8px 10px; }
.phone--tall .bubble--me { padding: 8px 12px; }
.phone--tall .phone-top { padding: 18px 14px 10px; gap: 3px; }
.phone--tall .thread .stamp { font-size: 10px; }

.phone--desktop { display: block; }
.phone--mobile { display: none; }
@media (max-width: 1023px) {
  .phone--desktop { display: none; }
  .phone--mobile { display: block; }
}

/* ---------- trust bar ---------- */
.trust-bar {
  margin: 0 var(--gutter);
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}
.trust-item .ico { color: var(--green); display: flex; }
@media (max-width: 1023px) {
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 0; }
}

/* ---------- generic card grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }

@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-48 { gap: 28px; }
  .stack-40 { gap: 28px; }
}
@media (max-width: 767px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card p { font-size: 16px; line-height: 1.55; color: var(--body); }
.card-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .card { padding: 22px; gap: 12px; }
  .card-ico { width: 40px; height: 40px; }
  .card p { font-size: 15px; }
}

/* ---------- how it works ---------- */
.step-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
}
.step-card .step-n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green); }
.step-card h3 { font-size: clamp(17px, 1.46vw, 21px); }
.step-card p { font-size: 15px; line-height: 1.55; color: var(--body); }

.mini {
  margin-top: auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}
.mini-row { display: flex; justify-content: space-between; color: var(--muted); }
.mini-name { font-weight: 600; color: var(--ink); }
.mini-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mini-foot .amt { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 14px; }
.tag-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-pill--green { background: var(--green-light); color: var(--green); }

.mini--sms { background: transparent; border: 0; padding: 0; gap: 8px; font-size: 12.5px; line-height: 1.4; }
.mini--sms .bubble { max-width: 220px; border-radius: 12px 12px 12px 4px; }
.mini--sms .bubble--me { border-radius: 12px 12px 4px 12px; }

.mini--plan { padding: 12px; gap: 6px; font-size: 12px; }
.mini-plan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--muted);
}
.mini-plan-row .dot { width: 16px; height: 16px; border-radius: 999px; background: var(--rule); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mini-plan-row .mono { color: inherit; }
.mini-plan-row .st { margin-left: auto; }
.mini-plan-row--done { background: var(--green-light); color: var(--ink); }
.mini-plan-row--done .dot { background: var(--green); color: var(--white); }
.mini-plan-row--done .st { color: var(--green); font-weight: 600; }
.mini-plan-row--now { background: var(--white); border: 1.5px solid var(--green); color: var(--ink); }
.mini-plan-row--now .dot { background: transparent; border: 2px solid var(--green); }
.mini-plan-row--now .st { color: var(--green); font-weight: 600; }
.mini-plan-row--locked { border: 1px dashed var(--rule); }

@media (max-width: 767px) {
  .step-card { flex-direction: row; gap: 14px; padding: 18px; align-items: flex-start; }
  .step-card .step-body { display: flex; flex-direction: column; gap: 8px; }
  .step-card .step-n { flex-shrink: 0; padding-top: 2px; }
  .step-card h3 { font-size: 17px; }
  .step-card p { font-size: 14.5px; line-height: 1.5; }
  .step-card .mini:not(.mini--sms) { display: none; }
}

/* ---------- the payment page section ---------- */
.paypane {
  width: 100%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color: var(--ink);
}
.paypane-invoice {
  width: 45%;
  padding: 36px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #FBFAF7;
}
.paypane-pay {
  width: 55%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1240px) {
  .paypane-invoice, .paypane-pay { padding: 24px; }
}

.biz-name { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.inv-head .col { display: flex; flex-direction: column; gap: 4px; }
.inv-head .col--right { align-items: flex-end; text-align: right; gap: 2px; }
.inv-no { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--ink); }

.bill-to {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.bill-to .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.bill-to .addr { font-size: 14px; color: var(--body); }

.lines { display: flex; flex-direction: column; font-size: 14px; }
.line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--body);
}
.line .mono { color: var(--ink); font-weight: 400; }
.line--sum { border-bottom: 0; color: var(--muted); }
.line--sum .mono { color: var(--muted); font-weight: 400; }
.line--tax { padding: 4px 0 10px; }
.line--total { border-bottom: 0; border-top: 1px solid var(--rule); color: var(--ink); font-weight: 600; }
.line--total .mono { color: var(--ink); font-weight: 600; }
.line--credit { border-bottom: 0; padding: 4px 0 10px; color: var(--green); }
.line--credit .mono { color: var(--green); font-weight: 400; }
.line--due {
  border-bottom: 0;
  padding: 14px 16px;
  margin-top: 6px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  align-items: center;
}
.line--due .mono { color: var(--paper); font-size: 20px; }

.pay-h { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.67vw, 24px); color: var(--ink); }
.segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.seg {
  flex-grow: 1;
  height: 36px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6px;
  color: var(--body);
  font-size: 13px;
  font-weight: 600;
}
.seg--on { background: var(--ink); color: var(--paper); }

.field-row { display: flex; gap: 12px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.field--limit { width: 180px; flex-grow: 0; flex-shrink: 0; }
.field .flabel { font-size: 13px; font-weight: 600; color: var(--ink); }
.fake-input {
  position: relative;
  height: 46px;
  padding: 0 40px 0 14px;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  display: flex;
  align-items: center;
}
.fake-input .caret { position: absolute; right: 14px; color: var(--muted); display: flex; }
.fake-input--plain { padding-right: 14px; font-family: var(--mono); }
.field-note { font-size: 13px; color: var(--muted); margin-top: -8px; }

.paypane .plan-row { padding: 13px 16px; font-size: 15px; }
.paypane .plan-row .n { width: 26px; height: 26px; }
.paypane .plan-row .who { width: 96px; font-size: 15px; }
.paypane .plan-row .amt { font-size: 16px; }

.send-to {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  flex-wrap: wrap;
}
.send-to .col { display: flex; flex-direction: column; gap: 2px; }
.send-to .col--grow { flex-grow: 1; }
.send-to .col--msg { width: 200px; }
.send-to .val { font-family: var(--mono); font-size: 14px; color: var(--ink); word-break: break-word; }
.paypane .progress-wrap { margin-top: auto; }

.dark-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dark-feat { display: flex; gap: 14px; align-items: flex-start; }
.dark-feat .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--dark-panel);
  color: var(--green-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dark-feat .t { font-weight: 600; font-size: 16px; color: var(--paper); }
.dark-feat .d { font-size: 14px; line-height: 1.5; color: var(--dark-text); }
@media (max-width: 1023px) {
  .dark-feats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dark-feat .ico { width: 32px; height: 32px; }
  .dark-feat .t { font-size: 15px; }
  .dark-feat .d { font-size: 13.5px; }
}

/* ---------- the mobile carousel ---------- */
.paycar { display: none; flex-direction: column; gap: 14px; }
@media (max-width: 1023px) {
  .paypane { display: none; }
  .paycar { display: flex; }
}

.car-stage { display: grid; }
.car-screen {
  grid-area: 1 / 1;
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  min-height: 480px;
}
.car-screen:not(.is-on) { visibility: hidden; }

.car-screen .inv-head .biz-name { font-size: 16px; }
.car-screen .small-muted { font-size: 12px; }
.car-screen .inv-no { font-size: 14px; }
.car-screen .label-caps { font-size: 11px; }
.car-screen .bill-to { background: var(--paper); border: 0; padding: 10px 12px; gap: 2px; }
.car-screen .bill-to .name { font-size: 14px; }
.car-screen .bill-to .addr { font-size: 12.5px; }
.car-screen .lines { font-size: 13px; }
.car-screen .line { padding: 8px 0; }
.car-screen .line--sum { padding: 8px 0 3px; }
.car-screen .line--tax { padding: 3px 0 8px; }
.car-screen .line--total { padding: 8px 0 3px; }
.car-screen .line--credit { padding: 3px 0 8px; }
.car-screen .line--due { padding: 12px 14px; margin-top: 4px; font-size: 15px; }
.car-screen .line--due .mono { font-size: 19px; }
.car-screen .pay-h { font-size: 20px; }
.car-screen .seg { font-size: 12px; padding: 0 4px; }
.car-screen .segmented { gap: 4px; }
.car-screen .fake-input { height: 44px; padding-left: 12px; }
.car-screen .fake-input .caret { right: 12px; }

.split-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  line-height: 1.5;
  color: var(--body);
}
.split-chips { display: flex; gap: 6px; }
.split-chips span {
  flex-grow: 1;
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.push { margin-top: auto; }
.footnote { font-size: 12px; line-height: 1.5; color: var(--muted); }

.car-plan { display: flex; flex-direction: column; gap: 6px; }
.car-plan .plan-row {
  padding: 11px 12px;
  gap: 10px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.car-plan .plan-row.is-in { opacity: 1; transform: none; }
.car-plan .plan-row .n { width: 22px; height: 22px; }
.car-plan .plan-row .who { width: auto; font-size: 13px; }
.car-plan .plan-row .amt { font-size: 13px; }
.car-plan .plan-row .who { flex-shrink: 0; }
.car-plan .plan-row .amt { flex-shrink: 0; }
.car-plan .plan-row .state { font-size: 12px; min-width: 0; text-align: right; }
@media (min-width: 390px) { .car-plan .plan-row .state { white-space: nowrap; } }

.car-fade { opacity: 0; transition: opacity 0.45s ease; }
.car-fade.is-in { opacity: 1; }
.car-screen .progress-fill { transition: width 0.8s ease; }
.car-screen .progress-track { height: 6px; }
.car-screen .send-to { padding: 12px; }
.car-screen .send-to .col--msg { width: 84px; }
.car-screen .send-to .val { font-size: 12.5px; }
.car-screen .send-to .label-caps { font-size: 11px; }

.paid-screen { align-items: center; text-align: center; gap: 14px; padding: 28px 22px; }
.paid-check {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.paid-screen .t { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.paid-screen .d { font-size: 14.5px; line-height: 1.55; color: var(--body); }
.paid-list { display: flex; flex-direction: column; font-size: 13px; width: 100%; margin-top: 4px; }
.paid-list .row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  color: var(--body);
}
.paid-list .row:last-child { border-bottom: 1px solid var(--rule); }
.paid-list .mono { color: var(--ink); font-weight: 400; }
.paid-text { width: 100%; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; }
.paid-text .bubble {
  max-width: none;
  border-radius: 12px 12px 12px 4px;
  font-size: 12.5px;
  line-height: 1.4;
  background: var(--green-light);
  border-color: var(--green-edge);
}

.car-controls { display: flex; align-items: center; justify-content: space-between; }
.car-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--body);
  background: var(--dark-panel);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.car-dots { display: flex; align-items: center; gap: 2px; }
.car-dot {
  width: 28px; height: 44px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.car-dot span { width: 9px; height: 9px; border-radius: 999px; background: var(--muted); display: block; }
.car-dot[aria-current='true'] span { background: var(--green-on-dark); }
.car-caption {
  align-self: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-text);
  text-align: center;
}

/* ---------- follow-up timeline ---------- */
.tl-note { display: flex; flex-direction: column; align-items: center; }
.tl-note .pill { align-self: center; text-align: center; line-height: 1.4; }
.tl-note .drop { width: 0; height: 30px; border-left: 2px dashed var(--green); }

.timeline { position: relative; }
.tl-track {
  position: absolute;
  left: 45px;
  right: 45px;
  top: 8px;
  height: 2px;
  background: var(--rule);
}
.tl-items { position: relative; display: flex; justify-content: space-between; }
.tl-item {
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--green);
  border: 3px solid var(--paper);
  padding: 0;
  cursor: pointer;
  display: block;
}
.tl-dot--you { background: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
.tl-label { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--body); white-space: nowrap; }
.tl-item--you .tl-label { color: var(--amber); }

/* The message cards live in their own row so the mobile layout can stack them.
   On desktop each one is pinned under its dot: dot centres sit at
   45px + i * (width - 90px) / 6, matching the space-between row above. */
.tl-cards { position: relative; height: 150px; }
.tl-card {
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  width: 250px;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(21, 25, 31, 0.10);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
  z-index: 2;
}
.tl-card:nth-child(1) { left: 45px; }
.tl-card:nth-child(2) { left: calc(45px + (100% - 90px) * 1 / 6); }
.tl-card:nth-child(3) { left: calc(45px + (100% - 90px) * 2 / 6); }
.tl-card:nth-child(4) { left: calc(45px + (100% - 90px) * 3 / 6); }
.tl-card:nth-child(5) { left: calc(45px + (100% - 90px) * 4 / 6); }
.tl-card:nth-child(6) { left: calc(45px + (100% - 90px) * 5 / 6); }
.tl-card:nth-child(7) { left: calc(100% - 45px); }
.tl-card--you { transform: translateX(-70%); width: 260px; background: var(--amber-light); border-color: var(--amber-edge); }
.tl-card--you .to-you { font-weight: 600; color: var(--amber); }
.tl-card:not(.is-on) { display: none; }

.tl-hint { font-size: 13px; color: var(--muted); display: block; }
.tl-hint--mobile { display: none; }

@media (max-width: 1023px) {
  .tl-note .drop { height: 22px; }
  .tl-track { left: 22px; right: 22px; top: 21px; }
  .tl-item { width: 44px; gap: 2px; }
  .tl-dot {
    width: 44px; height: 44px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tl-dot::before {
    content: '';
    width: 18px; height: 18px;
    border-radius: 999px;
    background: var(--green);
    border: 3px solid var(--paper);
    display: block;
  }
  .tl-dot--you { background: transparent; box-shadow: none; }
  .tl-dot--you::before { background: var(--amber); box-shadow: 0 0 0 2px var(--amber); }
  .tl-label { font-size: 11px; }
  .tl-cards { height: auto; min-height: 118px; margin-top: 14px; }
  .tl-card, .tl-card:nth-child(n), .tl-card--you {
    position: static;
    left: auto;
    transform: none;
    width: auto;
  }
  .tl-hint { line-height: 1.5; margin-top: 14px; }
  .tl-hint--desktop { display: none; }
  .tl-hint--mobile { display: block; }
}

/* ---------- reconciliation ---------- */
.recon { display: flex; gap: 64px; align-items: center; }
.recon-copy { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.recon-copy h2 { font-size: clamp(30px, 2.78vw, 40px); line-height: 1.1; }
.recon-copy p { font-size: clamp(16px, 1.18vw, 17px); line-height: 1.55; color: var(--body); }
.recon-flow { flex-grow: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.feed-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  flex-wrap: wrap;
}
.feed-row .date { font-family: var(--mono); font-size: 13px; color: var(--muted); width: 64px; flex-shrink: 0; }
.feed-row .desc { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); flex-grow: 1; min-width: 0; }
.feed-row .amt { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.feed-row .badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.recon-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.qb-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}
.qb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; font-size: 14px; }
.qb-grid .k { font-size: 12px; color: var(--muted); }
.qb-grid .v { font-weight: 600; color: var(--ink); }
.qb-memo { font-size: 13px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }

@media (max-width: 1023px) {
  .recon { flex-direction: column; align-items: stretch; gap: 24px; }
  .recon-copy { width: auto; gap: 12px; }
  .feed-row { padding: 16px; gap: 8px; }
  .feed-row .date { width: auto; font-size: 12px; }
  .feed-row .amt { order: 2; margin-left: auto; }
  .feed-row .desc { order: 3; flex-basis: 100%; font-size: 12.5px; }
  .feed-row .badge { order: 4; font-size: 11px; }
  .recon-arrow { padding-left: 16px; gap: 10px; }
  .qb-card { padding: 16px; }
  .qb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qb-memo { font-size: 12.5px; padding-top: 10px; }
}

/* ---------- who it's for ---------- */
.fit-card { padding: 32px; }
.fit-card .card-title { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.39vw, 20px); color: var(--ink); }
.check-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--body); }
.check-list .item { display: flex; align-items: center; gap: 12px; }
.check-list .tick {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
}

.keep-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--paper);
}
.keep-card .card-title { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.39vw, 20px); color: var(--paper); }
.keep-card p { font-size: clamp(15px, 1.11vw, 16px); line-height: 1.55; color: var(--dark-text); }
.keep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.keep-chips span {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--dark-panel);
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
}
.keep-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--dark-panel);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.keep-foot .t { font-size: 14px; font-weight: 600; color: var(--green-on-dark); }
.keep-foot .d { font-size: 15px; line-height: 1.5; color: var(--dark-text); }

@media (max-width: 767px) {
  .fit-card, .keep-card { padding: 22px; gap: 16px; }
  .check-list { font-size: 15px; gap: 10px; }
  .check-list .tick { width: 20px; height: 20px; }
  .chips span { font-size: 12.5px; padding: 6px 11px; }
  .keep-chips span { font-size: 13px; padding: 7px 12px; }
  .keep-foot { margin-top: 0; padding-top: 14px; }
}

/* ---------- pricing ---------- */
.price-row { display: flex; gap: 24px; align-items: stretch; justify-content: center; }
.price-card {
  width: 520px;
  background: var(--paper);
  border: 1.5px solid var(--green);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.price-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price-head .t { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.53vw, 22px); color: var(--ink); }
.badge-green {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.price-amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(52px, 4.45vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-amount .per { font-size: clamp(15px, 1.25vw, 18px); color: var(--muted); }
.price-note { font-size: clamp(14.5px, 1.04vw, 15px); line-height: 1.5; color: var(--body); }

.feature-list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--body); }
.feature-list .item { display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; }
.feature-list .tick { color: var(--green); display: flex; margin-top: 2px; }

.price-foot { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.5; }

.role-card {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--white);
}
.role-card .card-title { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.39vw, 20px); line-height: 1.2; color: var(--ink); }
.role-card p { font-size: 15px; line-height: 1.55; color: var(--body); }
.role-card .feature-list { font-size: 15px; }
.role-card .last { margin-top: auto; font-size: 14px; line-height: 1.5; color: var(--muted); }

@media (max-width: 1023px) {
  .price-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .price-card, .role-card { width: auto; padding: 24px; gap: 18px; }
  .role-card { padding: 22px; gap: 14px; }
  .feature-list { gap: 10px; font-size: 15px; }
  .price-card .btn { height: 52px; }
  .role-card .last { margin-top: 0; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.faq-item .q { font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-item .a { font-size: 16px; line-height: 1.55; color: var(--body); }
@media (max-width: 767px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq-item { padding: 18px 0; gap: 6px; }
  .faq-item .q { font-size: 16px; }
  .faq-item .a { font-size: 15px; }
  .faq-item:last-child { border-bottom: 1px solid var(--rule); }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: var(--section-y) var(--gutter);
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}
.cta-band h2 {
  font-weight: 800;
  font-size: clamp(32px, 3.61vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 760px;
}
.cta-band p { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--green-light); max-width: 560px; }
.cta-band .fine { font-size: 14px; color: var(--green-light); }
.cta-band .btn--white { margin-top: 8px; }
@media (max-width: 1023px) {
  .cta-band { gap: 18px; }
  .cta-band .btn--white { width: 100%; height: 54px; margin-top: 6px; }
}

/* ---------- footer ---------- */
.site-footer {
  padding: 36px var(--gutter);
  background: var(--ink);
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand .b { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.footer-brand .b .mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.footer-brand .b .n { font-family: var(--display); font-weight: 700; font-size: 17px; }
.footer-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1023px) {
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px var(--gutter); font-size: 13px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand .b .n { font-size: 16px; }
  .footer-links { gap: 18px; }
}

/* ---------- inner pages ---------- */
.page { padding: 64px var(--gutter) 88px; }
.page-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.page-inner--wide { max-width: 900px; }
.page h1 { font-size: clamp(32px, 3.34vw, 48px); line-height: 1.06; }
.page h2 { font-size: clamp(22px, 1.95vw, 28px); margin-top: 16px; }
.page h3 { font-size: clamp(17px, 1.25vw, 18px); font-family: var(--sans); font-weight: 600; }
.page p, .page li { font-size: 17px; line-height: 1.6; color: var(--body); }
.page ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.page .kicker { font-size: clamp(17px, 1.39vw, 20px); line-height: 1.5; color: var(--body); }

.note-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.note-card--green { background: var(--green-light); border-color: var(--green-edge); }
.note-card .t { font-weight: 600; color: var(--ink); font-size: 16px; }

.consent-quote {
  margin: 0;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.kv { display: flex; flex-direction: column; gap: 16px; }
.kv .row { display: flex; flex-direction: column; gap: 4px; }
.kv .k { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kv .v { font-size: 17px; line-height: 1.55; color: var(--body); }

/* ---------- early access form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 767px) { .form-card { padding: 22px; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field .hint { font-size: 13px; color: var(--muted); }
.form-field input[type='text'],
.form-field input[type='tel'],
.form-field input[type='email'] {
  height: 52px;
  padding: 0 14px;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  width: 100%;
}
.form-field input:focus-visible { border-color: var(--green); }
.form-field input[aria-invalid='true'] { border-color: var(--amber); }
.field-error { font-size: 13px; font-weight: 600; color: var(--amber); }
.field-error:empty { display: none; }

fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-opt { flex: 1 1 100px; }
.radio-opt input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.radio-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 12px;
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  text-align: center;
}
.radio-opt input:checked + span { border-color: var(--green); background: var(--green-light); color: var(--green); }
.radio-opt input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
}
.consent input[type='checkbox'] {
  width: 22px; height: 22px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
}
.consent label { font-size: 14px; line-height: 1.55; color: var(--body); cursor: pointer; }

.form-status { font-size: 15px; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status[data-state='error'] { color: var(--amber); font-weight: 600; }

.thanks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.thanks .tick-big {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h2 { font-size: clamp(24px, 2.22vw, 32px); }
.thanks p { font-size: 17px; line-height: 1.6; color: var(--body); }

/* ---------- early access spots ----------
   html[data-spots] is set before paint from sessionStorage, then refreshed
   from /server/api/spots. No attribute means open, which is also the no-JS state. */
html[data-spots='closed'] .when-open { display: none !important; }
html:not([data-spots='closed']) .when-closed { display: none !important; }
.spots-count { display: none; }
html[data-spots-known='true'] .spots-count { display: inline; }
html[data-spots-known='true'] .spots-static { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .car-plan .plan-row, .car-fade { opacity: 1; transform: none; }
}
