:root {
  color-scheme: dark;
  --page: #0a1118;
  --surface: #101d28;
  --text: #f1f7f7;
  --muted: #afc0cb;
  --accent: #8cebd4;
  --line: #263b48;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(2rem, 4.3vw, 3.25rem); letter-spacing: -.045em; line-height: 1.08; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
section[id] { scroll-margin-top: 2rem; }
.wrap { width: min(76rem, calc(100% - 4rem)); margin-inline: auto; }

.skip { position: fixed; left: 1rem; top: 1rem; z-index: 10; padding: .6rem; background: var(--page); transform: translateY(-180%); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); background: #0c151e; }
.header-inner, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; white-space: nowrap; font-size: 1.25rem; font-weight: 740; }
.brand b { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.1rem); }
nav a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: .94rem; }
nav a:hover, .footer a:hover { color: var(--accent); }
nav .nav-download { color: var(--accent); }

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 73% 48%, #1b4a50 0%, #10232d 33%, transparent 65%),
    var(--page);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(18rem, .89fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.6rem);
  align-items: center;
  padding-block: clamp(4.4rem, 9vw, 8rem);
}
.eyebrow { font-weight: 750; color: var(--accent); font-size: .88rem; letter-spacing: .075em; margin-bottom: .9rem; }
h1 { font-size: clamp(2.9rem, 5.45vw, 5.05rem); line-height: .99; letter-spacing: -.071em; font-weight: 780; }
h1 span { color: var(--accent); }
.intro, .section-intro { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin-top: 1.3rem; max-width: 42ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero .actions { margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: .58rem;
  text-decoration: none;
  font-weight: 750;
  font-size: .96rem;
  transition: background-color .18s, border-color .18s, color .18s;
}
.primary { background: var(--accent); border-color: var(--accent); color: #091a1c; }
.primary:hover { background: #b5f8e8; border-color: #b5f8e8; }
.secondary { background: #101d28; color: var(--text); }
.secondary:hover { border-color: var(--accent); color: var(--accent); }
.version { color: var(--muted); font-size: .875rem; margin-top: .9rem; }
.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before, .hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 115%;
  height: 100%;
  left: -7.5%;
  top: -5%;
  border-radius: 50%;
  border: 1px solid #6bd0bb37;
  transform: rotate(-19deg);
  pointer-events: none;
}
.hero-visual::after { width: 123%; left: -11.5%; top: -3%; height: 98%; border-color: #6bd0bb22; }
.screen {
  padding: .5rem;
  border: 1px solid #3f646d;
  border-radius: .95rem;
  background: #091116;
  box-shadow: 0 22px 58px #02060a99, 0 0 42px #59d8c62e;
}
.screen img { width: 100%; height: auto; border-radius: .48rem; }
figcaption { margin-top: .8rem; text-align: center; color: var(--muted); font-size: .88rem; }

.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .55fr); gap: clamp(2rem, 10vw, 10rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.75rem); }
.feature-list { margin-block: 1.4rem 0; }
.feature-list div { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.feature-list dt { font-weight: 760; font-size: 1.1rem; }
.feature-list dd { margin: .25rem 0 0; color: var(--muted); max-width: 50ch; }
.guide-preview { width: min(100%, 19rem); justify-self: center; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; }
.guide-preview img { width: 100%; height: auto; border-radius: .5rem; }

.install { padding-block: clamp(3.5rem, 7vw, 6rem); background: #101a25; border-block: 1px solid var(--line); }
.section-intro { max-width: 57ch; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.3rem 0 1.6rem; counter-reset: install; }
.steps li { counter-increment: install; padding: 1.15rem 1.2rem; border-top: 2px solid #497d79; background: #142333; border-radius: 0 0 .65rem .65rem; }
.steps li::before { content: counter(install); display: block; margin-bottom: .55rem; color: var(--accent); font-size: 1.1rem; font-weight: 750; }
.steps p { margin-top: .4rem; color: var(--muted); }
code { font-size: .9em; color: var(--accent); }

.notes { padding-block: clamp(3.5rem, 7vw, 6rem); }
.notes h2 { margin-bottom: 1.25rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { padding: .95rem .35rem; cursor: pointer; font-weight: 710; }
summary::marker { color: var(--accent); }
details p { color: var(--muted); padding: 0 .35rem .95rem; max-width: 74ch; }

.download {
  margin-block: 0 3.75rem;
  padding: clamp(1.35rem, 4vw, 2.8rem);
  border-radius: 1rem;
  border: 1px solid #346268;
  background: linear-gradient(110deg, #152e39, #12202c 76%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}
.download h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.download p { color: var(--muted); margin-top: .4rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1.35rem; color: var(--muted); font-size: .93rem; }
.footer .brand { color: var(--text); font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-visual { max-width: 45rem; }
  .features { gap: 2.25rem; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .header .brand { gap: .25rem; font-size: 1.08rem; }
  .header .brand img { width: 36px; height: 36px; }
  nav a { font-size: .875rem; }
  nav a:first-child { display: none; }
  .hero-inner { padding-block: 3.5rem; }
  .features, .steps { grid-template-columns: 1fr; }
  .guide-preview { justify-self: start; }
  .footer { flex-wrap: wrap; }
}

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