:root {
  color-scheme: dark;
  --bg: #080c17;
  --surface: #101726;
  --surface-soft: #151e30;
  --line: rgb(255 255 255 / 10%);
  --text: #f6f8fc;
  --muted: #9da9bd;
  --blue: #5b8cff;
  --blue-light: #91b0ff;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 80% 0%, rgb(48 88 179 / 18%), transparent 34rem), var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }

.site-header, main, footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: .93rem; transition: color .18s ease; }
nav a:hover, nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--text); }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 72px; padding: 100px 0; }
.eyebrow { margin: 0 0 16px; color: var(--blue-light); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.3rem, 7vw, 6.8rem); line-height: .94; letter-spacing: -.065em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.045em; }
h3 { margin-bottom: 12px; font-size: 1.25rem; letter-spacing: -.025em; }
.hero-text { max-width: 630px; margin-bottom: 32px; color: #c5cddd; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; text-decoration: none; }
.button-primary { background: var(--blue); color: #071021; box-shadow: 0 12px 40px rgb(91 140 255 / 24%); }
.button-secondary { border-color: var(--line); background: rgb(255 255 255 / 4%); }
.button:not(.button-disabled):hover, .button:not(.button-disabled):focus-visible { transform: translateY(-1px); }
.button-disabled { cursor: not-allowed; filter: saturate(.55); opacity: .72; }
.microcopy { margin: 18px 0 0; color: var(--muted); font-size: .82rem; }

.hero-visual { min-height: 390px; position: relative; display: grid; place-items: center; }
.focus-card { position: absolute; width: min(100%, 370px); aspect-ratio: 1; border-radius: 40px; }
.focus-card-back { transform: rotate(8deg) translate(18px, -10px); border: 1px solid rgb(91 140 255 / 32%); background: linear-gradient(135deg, rgb(91 140 255 / 12%), transparent); }
.focus-card-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; border: 1px solid rgb(255 255 255 / 13%); background: linear-gradient(145deg, rgb(23 34 55 / 92%), rgb(11 16 31 / 92%)); box-shadow: 0 30px 90px rgb(0 0 0 / 45%); backdrop-filter: blur(12px); }
.focus-card-main span { color: #c8d2e5; font-weight: 700; }

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 740px; margin-bottom: 48px; }
.section-heading > p:last-child, .privacy-panel p, .steps p, .feature-card p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .support-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%)); }
.feature-number { display: inline-block; margin-bottom: 54px; color: var(--blue-light); font: 750 .75rem/1 ui-monospace, monospace; }
.feature-card p, .support-card p { margin-bottom: 0; }

.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgb(91 140 255 / 14%); color: var(--blue-light); font-weight: 800; }
.steps strong { font-size: 1.08rem; }
.steps p { margin: 3px 0 0; }

.privacy-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-inline: 48px; border: 1px solid rgb(91 140 255 / 23%); border-radius: 28px; background: linear-gradient(120deg, rgb(91 140 255 / 13%), rgb(255 255 255 / 3%)); }
.text-link { color: var(--blue-light); font-weight: 700; text-underline-offset: 4px; }
.final-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-cta img { margin-bottom: 24px; }
.final-cta p { max-width: 600px; color: var(--muted); }

footer { margin-top: 90px; padding: 42px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); }
footer > div:first-child { display: flex; flex-direction: column; }
footer strong { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
footer > p { grid-column: 1 / -1; margin: 0; font-size: .8rem; }

.document-page { max-width: 900px; }
.document-heading { padding: 110px 0 60px; border-bottom: 1px solid var(--line); }
.document-heading h1 { margin-bottom: 12px; font-size: clamp(3rem, 7vw, 5.5rem); }
.document-heading > p:last-child { color: var(--muted); }
.document-content { padding: 64px 0; color: #c3cddd; }
.document-content h2 { margin: 58px 0 16px; color: var(--text); font-size: 1.65rem; letter-spacing: -.025em; }
.document-content h2:first-of-type { margin-top: 18px; }
.document-content li { margin-bottom: 10px; }
.document-content a { color: var(--blue-light); }
.document-content code { padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: #dbe4f5; }
.compact-document { padding-top: 30px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 64px 0 20px; }
.support-card { display: flex; flex-direction: column; }
.support-card .text-link { margin-top: auto; padding-top: 28px; }
.notice { margin-top: 48px; padding: 22px 24px; border-left: 3px solid var(--blue); background: var(--surface); }
.notice p { margin-bottom: 0; }

.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-page main { max-width: 640px; text-align: center; }
.error-page h1 { margin-bottom: 18px; font-size: clamp(3rem, 8vw, 5.8rem); }
.error-page p:not(.eyebrow) { margin-bottom: 30px; color: var(--muted); }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 20px 0; }
  nav { justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; }
  .hero { grid-template-columns: 1fr; padding: 80px 0; }
  .hero-visual { min-height: 340px; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .split-section, .privacy-panel { grid-template-columns: 1fr; gap: 34px; }
  .privacy-panel { padding: 56px 28px; }
}

@media (max-width: 540px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .site-header { display: block; }
  nav { justify-content: flex-start; margin-top: 18px; }
  h1 { font-size: 3.2rem; }
  .hero { min-height: auto; gap: 28px; }
  .hero-visual { min-height: 300px; }
  .focus-card { max-width: 280px; border-radius: 30px; }
  .section { padding: 76px 0; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; text-align: center; }
  footer { grid-template-columns: 1fr; }
  .footer-links { margin-top: 8px; }
  footer > p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
