:root {
  color-scheme: dark;
  --bg: #0a0f18;
  --surface: #101825;
  --surface-strong: #151f2e;
  --line: rgba(164, 183, 207, 0.18);
  --muted: #92a2b8;
  --text: #eff5fc;
  --blue: #9cc7ff;
  --blue-strong: #c4dcff;
  --lime: #c8f36b;
  --amber: #f4bb69;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at 74% -10%, rgba(85, 126, 186, 0.24), transparent 35rem), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

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

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 28px 0 18px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 1.1rem; font-weight: 750; letter-spacing: -0.03em; text-decoration: none; }

.brand-mark { display: inline-flex; align-items: end; gap: 3px; width: 22px; height: 22px; padding: 3px; border: 1px solid rgba(200, 243, 107, 0.45); border-radius: 7px; background: rgba(200, 243, 107, 0.08); }
.brand-mark span { display: block; width: 4px; border-radius: 3px; background: var(--lime); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 12px; opacity: .82; }
.brand-mark span:nth-child(3) { height: 16px; }

.topbar-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .85rem; }
.topbar-meta a { text-decoration: none; }
.topbar-meta a:hover { color: var(--blue-strong); }
.version-chip { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-strong); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 60px; align-items: end; padding: 96px 0 54px; }
.eyebrow { margin: 0 0 15px; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.75rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.075em; }
.hero-lede { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 10px; font-size: .95rem; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #172008; box-shadow: 0 10px 28px rgba(200, 243, 107, .16); }
.button-primary:hover { background: #d7fa8b; }
.button-quiet { border: 1px solid var(--line); color: var(--blue-strong); }
.button-quiet:hover { border-color: rgba(156, 199, 255, .55); background: rgba(156, 199, 255, .08); }

.device-panel { position: relative; display: flex; min-height: 250px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 25px; border: 1px solid rgba(156, 199, 255, .22); border-radius: 18px; background: linear-gradient(145deg, rgba(35, 55, 81, .95), rgba(16, 24, 37, .82)); box-shadow: var(--shadow); }
.device-panel::before { position: absolute; top: -34px; right: -28px; width: 150px; height: 150px; border: 1px solid rgba(200, 243, 107, .42); border-radius: 42% 58% 55% 45%; content: ""; transform: rotate(22deg); }
.panel-kicker { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.device-icon { position: relative; margin: 38px 0 12px; color: var(--blue-strong); font-size: 3rem; line-height: 1; }
.device-panel strong { position: relative; font-size: 1.2rem; }
.device-panel > span:not(.panel-kicker):not(.device-status) { position: relative; color: var(--muted); font-size: .88rem; }
.device-status { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--lime); font-size: .78rem; }
.device-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 243, 107, .1); }

.notice { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 70px; padding: 17px 20px; border: 1px solid rgba(244, 187, 105, .28); border-radius: 12px; background: rgba(244, 187, 105, .07); color: #e7d4b8; }
.notice p { margin: 0; font-size: .9rem; }
.notice strong { color: var(--amber); }
.notice-mark { display: inline-grid; flex: 0 0 auto; width: 22px; height: 22px; place-items: center; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-size: .75rem; font-weight: 800; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
h2 { margin-bottom: 0; font-size: clamp(1.7rem, 4vw, 2.45rem); letter-spacing: -.055em; line-height: 1.1; }
.section-note { max-width: 300px; color: var(--muted); font-size: .84rem; text-align: right; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card { display: flex; min-height: 310px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16, 24, 37, .76); }
.download-card.is-recommended { border-color: rgba(200, 243, 107, .42); background: linear-gradient(155deg, rgba(42, 63, 42, .78), rgba(16, 24, 37, .94)); }
.card-topline { display: flex; align-items: center; justify-content: space-between; min-height: 25px; color: var(--muted); font-size: .75rem; }
.platform-icon { color: var(--blue-strong); font-size: 1.65rem; line-height: 1; }
.recommended-label { color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.availability { padding: 4px 8px; border-radius: 999px; font-size: .68rem; font-weight: 750; }
.availability.pending { background: rgba(146, 162, 184, .1); color: var(--muted); }
.availability.ready { background: rgba(200, 243, 107, .1); color: var(--lime); }
.download-card h3 { margin: 30px 0 2px; font-size: 1.6rem; letter-spacing: -.04em; }
.platform-detail { margin-bottom: 17px; color: var(--blue); font-size: .88rem; }
.platform-description { min-height: 55px; margin-bottom: 20px; color: var(--muted); font-size: .9rem; }
.button-card { width: 100%; background: var(--blue-strong); color: #172238; }
.button-card:hover { background: #e1edff; }
.button-disabled { border: 1px solid var(--line); background: rgba(146, 162, 184, .08); color: #68778b; cursor: not-allowed; }
.card-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(164, 183, 207, .1); color: var(--muted); font-size: .75rem; }
.card-foot a { color: var(--blue); text-decoration: none; }

.lower-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 72px 0 84px; }
.info-card { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: rgba(16, 24, 37, .56); }
.info-card h2 { margin-bottom: 22px; font-size: 1.55rem; }
dl { margin: 0; }
dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid rgba(164, 183, 207, .1); }
dt { color: var(--muted); font-size: .88rem; }
dd { margin: 0; color: var(--blue-strong); font-size: .9rem; text-align: right; }
dd a { text-decoration: none; }
.info-card-accent { border-color: rgba(200, 243, 107, .2); }
ol { margin: 0; padding-left: 22px; color: var(--muted); }
li { padding: 5px 0; }

.footer { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 30px; border-top: 1px solid var(--line); color: #6f8096; font-size: .78rem; }

@media (max-width: 800px) {
  .page-shell { width: min(100% - 32px, 620px); }
  .topbar { align-items: flex-start; gap: 18px; }
  .topbar-meta { flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 64px; }
  .device-panel { min-height: 190px; }
  .device-icon { margin-top: 26px; }
  .notice { margin-bottom: 54px; }
  .section-heading { display: block; }
  .section-note { margin-top: 12px; text-align: left; }
  .download-grid, .lower-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 270px; }
  .lower-grid { margin-top: 54px; margin-bottom: 58px; }
  .footer { flex-direction: column; gap: 5px; }
}

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