:root {
  color-scheme: dark;
  --bg: #070711;
  --panel: rgba(23, 17, 40, .76);
  --line: rgba(255, 255, 255, .11);
  --text: #f4efff;
  --muted: #b4a9ce;
  --accent: #a66bff;
  --accent-soft: #dcc0ff;
  --radius: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; color: var(--text); line-height: 1.65;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at 20% 0%, #25123e 0, transparent 38%), radial-gradient(ellipse at 95% 35%, #1b1233 0, transparent 35%), var(--bg);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #cda3ff; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 40px), 1180px); margin: 0 auto; }
.narrow { max-width: 840px; }
.section { padding: 88px 0; scroll-margin-top: 85px; }
h1, h2, h3, .brand { font-family: Sora, -apple-system, BlinkMacSystemFont, sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3.2rem, 6.8vw, 6rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; margin-bottom: 28px; }
h1 > span { color: var(--accent-soft); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.045em; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.4; margin-bottom: 14px; }
p { color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, monospace; font-size: .88em; overflow-wrap: anywhere; color: #dfd0f7; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(9, 7, 19, .95); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 700; white-space: nowrap; }
.brand-key { font: 600 .76rem Sora, sans-serif; color: #e2ccff; border: 1px solid #a17bc5; border-bottom-width: 4px; padding: 7px 8px 5px; border-radius: 8px; background: #29163e; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav > a { font-size: .82rem; padding: 11px 14px; border-radius: 999px; color: #d7cdf0; }
.site-nav > a:hover { background: #ffffff0b; color: #fff; }
.site-nav .button { min-height: 42px; font-size: .82rem; }
.nav-toggle { display: none; background: none; color: inherit; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; padding: 11px; }
.nav-toggle > span { display: block; height: 2px; margin: 4px 0; background: #f4efff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 23px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .88rem; transition: background .18s ease, border-color .18s ease; }
.button-primary { background: linear-gradient(120deg, #9b5cff, #7b42d7); box-shadow: 0 8px 35px #9b5cff33; color: #fff; }
.button-primary:hover { background: #af79ff; }
.button-secondary { background: #ffffff08; border-color: #ffffff25; color: #e8ddfb; }
.button-secondary:hover, .button-ghost:hover { background: #a66bff20; border-color: #a66bff80; }
.button-accent { background: #9b5cff18; border-color: #9b5cff55; color: #dfc2ff; }
.button-ghost { border-color: var(--line); }
.text-link { color: var(--accent-soft); font-size: .9rem; font-weight: 500; }
.text-link:hover, .download-extras a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { padding-top: 95px; padding-bottom: 55px; }
.hero-copy { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .75rem; color: #d9c3f9; border: 1px solid #ad77ef45; background: #9b5cff0c; padding: 8px 15px; border-radius: 999px; margin-bottom: 30px; }
.eyebrow-dot { height: 6px; width: 6px; border-radius: 100%; background: #bb8aff; box-shadow: 0 0 12px #bb8aff; flex-shrink: 0; }
.hero-text { max-width: 765px; margin: 0 auto; font-size: 1.04rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 30px 0 50px; }
.hero-actions .text-link { margin: 0 10px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.metric { padding: 24px 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.metric strong { display: block; margin-bottom: 6px; font-size: .92rem; }
.metric span { display: block; color: var(--muted); font-size: .79rem; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p { margin-bottom: 0; }
.section-kicker { display: block; color: #ba87ff; font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.control-guide { max-width: 1010px; margin: 0 auto 35px; }
.screen-guide { position: relative; aspect-ratio: 2.25; border: 1px solid #a58ac044; border-radius: 30px; background: linear-gradient(130deg, #171120, #0c0a13); box-shadow: 0 24px 80px #0005; overflow: hidden; }
.guide-top { position: absolute; inset: 26px 30px auto; display: flex; align-items: center; justify-content: space-between; color: #81728d; letter-spacing: .15em; font-size: .64rem; }
.guide-pause { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff20; border-radius: 8px; font-size: 1rem; }
.guide-room { display: flex; align-items: center; justify-content: center; position: absolute; inset: 19% 12% 16%; border: 1px solid #cab1e222; border-radius: 12px; background: radial-gradient(ellipse at center, #56396430, transparent 70%), repeating-linear-gradient(0deg, #ffffff02 0, #ffffff02 1px, transparent 1px, transparent 30px); }
.room-label { color: #c2abd6; font-size: clamp(.85rem, 2vw, 1.5rem); font-family: Sora, sans-serif; letter-spacing: -.03em; }
.guide-pedestal { position: absolute; top: 65%; width: 32px; height: 12px; background: #af91c022; border: 1px solid #aa82be55; border-radius: 50%; }
.guide-zone { position: absolute; bottom: 0; left: 0; width: 15%; height: 25%; min-width: 90px; min-height: 64px; display: flex; justify-content: center; flex-direction: column; align-items: center; border-top: 1px dashed #c394ff; border-right: 1px dashed #c394ff; border-radius: 0 12px 0 0; background: #a66bff25; }
.guide-zone span { font-size: .65rem; color: #bda5d6; }
.guide-zone strong { font-size: clamp(.66rem, 1.5vw, .95rem); color: #e2c5ff; }
.guide-home { position: absolute; bottom: 12px; left: 41%; right: 41%; height: 4px; border-radius: 4px; background: #ffffff3b; }
.guide-note { position: absolute; bottom: 26px; right: 30px; color: #9986ad; text-align: right; font-size: .68rem; line-height: 1.5; }
.figure-note { font-size: .73rem; margin: 12px 0 0; text-align: center; }
.gesture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gesture { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.gesture-number { display: block; font-size: .72rem; letter-spacing: .13em; color: #c49aff; font-weight: 600; margin-bottom: 20px; }
.gesture p { font-size: .9rem; }
.dice-demo { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 24px; }
.demo-label { font-size: .7rem; color: var(--muted); }
.dice-demo output { min-width: 80px; text-align: center; font: 600 1rem Sora, sans-serif; color: #e6caff; padding: 11px 15px; border-radius: 12px; border: 1px solid #b38ad34a; }
.dice-demo .button { min-height: 40px; font-size: .75rem; padding: 8px 15px; }
.gesture .small-copy { font-size: .72rem; margin: 16px 0 0; }
.pocket-types { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 25px; }
.pocket-types > span { border: 1px solid #ad8bc142; background: #251b32; border-radius: 9px; padding: 7px 12px; font-size: .76rem; color: #ddc9ec; }
.notice { margin-top: 24px; padding: 22px 26px; border-left: 3px solid #b47dfb; background: #a66bff0a; border-radius: 0 16px 16px 0; }
.notice strong { font-size: .89rem; }
.notice p { font-size: .84rem; margin: 7px 0 0; }
.downloads { background: linear-gradient(90deg, #ffffff02, #a66bff08, #ffffff02); border-top: 1px solid #ffffff05; border-bottom: 1px solid #ffffff05; }
.download-status { display: inline-block; color: #d2b6f3; font-size: .78rem; margin-bottom: 22px; }
.download-grid, .install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download-card { padding: 29px; display: flex; flex-direction: column; align-items: flex-start; background: #181222; border: 1px solid var(--line); border-radius: var(--radius); }
.download-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; font-size: .65rem; letter-spacing: .08em; color: #c0a3df; margin-bottom: 25px; }
.download-card-head > span:last-child { padding: 3px 7px; background: #ffffff08; border-radius: 5px; }
.download-card p { font-size: .83rem; margin-bottom: 28px; }
.download-card .button { width: 100%; margin-top: auto; font-size: .8rem; padding: 11px 16px; }
.download-extras { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; color: #baa6d0; font-size: .79rem; }
.download-extras > span { color: #6c587c; }
.install-card { padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); }
.install-number { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: #a66bff15; color: #d1a8ff; font: 600 .85rem Sora, sans-serif; margin-bottom: 22px; }
.install-card ol { padding-left: 20px; margin-bottom: 0; color: var(--muted); font-size: .83rem; }
.install-card li { padding-left: 6px; margin-bottom: 14px; }
.install-card li:last-child { margin-bottom: 0; }
.install-card li::marker { color: #b388df; }
.section-footnote { font-size: .78rem; text-align: center; margin: 26px 0 0; }
.requirements { border-block: 1px solid #ffffff08; background: #100c18; }
.requirements-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.requirements-grid > div > p { font-size: .9rem; max-width: 440px; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.spec-list > div:first-child { padding-top: 5px; }
.spec-list dt { color: #b693d8; }
.spec-list dd { margin: 0; color: #d7cce5; }
details { border-bottom: 1px solid var(--line); }
summary { list-style-position: outside; padding: 22px 24px 22px 0; cursor: pointer; font-size: .91rem; font-weight: 500; }
summary::marker { color: #ba82ff; }
details p { font-size: .85rem; padding: 0 20px 15px 0; }
details a { color: var(--accent-soft); text-decoration: underline; }
.site-footer { padding: 46px 0; border-top: 1px solid var(--line); background: #08060f; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.footer-grid p { font-size: .74rem; margin: 14px 0 10px; max-width: 450px; }
.footer-grid small { font-size: .7rem; color: #8f7f9f; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: .77rem; color: #c4abd9; }
.footer-version { font: 400 .7rem Poppins, sans-serif; color: #ad8ec7; padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 1050px) {
  .site-nav > a { padding: 10px; font-size: .75rem; }
  .site-nav .button { font-size: .75rem; }
  .download-card, .install-card { padding: 24px; }
  .requirements-grid { gap: 40px; }
}
@media (max-width: 800px) {
  .section { padding: 65px 0; }
  .hero { padding-top: 65px; padding-bottom: 35px; }
  .nav-shell { flex-wrap: wrap; min-height: 72px; padding-block: 12px; }
  .site-nav { width: 100%; }
  .nav-toggle { display: block; margin-left: auto; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 0; }
  .js .site-nav > a { padding: 12px 16px; font-size: .87rem; }
  .hero-metrics { gap: 10px; }
  .metric { padding: 20px 16px; }
  .metric strong { font-size: .81rem; }
  .metric span { font-size: .72rem; }
  .download-grid, .install-grid { grid-template-columns: 1fr; }
  .download-card { padding: 30px; }
  .download-card-head { margin-bottom: 18px; }
  .download-card .button { max-width: 300px; }
  .gesture { padding: 26px; }
  .requirements-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 32px); }
  .eyebrow { font-size: .58rem; padding: 7px 10px; gap: 6px; }
  h1 { font-size: clamp(2.85rem, 11.2vw, 4rem); }
  .hero-text { font-size: .91rem; }
  .hero-actions { gap: 10px; margin-bottom: 35px; }
  .hero-actions .button { padding: 12px 17px; font-size: .78rem; }
  .hero-actions .text-link { width: 100%; margin-top: 10px; font-size: .8rem; }
  .hero-metrics { grid-template-columns: 1fr; text-align: center; gap: 9px; }
  .metric { padding: 18px; }
  .metric strong { font-size: .86rem; margin-bottom: 3px; }
  .metric span { font-size: .74rem; }
  .section-head p { font-size: .9rem; }
  .screen-guide { border-radius: 17px; aspect-ratio: 1.8; }
  .guide-top { inset: 15px 16px auto; font-size: .45rem; }
  .guide-pause { width: 21px; height: 21px; font-size: .7rem; }
  .guide-room { inset: 24% 10% 24%; }
  .guide-zone { min-width: 76px; min-height: 54px; }
  .guide-zone span { font-size: .49rem; }
  .guide-zone strong { font-size: .58rem; }
  .guide-note { right: 13px; bottom: 17px; font-size: .49rem; }
  .guide-home { height: 3px; bottom: 8px; }
  .guide-pedestal { width: 20px; height: 8px; }
  .figure-note { font-size: .65rem; }
  .gesture-grid { grid-template-columns: 1fr; gap: 16px; }
  .notice { padding: 20px; }
  .download-extras { gap: 9px; font-size: .71rem; }
  .spec-list > div { grid-template-columns: 90px 1fr; font-size: .74rem; }
  .footer-grid { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
