:root {
  color-scheme: dark;
  --ink: #0d1216;
  --ink-raised: #121a20;
  --paper: #f2f5f7;
  --muted: #8f9ba4;
  --line: rgba(174, 203, 224, 0.16);
  --accent: #4ea1ff;
  --accent-bright: #76baff;
  --accent-soft: rgba(78, 161, 255, 0.11);
  --warning: #ff9d57;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
}

a { color: inherit; }
.site-header, main, .site-footer { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.mark { width: 30px; display: grid; gap: 5px; }
.mark i { display: block; height: 3px; background: var(--accent); border-radius: 99px; }
.mark i:nth-child(2) { width: 19px; }
.header-link { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; color: var(--accent); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 86px; padding: 78px 0 92px; }
.eyebrow, .section-label, .compatibility, .index, .signup-form label, .form-status, .signup-note, .step-card > span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.eyebrow, .section-label { color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
h1 { max-width: 760px; margin: 20px 0 24px; font-size: clamp(54px, 6.2vw, 84px); line-height: 0.96; letter-spacing: -0.065em; font-weight: 650; }
h1 span { color: var(--accent); font-weight: 350; }
.lead { max-width: 680px; margin: 0; color: #c9d1d7; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.button-primary { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-bright); }
.button-primary:disabled { cursor: wait; opacity: 0.66; transform: none; }
.button-secondary { color: var(--paper); background: rgba(255,255,255,0.025); }
.button-secondary:hover { border-color: rgba(244,240,223,0.45); }
.compatibility { margin-top: 22px; color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; margin: 0; border: 1px solid rgba(118,186,255,0.28); background: #080d11; box-shadow: 0 34px 90px rgba(0,0,0,0.42); overflow: hidden; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; z-index: 2; width: 9px; height: 9px; background: var(--accent); }
.hero-visual::before { left: -1px; top: -1px; }
.hero-visual::after { right: -1px; bottom: -1px; }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.statement { display: grid; grid-template-columns: 0.35fr 1.65fr; gap: 40px; padding: 110px 0; border-top: 1px solid var(--line); }
.section-label { margin: 8px 0 0; }
.statement-copy { max-width: 900px; margin: 0; font-size: clamp(28px, 4vw, 52px); line-height: 1.2; letter-spacing: -0.045em; }
.outcomes { border-top: 1px solid var(--line); }
.outcomes article { display: grid; grid-template-columns: 0.35fr 1.65fr; gap: 40px; padding: 58px 0; border-bottom: 1px solid var(--line); }
.index { color: var(--accent); font-size: 12px; }
.outcomes h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.045em; }
.outcomes p { max-width: 690px; margin: 0; color: #bcc7ce; font-size: 18px; line-height: 1.6; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 120px 0; }
.principles h2 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.055em; }
.principle-copy { align-self: end; max-width: 580px; color: #bcc7ce; font-size: 18px; line-height: 1.7; }
.principle-copy p { margin: 0 0 22px; }

.beta { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 68px; align-items: center; padding: 76px; margin-bottom: 48px; border: 1px solid rgba(78,161,255,0.42); background: linear-gradient(135deg, rgba(78,161,255,0.12), rgba(78,161,255,0.035)); }
.beta h2 { max-width: 780px; margin: 17px 0 20px; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.06em; }
.beta-copy > p:not(.eyebrow) { max-width: 650px; margin: 0; color: #c9d1d7; font-size: 18px; line-height: 1.6; }
.signup-form > label:first-child { display: block; margin-bottom: 10px; color: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.signup-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup-row input { min-width: 0; min-height: 50px; padding: 0 16px; border: 1px solid rgba(174,203,224,0.3); border-radius: 3px; background: #0d1216; color: var(--paper); font: inherit; font-size: 16px; }
.signup-row input::placeholder { color: #687681; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 16px; color: #bcc7ce; font-size: 12px; line-height: 1.55; text-transform: none; letter-spacing: 0; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a, .signup-note a { color: var(--accent); }
.signup-note { margin: 14px 0 0 28px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.company-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { min-height: 22px; margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: var(--warning); }

.legal-main, .onboarding-main { padding-bottom: 80px; }
.legal-hero { padding: 100px 0 72px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 980px; }
.legal-content { width: min(760px, 100%); margin: 0 auto; }
.legal-content section { padding: 46px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; }
.legal-content p { margin: 0 0 16px; color: #c3cdd3; font-size: 17px; line-height: 1.75; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--accent); }

.onboarding-hero { max-width: 980px; }
.step-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 72px 0 110px; border: 1px solid var(--line); background: var(--line); }
.step-card { min-height: 270px; padding: 38px; background: var(--ink-raised); }
.step-card:last-child { grid-column: 1 / -1; min-height: 220px; }
.step-card > span { color: var(--accent); font-size: 12px; }
.step-card h2 { margin: 34px 0 14px; font-size: 32px; letter-spacing: -0.04em; }
.step-card p { max-width: 520px; margin: 0; color: #c3cdd3; font-size: 17px; line-height: 1.65; }
.readiness { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 100px 0; border-top: 1px solid var(--line); }
.readiness h2 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.05em; }
.readiness-copy p { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); color: #c3cdd3; font-size: 17px; line-height: 1.55; }
.readiness-copy strong { color: var(--paper); }
.onboarding-callout { margin-top: 30px; }
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { min-height: 150px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding: 38px 0; border-top: 1px solid var(--line); color: #5f6c76; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-column { min-height: 68px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.footer-column a { color: inherit; text-decoration: none; }
.footer-column a:hover { color: var(--accent); }
.footer-contact { align-items: center; }
.footer-contact > a { text-transform: lowercase; }
.footer-legal { display: flex; gap: 18px; }
.footer-product { align-items: flex-end; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 68px; }
  .hero-visual { width: min(100%, 720px); }
  .statement, .outcomes article, .principles, .beta, .readiness { grid-template-columns: 1fr; gap: 28px; }
  .principles { gap: 54px; }
  .beta { padding: 54px 32px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card:last-child { grid-column: auto; }
}

@media (max-width: 540px) {
  .site-header, main, .site-footer { width: min(100% - 30px, 1200px); }
  .site-header { height: 72px; }
  .hero { min-height: 0; padding: 62px 0 80px; }
  h1 { font-size: clamp(48px, 16vw, 70px); }
  .hero-actions .button { width: 100%; }
  .statement { padding: 80px 0; }
  .principles { padding: 90px 0; }
  .beta { padding: 46px 22px; }
  .signup-row { grid-template-columns: 1fr; }
  .signup-row .button, .callout-actions .button { width: 100%; }
  .signup-note { margin-left: 0; }
  .legal-hero { padding: 72px 0 54px; }
  .legal-content section { padding: 36px 0; }
  .step-grid { margin: 52px 0 80px; }
  .step-card { min-height: 0; padding: 30px 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .footer-column { min-height: 0; align-items: flex-start; gap: 8px; }
  .footer-contact { order: 3; }
  .footer-product { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}