[data-theme="dark"] {
  color-scheme: dark;
  --surface-canvas: #000000;
  --surface-base: #0a0a0a;
  --surface-raised: #141414;
  --surface-card: #181818;
  --surface-inset: #262626;
  --surface-hover: #323232;
  --border-subtle: #1f1f1f;
  --border-default: #2e2e2e;
  --border-highlight: #3e3e3e;
  --border-strong: #757575;
  --text-primary: #fafafa;
  --text-secondary: #b0b0b0;
  --text-muted: #8f8f8f;
  --text-on-brand: #ffffff;
  --text-on-accent: #0a0a0a;
  --brand: #2b6bff;
  --brand-hover: #1d55e0;
  --brand-press: #1744b8;
  --brand-soft: #8ab4ff;
  --brand-tint: #101c36;
  --brand-ring: #5b8cff;
  --brand-card: #1744b8;
  --accent: #c6f24e;
  --accent-hover: #b4e136;
  --accent-soft: #d7f882;
  --accent-tint: #1e2a0c;
  --success: #46d494;
  --success-tint: #10291e;
  --warning: #e8ad5c;
  --warning-tint: #2b210f;
  --danger: #ff6b6b;
  --danger-tint: #2e1414;
  --info: #2ab7f5;
  --info-tint: #08202e;
  --aqua: #53d9c5;
  --magenta: #f3509c;
  --chart-1: #3774ff;
  --chart-2: #b17000;
  --chart-3: #e40086;
  --chart-4: #708d06;
  --chart-spark: #c6f24e;
  --chart-neutral: #6f6f6f;
  --chart-grid: #262626;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.6);
  --section-grid-line: rgba(255,255,255,.025);
  --shadow-section-card: 0 2px 0 rgba(0,0,0,.2), 0 12px 24px rgba(0,0,0,.14);
  --shadow-pop: 0 18px 44px rgba(0,0,0,0.72);
  --shadow-glow: 0 0 0 1px rgba(43,107,255,0.55), 0 0 36px rgba(43,107,255,0.35);
  --text-accent: #c6f24e;
  --text-accent-soft: #d7f882;
  --accent-indicator: #c6f24e;
  --focus-ring: #c6f24e;
  --hero-veil-mid: rgba(10,10,10,.15);
  --hero-horizon: rgba(198,242,78,.1);
  --grid-line: rgba(198,242,78,.42);
  --grid-line-subtle: rgba(138,180,255,.28);
  --horizon-glow: rgba(198,242,78,.14);
  --surface-highlight: rgba(255,255,255,.06);
  --surface-highlight-strong: rgba(255,255,255,.12);
  --surface-metric: #101c36;
  --surface-accent-start: #1e2a0c;
  --surface-accent-end: #181818;
  --scrim: rgba(0,0,0,.88);
}
:root:not([data-theme="dark"]), [data-theme="light"] {
  color-scheme: light;
  --surface-canvas: #ffffff;
  --surface-base: #fdfdfb;
  --surface-raised: #ffffff;
  --surface-card: #ffffff;
  --surface-inset: #f3f5f8;
  --surface-hover: #edf1f6;
  --border-subtle: #e8eaee;
  --border-default: #d6dae1;
  --border-highlight: #c4cbd5;
  --border-strong: #738094;
  --text-primary: #151a23;
  --text-secondary: #434d5b;
  --text-muted: #5c6674;
  --text-on-brand: #ffffff;
  --text-on-accent: #0a0a0a;
  --brand: #2b6bff;
  --brand-hover: #1d55e0;
  --brand-press: #1744b8;
  --brand-soft: #1f52d6;
  --brand-tint: #e7eeff;
  --brand-ring: #1f52d6;
  --brand-card: #1744b8;
  --accent: #c6f24e;
  --accent-hover: #b4e136;
  --accent-soft: #d7f882;
  --accent-tint: #f1fbd4;
  --success: #0f7a51;
  --success-tint: #dcf7ec;
  --warning: #8f5b04;
  --warning-tint: #fbf0dc;
  --danger: #c02626;
  --danger-tint: #fde6e6;
  --info: #0a72a3;
  --info-tint: #ddf2fb;
  --aqua: #0b7a6b;
  --magenta: #b81f66;
  --chart-1: #2c6cfe;
  --chart-2: #a86b06;
  --chart-3: #da0580;
  --chart-4: #6a8703;
  --chart-spark: #6a8703;
  --chart-neutral: #7f8896;
  --chart-grid: #e8eaee;
  --shadow-card: 0 1px 2px rgba(16,20,28,0.06), 0 1px 1px rgba(16,20,28,0.04);
  --section-grid-line: rgba(10,10,10,.04);
  --shadow-section-card: 0 2px 0 rgba(16,20,28,.04), 0 12px 24px rgba(16,20,28,.06);
  --shadow-pop: 0 14px 34px rgba(16,20,28,0.12);
  --shadow-glow: 0 0 0 1px rgba(31,82,214,0.35), 0 10px 28px rgba(31,82,214,0.18);
  /* Sobre papel, o acento de leitura é azul. O lima fica nos objetos. */
  --text-accent: #1744b8;
  --text-accent-soft: #1744b8;
  --accent-indicator: #1744b8;
  --focus-ring: #1744b8;
  --hero-veil-mid: rgba(253,253,251,.15);
  --hero-horizon: rgba(43,107,255,.08);
  --grid-line: rgba(43,107,255,.18);
  --grid-line-subtle: rgba(43,107,255,.12);
  --horizon-glow: rgba(43,107,255,.08);
  --surface-highlight: rgba(255,255,255,.95);
  --surface-highlight-strong: #ffffff;
  --surface-metric: #eaf0fc;
  --surface-accent-start: #132234;
  --surface-accent-end: #101825;
  --scrim: rgba(15,23,38,.56);
}
:root {
  /* Superfícies com tinta clara mantêm sua própria paleta nos dois temas. */
  --surface-dark: #141b25;
  --surface-dark-inset: #0d1420;
  --text-on-dark: #fafafa;
  --text-on-dark-secondary: #c4ccd6;
  --text-on-dark-muted: #a5b0be;
  --border-on-dark: #465568;
  --brand-card-end: #101c36;
  --border-on-brand: rgba(255,255,255,.28);
  --border-brand-card: rgba(138,180,255,.32);
  --button-sheen: rgba(255,255,255,.3);
  --surface-on-accent-tint: rgba(10,10,10,.06);
  --border-on-accent: rgba(10,10,10,.22);
  --text-on-accent-secondary: #303923;
  --grid-on-accent: rgba(10,10,10,.24);
  --horizon-on-accent: rgba(10,10,10,.12);
  --grid-on-brand: rgba(198,242,78,.3);
  --halo-accent: rgba(198,242,78,.15);
  --mask-opaque: #000000;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-14: 56px;
  --space-20: 80px;
  /* Seções da LP: escala compartilhada, sem alterar o herói e a cena. */
  --section-space: clamp(56px, 7vw, 80px);
  --section-gap: clamp(24px, 3vw, 40px);
  --section-cut: 12px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-pill: 999px;
  --opacity-disabled: 0.4;
  --opacity-area: 0.12;
  --opacity-scrim: 0.72;
  --font-display: Tomorrow, 'Arial Black', Impact, sans-serif;
  --font-sans: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
@font-face { font-family: "Tomorrow"; src: url("fonts/Tomorrow-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Tomorrow"; src: url("fonts/Tomorrow-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Tomorrow"; src: url("fonts/Tomorrow-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
.display-xl { font-family: var(--font-display); font-size: 72px; line-height: 66px; font-weight: 900; letter-spacing: -0.02em; }
.display-l { font-family: var(--font-display); font-size: 48px; line-height: 48px; font-weight: 900; letter-spacing: -0.015em; }
.display-m { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 800; letter-spacing: -0.01em; }
.display-s { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -0.005em; }
.display-xs { font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 800; letter-spacing: 0; }
.title-l { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.title-m { font-family: var(--font-sans); font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.005em; }
.headline { font-family: var(--font-sans); font-size: 16px; line-height: 22px; font-weight: 600; }
.body { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 500; }
.subhead { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.label { font-family: var(--font-mono); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: 0.14em; }
.code { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 400; }
.metric { font-family: var(--font-mono); font-size: 32px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; }
.metric-s { font-family: var(--font-mono); font-size: 18px; line-height: 22px; font-weight: 500; }
