:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0d1b2e;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f5f8ff;
  --muted: #aab7cd;
  --muted-strong: #d8e1ef;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --accent-warm: #fbbf24;
  --success: #86efac;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: min(1120px, calc(100% - 40px));
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.14), transparent 28rem),
    linear-gradient(180deg, #08111f 0%, #0a1424 48%, #08111f 100%);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #06101f;
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 17, 31, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  color: #06101f !important;
  background: var(--accent);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 72px);
  padding: 76px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 680px;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), #a7f3d0);
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.24);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button.wide {
  width: 100%;
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 0;
}

.release-strip div,
.release-details div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 800;
}

.hero-card {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 6px 8px 14px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.window-bar span:first-child {
  background: #fb7185;
}

.window-bar span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:nth-child(3) {
  background: #86efac;
}

.scan-card {
  padding: 30px;
  background: rgba(6, 16, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.card-kicker {
  margin-bottom: 10px;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meter {
  height: 12px;
  margin: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.meter-fill {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: inherit;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-strong);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--success);
  content: "✓";
}

.section {
  padding: 86px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
}

.copy-block {
  color: var(--muted-strong);
  font-size: 1.06rem;
}

.copy-block p:last-child,
.feature-card p:last-child,
.release-panel p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.callout,
.release-panel,
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.muted,
details p {
  color: var(--muted-strong);
}

.icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: #04111f;
  background: var(--accent);
  border-radius: 12px;
  font-weight: 900;
}

.install {
  padding-top: 54px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 220px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  counter-increment: steps;
}

.steps li::before {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 34px;
  color: #04111f;
  background: var(--accent-warm);
  border-radius: 999px;
  content: counter(steps);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.steps span {
  color: var(--muted-strong);
}

.callout {
  padding: 26px;
}

.release-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 24px;
  align-items: end;
  padding: 32px;
}

.release-details {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checksum {
  overflow-wrap: anywhere;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.9rem;
}

.release-panel .button {
  grid-column: 1 / -1;
}

.faq {
  padding-top: 34px;
}

details {
  padding: 20px 22px;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

summary:focus-visible,
a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.72);
  outline-offset: 3px;
}

details p {
  margin: 14px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 14px;
}

.footer a {
  color: var(--muted-strong);
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .two-column,
  .release-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  h1 {
    max-width: 12ch;
  }

  .trust-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 28px, 1120px);
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    gap: 28px;
    padding-bottom: 54px;
  }

  .hero-actions,
  .release-strip,
  .trust-grid,
  .steps,
  .footer {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .release-strip,
  .trust-grid,
  .steps {
    display: grid;
  }

  .section {
    padding: 58px 0;
  }

  .steps li {
    min-height: 0;
  }

  .footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
