:root {
  --bg: #08111b;
  --bg_deep: #132640;
  --panel: rgba(12, 25, 41, 0.88);
  --panel_soft: rgba(18, 37, 61, 0.72);
  --border: rgba(190, 224, 229, 0.18);
  --text: #f3f8ff;
  --muted: #b9cfe2;
  --blue: #59abf1;
  --blue_strong: #469cec;
  --gold: #d0982b;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(89, 171, 241, 0.2), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(208, 152, 43, 0.18), transparent 24%),
    linear-gradient(145deg, var(--bg) 0%, #0b1726 44%, var(--bg_deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
  pointer-events: none;
  opacity: 0.38;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.3rem 0 2.8rem;
}

.top_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0 1.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--text);
}

.brand img {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.brand_name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.language_picker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.language_picker select {
  appearance: none;
  min-width: 12rem;
  padding: 0.78rem 2.6rem 0.78rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  color: var(--text);
  font: inherit;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.intro,
.release_card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 60px var(--shadow);
  backdrop-filter: blur(12px);
}

.intro {
  padding: clamp(1.9rem, 4vw, 3.4rem);
  background:
    radial-gradient(circle at 80% 22%, rgba(89, 171, 241, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel_soft);
}

.intro::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -24%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(89, 171, 241, 0.18), transparent 68%);
  pointer-events: none;
}

.description {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.description p {
  margin: 0;
}

.description p + p {
  margin-top: 0.85rem;
}

.description ul {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
}

.description ul + p {
  margin-top: 1rem;
}

.description li + li {
  margin-top: 0.35rem;
}

.warning_danger {
  color: #ff7b7b;
  font-weight: 800;
}

.description a,
.release_note a,
.footer a,
.manifest_link {
  color: #ffe1a6;
  font-weight: 700;
  text-decoration: none;
}

.description a:hover,
.description a:focus-visible,
.release_note a:hover,
.release_note a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.manifest_link:hover,
.manifest_link:focus-visible {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.96rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button_primary {
  width: 100%;
  margin-top: auto;
  background: linear-gradient(135deg, var(--blue_strong), var(--blue));
  box-shadow: 0 18px 40px rgba(70, 156, 236, 0.28);
}

.release_card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.release_card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 30px 0 0 30px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

.release_kicker {
  margin: 0;
  color: #ffe1a6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release_version {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  word-break: break-word;
}

.release_facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(190, 224, 229, 0.14);
}

.release_facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.release_facts dt {
  color: var(--muted);
}

.release_facts dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.release_code {
  max-width: 18rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  line-height: 1.5;
  word-break: break-all;
}

.release_note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding-top: 1.45rem;
  color: rgba(185, 207, 226, 0.84);
  font-size: 0.96rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 1.2rem, 1120px);
  }

  .top_bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .language_picker {
    width: 100%;
    justify-content: space-between;
  }

  .language_picker select {
    min-width: 10.5rem;
  }

  .intro,
  .release_card {
    border-radius: 24px;
  }
}
