/* ============================================================
   velapay: a settlement layer for paid agent work
   Visual direction: Manus ("warm editorial AI brand").
   Off-white paper canvas, near-black ink, Libre Baskerville
   serif for DISPLAY headlines only, Inter for UI/body, a single
   soft-blue accent reserved for links/active states, black pill
   CTAs. White rounded cards with soft shadows. Honest code-native
   primitives (no fake screenshots) borrowed from the fleet.
   ============================================================ */

/* ---- Tokens ------------------------------------------------ */
:root {
  /* Color: Manus palette */
  --paper:    #fbfbf5; /* warm off-white canvas */
  --paper-2:  #f6f6f4; /* alt section bg */
  --paper-3:  #f1f1ec; /* recessed band */
  --ink:      #0b0b0b; /* headings + primary text + CTA fill */
  --ink-soft: #242524; /* body-strong */
  --body:     #5f6160; /* body copy */
  --muted:    #898a89; /* meta / captions / muted UI */
  --line:     #e6e6e1; /* hairline borders / dividers */
  --line-2:   #dcdcd5; /* stronger border */
  --card:     #ffffff; /* card surface */

  /* Accent: soft blue, LINKS / ACTIVE ONLY */
  --accent:     #2b7cff;
  --accent-ink: #0b6bff; /* pins / stronger link */
  --accent-wash:#eaf1ff; /* faint blue tint surface */

  /* Status (data display only, muted, not brand accent) */
  --ok:    #2f9e6e;
  --flight:#c08a2e;

  /* Code syntax (code-role only) */
  --c-key: #0b6bff;
  --c-str: #1f8a55;
  --c-num: #9a5b1e;
  --c-pun: #989998;

  /* Type */
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radius */
  --r-card: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* Elevation (Manus: soft, low) */
  --shadow:    0 6px 18px rgba(11,11,11,.06);
  --shadow-lg: 0 14px 40px rgba(11,11,11,.10);

  /* Layout */
  --maxw: 1140px;
  --gutter: 24px;
  --section: 104px;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: #0b0b0b; color: var(--paper); }

/* ---- Layout primitives ------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }
.section { padding: var(--section) 0; }
.section--tight { padding: 52px 0; }
.center { text-align: center; }
.center .lead, .section__head .lead { margin-left: auto; margin-right: auto; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head .lead { margin-top: 16px; }

.eyebrow {
  font-family: var(--font);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0 0 16px;
}

/* Serif display: DISPLAY ROLE ONLY */
.display {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.6vw, 3.75rem); /* up to 60px */
  line-height: 1.08; font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
h2.serif, .h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.5rem); /* up to 40px */
  line-height: 1.14; font-weight: 700; letter-spacing: -.01em;
  color: var(--ink); text-wrap: balance;
}
h3 {
  font-family: var(--font);
  font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
}
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--body); text-wrap: pretty; }
.muted { color: var(--muted); }

/* ---- Buttons (Manus: black pill = primary) ---------------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; line-height: 1;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); cursor: pointer;
  transition: transform .14s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(.99); }
.btn--primary { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--primary:hover { --bg: #2a2a2a; --bd: #2a2a2a; }
.btn--outline { --bd: var(--line-2); --fg: var(--ink); background: var(--card); }
.btn--outline:hover { --bd: var(--ink); box-shadow: var(--shadow); }
.btn--ghost { --fg: var(--ink); }
.btn--ghost:hover { background: rgba(11,11,11,.05); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }   /* on dark footer/cta */
.btn--light:hover { --bg: #f0f0ea; --bd: #f0f0ea; }

.link { color: var(--ink); font-weight: 500; }
.link:hover { color: #000; }
.link--accent { color: var(--accent); font-weight: 600; }
.link--accent:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.arrow::after { content: " \2192"; transition: transform .2s ease; display: inline-block; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* ---- Header / nav ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,245,.78);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink);
}
.brand__mark { width: 18px; height: 18px; flex: none; }
.nav__links { display: flex; gap: 24px; margin-left: 14px; }
.nav__links a { font-size: 14.5px; color: var(--body); font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px;
  align-items: center; justify-content: center; background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer;
}
.nav__toggle span { width: 16px; height: 1.5px; background: var(--ink); }

/* ---- Hero -------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.hero p.lead { margin-top: 20px; max-width: 40ch; }
.signup { display: flex; gap: 10px; margin: 32px 0 14px; max-width: 470px; }
.signup input {
  flex: 1; min-width: 0; padding: 13px 18px; font-size: 15px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,11,.05); }
.hero__sub { font-size: 13.5px; color: var(--muted); }
.hero__sub b { color: var(--ink-soft); font-weight: 600; }
.hero__media { display: grid; gap: 16px; }

/* ---- Code window (light, Fira Code, code role only) ------ */
.codewin {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
}
.codewin__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.codewin__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7d7d0; display: block; }
.codewin__bar small { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.codewin pre {
  margin: 0; padding: 18px 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--ink-soft);
  tab-size: 2;
}
.codewin .k { color: var(--c-key); }   /* method / keyword */
.codewin .s { color: var(--c-str); }    /* string */
.codewin .p { color: var(--c-pun); }    /* punctuation / comment */
.codewin .n { color: var(--c-num); }    /* number */
.codewin .f { color: var(--ink); font-weight: 600; }  /* function name */

/* ---- Receipt / settlement frame (code-native primitive) --- */
.frame {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
}
.frame__bar {
  display: flex; align-items: center; gap: 8px; padding: 15px 18px;
  border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.frame__bar .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.frame__bar .meta { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.frame__body { padding: 6px 0; }
.runrow {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.runrow:last-child { border-bottom: 0; }
.runrow .who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.runrow .ava {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--muted);
}
.runrow .name { font-size: 14px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.runrow .rail { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.runrow .amt { font-family: var(--mono); font-size: 13.5px; color: var(--ink); text-align: right; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { color: var(--ok); border-color: rgba(47,158,110,.35); background: rgba(47,158,110,.07); }
.chip--flight { color: var(--flight); border-color: rgba(192,138,46,.35); background: rgba(192,138,46,.07); }
.frame__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-top: 1px solid var(--line); background: var(--paper-2);
}
.frame__foot .total { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.frame__foot .note { font-size: 12px; color: var(--muted); }

/* tally meter (receipts accumulating toward threshold) */
.tally { padding: 18px; display: grid; gap: 14px; }
.tally__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tally__row .k { font-size: 13px; color: var(--body); }
.tally__row .v { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.meter { position: relative; height: 10px; border-radius: var(--r-pill); background: var(--paper-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ink); }
.meter__mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); }
.meter__mark::after { content: "threshold"; position: absolute; top: -18px; right: -2px; font-family: var(--font); font-size: 10px; letter-spacing: .04em; color: var(--accent); white-space: nowrap; }

/* ---- Trust wall ------------------------------------------- */
.trust__label { text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logos {
  display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: center; align-items: center;
  margin-top: 24px;
}
.logos span { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }

/* ---- Full-bleed line-art divider (Manus role) ------------- */
.divider-art { padding: 8px 0 0; }
.divider-art svg { width: 100%; height: auto; color: var(--ink); }
.divider-art .cap { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---- Cards / grids ---------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
  margin-bottom: 18px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--body); }
.card__tag { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-bottom: 14px; display: block; }

/* layer card (numbered, taller) */
.layer { position: relative; }
.layer__no { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---- Feature rows ----------------------------------------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 56px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__media { order: -1; }
.feature__list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 13px; }
.feature__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-size: 11px; color: #fff;
  background: var(--ink);
}

/* ---- Light/alt band --------------------------------------- */
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); }
.stat .num { font-family: var(--serif); font-size: 38px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--body); margin-top: 12px; }

/* ---- How it works (steps) --------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); }
.step__no {
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--body); }

/* ---- Callout (swarm escrow) ------------------------------- */
.callout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 48px; box-shadow: var(--shadow);
}
.thaw { display: grid; gap: 0; }
.thaw__step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.thaw__step:last-child { padding-bottom: 0; }
.thaw__step::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: -2px; width: 2px; background: var(--line-2); }
.thaw__step:last-child::before { display: none; }
.thaw__dot {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--card); display: grid; place-items: center; z-index: 1;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
}
.thaw__dot--lock { background: var(--ink); color: #fff; border-color: var(--ink); }
.thaw__step h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.thaw__step p { font-size: 14px; color: var(--body); }

/* ---- FAQ accordion ---------------------------------------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.faq__icon::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq__icon::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.faq__item[data-open="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq__a p { padding: 0 24px 22px; font-size: 15px; color: var(--body); }

/* ---- CTA band --------------------------------------------- */
.cta {
  text-align: center; border-radius: 20px; background: var(--ink); color: var(--paper);
  padding: 72px 24px;
}
.cta .display { color: #fff; }
.cta h2, .cta .h2 { color: #fff; }
.cta .lead { margin: 16px auto 32px; max-width: 54ch; color: rgba(255,255,255,.72); }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer (dark, Manus) -------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 40px; }
.footer__tag { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25; color: #fff; letter-spacing: -.01em; max-width: 14ch; }
.footer__brand p { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.55); max-width: 32ch; }
.fcol h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 700; }
.fcol a { display: block; font-size: 14.5px; color: rgba(255,255,255,.68); padding: 6px 0; }
.fcol a:hover { color: #fff; }
.footer__base {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer__base a { color: rgba(255,255,255,.5); }
.footer__base a:hover { color: #fff; }

/* ---- Page hero (inner pages) ------------------------------ */
.page-hero { padding: clamp(64px, 7vw, 96px) 0 56px; border-bottom: 1px solid var(--line); position: relative; }
.page-hero .container { position: relative; max-width: 780px; }
.page-hero .lead { margin-top: 18px; }

/* ---- Security page (sticky head blocks) ------------------- */
.sec-block { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.sec-block + .sec-block { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.sec-block__head { position: sticky; top: 92px; }
.sec-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
  margin-bottom: 18px;
}
.sec-icon svg { width: 21px; height: 21px; }
.sec-block__head h2 { font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink); }
.sec-block__head p { margin-top: 12px; font-size: 14.5px; color: var(--body); }
.sec-list { display: grid; gap: 16px; }
.sec-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 26px; box-shadow: var(--shadow); }
.sec-item h3 { font-size: 16px; margin-bottom: 7px; }
.sec-item p { font-size: 14.5px; color: var(--body); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card);
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---- Principles (company) --------------------------------- */
.principle { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.principle .pno { font-family: var(--serif); font-size: 26px; color: var(--muted); }
.principle h3 { font-size: 19px; margin-bottom: 8px; }
.principle p { color: var(--body); font-size: 15px; max-width: 64ch; }

/* ---- Auth / login ----------------------------------------- */
.authwrap { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 56px 0; }
.auth { width: 100%; max-width: 420px; }
.auth__card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 38px; box-shadow: var(--shadow-lg); }
.auth__card h1 { font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.auth__card .lead { margin: 10px 0 26px; font-size: 15px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--body); }
.field input {
  padding: 12px 14px; font-size: 15px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,11,.05); }
.auth__divider { text-align: center; font-size: 12px; color: var(--muted); margin: 20px 0; position: relative; }
.auth__divider::before, .auth__divider::after { content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--line); }
.auth__divider::before { left: 0; } .auth__divider::after { right: 0; }
.btn--google { background: var(--card); border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--r-sm); }
.btn--google:hover { background: var(--paper-2); transform: none; }
.auth__foot { margin-top: 22px; font-size: 14px; color: var(--body); text-align: center; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  :root { --section: 76px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .feature, .feature--flip .feature__media { grid-template-columns: 1fr; }
  .feature__media { order: 0 !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .callout { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .sec-block { grid-template-columns: 1fr; gap: 24px; }
  .sec-block__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav[data-open="true"] { position: relative; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 58px; left: 0; right: 0; margin: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg);
  }
  .nav[data-open="true"] .nav__links a { padding: 12px 12px; }
  .nav[data-open="true"] .nav__actions {
    display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    position: absolute; top: 200px; left: 0; right: 0;
    background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-lg);
  }
}
@media (max-width: 560px) {
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .grid-2, .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .runrow { grid-template-columns: 1fr auto; }
  .runrow .amt { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } }
