:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f1f5ff;
  background: #090d1c;
  --surface: #11182b;
  --line: #28334e;
  --muted: #aebbd4;
  --accent: #78e6e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.2; letter-spacing: -.028em; }
h3 { font-size: 1.1rem; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }

.skip { position: absolute; z-index: 2; top: .75rem; left: 1rem; transform: translateY(-200%); background: #11182b; padding: .4rem 1rem; }
.skip:focus { transform: none; }
.topbar { border-bottom: 1px solid #25304a; background: #0b1022; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 750; line-height: 1.15; text-decoration: none; }
.brand img { flex: none; border-radius: .8rem; }
.topbar nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2rem); }
.topbar nav a { color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; }
.topbar nav a:hover, .topbar nav .nav-download { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.8rem, 6vw, 5.7rem);
  min-height: 32rem;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 750; letter-spacing: .13em; }
.eyebrow span { display: inline-block; width: 1.4rem; height: 1px; margin-right: .6rem; vertical-align: middle; background: var(--accent); }
.hero h1 {
  margin-top: .72rem;
  font-size: clamp(2.45rem, 4.55vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.056em;
}
.intro { max-width: 33rem; margin-top: 1.1rem; color: #c4d0e8; font-size: clamp(1rem, 2vw, 1.17rem); }
.hero-actions, .edition-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hero-actions { margin-top: 1.8rem; }
.button {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.05rem;
  border-radius: .65rem;
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}
.primary { background: var(--accent); color: #081628; }
.primary:hover { background: #adf7f0; }
.secondary { border: 1px solid #435473; color: #e4edff; }
.secondary:hover { background: #1a2742; }
.compat { margin-top: .93rem; color: var(--muted); font-size: .875rem; }

.demo { position: relative; isolation: isolate; padding: 1.5rem .7rem 0; }
.demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20% -12% -12%;
  pointer-events: none;
  background: radial-gradient(ellipse at 57% 47%, #264f88 0%, #1b2f63 28%, transparent 67%);
  opacity: .75;
}
.demo-window {
  overflow: hidden;
  border: 1px solid #53719f;
  border-radius: 1rem;
  background: #111a31;
  box-shadow: 0 26px 72px #030510ba, 0 0 62px #65c9fa20;
}
.demo-title {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: .85rem;
  border-bottom: 1px solid #324260;
  background: #1b2743;
  font-size: .875rem;
  font-weight: 700;
}
.demo-title > span:first-child { display: flex; align-items: center; gap: .44rem; }
.demo-dots { display: flex; gap: .32rem; }
.demo-dots i { width: .32rem; height: .32rem; border-radius: 50%; background: #94a7c8; }
.demo-content { padding: clamp(1rem, 3.4vw, 1.7rem); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1.25rem; }
.demo-heading strong { font-size: clamp(1.13rem, 2.5vw, 1.5rem); letter-spacing: -.035em; }
.demo-chip { flex: none; border: 1px solid #38695a; border-radius: 2rem; background: #153635; padding: .12rem .6rem; color: #a5f2c4; font-size: .875rem; }
.demo-row { display: grid; grid-template-columns: 1fr auto; gap: .38rem .6rem; margin-bottom: 1rem; font-size: .9rem; }
.demo-row strong { font-variant-numeric: tabular-nums; color: #a3edff; }
.demo-meter { grid-column: 1 / -1; height: .36rem; overflow: hidden; border-radius: .7rem; }
.demo-meter span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #4dcfd7, #89edc3); }
.demo-meter.alt span { background: linear-gradient(90deg, #6e9df5, #8bd6f9); }
.demo-footer { display: flex; align-items: center; gap: .64rem; margin-top: 1.25rem; padding: .65rem .78rem; border-radius: .65rem; background: #202e4a; font-size: .9rem; }
.demo-footer small { display: block; color: #bdcce6; font-size: .875rem; }
.demo-check { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; color: #9af3c3; background: #1a4444; }
.demo figcaption { margin-top: .7rem; text-align: center; color: var(--muted); font-size: .875rem; }

.section { margin-bottom: clamp(2.9rem, 6vw, 5.1rem); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.35rem; }
.feature { padding: 1.35rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); }
.feature h3 { margin-bottom: .6rem; color: #eaf9ff; }
.feature p, .section-lead p, .install li, .verify p { color: var(--muted); }
.download {
  padding: clamp(1.2rem, 4vw, 2.65rem);
  border: 1px solid #3a5075;
  border-radius: 1rem;
  background: linear-gradient(140deg, #18274b, #141e35 65%, #112a39);
}
.section-lead p { max-width: 42rem; margin-top: .78rem; }
.section-lead strong { color: #e5efff; }
.edition { margin-top: 1.4rem; padding: 1.1rem; border: 1px solid #456080; border-radius: .75rem; background: #101a30; }
.edition h3 { margin-bottom: .75rem; }
.simple-link { display: inline-block; padding: .48rem .2rem; color: var(--accent); text-underline-offset: .26em; font-weight: 650; }
.simple-link:hover { color: #b8fffb; }
.install ol { display: grid; gap: .45rem; margin-block: .9rem 0; padding-left: 1.35rem; }
.install strong { color: #e8f1ff; }
.install li::marker { color: var(--accent); font-weight: 750; }
.site-footer { padding-block: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-inner a { text-underline-offset: .24em; }

.verify { min-height: 100svh; display: grid; align-items: center; padding-block: 2rem; }
.verify-card { width: min(100%, 33rem); margin: auto; padding: clamp(1.5rem, 5vw, 2.7rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.verify-card h1 { margin-top: .65rem; font-size: clamp(1.65rem, 6vw, 2.15rem); line-height: 1.2; }
.verify-card p { margin-block: .75rem 1.25rem; }

@media (max-width: 51rem) {
  .wrap { width: min(36rem, calc(100% - 2rem)); }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 1.2rem; }
  .demo { max-width: 30rem; width: 100%; padding-inline: 0; }
  .demo::before { inset-inline: 0; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 29rem) {
  .topbar nav a:not(.nav-download) { display: none; }
  .hero { padding-block: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
