:root {
  color-scheme: dark;
  --background: #080d1a;
  --surface: #101a2d;
  --text: #f4f7ff;
  --muted: #a8b5cd;
  --line: #26334b;
  --blue: #70b7ff;
  --green: #77dba9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--blue); }
img, svg { display: block; max-width: 100%; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 12px 18px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 750; letter-spacing: -.8px; }
.brand img { border-radius: 10px; }
.brand-accent { color: var(--blue); }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.help-link { color: var(--muted); }
.account-link { border: 1px solid #34425c; border-radius: 10px; padding: 9px 16px; }
.account-link span { margin-left: 10px; color: var(--blue); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 80px; padding: 52px 0 64px; }
.back-link { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 42px; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: 1.8px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero-copy .eyebrow > span, .release-label > span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
h1 { margin-top: 18px; font-size: clamp(48px, 5.7vw, 76px); font-weight: 650; line-height: 1.07; letter-spacing: -3px; }
h1 > span { color: var(--blue); }
.intro { max-width: 460px; margin-top: 25px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.benefits { display: grid; gap: 12px; padding: 0; margin: 28px 0; list-style: none; font-size: 14px; }
.benefits li { display: flex; align-items: baseline; gap: 12px; }
.check { color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--blue); font-size: 14px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.install-link { padding: 8px 0; }
.download-card { position: relative; padding: 27px 30px 23px; border: 1px solid #344663; border-radius: 24px; background: radial-gradient(ellipse at 50% 20%, #1a3452 0, transparent 60%), var(--surface); box-shadow: 0 24px 80px #0003; }
.release-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
.release-label { display: inline-flex; align-items: center; gap: 8px; color: #c3d0e6; }
.version { padding: 3px 9px; border: 1px solid #3d536f; border-radius: 6px; font-variant-numeric: tabular-nums; color: #c3d0e6; }
.android-art { display: grid; place-items: center; height: 150px; }
.android-art img { width: 115px; height: auto; }
.download-card h2 { font-size: 29px; font-weight: 600; letter-spacing: -.7px; line-height: 1.2; text-align: center; }
.download-description { margin-top: 16px; color: var(--muted); text-align: center; font-size: 14px; }
.download-button { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; padding: 14px; margin-top: 25px; border: 1px solid transparent; border-radius: 12px; background: #1976f3; color: #fff; font-size: 16px; font-weight: 650; transition: background .16s ease, transform .16s ease; }
.download-button:hover { background: #348aff; color: #fff; transform: translateY(-2px); }
.download-meta { display: flex; justify-content: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.other-builds { border-top: 1px solid #34425a; margin-top: 25px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; min-height: 58px; font-size: 14px; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
.expand-icon { color: var(--blue); font-size: 24px; line-height: 1; font-weight: 400; flex-shrink: 0; }
details[open] > summary .expand-icon { transform: rotate(45deg); }
.build-options > p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.build-options a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.build-options strong, .build-options small { display: block; }
.build-options strong { font-size: 14px; font-weight: 600; }
.build-options small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.checksum-link { display: block; padding: 4px 0; color: var(--muted); font-size: 12px; text-align: center; }
.checksum-link span { margin-left: 4px; }
.installation { border-top: 1px solid var(--line); padding: 43px 0 46px; }
.section-heading h2, .faq h2 { margin-top: 10px; font-size: 29px; line-height: 1.25; letter-spacing: -.6px; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; margin: 30px 0 0; list-style: none; }
.steps li { position: relative; padding-left: 46px; }
.step-number { position: absolute; left: 0; top: 1px; color: var(--blue); font-size: 13px; font-weight: 600; border: 1px solid #314567; border-radius: 9px; width: 32px; height: 32px; display: grid; place-items: center; }
.steps h3 { font-size: 16px; font-weight: 600; margin: 3px 0 8px; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 60px; border-top: 1px solid var(--line); padding: 44px 0 58px; }
.faq .text-link { margin-top: 20px; }
.faq-items details { border-bottom: 1px solid var(--line); }
.faq-items details:first-child { border-top: 1px solid var(--line); }
.faq-items summary { min-height: 65px; font-size: 15px; }
.faq-items details p { padding: 0 28px 20px 0; font-size: 14px; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer > div { display: flex; gap: 24px; }
.footer-dot { color: #516079; margin: 0 10px; }

@media (max-width: 1000px) {
  .hero { gap: 40px; }
  h1 { font-size: 60px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
  .download-card { padding-inline: 24px; }
  .steps { gap: 24px; }
  .steps li { padding-left: 0; }
  .step-number { position: static; margin-bottom: 14px; }
}

@media (max-width: 760px) {
  .wrap { width: min(560px, calc(100% - 40px)); }
  .header-inner { min-height: 76px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .help-link { display: none; }
  .account-link { font-size: 12px; padding: 8px 11px; }
  .account-link span { margin-left: 5px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 25px 0 32px; }
  .hero-copy { display: contents; }
  .back-link { margin-bottom: 6px; }
  h1 { margin-top: 0; font-size: 54px; letter-spacing: -2.8px; }
  .intro { margin-top: 0; font-size: 16px; }
  .benefits { order: 2; margin: 6px 0 0; gap: 10px; }
  .install-link { order: 3; align-self: flex-start; }
  .download-card { order: 1; padding: 22px 24px; margin-top: 6px; }
  .android-art { height: 76px; }
  .android-art img { width: 72px; }
  .download-card h2 { font-size: 25px; }
  .download-description { margin-top: 12px; }
  .download-button { margin-top: 18px; }
  .installation { padding: 32px 0; }
  .section-heading h2, .faq h2 { font-size: 25px; }
  .steps { grid-template-columns: 1fr; gap: 25px; margin-top: 27px; }
  .steps li { padding-left: 48px; }
  .step-number { position: absolute; }
  .faq { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .faq h2 br { display: none; }
  .faq .text-link { margin-top: 12px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 22px; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 19px; }
  .brand img { width: 26px; height: 26px; }
  .header-inner { gap: 12px; }
  .account-link { padding: 8px; }
  .account-link span { display: none; }
  h1 { font-size: 52px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .6px; }
  .download-card { padding-inline: 20px; }
  .download-card h2 { font-size: 25px; }
  .download-button { font-size: 14px; }
  .desktop-break { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-button { transition: none; }
  .download-button:hover { transform: none; }
}

@media (forced-colors: active) {
  .download-button, .download-card, .account-link, .step-number { border: 1px solid ButtonText; }
}
