:root {
  color-scheme: dark;
  --bg: #090910;
  --surface: #12121d;
  --surface-raised: #171624;
  --text: #f5f2fc;
  --muted: #aaa4b9;
  --soft: #827b91;
  --accent: #d0b3ff;
  --accent-strong: #a77be9;
  --line: #ffffff18;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 78% 5%, #302044 0, transparent 38%),
    radial-gradient(ellipse at 5% 53%, #191327 0, transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #e0caff;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  z-index: 10;
  top: -60px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 6px;
  background: white;
  color: #090910;
}
.skip-link:focus { top: 12px; }
.site-header, main, .footer { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand img { display: block; width: 122px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { color: #c7bdd5; font-size: 13px; }
.header-install { color: var(--accent); font-size: 13px; font-weight: 650; }
.header-install span { margin-left: 5px; }

.hero {
  display: grid;
  min-height: 600px;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  padding-block: 76px 86px;
}
.eyebrow {
  margin: 0;
  color: #c6a6ef;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-copy .eyebrow span { margin-right: 7px; font-size: 16px; }
.hero h1 {
  margin: 19px 0 22px;
  font-size: clamp(48px, 6.4vw, 78px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: .99;
}
.intro { max-width: 495px; margin: 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.primary { background: linear-gradient(135deg, #ddc7ff, #a77be9); color: #171021; }
.primary:hover { background: linear-gradient(135deg, #eadcff, #bb98f5); }
.quiet, .secondary { border-color: #ffffff25; background: #ffffff08; color: #e6ddf2; }
.quiet:hover, .secondary:hover { border-color: #c8a5ef75; background: #c5a2ff12; }
.release-status { min-height: 22px; margin: 14px 0 0; color: #bfb5d0; font-size: 12px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--soft); font-size: 11px; }
.hero-note span { color: #9ce1b6; font-size: 14px; }
.app-shot {
  margin: 0;
  padding: 8px;
  border: 1px solid #ffffff22;
  border-radius: 16px;
  background: linear-gradient(135deg, #cdaeff55, #ffffff07);
  box-shadow: 0 34px 90px #0009;
}
.app-shot img { display: block; width: 100%; height: auto; border-radius: 10px; background: #111; }
.app-shot figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 7px 4px; color: #a9a0b8; font-size: 11px; }
.capture-dot { width: 6px; height: 6px; border-radius: 50%; background: #bda0ea; }

.release, .downloads, .install-info, .adb-install { padding: 66px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .web-app h2, .install-info h2 {
  margin: 10px 0 0;
  font-size: clamp(29px, 4.2vw, 43px);
  font-weight: 620;
  letter-spacing: -.05em;
  line-height: 1.13;
}
.release-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #7cd8a42c;
  border-radius: 99px;
  background: #83e5a70d;
  color: #b8e9c9;
  font-size: 11px;
  white-space: nowrap;
}
.release-badge span { color: #7ed6a0; font-size: 9px; }
.release-card {
  margin-top: 24px;
  padding: clamp(21px, 4vw, 29px);
  border: 1px solid #c6a2ff3b;
  border-radius: 12px;
  background: linear-gradient(125deg, #191526, #11111b 70%);
}
.release-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #a49bb0; font-size: 12px; }
.release-platform { color: #ccb7eb; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.release-card h3 { margin: 17px 0 5px; font-size: 23px; letter-spacing: -.035em; }
.release-card > p:not(.release-error) { max-width: 770px; margin: 0; color: var(--muted); font-size: 13px; }
.release-card details { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
.release-card summary, .install-help summary, .faq-list summary { cursor: pointer; color: #e2d2f6; font-weight: 650; }
.checksum-label { margin: 14px 0 5px; color: var(--soft); font-size: 10px; }
.release-card code { display: block; overflow-wrap: anywhere; color: #ceb8ed; font-size: 11px; }
.copy-button { margin-top: 12px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff08; font-size: 11px; }
.copy-status { margin-left: 10px; color: #a9e0c0; font-size: 11px; }
.variant-checksums { display: grid; gap: 12px; margin-top: 14px; }
.variant-checksum { display: grid; gap: 4px; }
.variant-checksum strong { color: #ddd3ea; font-size: 10px; }
.release-error { margin: 14px 0 0; color: #f2c2c2; font-size: 12px; }

.downloads-heading { align-items: end; margin-bottom: 26px; }
.downloads-heading > p { max-width: 440px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.device-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.device-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, #171624, #101018);
}
.device-card:hover { border-color: #c4a3ef55; }
.device-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #cfafff36;
  border-radius: 12px;
  background: #c6a2ff0e;
}
.device-icon svg { width: 27px; height: 27px; fill: none; stroke: #d5bcf5; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.device-kicker { margin: 20px 0 4px; color: #b899db; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.device-card h3 { margin: 0; font-size: 20px; letter-spacing: -.035em; line-height: 1.25; }
.device-copy { min-height: 66px; margin: 11px 0 16px; color: var(--muted); font-size: 12px; }
.build-options { display: grid; gap: 8px; margin-top: auto; }
.build-option {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  background: #ffffff06;
  transition: border-color .18s ease, background .18s ease;
}
.build-option:hover { border-color: #c7a4f088; background: #c5a2ff12; }
.build-option-copy { display: grid; gap: 2px; }
.build-option-copy strong { color: #f0e9f8; font-size: 12px; }
.build-option-copy small { color: #a9a0b8; font-size: 10px; }
.build-option-size { color: #c4afd9; font-size: 10px; white-space: nowrap; }
.build-fallback { width: 100%; }
.install-help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; }
.install-help summary { font-size: 11px; }
.install-help ol { display: grid; gap: 6px; margin: 11px 0; padding-left: 19px; color: var(--muted); }
.install-help p { margin: 10px 0 0; color: var(--muted); }
.install-help p strong { color: #e0c9ff; font-size: 13px; letter-spacing: .08em; }
.build-note { display: flex; align-items: start; gap: 9px; margin: 17px 2px 0; color: var(--soft); font-size: 11px; }
.build-note span { color: #c7a5ee; }

.adb-heading { align-items: end; margin-bottom: 25px; }
.adb-heading > p { max-width: 450px; margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.adb-card { padding: clamp(20px, 4vw, 34px); border: 1px solid #c6a2ff35; border-radius: 14px; background: linear-gradient(150deg, #171624, #101018); }
.adb-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.adb-start li { display: flex; align-items: flex-start; gap: 12px; }
.adb-start li > span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid #c7a4ef60; border-radius: 50%; color: #dfcaff; font-size: 12px; }
.adb-start strong { font-size: 12px; }
.adb-start p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.adb-start a { display: inline-block; margin-top: 7px; color: #d1b3f7; font-size: 10px; }
.adb-package-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 27px; padding: 15px 0; border-top: 1px solid var(--line); color: #e3d8f1; font-size: 12px; }
.adb-package-row select { min-height: 40px; min-width: min(275px, 100%); padding: 0 34px 0 11px; border: 1px solid #ffffff29; border-radius: 7px; background: #14121e; color: var(--text); font: inherit; font-size: 11px; }
.adb-package-row select:focus-visible, .adb-input:focus-visible { outline: 3px solid #e0caff; outline-offset: 3px; }
.adb-tabs { display: flex; gap: 5px; margin-top: 10px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #0b0a11; }
.adb-tab { min-height: 43px; flex: 1; padding: 8px 13px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; }
.adb-tab[aria-selected="true"] { border-color: #c6a2ff45; background: #c6a2ff14; color: #eadcff; }
.adb-panel { padding: 25px 2px 4px; }
.adb-panel[hidden] { display: none; }
.adb-panel h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.03em; }
.adb-panel > p, .adb-wireless-box > p { max-width: 820px; color: var(--muted); font-size: 12px; }
.adb-panel ol { display: grid; gap: 8px; margin: 12px 0 20px; padding-left: 20px; color: var(--muted); font-size: 11px; }
.adb-panel li strong, .adb-run-hint strong { color: #e5d9f4; }
.adb-field-label, .adb-fields-grid label { display: grid; gap: 6px; margin-top: 16px; color: #dfd4ed; font-size: 11px; font-weight: 650; }
.adb-input { width: min(100%, 365px); min-height: 42px; padding: 0 12px; border: 1px solid #ffffff29; border-radius: 7px; background: #0d0c14; color: var(--text); font: inherit; font-size: 12px; }
.adb-input::placeholder { color: #777082; }
.adb-field-help { margin: 7px 0 12px; color: var(--soft); font-size: 10px!important; }
.adb-command-row { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 7px 9px 7px 13px; border: 1px solid #ffffff1c; border-radius: 7px; background: #0b0a11; }
.adb-command-row code { overflow-wrap: anywhere; color: #d8c2f2; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.adb-command-row .copy-button { flex: 0 0 auto; margin: 0; padding: 7px 10px; }
.adb-run-hint { margin: 9px 0 5px; color: var(--muted); font-size: 10px; }
.adb-panel > .copy-status, .adb-wireless-box > .copy-status { display: block; min-height: 17px; margin: 3px 2px 0; }
.adb-extra-help { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; }
.adb-extra-help summary { cursor: pointer; color: #d8c2f2; font-weight: 650; }
.adb-extra-help p { max-width: 800px; margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.adb-extra-help code { color: #d8c2f2; }
.adb-wireless-box { margin-top: 20px; padding: 18px; border: 1px solid #ffffff1b; border-radius: 9px; background: #0c0b13; }
.adb-wireless-box h4 { margin: 0; color: #e6d9f8; font-size: 13px; }
.adb-wireless-box ol { margin-bottom: 17px; }
.adb-fields-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adb-fields-grid label { margin: 0; }
.adb-fields-grid .adb-input { width: 100%; }
.adb-success-note { margin: 14px 0 0; color: #b2dfc2!important; font-size: 11px!important; }
.adb-safety-note { margin: 23px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 10px; }

.web-app {
  display: grid;
  grid-template-columns: 1fr 250px;
  align-items: center;
  gap: 30px;
  margin: 7px 0 64px;
  padding: clamp(25px, 5vw, 45px);
  overflow: hidden;
  border: 1px solid #c6a2ff40;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 88% 45%, #ab7ce82b, transparent 48%),
    linear-gradient(120deg, #1b1727, #12111b);
}
.web-app h2 { margin-top: 10px; }
.web-app-copy > p:not(.eyebrow) { max-width: 610px; margin: 12px 0 21px; color: var(--muted); font-size: 13px; }
.web-app-copy .button { min-width: 198px; }
.web-app-note { margin: 12px 0 0!important; color: var(--soft)!important; font-size: 10px!important; }
.web-app-art { display: grid; justify-items: center; gap: 4px; transform: rotate(4deg); }
.app-icon { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid #ffffff35; border-radius: 26px; background: #1d1730; box-shadow: 0 15px 45px #0008; }
.app-icon img { display: block; width: 76px; height: 76px; border-radius: 18px; }
.app-wordmark { margin-top: 8px; color: #e3d4fa; font-size: 24px; font-weight: 700; letter-spacing: -.06em; }
.app-tagline { color: #a49ab5; font-size: 10px; }

.install-info { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
.install-info h2 { max-width: 350px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.faq-list summary { list-style-position: outside; }
.faq-list p { max-width: 700px; margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.footer { display: flex; align-items: center; gap: 20px; padding: 24px 0 34px; border-top: 1px solid var(--line); color: #82798f; font-size: 11px; }
.footer > a:first-child { color: #d2b6ff; font-size: 15px; }
.footer > a:last-child { margin-left: auto; color: #b9a5d2; }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: 1fr 1fr; gap: 34px; padding-block: 62px 70px; }
  .hero h1 { font-size: clamp(45px, 7vw, 65px); }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-card:last-child { grid-column: 1 / -1; }
  .device-card:last-child .device-copy { min-height: 0; }
  .adb-start { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 680px) {
  .site-header, main, .footer { width: calc(100% - 40px); }
  .site-header { min-height: 74px; gap: 12px; }
  .brand img { width: 100px; }
  .header-actions { gap: 12px; }
  .header-link { display: none; }
  .header-install { font-size: 11px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 48px 56px; }
  .hero h1 { margin: 16px 0 18px; font-size: clamp(48px, 12vw, 66px); }
  .intro { font-size: 14px; }
  .hero-actions { gap: 9px; margin-top: 23px; }
  .button { min-height: 47px; padding-inline: 14px; font-size: 11px; }
  .app-shot { max-width: 600px; }
  .release, .downloads, .install-info, .adb-install { padding: 49px 0; }
  .section-heading { align-items: start; }
  .release-heading { flex-direction: column; gap: 14px; }
  .release-card { padding: 20px; }
  .release-card h3 { font-size: 21px; }
  .downloads-heading { flex-direction: column; gap: 12px; }
  .downloads-heading > p { max-width: 540px; }
  .adb-heading { flex-direction: column; gap: 12px; }
  .adb-package-row { align-items: stretch; flex-direction: column; gap: 8px; }
  .adb-package-row select { width: 100%; }
  .adb-tabs { flex-direction: column; }
  .adb-tab { flex: auto; text-align: left; }
  .adb-fields-grid { grid-template-columns: 1fr; }
  .adb-wireless-box { padding: 14px; }
  .device-grid { grid-template-columns: 1fr; gap: 11px; }
  .device-card, .device-card:last-child { grid-column: auto; padding: 20px; }
  .device-copy, .device-card:last-child .device-copy { min-height: 0; }
  .web-app { grid-template-columns: 1fr; gap: 22px; margin: 7px 0 49px; padding: 25px 21px; }
  .web-app-art { display: flex; justify-content: flex-start; gap: 10px; transform: none; }
  .app-icon { width: 56px; height: 56px; border-radius: 15px; }
  .app-icon img { width: 38px; height: 38px; border-radius: 9px; }
  .app-wordmark { margin: 0; font-size: 18px; }
  .app-tagline { margin-left: auto; text-align: right; }
  .install-info { grid-template-columns: 1fr; gap: 22px; }
  .footer { flex-wrap: wrap; gap: 10px 16px; }
  .footer > a:last-child { font-size: 10px; }
}
@media (max-width: 390px) {
  .site-header, main, .footer { width: calc(100% - 32px); }
  .brand img { width: 88px; }
  .header-install { font-size: 10px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .release-top { align-items: flex-start; flex-direction: column; gap: 5px; }
  .footer { display: grid; grid-template-columns: 1fr auto; }
  .footer span { grid-row: 2; }
  .footer > a:last-child { grid-column: 2; grid-row: 1 / 3; margin: auto 0 auto auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition: none!important; animation: none!important; }
}
