:root {
  color-scheme: dark;
  --midnight: #0b0f1a;
  --slate: #131b27;
  --raised: #1c2636;
  --frost: #f4f7ff;
  --muted: #a0a9a6;
  --violet: #7a5cff;
  --violet-deep: #4c2bd0;
  --cyan: #00d1ff;
  --teal: #34d399;
  --amber: #fbbf24;
  --danger: #f04444;
  --line: rgba(244, 247, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(122, 92, 255, 0.28), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(0, 209, 255, 0.08), transparent 55%),
    var(--midnight);
  color: var(--frost);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--frost); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--cyan);
  color: var(--midnight);
  padding: 8px 12px;
  z-index: 10;
  font-weight: 700;
}
.skip:focus { top: 12px; }

.site-header,
.site-footer,
main { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 8px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

.site-header nav,
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.site-header nav a,
.site-footer nav a,
.toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-header nav a[aria-current="page"],
.site-header nav a:hover { color: var(--frost); }

main { padding-bottom: 64px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0 20px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 12px; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.3rem; }

.lede { font-size: 1.2rem; max-width: 38rem; color: var(--frost); }
.muted { color: var(--muted); }
.kicker {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.button, .ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.button { background: var(--violet-deep); color: var(--frost); }
.button:hover { background: #3a1f9e; color: var(--frost); }
.ghost { border: 1px solid var(--line); color: var(--frost); }

.soon {
  margin: 22px 0 0;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.shot {
  margin: 12px auto;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  padding: 12px;
  border-radius: 36px;
  background: var(--slate);
  border: 1px solid rgba(244, 247, 255, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.shot img {
  width: min(72vw, 280px);
  height: auto;
  border-radius: 26px;
  display: block;
}

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.panel {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 20px 18px;
}
.panel ul, .prose ul { padding-left: 1.15rem; }
.panel li + li, .prose li + li { margin-top: 0.35rem; }

.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notes { max-width: 40rem; padding-top: 12px; }
.notes h2 { margin-top: 1.75rem; }
.benefits { font-weight: 600; }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 8px 0 8px;
  padding: 0;
}
.license {
  white-space: pre-wrap;
  background: var(--slate);
  border-radius: 16px;
  padding: 16px;
  overflow-x: auto;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--frost); }

@media (max-width: 800px) {
  .hero, .split { grid-template-columns: 1fr; }
  .phone { margin-top: 8px; }
}

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