:root {
  --bg: #0b0c12;
  --panel: #13141d;
  --line: rgba(235,232,247,.14);
  --text: #f4f2f8;
  --muted: #aaa6b7;
  --purple: #a073ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 83% 4%,rgba(122,71,226,.19),transparent 29%),
    radial-gradient(circle at 5% 96%,rgba(82,49,150,.11),transparent 27%),
    linear-gradient(125deg,#0b0d14,#090a0f 68%);
  color: var(--text);
  font-family: Manrope, sans-serif;
}

a { color: inherit; }

.site-nav {
  width: min(1120px,calc(100% - 48px));
}

.shell {
  width: min(1120px,calc(100% - 48px));
  margin: 34px auto 0;
}

.download-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,.94fr) minmax(430px,1.06fr);
  gap: clamp(40px,5vw,76px);
  align-items: center;
  min-height: 640px;
  overflow: hidden;
  padding: 64px 58px 58px 68px;
  border: 1px solid rgba(235,232,247,.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 28%,rgba(160,115,255,.2),transparent 29%),
    linear-gradient(140deg,rgba(255,255,255,.058),rgba(255,255,255,.018));
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
}

.download-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg,#000,transparent 74%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 20px;
  border: 1px solid rgba(160,115,255,.32);
  border-radius: 999px;
  background: rgba(160,115,255,.08);
  color: #c7a6ff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.shell h1 {
  max-width: 590px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.6rem,6.1vw,6rem);
  line-height: .88;
  letter-spacing: -.07em;
}

.shell h1 span {
  display: block;
  background: linear-gradient(100deg,#d4bdff,#8f51ea);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.intro {
  max-width: 520px;
  margin: 25px 0 0;
  color: #bbb7c4;
  font-size: 1rem;
  line-height: 1.72;
}

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

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 23px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  transition: transform .2s ease;
}

.hero-button.primary {
  border-color: #9c65ff;
  background: linear-gradient(100deg,#7439dd,#a76cff);
  box-shadow: 0 14px 35px rgba(126,63,227,.3);
}

.hero-button.secondary { background: rgba(255,255,255,.035); }
.hero-button:hover { transform: translateY(-2px); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 21px 0 0;
  color: #8f8b99;
  font-size: .68rem;
}

.hero-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b284ff;
  box-shadow: 0 0 16px #a073ff;
  content: "";
}

.release-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(22px,2.6vw,30px);
  border: 1px solid rgba(196,163,255,.44);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0,rgba(158,105,255,.22),transparent 36%),
    linear-gradient(145deg,rgba(35,31,48,.94),rgba(15,15,23,.95));
  box-shadow: 0 30px 70px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08);
}

.release-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(135deg,#000,transparent 76%);
  content: "";
  pointer-events: none;
}

.release-panel > * { position: relative; z-index: 1; }

.release-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.release-label {
  margin: 0 0 8px;
  color: #b88cff;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.release-panel h2 {
  margin: 0;
  font-family: "Space Grotesk",sans-serif;
  font-size: clamp(1.55rem,2.4vw,2.3rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.release-state {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(190,151,255,.42);
  border-radius: 999px;
  background: rgba(132,78,231,.13);
  color: #d7bdff;
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.release-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #af7cff;
  box-shadow: 0 0 0 5px rgba(175,124,255,.11),0 0 15px #a073ff;
}

.release-intro {
  max-width: 480px;
  margin: 16px 0 18px;
  color: #aca7b5;
  font-size: .82rem;
  line-height: 1.6;
}

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

.release-row {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 17px;
  background: rgba(255,255,255,.026);
  transition: border-color .2s ease,background .2s ease,transform .2s ease;
}

.release-row:hover {
  transform: translateX(3px);
  border-color: rgba(183,139,255,.36);
  background: rgba(160,115,255,.065);
}

.release-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 13px;
  background: linear-gradient(145deg,#242532,#12131b);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.release-icon img,
.release-icon svg {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.release-icon.apple { background: linear-gradient(145deg,#252631,#111219); }
.release-icon.apple img { width: 24px; height: 24px; filter: invert(1); }
.release-icon.microsoft { background: linear-gradient(145deg,#242631,#15161d); }
.release-icon.microsoft svg { width: 22px; height: 22px; }
.release-icon.android { border-color: rgba(61,220,132,.2); background: linear-gradient(145deg,rgba(61,220,132,.14),#12171a); }
.release-icon.android svg { width: 27px; height: 27px; overflow: visible; fill: #3ddc84; stroke: #3ddc84; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.release-icon.android circle { fill: #12171a; stroke: none; }
.release-icon.wireguard {
  border-color: rgba(136,23,26,.55);
  background: linear-gradient(145deg,rgba(136,23,26,.16),#151216);
  box-shadow: inset 0 1px rgba(255,255,255,.08),0 0 24px rgba(136,23,26,.12);
  text-decoration: none;
}
.release-icon.wireguard img {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  object-fit: contain;
}
.release-icon.wireguard:focus-visible {
  outline: 1px solid rgba(202,168,255,.92);
  outline-offset: 3px;
}
.release-copy { min-width: 0; }
.release-copy strong {
  display: block;
  font-family: "Space Grotesk",sans-serif;
  font-size: .82rem;
  letter-spacing: .01em;
}
.release-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .67rem;
}
.release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(160,115,255,.48);
  border-radius: 999px;
  color: #caa5ff;
  font-size: .47rem;
  font-weight: 800;
  letter-spacing: .09em;
  white-space: nowrap;
}
.release-badge.available {
  gap: 5px;
  border-color: rgba(166,116,255,.78);
  background: linear-gradient(105deg,#7440db,#a66cff);
  box-shadow: 0 8px 22px rgba(116,64,219,.24);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease,box-shadow .2s ease;
}
.release-badge.available:hover,
.release-badge.available:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 27px rgba(116,64,219,.36);
}
.wireguard-row {
  border-color: rgba(177,135,255,.22);
  background: linear-gradient(90deg,rgba(150,94,255,.075),rgba(255,255,255,.026));
}

.release-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #96919f;
  font-size: .69rem;
  line-height: 1.5;
}

.release-note > span { color: #b98eff; font-size: 1rem; }

.wireguard-trademark {
  margin: 10px 0 0;
  color: #77727f;
  font-size: .52rem;
  line-height: 1.45;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
  margin: 82px auto 0;
  text-align: left;
}
.feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 13px;
}
.feature svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: #a073ff;
  stroke-width: 1.45;
}
.feature strong { display: block; font-size: .81rem; }
.feature span {
  display: block;
  margin-top: 7px;
  color: #a5a1af;
  font-size: .72rem;
  line-height: 1.55;
}

footer {
  width: min(1120px,calc(100% - 48px));
  margin: 76px auto 30px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: #85818f;
  font-size: .63rem;
  letter-spacing: .1em;
  text-align: center;
}

@media (max-width: 980px) {
  .download-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding: 52px 34px 40px;
  }
  .release-panel { width: min(100%,720px); }
}

@media (max-width: 640px) {
  .site-nav { width: calc(100% - 32px); }
  .shell { width: calc(100% - 32px); margin: 20px auto 0; }
  .download-hero { gap: 34px; padding: 38px 21px 28px; border-radius: 22px; }
  .eyebrow { margin-bottom: 16px; padding: 7px 14px; font-size: .57rem; }
  .shell h1 { font-size: clamp(2.7rem,15vw,4.3rem); }
  .intro { margin-top: 19px; font-size: .9rem; }
  .hero-actions { display: grid; }
  .hero-button { width: 100%; }
  .release-panel { padding: 20px; border-radius: 20px; }
  .release-panel-header { display: grid; gap: 15px; }
  .release-state { width: max-content; }
  .release-row { grid-template-columns: 40px minmax(0,1fr) auto; gap: 10px; min-height: 72px; padding: 9px; }
  .release-icon { width: 40px; height: 40px; border-radius: 11px; }
  .release-icon img,.release-icon svg { width: 23px; height: 23px; }
  .release-copy strong { font-size: .75rem; }
  .release-copy span { font-size: .61rem; }
  .release-badge { grid-column: auto; min-height: 24px; margin: 0; padding: 0 7px; font-size: .41rem; letter-spacing: .055em; }
  .wireguard-row { grid-template-columns: 40px minmax(0,1fr); }
  .wireguard-row .release-badge { grid-column: 2; justify-self: start; }
  .feature-strip { grid-template-columns: 1fr 1fr; gap: 25px 15px; margin-top: 47px; }
  .feature { grid-template-columns: 35px 1fr; gap: 9px; }
  .feature svg { width: 31px; height: 31px; }
  .feature strong { font-size: .71rem; }
  .feature span { font-size: .64rem; }
  footer { width: calc(100% - 32px); margin-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-button,
  .release-row { transition: none; }
}
