:root { color-scheme: dark; --paper: #102726; --ink: #f0f5e9; --muted: #bdcfc8; --mint: #abf1c6; --line: #48605a; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "Inter", "Segoe UI", sans-serif; }
header, main, footer { width: min(74rem, 90%); margin-inline: auto; }
header, footer, nav, .readout { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
header { padding: 1.4rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; row-gap: .65rem; }
a { color: inherit; text-underline-offset: .25em; }
header a { text-decoration: none; }
header a:hover, footer a:hover { color: var(--mint); text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.035em; }
.wordmark img { display: block; width: 2rem; height: 2rem; }
nav { font-size: .93rem; }
nav .donate { color: var(--mint); border: 1px solid var(--line); border-radius: .45rem; padding: .45rem .75rem; white-space: nowrap; }
nav .donate:hover { border-color: var(--mint); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 7vw, 6.5rem) 0; }
.eyebrow, .readout { font: .88rem/1.5 "IBM Plex Mono", Consolas, monospace; letter-spacing: .04em; }
.eyebrow { color: var(--mint); margin: 0 0 1rem; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(3.7rem, 7.4vw, 6.85rem); line-height: .97; font-weight: 600; letter-spacing: -.075em; }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: var(--mint); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 34rem; color: var(--muted); margin: 1.6rem 0; }
.primary { display: inline-block; padding: .8rem 1.35rem; border-radius: .45rem; background: var(--mint); color: var(--paper); text-decoration: none; font-weight: 700; }
.primary:hover { background: #d6ffdf; }
.access, figcaption { font-size: .9rem; color: var(--muted); }
.access { margin-top: .75rem; }
.video-demo { min-width: 0; scroll-margin-top: 1rem; }
.video-frame { position: relative; }
.video-demo video { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: .8rem; background: #0a1918; }
.play-demo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .65rem 1.1rem; border: 1px solid var(--mint); border-radius: 2rem; background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.play-demo span { margin-right: .3em; color: var(--mint); }
.play-demo:hover { background: #20413a; }
.ring-demo { max-width: 34rem; margin-top: .85rem; }
.ring-demo figure { margin-top: .85rem; }
.scope { position: relative; border: 1px solid #566f61; overflow: hidden; border-radius: 1rem; aspect-ratio: 1.37; isolation: isolate; background-color: #18362e; background-image: radial-gradient(circle at 50% 50%, #2f58451f, #082c241c), radial-gradient(#72948577 .8px, transparent 1px); background-size: auto, 16px 16px; }
.readout { position: absolute; top: 0; left: 0; right: 0; padding: 1.1rem 1.3rem; color: var(--mint); }
.orbit, .crosshair, .crosshair::after { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.orbit { border: 1px solid #81a98a55; border-radius: 50%; aspect-ratio: 1; }
.one { width: 25%; } .two { width: 49%; } .three { width: 74%; border-style: dashed; }
.crosshair, .crosshair::after { width: 1.2rem; height: 1px; background: #b6d5ab; }
.crosshair::after { content: ""; transform: translate(-50%, -50%) rotate(90deg); }
.target { position: absolute; left: 72%; top: 50%; transform: translate(-50%, -50%); width: clamp(3rem, 6vw, 4rem); aspect-ratio: 1; border: 3px solid #c3ffd3; background: #234b38; box-shadow: 0 0 0 6px #abf1c61c; border-radius: 50%; cursor: pointer; touch-action: manipulation; }
.target::before { content: ""; display: block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); margin: auto; }
.target.holding { background: #49774e; border-color: #ffe19b; }
:focus-visible { outline: 3px solid #ffd997; outline-offset: 4px; }
figcaption { margin-top: .65rem; }
.setup { border-top: 1px solid var(--line); padding: 2.25rem 0 3rem; }
.gestures { border-top: 1px solid var(--line); padding: clamp(2.25rem, 5vw, 4.25rem) 0; scroll-margin-top: 1rem; }
.gesture-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.8vw, 2.4rem); margin-top: 1.6rem; }
.gesture-grid img { display: block; width: 100%; height: auto; border-radius: .7rem; background: #142f2a; }
.flip-poses { position: relative; }
.flip-poses figcaption { position: absolute; inset: .4rem 0 auto; display: grid; grid-template-columns: 1fr 1fr; justify-items: center; margin: 0; }
.flip-poses span { padding: .12rem .5rem; border-radius: .3rem; color: var(--mint); background: #102726; font-size: .82rem; font-weight: 600; }
.gesture-grid h3 { display: block; margin: .95rem 0 .4rem; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.25; letter-spacing: -.035em; }
.gesture-grid p { color: var(--muted); }
.gesture-grid .availability { color: var(--mint); font: .82rem/1.4 "IBM Plex Mono", Consolas, monospace; margin-bottom: .45rem; }
.gesture-grid details { margin-top: .75rem; padding: 0; border: 0; }
.gesture-grid summary { color: var(--mint); font-size: .93rem; }
.gesture-grid details p { font-size: .94rem; }
.section-title p, li p, details p { color: var(--muted); }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -.055em; margin-bottom: .5rem; }
ol { list-style-position: inside; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 0; margin: 2rem 0; }
li { border-top: 1px solid var(--line); padding-top: 1rem; }
li::marker { color: var(--mint); font: 1rem Consolas, monospace; }
h3 { display: inline; font-size: 1.15rem; }
li p, details p { margin-top: .55rem; }
strong { color: var(--ink); font-weight: 600; }
details { border-top: 1px solid var(--line); padding: .85rem 0; }
details p { max-width: 50rem; } summary { cursor: pointer; font-weight: 600; }
.install-help { max-width: 52rem; margin: 0 0 2rem; scroll-margin-top: 1rem; }
.install-help dl { margin: .6rem 0 0; }
.install-help dt { margin-top: .75rem; font-weight: 600; }
.install-help dd { margin: .15rem 0 0; color: var(--muted); }
.aiming-tips { margin: 0 0 2rem; padding: .2rem 0 .2rem 1.15rem; border-left: 3px solid var(--mint); }
.aiming-tips h3 { display: block; margin-bottom: .5rem; }
.aiming-tips p { max-width: 56rem; color: var(--muted); }
.aiming-tips p + p { margin-top: .45rem; }
footer { border-top: 1px solid var(--line); padding: 1.4rem 0 2.5rem; color: var(--muted); font-size: .93rem; }
@media (min-width: 72rem) { ol { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 48rem) {
  .hero, ol { grid-template-columns: 1fr; }
  .gesture-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gesture-grid article { max-width: 34rem; }
  h1 { font-size: clamp(3.65rem, 12vw, 5.5rem); }
  .scope { max-height: 22rem; } ol { gap: 1.2rem; }
}
@media (max-width: 31rem) { nav { flex-wrap: wrap; gap: .45rem 1rem; } }
@media (max-width: 23rem) { nav, header, footer { gap: .75rem; } }
