:root {
  color-scheme: dark;
  --bg: #07100d;
  --surface: #0d1915;
  --surface-2: #12221c;
  --line: rgba(196, 255, 215, 0.13);
  --text: #f4fff7;
  --muted: #9bb0a3;
  --accent: #9dff5b;
  --accent-strong: #74df35;
  --danger: #ff9a84;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(157, 255, 91, 0.13), transparent 34rem),
    linear-gradient(180deg, #08130f 0%, var(--bg) 45%);
}
a { color: inherit; }

.topbar {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 11px; box-shadow: 0 0 28px rgba(157, 255, 91, 0.16); }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 16px; letter-spacing: 0.01em; }
.brand small { margin-top: 4px; color: var(--muted); }
.environment {
  display: inline-flex; align-items: center; gap: 8px;
  color: #c9dbce; font-size: 13px;
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.environment i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.release-summary {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr); gap: 64px;
  align-items: end; padding: 74px 0 56px;
}
.eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(38px, 6vw, 68px); line-height: 0.98; letter-spacing: -0.045em; }
.lead { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
.release-facts {
  margin: 0; padding: 5px 0; display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.release-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; }
.release-facts dt { color: var(--muted); }
.release-facts dd { margin: 0; font-weight: 750; text-align: right; }

.platform-section { padding: 36px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(27px, 3vw, 38px); letter-spacing: -0.025em; }
.recommendation { margin: 0; padding: 10px 14px; color: #07100d; background: var(--accent); border-radius: 999px; font-size: 13px; font-weight: 850; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.platform-card {
  position: relative; padding: 26px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 34, 28, 0.96), rgba(10, 21, 17, 0.97));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}
.platform-card::after { content: ""; position: absolute; right: -70px; top: -90px; width: 190px; height: 190px; border-radius: 50%; background: rgba(157, 255, 91, 0.055); pointer-events: none; }
.platform-card.recommended { border-color: rgba(157, 255, 91, 0.48); box-shadow: 0 20px 60px rgba(60, 170, 50, 0.09); }
.platform-card__head { display: flex; gap: 16px; align-items: center; }
.platform-card__head h3 { margin: 0 0 4px; font-size: 23px; }
.platform-card__head p { margin: 0; color: var(--muted); }
.platform-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #07100d; background: var(--accent); font-weight: 900; font-size: 23px; }
.platform-mark.apple { font-size: 25px; }
.platform-mark.ios { font-size: 15px; letter-spacing: -0.02em; }
.platform-mark.windows { font-size: 30px; }
.platform-mark.linux { color: var(--text); background: #263a31; }
.availability { width: fit-content; margin: 24px 0 18px; padding: 7px 11px; border-radius: 9px; font-size: 13px; font-weight: 800; }
.availability.available { color: #caffac; background: rgba(157, 255, 91, 0.1); }
.availability.upcoming { color: #d1d8d3; background: rgba(255, 255, 255, 0.065); }
.availability.error { color: var(--danger); background: rgba(255, 107, 87, 0.1); }
.availability.skeleton { color: var(--muted); background: rgba(255, 255, 255, 0.04); }
.file-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.file-meta div { padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; }
.file-meta dt { margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.file-meta dd { margin: 0; font-weight: 750; }
.download-button {
  min-height: 50px; display: flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 14px; text-decoration: none;
  color: #07100d; background: var(--accent); font-weight: 900;
  transition: transform 150ms ease, background-color 150ms ease;
}
.download-button:hover { transform: translateY(-1px); background: var(--accent-strong); }
.download-button[aria-disabled="true"] { pointer-events: none; color: #7d8b82; background: #1a2a23; }
.store-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.store-placeholder {
  min-height: 56px; padding: 9px 14px; display: grid; place-content: center;
  color: #8c9a91; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, 0.025); font: inherit; text-align: left;
}
.store-placeholder span { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.store-placeholder strong { margin-top: 2px; color: #aeb9b2; font-size: 15px; }
.store-placeholder:disabled { cursor: not-allowed; opacity: 1; }
.card-note { min-height: 42px; margin: 15px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.verification { margin: 34px 0 64px; padding: 24px 26px; display: flex; align-items: flex-start; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); }
.verification__icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #07100d; background: var(--accent); font-weight: 950; }
.verification h2 { margin-bottom: 7px; font-size: 19px; }
.verification p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.verification a { color: var(--accent); text-underline-offset: 3px; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 38px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
footer a { text-underline-offset: 3px; }

@media (max-width: 780px) {
  .topbar, main, footer { width: min(100% - 28px, 1180px); }
  .environment { padding: 8px 10px; font-size: 0; }
  .release-summary { grid-template-columns: 1fr; gap: 32px; padding: 52px 0 34px; }
  .platform-grid { grid-template-columns: 1fr; }
  .store-options { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .recommendation { width: fit-content; margin-top: 15px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
