:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #141414;
  --text: #eeeeeb;
  --muted: #92928f;
  --subtle: #bcbcb8;
  --line: #303030;
  --active: #262626;
  --control-bg: #1a1a1a;
  --control-hover: #262626;
  --control-border: #484848;
  --button-bg: #eeeeeb;
  --button-text: #111;
  --font-display: "Manrope", "DM Sans", sans-serif;
  --font-body: "DM Sans", "Manrope", sans-serif;
  --page-width: 1440px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #fafaf9;
  --surface: #f1f1f0;
  --text: #171717;
  --muted: #777774;
  --subtle: #555552;
  --line: #d6d6d4;
  --active: #e6e6e4;
  --control-bg: #f3f3f2;
  --control-hover: #e6e6e4;
  --control-border: #c8c8c6;
  --button-bg: #171717;
  --button-text: #f5f5f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; transition: color .25s ease, background .25s ease; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar, main, footer { width: min(var(--page-width), calc(100% - 96px)); margin-inline: auto; }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; font: 700 24px/1 var(--font-display); letter-spacing: -.07em; }
.wordmark img { width: 29px; height: 29px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
html[data-theme="light"] .wordmark img { filter: grayscale(1) brightness(0); }
nav { display: flex; align-items: center; gap: 40px; color: var(--subtle); font-size: 13px; }
nav a, footer a { transition: color .2s ease; }
nav a:hover, footer a:hover, .text-link:hover { color: var(--text); }
nav a span { color: var(--muted); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.theme-toggle { height: 40px; border: 1px solid var(--control-border); background: var(--control-bg); transition: background .2s ease, border-color .2s ease; }
.theme-toggle { width: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; }
.theme-toggle:hover { background: var(--control-hover); }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: block; }
.nav-download { display: inline-flex; align-items: center; gap: 9px; margin-left: 7px; border: 1px solid var(--control-border); border-radius: 999px; padding: 12px 17px; font-size: 11px; transition: color .2s, background .2s, border-color .2s; white-space: nowrap; }
.nav-download:hover { color: var(--button-text); background: var(--button-bg); border-color: var(--button-bg); }

.hero { padding: 100px 0 34px; }
.hero-copy { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; margin-bottom: 58px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.065em; }
h1 { max-width: 780px; font-size: clamp(68px, 9vw, 132px); line-height: .94; }
.hero-copy > p { max-width: 410px; padding-bottom: 5px; color: var(--subtle); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.actions { display: flex; grid-column: 2; align-items: center; gap: 26px; margin-top: -24px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; font-size: 13px; font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.light { background: var(--button-bg); color: var(--button-text); border: 1px solid var(--button-bg); }
.button.light:hover { opacity: .84; }
.text-link { color: var(--subtle); font-size: 13px; transition: color .2s; }
.text-link span { margin-left: 6px; }
.hero-screen { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 90px #0002; }
.mock-stage { position: relative; overflow: hidden; width: 100%; }
.theme-mock { width: 100%; height: auto; }
.hero-meta { display: flex; justify-content: space-between; padding-top: 18px; color: var(--muted); font-size: 10px; letter-spacing: .14em; }

.product-section { padding: 150px 0 145px; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: start; margin-bottom: 60px; }
.section-index { color: var(--muted); font-size: 10px; letter-spacing: .14em; }
h2 { font-size: clamp(45px, 6.5vw, 86px); line-height: 1.02; }
.section-intro > div > p { max-width: 480px; margin-top: 22px; color: var(--subtle); font-size: 16px; line-height: 1.65; }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature-strip article { min-height: 150px; padding: 22px 28px 0 0; }
.feature-strip article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.feature-mark { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.feature-strip h3 { margin-top: 22px; font-size: 20px; letter-spacing: -.04em; }
.feature-strip p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.process-section { padding: 105px 0 115px; border-top: 1px solid var(--line); }
.process-section .section-intro { margin-bottom: 75px; }
.steps { border-top: 1px solid var(--line); }
.steps article { min-height: 112px; display: grid; grid-template-columns: 1fr 2fr 40px; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.steps article > span:first-child { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.steps h3 { font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.045em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.step-arrow { color: var(--muted); text-align: right; }
.process-note { max-width: 600px; margin: 28px 0 0 auto; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: right; }

.download-section { margin: 30px 0 0; padding: 100px 7%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.download-inner { max-width: 850px; }
.download-inner h2 { margin-top: 26px; font-size: clamp(52px, 7vw, 96px); }
.download-inner > p { max-width: 430px; margin: 22px 0 30px; color: var(--subtle); font-size: 16px; line-height: 1.6; }
.download-note { display: block; margin-top: 15px; color: var(--muted); font-size: 11px; }

footer { min-height: 125px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; }
footer .wordmark { color: var(--text); font-size: 20px; letter-spacing: -.06em; }
footer .wordmark img { width: 24px; height: 24px; }
footer .footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; letter-spacing: .04em; }
footer small { grid-column: 1 / -1; align-self: start; margin-top: -26px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }

.legal-main { min-height: 72vh; padding: clamp(70px, 10vw, 130px) 0 90px; }
.legal-heading { max-width: 980px; margin-bottom: 72px; }
.legal-kicker { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.legal-heading h1 { max-width: 900px; margin-top: 22px; font-size: clamp(54px, 8vw, 104px); line-height: .98; }
.legal-heading .legal-updated { margin-top: 22px; color: var(--muted); font-size: 12px; }
.legal-document { max-width: 830px; }
.legal-document section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-document h2 { margin-bottom: 14px; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.045em; }
.legal-document p, .legal-document li { color: var(--subtle); font-size: 14px; line-height: 1.8; }
.legal-document p + p { margin-top: 12px; }
.legal-document ul { display: grid; gap: 9px; margin: 12px 0 0; padding-left: 22px; }
.legal-document a { text-decoration: underline; text-decoration-color: var(--control-border); text-underline-offset: 3px; }
.legal-document a:hover { color: var(--text); }
.legal-note { color: var(--muted) !important; font-size: 12px !important; }
.legal-topbar nav { gap: 24px; }
.legal-topbar nav a[aria-current="page"] { color: var(--text); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1600px) { .hero { padding-top: 130px; } }
@media (max-width: 1000px) {
  .topbar, main, footer { width: min(100% - 64px, var(--page-width)); }
  nav { gap: 22px; }
  .hero { padding-top: 80px; }
  .hero-copy { grid-template-columns: 1fr; gap: 20px; }
  h1 { font-size: clamp(64px, 13vw, 104px); }
  .hero-copy > p { max-width: 510px; }
  .actions { grid-column: 1; margin-top: 8px; }
  .section-intro { grid-template-columns: .6fr 1.4fr; }
}
@media (max-width: 700px) {
  .topbar, main, footer { width: calc(100% - 36px); }
  .topbar { min-height: 68px; gap: 4px; }
  .wordmark { font-size: 19px; gap: 5px; }
  .wordmark img { width: 22px; height: 22px; }
  nav { display: none; }
  .header-actions { gap: 4px; }
  .theme-toggle { width: 32px; height: 32px; }
  .nav-download { gap: 5px; margin-left: 0; padding: 9px 7px; font-size: 8.5px; }
  .nav-download > span:first-child { display: none; }
  .hero { padding: 68px 0 28px; }
  .hero-copy { gap: 20px; margin-bottom: 38px; }
  h1 { font-size: clamp(58px, 16vw, 88px); }
  .hero-copy > p { font-size: 15px; }
  .actions { gap: 18px; }
  .button { min-height: 46px; padding-inline: 14px; font-size: 11px; }
  .text-link { font-size: 11px; }
  .hero-screen { border-radius: 7px; }
  .hero-meta { font-size: 8px; }
  .product-section { padding: 90px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  h2 { font-size: clamp(47px, 13vw, 70px); }
  .section-intro > div > p { margin-top: 14px; font-size: 14px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip article { min-height: 0; padding: 18px 0 22px; }
  .feature-strip article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature-strip h3 { margin-top: 11px; font-size: 19px; }
  .feature-strip p { margin-top: 5px; font-size: 12px; }
  .process-section { padding: 78px 0; }
  .process-section .section-intro { margin-bottom: 42px; }
  .steps article { min-height: 100px; grid-template-columns: 32px 1fr 20px; gap: 13px; }
  .steps h3 { font-size: 20px; }
  .steps p { max-width: 270px; font-size: 12px; line-height: 1.5; }
  .process-note { font-size: 11px; }
  .download-section { padding: 62px 22px; border-radius: 8px; }
  .download-inner h2 { font-size: clamp(48px, 13vw, 72px); }
  .download-inner > p { font-size: 14px; }
  footer { min-height: 145px; grid-template-columns: 1fr; gap: 16px; padding: 23px 0 38px; font-size: 8px; }
  footer > span { display: none; }
  footer .footer-links { justify-content: flex-start; gap: 16px; }
  footer small { margin-top: 0; font-size: 8px; }
  .legal-main { min-height: 70vh; padding: 64px 0 60px; }
  .legal-heading { margin-bottom: 48px; }
  .legal-heading h1 { font-size: clamp(48px, 13vw, 72px); }
  .legal-document section { padding: 24px 0; }
  .legal-document p, .legal-document li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
