:root {
  color-scheme: dark;
  --bg: #101511;
  --surface: #161f19;
  --raised: #202b22;
  --ink: #f0f4e9;
  --muted: #a8b6a6;
  --lime: #dafa79;
  --rule: #324039;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
body::before {
  position: absolute; z-index: -1; inset: 0 0 auto; height: 48rem; content: "";
  background: radial-gradient(ellipse at 77% 16%, #283b23 0, #1a2419 25%, transparent 65%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(3.3rem, 5.8vw, 6rem); letter-spacing: -.063em; font-weight: 760; }
h2 { font-size: clamp(2.25rem, 4.1vw, 3.85rem); letter-spacing: -.061em; font-weight: 740; }
h3, .account-deletion .install-note h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.035em; font-weight: 700; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; border-radius: 3px; }
.wrap { width: min(92%, 77rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .65rem; left: .65rem; padding: .65rem .9rem; color: var(--bg); background: var(--lime); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid rgba(220, 241, 213, .12); }
.header-inner { display: flex; min-height: 5.15rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 2.55rem; height: 2.55rem; }
.brand strong { font: 800 1.38rem/1 var(--mono); letter-spacing: .11em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 1.65rem; font-size: .92rem; font-weight: 650; }
.nav a:not(.lang) { color: var(--muted); }
.nav a:hover, .nav a:not(.lang):hover, .site-footer a:hover { color: var(--lime); }
.lang { min-width: 2.8rem; padding: .3rem .48rem; border: 1px solid var(--rule); border-radius: .45rem; text-align: center; font-family: var(--mono); }
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr); align-items: center; gap: clamp(2rem, 5vw, 5.4rem); padding-block: clamp(4rem, 8vw, 8rem) clamp(3.7rem, 7vw, 6rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; color: var(--lime); font: 650 .875rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .105em; }
.eyebrow::before { content: ""; width: 1.7rem; height: 1px; background: var(--lime); }
.hero h1 span { display: block; color: var(--lime); }
.hero-copy { margin-top: 1.55rem; max-width: 36ch; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 3.05rem; border: 1px solid var(--rule); border-radius: .65rem; padding: .65rem 1rem; font-size: .96rem; font-weight: 720; line-height: 1.3; text-align: center; }
.button-primary { color: #141d0b; border-color: var(--lime); background: var(--lime); }
.button-primary:hover { background: #ecffa7; border-color: #ecffa7; }
.button-secondary { background: #1c251d; }
.button-secondary:hover { border-color: var(--muted); }
.button svg { width: 1.08rem; height: 1.08rem; flex: none; }
.display { min-width: 0; }
.frame { padding: .6rem; border: 1px solid #4e6150; border-radius: 1.25rem; background: #202a22; box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, .34); }
.frame img { width: 100%; border: 1px solid #3e5143; border-radius: .8rem; }
.screen-caption { margin-top: .9rem; color: var(--muted); font: 500 .825rem/1.5 var(--mono); }
.guide-section { border-block: 1px solid var(--rule); background: #141c16; }
.guide-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem); max-width: 66rem; }
.phone-figure { display: grid; justify-items: center; }
.phone-frame { width: min(78%, 16.5rem); padding: .5rem; border: 1px solid #526257; border-radius: 1.9rem; background: #263229; box-shadow: 0 1.4rem 3.75rem #0b100b; }
.phone-frame img { border-radius: 1.4rem; }
.guide-intro, .download-intro > p { max-width: 54ch; margin-top: .95rem; color: var(--muted); font-size: 1.05rem; }
.feature-list { display: grid; gap: 0; margin-top: 1.8rem; }
.feature { display: grid; grid-template-columns: 2.55rem 1fr; gap: 1rem; align-items: start; border-top: 1px solid var(--rule); padding-block: 1.1rem; }
.feature svg { width: 2.45rem; height: 2.45rem; border: 1px solid var(--rule); border-radius: .55rem; padding: .58rem; color: var(--lime); background: var(--raised); }
.feature p { margin-top: .4rem; color: var(--muted); }
.downloads { padding-block: clamp(3.7rem, 7vw, 6.5rem); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.7rem; }
.platform { display: flex; flex-direction: column; align-items: start; gap: .7rem; border: 1px solid var(--rule); border-radius: 1.08rem; background: var(--surface); padding: clamp(1.15rem, 2.8vw, 2rem); }
.platform p { color: var(--muted); }
.platform .button { margin-top: .5rem; }
.platform .note { font-size: .9rem; }
.platform .status { display: inline-flex; gap: .55rem; align-items: center; color: var(--ink); border: 1px solid var(--rule); border-radius: 3rem; padding: .23rem .65rem; font-size: .87rem; }
.platform .status::before { content: ""; flex: none; width: .4rem; height: .4rem; border-radius: 50%; background: #ffc785; }
.platform.android { border-color: #64794c; background: linear-gradient(152deg, #212d1e, var(--surface) 70%); }
.fire-tv-picker { margin-top: 1.1rem; }
.fire-tv-picker .os-question { color: var(--ink); font-weight: 600; }
.os-choices { display: flex; flex-wrap: wrap; gap: .65rem; }
.os-choices .button { margin-top: 0; }
.fire-tv-picker .note a { text-decoration: underline; text-underline-offset: .16em; }
.fire-tv-picker .note a:hover { color: var(--lime); }
.install-note { margin-top: 1.2rem; padding: 1rem 1.2rem; max-width: 52rem; border: 1px solid var(--rule); border-radius: .7rem; color: var(--muted); }
.install-note h3, .account-deletion .install-note h2 { margin-bottom: .45rem; color: var(--ink); }
.account-deletion .download-intro a { text-decoration: underline; text-underline-offset: .16em; }
.downloader-code { margin-top: .75rem; color: var(--ink); }
.downloader-code code { margin-left: .25rem; font-size: 1.1em; color: var(--lime); }
.install-note summary { color: var(--ink); cursor: pointer; font-weight: 650; }
.install-note ol { padding-inline-start: 1.25rem; margin: .9rem 0 0; }
.install-note li + li { margin-top: .25rem; }
.site-footer { padding-block: 2.1rem; border-top: 1px solid var(--rule); background: #111811; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-inner .brand img { width: 1.85rem; height: 1.85rem; }
.footer-inner .brand strong { font-size: 1.1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 58rem) {
  .hero { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero h1 { max-width: 18ch; }
  .hero-copy { max-width: 52ch; }
  .display { max-width: 52rem; }
}
@media (max-width: 42rem) {
  .wrap { width: min(91%, 77rem); }
  .header-inner { min-height: 4.4rem; }
  .brand img { width: 2.1rem; height: 2.1rem; }
  .brand strong { font-size: 1.15rem; }
  .nav { gap: .7rem; font-size: .87rem; }
  .nav .help-link { display: none; }
  .hero { padding-block: 3.25rem 3rem; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-content { grid-row: 1; }
  .phone-frame { width: min(72%, 15rem); }
  .download-grid { grid-template-columns: 1fr; }
  .frame { padding: .36rem; border-radius: .85rem; }
  .frame img { border-radius: .57rem; }
}
@media (max-width: 24rem) { .nav .guide-link { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
