/* Micro Investors — Landing
   Calm tech. Carta / Stripe Atlas / AngelList vibe.
   EN-US default, PT/ES variants via [data-lang].
   Light + dark mode via tokens.
*/

:root {
  /* Brand */
  --navy-700: #0b3a6f;
  --navy-800: #082c55;
  --navy-900: #061f3d;
  --navy-950: #03152a;
  --mint-300: #6ee7c7;
  --mint-400: #2ee5a8;
  --mint-500: #10c98f;
  --mint-600: #0aa777;

  /* Light surface (default) */
  --bg:        #faf9f6;
  --surface:   #ffffff;
  --surface-2: #f5f3ed;
  --line:      #e7e3d8;
  --line-2:    #d8d3c4;
  --ink:       #0d1426;
  --ink-2:     #2b3247;
  --muted:     #5b6378;
  --muted-2:   #8a92a3;
  --accent:    var(--navy-700);
  --accent-on: #ffffff;
  --hl:        var(--mint-600);

  --shadow-sm: 0 1px 2px rgba(11,40,90,.05);
  --shadow-md: 0 1px 2px rgba(11,40,90,.04), 0 8px 24px rgba(11,40,90,.06);
  --shadow-lg: 0 30px 80px rgba(8,28,70,.12), 0 8px 24px rgba(8,28,70,.08);

  --container: 1180px;
  --gutter: 24px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: "Inter", sans-serif;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px;
}

[data-theme="dark"] {
  --bg:        #061322;
  --surface:   #0a1d33;
  --surface-2: #082544;
  --line:      #143258;
  --line-2:    #1e4677;
  --ink:       #f3f6fb;
  --ink-2:     #c2d0e3;
  --muted:     #8aa0bd;
  --muted-2:   #5e7ea7;
  --accent:    var(--mint-400);
  --accent-on: var(--navy-950);
  --hl:        var(--mint-400);

  --shadow-md: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  transition: background .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ============ TYPE ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hl);
}
.eyebrow::before {
  content: ""; width: 16px; height: 1px; background: currentColor; opacity: .8;
}
h1, h2, h3 { letter-spacing: -.02em; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 12px 0 14px;
  text-wrap: balance;
}
.section-lede {
  font-size: 14px; line-height: 1.55;
  color: var(--muted);
  max-width: 60ch; margin: 0 0 48px;
  text-wrap: pretty;
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 42px; width: auto; display: block;
}
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }

.nav-links {
  display: flex; align-items: center; gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.nav-links a:hover { color: var(--accent); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: transparent;
  transition: background .15s, border-color .15s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }

.lang-menu { position: relative; }
.lang-pop {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  min-width: 140px;
  box-shadow: var(--shadow-md);
  display: none;
}
.lang-menu[aria-expanded="true"] .lang-pop { display: block; }
.lang-pop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px; border-radius: 6px;
  font-size: 13px; color: var(--ink-2); text-align: left;
}
.lang-pop button:hover { background: var(--surface-2); }
.lang-pop button[aria-current="true"] { color: var(--accent); font-weight: 600; }
.lang-flag { font-size: 14px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  border: 1px solid transparent; line-height: 1;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); }
[data-theme="dark"] .btn-primary { background: var(--mint-400); color: var(--navy-950); }
[data-theme="dark"] .btn-primary:hover { background: var(--mint-300); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-2); }
.btn-text { padding: 8px 0; color: var(--accent); font-weight: 600; }
.btn-text:hover { color: var(--ink); }
.btn-lg { padding: 13px 22px; font-size: 14px; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  pointer-events: none;
  opacity: .6;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 80px; align-items: center;
  position: relative;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 18px 0 18px;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: normal; color: var(--accent);
  font-weight: 700;
}
[data-theme="dark"] .hero-copy h1 em { color: var(--mint-400); }
.hero-lede {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2); max-width: 52ch;
  margin: 0 0 28px;
}
.hero-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-meta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-500); }
[data-theme="dark"] .hero-meta .dot { box-shadow: 0 0 8px var(--mint-400); }

/* Hero card (right) — sober NAV + 1 distribution */
.hero-card-wrap {
  position: relative;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--mint-500));
}
.hero-card .label-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.hero-card .label-row .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--mint-600); letter-spacing: .08em;
}
[data-theme="dark"] .hero-card .label-row .live { color: var(--mint-400); }
.hero-card .label-row .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 20%, transparent);
}
.hero-card .nav-value {
  font-family: var(--font-mono);
  font-size: 38px; font-weight: 600;
  letter-spacing: -.02em; color: var(--ink);
}
.hero-card .nav-value sup { font-size: 18px; font-weight: 500; color: var(--muted); margin-right: 6px; }
.hero-card .nav-delta {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--mint-600); margin-top: 4px;
}
[data-theme="dark"] .hero-card .nav-delta { color: var(--mint-400); }
.hero-card hr { margin: 22px 0; }

.hero-card .row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 6px 0;
}
.hero-card .row .k { font-size: 12px; color: var(--muted); }
.hero-card .row .v { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }

.hero-card .waterfall {
  margin-top: 20px;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 14px 16px;
}
.hero-card .waterfall .wf-title {
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.wf-bar {
  display: flex; height: 26px; border-radius: 4px; overflow: hidden;
  background: var(--line);
}
.wf-bar > span {
  display: block; height: 100%; transition: width .3s;
  position: relative;
}
.wf-bar .pref { background: var(--navy-700); width: 42%; }
.wf-bar .catch { background: var(--mint-500); width: 18%; }
.wf-bar .splitlp { background: var(--navy-400, #5e7ea7); width: 28%; }
.wf-bar .splitgp { background: var(--mint-300); width: 12%; }
.wf-legend {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  margin-top: 10px;
  font-size: 11px;
}
.wf-legend > div { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.wf-legend > div::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink);
}
.wf-legend > div.l1::before { background: var(--navy-700); }
.wf-legend > div.l2::before { background: var(--mint-500); }
.wf-legend > div.l3::before { background: #5e7ea7; }
.wf-legend > div.l4::before { background: var(--mint-300); }
.wf-legend strong { color: var(--ink); font-family: var(--font-mono); margin-left: auto; }

/* Floating ledger ribbon */
.ledger-ribbon {
  position: absolute; bottom: -22px; left: -32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono); font-size: 11px;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-2);
}
.ledger-ribbon .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-500); }
.ledger-ribbon span { color: var(--muted); }
.ledger-ribbon strong { color: var(--ink); }

/* ============ AUDIENCES (2 cards) ============ */
.audiences {
  padding: 100px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.audiences-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.audiences-head .section-lede { margin-left: auto; margin-right: auto; }
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.aud-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 36px 32px;
  background: var(--bg);
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.aud-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.aud-card.primary {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .aud-card.primary { border-color: var(--mint-500); }
.aud-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.aud-card.primary .aud-tag { color: var(--accent); }
.aud-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 14px 0 8px;
}
.aud-card p {
  margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--ink-2);
}
.aud-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.aud-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  font-size: 14px; color: var(--ink-2);
}
.aud-card li svg { flex-shrink: 0; color: var(--mint-600); margin-top: 3px; }
[data-theme="dark"] .aud-card li svg { color: var(--mint-400); }
.aud-card .aud-cta { margin-top: auto; }

/* ============ BEFORE / AFTER ============ */
.problems {
  padding: 110px 0;
  background: var(--bg);
}
.problems-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.problems-head .section-lede { margin-left: auto; margin-right: auto; }
.ba-list { display: flex; flex-direction: column; gap: 16px; }
.ba-row {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.ba-side { padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; justify-content: center; }
.ba-before { background: var(--surface-2); }
.ba-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.ba-before .ba-tag { color: var(--muted); }
.ba-after .ba-tag { color: var(--mint-600); }
[data-theme="dark"] .ba-after .ba-tag { color: var(--mint-400); }
.ba-side strong {
  font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4;
  letter-spacing: -.005em;
}
.ba-before strong { color: var(--ink-2); }
.ba-side p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.ba-arrow {
  display: grid; place-items: center;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--accent);
}
[data-theme="dark"] .ba-arrow { color: var(--mint-400); }

/* ============ CAPABILITIES (6 cards) ============ */
.capabilities {
  padding: 110px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cap-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.cap-head .section-lede { margin-left: auto; margin-right: auto; }
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cap {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: background .2s;
}
.cap:hover { background: var(--bg); }
.cap-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--accent);
  border: 1px solid var(--line);
}
[data-theme="dark"] .cap-icon { color: var(--mint-400); }
.cap h3 {
  font-size: 15px; font-weight: 600; color: var(--ink);
  margin: 4px 0 0; letter-spacing: -.005em;
}
.cap p {
  font-size: 13px; line-height: 1.55;
  color: var(--muted); margin: 0;
}
.cap-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
  background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--line);
  align-self: flex-start;
}
.cap-tag.beta { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); }
.cap-tag.soon { color: #b88217; border-color: #f3e1ad; background: #fbf0d2; }
[data-theme="dark"] .cap-tag.soon { color: #d6a219; background: rgba(184,130,23,.18); border-color: rgba(184,130,23,.35); }

/* ============ HOW IT WORKS ============ */
.how {
  padding: 110px 0;
  background: var(--bg);
}
.how-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.how-head .section-lede { margin-left: auto; margin-right: auto; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 32px; left: 5%; right: 5%;
  height: 1px;
  background-image: linear-gradient(to right, var(--line-2) 50%, transparent 50%);
  background-size: 8px 1px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 24px;
  position: relative;
}
.step-num {
  width: 64px; height: 64px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 600;
  color: var(--accent);
  margin: -52px 0 18px;
  box-shadow: var(--shadow-sm);
  letter-spacing: -.02em;
}
[data-theme="dark"] .step-num { color: var(--mint-400); background: var(--surface); }
.step h3 {
  font-size: 15px; font-weight: 600; color: var(--ink);
  margin: 0 0 8px; letter-spacing: -.005em;
}
.step p {
  font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 14px;
}
.step .step-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  padding: 4px 8px; border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.step-meta svg { color: var(--mint-600); }
[data-theme="dark"] .step-meta svg { color: var(--mint-400); }

/* ============ TRUST ============ */
.trust {
  padding: 80px 0;
  background: var(--navy-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 15% 20%, rgba(46,229,168,.08), transparent 60%),
    radial-gradient(700px 360px at 85% 80%, rgba(31,68,117,.30), transparent 60%);
}
[data-theme="dark"] .trust { background: #020a14; }
.trust-inner { position: relative; }
.trust-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.trust-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15; color: #fff;
  margin: 10px 0 0;
  letter-spacing: -.02em;
  text-wrap: balance;
  max-width: 22ch;
}
.trust-head p { color: rgba(255,255,255,.65); font-size: 14px; max-width: 42ch; margin: 0; line-height: 1.6; }
.trust-head .eyebrow { color: var(--mint-400); }

.trust-pills {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-pill {
  padding: 28px 22px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 10px;
}
.trust-pill:last-child { border-right: 0; }
.trust-pill svg { color: var(--mint-400); }
.trust-pill h4 {
  font-size: 14px; font-weight: 600; color: #fff;
  margin: 4px 0 0; letter-spacing: -.005em;
}
.trust-pill p { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.6); margin: 0; }
.trust-pill .status {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--mint-400); letter-spacing: .04em;
  text-transform: uppercase;
}
.trust-pill .status.progress { color: #ffd270; }

/* ============ FINAL CTA ============ */
.final-cta {
  position: relative;
  padding: 110px 0;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.final-cta-inner { max-width: 680px; margin: 0 auto; }
.final-cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08; letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 16px;
  text-wrap: balance;
}
.final-cta h2 em { font-style: normal; color: var(--accent); font-weight: 700; }
[data-theme="dark"] .final-cta h2 em { color: var(--mint-400); }
.final-cta p {
  font-size: 15px; line-height: 1.6;
  color: var(--muted); max-width: 52ch; margin: 0 auto 28px;
}
.final-cta .hero-cta { justify-content: center; }

/* ============ FOOTER ============ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .brand { color: var(--ink); margin-bottom: 14px; }
.footer-brand p {
  font-size: 13px; line-height: 1.6; color: var(--muted);
  margin: 0 0 16px;
}
.footer-brand .small {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-2);
  padding: 4px 8px; border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.footer-brand .brand img { height: 14px; }
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
[data-theme="dark"] .footer-col a:hover { color: var(--mint-400); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px;
}
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: color-mix(in oklab, var(--navy-950) 65%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  animation: fade .2s ease;
}
.modal-backdrop[aria-hidden="false"] { display: flex; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: pop .25s cubic-bezier(.2,.8,.2,1.05);
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head {
  padding: 28px 32px 16px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
}
.modal-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
  color: var(--ink); margin: 6px 0 6px;
  letter-spacing: -.018em;
}
.modal-head p { font-size: 13px; color: var(--muted); margin: 0; max-width: 38ch; line-height: 1.55; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-2);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--surface-2); }
.modal-body { padding: 8px 32px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  display: flex; gap: 4px; align-items: baseline;
}
.field label .req { color: var(--accent); }
[data-theme="dark"] .field label .req { color: var(--mint-400); }
.field input, .field select {
  padding: 11px 12px; border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select { background: var(--surface-2); }
.field input:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-foot {
  padding: 16px 32px 28px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  background: var(--surface-2);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.modal-foot .legal {
  font-size: 11px; color: var(--muted); max-width: 28ch;
}

/* Honeypot anti-bot: precisa ser invisível pro humano MAS preenchível por bot.
   Fora da viewport em vez de display:none/visibility:hidden — headless browser
   pula campo não-renderizado, e aí o campo não pega ninguém. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Erro de envio do form. A paleta NÃO muda e não há token de erro/vermelho nela:
   o peso vem de borda + fundo com os tokens existentes, não de hue nova. */
.form-error {
  margin: 0; flex-basis: 100%; order: -1;
  padding: 10px 12px; border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink-2);
  font-size: 12px; font-weight: 500;
}
.form-error[aria-hidden="true"] { display: none; }

/* Estado de envio: o rótulo dá lugar ao spinner sem o botão mudar de tamanho
   (evita o footer "pular" no meio do clique). */
.btn-loading { display: none; align-items: center; gap: 8px; }
#submitBtn.is-loading .btn-label { display: none; }
#submitBtn.is-loading .btn-loading { display: inline-flex; }
#submitBtn:disabled { opacity: .72; cursor: default; }
#submitBtn:disabled:hover { transform: none; }
.spinner {
  width: 13px; height: 13px; flex-shrink: 0;
  border: 2px solid color-mix(in oklab, var(--accent-on) 35%, transparent);
  border-top-color: var(--accent-on);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2s; }
}

.modal-success {
  padding: 48px 32px; text-align: center; display: none;
}
.modal-success[aria-hidden="false"] { display: block; }
.modal-success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in oklab, var(--mint-500) 20%, transparent);
  color: var(--mint-600); display: grid; place-items: center;
  margin: 0 auto 18px;
}
[data-theme="dark"] .modal-success .check { color: var(--mint-400); background: rgba(46,229,168,.16); }
.modal-success h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--ink); margin: 0 0 8px;
  letter-spacing: -.012em;
}
.modal-success p { color: var(--muted); font-size: 13px; margin: 0 0 22px; line-height: 1.55; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card-wrap { max-width: 480px; }
  .ledger-ribbon { left: 0; bottom: -16px; }
  .audience-grid { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; }
  .ba-arrow { padding: 8px; border-left: 0; border-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(90deg); height: 36px; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .steps::before { display: none; }
  .trust-pills { grid-template-columns: 1fr 1fr; }
  .trust-pill { border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
  .trust-pill:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .cap-grid { grid-template-columns: 1fr; }
  .trust-pills { grid-template-columns: 1fr; }
  .trust-pill { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Hidden until lang matches */
[data-i18n] [data-lang]:not([data-show]) { display: none; }

/* ============ SCREENSHOT GALLERY ============ */
.gallery {
  padding: 110px 0 90px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.gallery-head {
  max-width: 720px; margin: 0 auto 48px; text-align: center;
}
.gallery-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin: 12px 0 14px;
  text-wrap: balance;
}
.gallery-sub {
  font-size: 14px; color: var(--muted); margin: 0;
}

.gallery-rail-wrap {
  position: relative;
  margin: 0 -20px; /* let it bleed slightly past container */
}
.gallery-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 16px 20px 32px;
  scrollbar-width: none;
}
.gallery-rail::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 720px;
  max-width: 88vw;
  scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 18px;
}
.shot-frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 4%, transparent),
    0 24px 48px -24px color-mix(in oklab, var(--ink) 22%, transparent),
    0 8px 20px -10px color-mix(in oklab, var(--ink) 12%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover .shot-frame {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--ink) 4%, transparent),
    0 32px 60px -24px color-mix(in oklab, var(--ink) 28%, transparent),
    0 10px 24px -10px color-mix(in oklab, var(--ink) 14%, transparent);
}
.shot-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: color-mix(in oklab, var(--surface-2) 80%, var(--surface));
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.shot-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.shot-chrome .dot-r { background: #ff5f57; }
.shot-chrome .dot-y { background: #febc2e; }
.shot-chrome .dot-g { background: #28c840; }
.shot-url {
  margin-left: 14px;
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: .01em;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg);
}

.shot-meta {
  padding: 0 4px;
}
.shot-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
[data-theme="dark"] .shot-tag { color: var(--mint-400); }
.shot-meta h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; line-height: 1.3; letter-spacing: -.012em;
  color: var(--ink); margin: 0 0 6px;
}
.shot-meta p {
  margin: 0; font-size: 13.5px; line-height: 1.55;
  color: var(--muted); max-width: 56ch;
}

/* Rail arrows */
.rail-arrow {
  position: absolute;
  top: calc(50% - 60px); /* visually centered on the image, not the meta */
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 14px -6px color-mix(in oklab, var(--ink) 22%, transparent);
  transition: background .15s, transform .15s, opacity .2s;
}
.rail-arrow:hover { background: var(--bg); transform: translateY(-50%) scale(1.04); }
.rail-arrow-prev { left: 4px; transform: translateY(-50%); }
.rail-arrow-next { right: 4px; transform: translateY(-50%); }
.rail-arrow:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .shot { flex: 0 0 86vw; }
  .rail-arrow { display: none; }
  .shot-meta h3 { font-size: 16px; }
}

/* ============ FAQ ============ */
.faq {
  padding: 110px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.faq-head {
  max-width: 640px; margin: 0 auto 48px; text-align: center;
}
.faq-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin: 12px 0 0;
  text-wrap: balance;
}
.faq-list {
  max-width: 760px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child,
.faq-item summary > span[data-show] { flex: 1; }
.faq-item .chev {
  margin-left: auto;
  color: var(--muted);
  transition: transform .25s ease, color .15s;
  flex-shrink: 0;
}
.faq-item[open] .chev { transform: rotate(180deg); color: var(--accent); }
[data-theme="dark"] .faq-item[open] .chev { color: var(--mint-400); }
.faq-item p {
  margin: 0 4px 22px;
  font-size: 14px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
}
