:root {
  color-scheme: dark;
  --ink: #f6f2e8;
  --muted: #aebbb1;
  --deep: #172321;
  --panel: #202d29;
  --panel-soft: #1c2925;
  --green: #c6f278;
  --orange: #ff9a61;
  --lavender: #c6b7ff;
  --track: #4a5a50;
  --edge: rgba(238,244,226,.12);
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --display: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--deep); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { color: inherit; font: inherit; }
::selection { color: var(--deep); background: var(--green); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px 16px; background: var(--green); color: var(--deep); }
.skip-link:focus { top: 12px; }
body::before { position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% -18%, rgba(198,242,120,.08), transparent 45%), linear-gradient(rgba(224,242,223,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(224,242,223,.018) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; content: ""; pointer-events: none; }
.topbar { min-height: 72px; padding: 0 max(5vw, calc((100vw - 1320px)/2)); border-bottom: 1px solid var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 500 10px var(--mono); letter-spacing: .08em; }
.brand-spark { width: 27px; height: 27px; display: block; flex: none; fill: var(--green); }
.wordmark i { padding: 0 4px; color: #647168; font-style: normal; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.section-label { color: #839188; font: 400 9px var(--mono); letter-spacing: .08em; }
.section-label i { padding: 0 6px; color: var(--orange); font-style: normal; }
.mode-toggle { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #425148; border-radius: 50%; background: transparent; color: var(--orange); font-size: 16px; cursor: pointer; transition: transform .25s, background .25s; }
.mode-toggle:hover { transform: rotate(22deg); background: rgba(255,154,97,.1); }
main { width: min(1320px,100%); margin: 0 auto; padding: 0 5vw; }
.intro { min-height: 225px; padding: 39px 2vw 31px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font: 400 9px var(--mono); letter-spacing: .13em; }
.pulse-dot, .live-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(198,242,120,.12); }
h1, h2, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 0; font: 500 clamp(48px, 6.2vw, 74px)/.96 var(--display); letter-spacing: -.075em; }
h1 em { color: var(--green); font-style: normal; }
.intro-text { max-width: 570px; margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.intro-doodle { width: 145px; height: 140px; flex: 0 0 145px; position: relative; margin-right: 7%; display: grid; place-items: center; }
.doodle-ring { position: absolute; border: 1px solid rgba(217,235,206,.18); border-radius: 50%; }
.ring-one { width: 94px; height: 94px; transform: rotate(-24deg) scaleY(.45); }
.ring-two { width: 111px; height: 111px; border-style: dashed; transform: rotate(45deg) scaleY(.55); }
.doodle-star { z-index: 1; color: var(--green); font-size: 29px; }
.doodle-planet { width: 14px; height: 14px; position: absolute; top: 25px; right: 36px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 23px rgba(255,154,97,.3); }
.doodle-caption { position: absolute; right: -22px; bottom: 1px; color: #839188; font: 400 8px/1.8 var(--mono); letter-spacing: .1em; }
.scale-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); align-items: stretch; gap: 13px; }
.scene-card, .control-panel { min-width: 0; overflow: hidden; border: 1px solid var(--edge); border-radius: 5px; background: var(--panel); }
.panel-topline { min-height: 52px; padding: 0 19px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(238,244,226,.1); }
.panel-label { color: #91a096; font: 400 8px var(--mono); letter-spacing: .09em; }
.panel-label b { color: #68766d; font-weight: 400; }
.live-dot { width: 6px; height: 6px; margin-right: 8px; box-shadow: 0 0 0 3px rgba(198,242,120,.1); }
.reference-count, .control-index { color: #68766d; font: 400 8px var(--mono); letter-spacing: .06em; white-space: nowrap; }
.scene-stage { min-height: 323px; position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; background: radial-gradient(ellipse at 50% 52%, rgba(198,242,120,.06), transparent 56%), linear-gradient(rgba(224,242,223,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(224,242,223,.022) 1px, transparent 1px), #1c2925; background-size: auto, 30px 30px, 30px 30px, auto; }
.scene-stage::before { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(13,22,19,.28) 100%); content: ""; }
.scene-star { width: 2px; height: 2px; position: absolute; border-radius: 50%; background: #f1f3df; opacity: .55; box-shadow: 0 0 8px rgba(255,255,255,.4); }
.scene-star-one { top: 22%; left: 17%; }.scene-star-two { top: 31%; right: 19%; width: 3px; height: 3px; }.scene-star-three { bottom: 26%; left: 27%; }
.scene-orbit { width: 210px; height: 210px; position: absolute; border: 1px solid rgba(198,242,120,.13); border-radius: 50%; transform: scaleY(.48) rotate(-24deg); animation: orbit-turn 36s linear infinite; }
.scene-orbit-two { width: 280px; height: 280px; border-style: dashed; border-color: rgba(238,244,226,.11); transform: scaleY(.42) rotate(32deg); animation-duration: 58s; animation-direction: reverse; }
.scene-icon { width: min(68%, 270px); height: 220px; z-index: 1; display: grid; place-items: center; color: var(--ink); animation: scene-arrive .45s ease both; }
.scene-icon svg { width: 100%; height: 100%; overflow: visible; }
.scene-icon .glow { filter: drop-shadow(0 0 20px rgba(198,242,120,.22)); }
.scene-icon .orbit-line { fill: none; stroke: rgba(238,244,226,.4); stroke-width: 1.2; stroke-dasharray: 4 6; }
.scene-icon .land { fill: #c6f278; opacity: .77; }
.scene-icon .earth { fill: #678dba; stroke: #b9d7e8; stroke-width: 1.3; }
.scene-icon .sun { fill: #ffc277; stroke: #ffe0a2; stroke-width: 1.5; }
.scene-icon .moon { fill: #d6d4c7; stroke: #f4f0dd; stroke-width: 1; }
.scene-icon .jupiter { fill: #d2a677; stroke: #f5d6a5; stroke-width: 1.2; }
.scene-icon .stripe { fill: none; stroke: #8c5a48; stroke-width: 4; opacity: .74; }
.scene-icon .accent { fill: var(--green); }
.scene-icon .soft-accent { fill: var(--lavender); }
.stage-readout { position: absolute; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 5px; text-align: right; }
.stage-readout span { color: #819087; font: 400 7px var(--mono); letter-spacing: .11em; }
.stage-readout strong { color: var(--green); font: 400 12px var(--mono); }
.reference-detail { min-height: 140px; padding: 19px 22px 21px; border-top: 1px solid rgba(238,244,226,.1); }
.reference-kicker { margin: 0 0 9px; color: #87968c; font: 400 7px var(--mono); letter-spacing: .1em; }
.reference-detail h2 { margin: 0; font: 500 clamp(24px, 3vw, 33px)/1.05 var(--display); letter-spacing: -.055em; }
.reference-detail > p:last-child { max-width: 520px; margin: 9px 0 0; color: #a2aea5; font-size: 10px; line-height: 1.7; }
.control-panel { padding: 0 19px 16px; display: flex; flex-direction: column; }
.control-topline { margin: 0 -19px 0; padding: 0 19px; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.measure-card, .jump-card { min-width: 0; padding: 12px 13px; border: 1px solid rgba(238,244,226,.1); border-radius: 4px; background: rgba(255,255,255,.018); }
.measure-label { display: block; margin-bottom: 9px; color: #819087; font: 400 7px var(--mono); letter-spacing: .09em; }
.measure-card strong, .jump-card strong { display: block; color: var(--ink); font: 500 clamp(13px, 1.6vw, 18px) var(--mono); letter-spacing: -.04em; white-space: nowrap; }
.measure-card small { display: block; margin-top: 6px; color: #79877e; font-size: 8px; }
.measure-light strong { color: var(--green); }
.jump-card { margin-top: 8px; padding: 10px 13px; }
.jump-card .measure-label { margin-bottom: 6px; }
.jump-card strong { color: var(--lavender); font-size: 12px; }
.range-control { margin-top: 20px; }
.range-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.range-heading label { color: #dce5dc; font-size: 10px; }
.range-heading output { color: var(--green); font: 400 8px var(--mono); white-space: nowrap; }
.range-wrap { height: 27px; position: relative; margin-top: 10px; }
.range-track { height: 2px; position: absolute; top: 12px; right: 0; left: 0; background: var(--track); }
.range-track::before { width: var(--progress, 0%); height: 100%; display: block; background: var(--green); content: ""; }
.range-marker { width: 4px; height: 4px; position: absolute; top: -1px; left: var(--position); border-radius: 50%; background: #aab9a7; opacity: .7; transform: translateX(-50%); }
#scale-range { width: 100%; height: 27px; position: absolute; inset: 0; z-index: 2; margin: 0; appearance: none; background: transparent; cursor: pointer; }
#scale-range::-webkit-slider-runnable-track { height: 2px; background: transparent; }
#scale-range::-moz-range-track { height: 2px; background: transparent; }
#scale-range::-webkit-slider-thumb { width: 15px; height: 15px; margin-top: -6.5px; appearance: none; border: 3px solid var(--panel); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 12px rgba(198,242,120,.27); }
#scale-range::-moz-range-thumb { width: 10px; height: 10px; border: 3px solid var(--panel); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 12px rgba(198,242,120,.27); }
#scale-range:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 8px; }
.range-ends { margin-top: 1px; display: flex; justify-content: space-between; color: #748279; font: 400 7px var(--mono); }
.points-heading { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; color: #859289; font: 400 7px var(--mono); letter-spacing: .09em; }
.points-heading small { color: #68766d; font-size: 7px; }
.reference-points { margin-top: 9px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 5px; }
.reference-point { min-width: 0; min-height: 34px; padding: 5px 7px; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(238,244,226,.1); border-radius: 3px; background: rgba(255,255,255,.018); color: #87968c; text-align: left; cursor: pointer; transition: border-color .18s, color .18s, background .18s; }
.reference-point span:first-child { color: #65736a; font: 400 7px var(--mono); }
.reference-point span:last-child { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.reference-point:hover, .reference-point:focus-visible { border-color: rgba(198,242,120,.35); color: var(--ink); outline: none; }
.reference-point[aria-pressed="true"] { border-color: rgba(198,242,120,.5); background: rgba(198,242,120,.08); color: var(--green); }
.reference-point[aria-pressed="true"] span:first-child { color: var(--green); }
.scale-navigation { margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between; gap: 8px; }
.step-button { min-height: 30px; padding: 0 10px; border: 1px solid rgba(238,244,226,.14); border-radius: 3px; background: transparent; color: #a8b4aa; font-size: 8px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.step-button:hover:not(:disabled) { border-color: rgba(198,242,120,.4); color: var(--green); background: rgba(198,242,120,.06); }
.step-button:disabled { opacity: .38; cursor: default; }
.explainer { min-height: 78px; margin: 17px 2px 0; display: flex; align-items: center; gap: 13px; color: #9aa79d; }
.explainer-mark { flex: 0 0 auto; color: var(--orange); font-size: 16px; }
.explainer p { max-width: 760px; margin: 0; font-size: 10px; line-height: 1.7; }
.explainer p strong { color: var(--ink); font-weight: 600; }
.explainer-note { margin-left: auto; color: #66746b; font: 400 7px var(--mono); letter-spacing: .07em; text-align: right; white-space: nowrap; }
.source-notes { margin: 8px 2px 0; border-top: 1px solid rgba(238,244,226,.09); color: #839188; font-size: 9px; }
.source-notes summary { width: fit-content; padding: 13px 0; color: #a5b1a8; font: 400 8px var(--mono); letter-spacing: .05em; cursor: pointer; }
.source-notes p { max-width: 840px; margin: 0 0 9px; color: #839188; line-height: 1.7; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 15px; padding-bottom: 14px; }
.source-links a { color: var(--green); font-size: 8px; text-underline-offset: 3px; }
.footer { min-height: 68px; padding: 14px max(5vw, calc((100vw - 1320px)/2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #87938a; font: 400 8px var(--mono); }
.footer a { color: inherit; text-decoration: none; }.footer a span { color: var(--green); }
.footer p { margin: 0; justify-self: center; color: #77847b; }.footer p span:first-child { color: var(--orange); }
.footer-domain { justify-self: end; color: #68766d; letter-spacing: .07em; }
html[data-mode="day"] { color-scheme: light; --ink: #28352c; --muted: #69766c; --deep: #e9e6d9; --panel: #f3f0e5; --green: #617d48; --track: #c4cabb; --edge: rgba(40,53,44,.15); }
html[data-mode="day"] body { background: var(--deep); color: var(--ink); }
html[data-mode="day"] body::before { background-image: radial-gradient(ellipse at 50% -18%, rgba(97,125,72,.09), transparent 45%), linear-gradient(rgba(40,53,44,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(40,53,44,.035) 1px, transparent 1px); }
html[data-mode="day"] .topbar, html[data-mode="day"] .panel-topline, html[data-mode="day"] .reference-detail, html[data-mode="day"] .source-notes { border-color: rgba(40,53,44,.13); }
html[data-mode="day"] .mode-toggle { border-color: #b9c0b3; }
html[data-mode="day"] .section-label, html[data-mode="day"] .intro-text, html[data-mode="day"] .explainer { color: #6d786d; }
html[data-mode="day"] .scene-card, html[data-mode="day"] .control-panel { border-color: #d4d4c7; }
html[data-mode="day"] .scene-stage { background-color: #e5e5d8; background-image: radial-gradient(ellipse at 50% 52%, rgba(97,125,72,.08), transparent 56%), linear-gradient(rgba(40,53,44,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(40,53,44,.035) 1px, transparent 1px); }
html[data-mode="day"] .scene-stage::before { background: radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(235,231,215,.24) 100%); }
html[data-mode="day"] .scene-icon { color: #28352c; }
html[data-mode="day"] .scene-orbit { border-color: rgba(40,53,44,.15); }
html[data-mode="day"] .reference-detail > p:last-child, html[data-mode="day"] .source-notes p { color: #647166; }
html[data-mode="day"] .panel-label, html[data-mode="day"] .range-heading label { color: #526151; }
html[data-mode="day"] .measure-card, html[data-mode="day"] .jump-card, html[data-mode="day"] .reference-point { border-color: rgba(40,53,44,.14); background: rgba(255,255,255,.18); }
html[data-mode="day"] .measure-card strong, html[data-mode="day"] .jump-card strong { color: #28352c; }
html[data-mode="day"] .measure-light strong { color: #617d48; }
html[data-mode="day"] .jump-card strong { color: #7663a6; }
html[data-mode="day"] .measure-card small, html[data-mode="day"] .measure-label, html[data-mode="day"] .range-ends, html[data-mode="day"] .points-heading { color: #738071; }
html[data-mode="day"] .step-button { border-color: rgba(40,53,44,.2); color: #526151; }
html[data-mode="day"] #scale-range::-webkit-slider-thumb { border-color: var(--panel); }
html[data-mode="day"] #scale-range::-moz-range-thumb { border-color: var(--panel); }
@keyframes orbit-turn { to { transform: scaleY(.48) rotate(336deg); } }
@keyframes scene-arrive { from { opacity: .35; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 1020px) {
  .scale-layout { grid-template-columns: minmax(0,1fr) minmax(340px,.92fr); }
  .scene-stage { min-height: 295px; }
  .reference-point { min-height: 32px; padding: 5px; gap: 4px; }
  .reference-point span:last-child { font-size: 7px; }
}
@media (max-width: 800px) {
  .scale-layout { grid-template-columns: 1fr; }
  .scene-stage { min-height: 340px; }
  .control-panel { padding-bottom: 18px; }
  .measure-card strong { font-size: 17px; }
  .reference-point { min-height: 38px; padding: 6px 9px; }
  .reference-point span:last-child { font-size: 9px; }
}
@media (max-width: 700px) {
  .topbar { min-height: 62px; padding: 0 18px; }
  .wordmark { gap: 8px; font-size: 8px; }.brand-spark { width: 24px; height: 24px; }
  .topbar-right { gap: 12px; }.section-label { display: none; }
  main { padding: 0 17px; }
  .intro { min-height: 0; padding: 36px 2px 25px; align-items: flex-end; gap: 5px; }
  .eyebrow { margin-bottom: 14px; font-size: 8px; }
  h1 { max-width: 430px; font-size: clamp(45px, 12vw, 62px); }
  h1 em { display: block; margin-top: 4px; }
  .intro-text { max-width: 390px; margin-top: 12px; font-size: 11px; }
  .intro-doodle { width: 66px; height: 75px; flex: 0 0 66px; margin: 0 4% 5px 0; }
  .ring-one { width: 60px; height: 60px; }.ring-two { width: 72px; height: 72px; }
  .doodle-star { font-size: 20px; }.doodle-planet { width: 9px; height: 9px; top: 12px; right: 13px; }
  .doodle-caption { right: -12px; bottom: -8px; font-size: 5px; }
  .scale-layout { gap: 10px; }
  .panel-topline { min-height: 47px; padding: 0 13px; }
  .scene-stage { min-height: 280px; }
  .scene-icon { width: min(73%, 235px); height: 190px; }
  .stage-readout { right: 12px; bottom: 12px; }
  .reference-detail { min-height: 130px; padding: 16px 15px 17px; }
  .reference-detail h2 { font-size: 27px; }
  .control-panel { padding: 0 13px 14px; }
  .control-topline { margin: 0 -13px; padding: 0 13px; }
  .measure-grid { margin-top: 12px; gap: 6px; }
  .measure-card { padding: 10px; }.measure-card strong { font-size: 15px; }
  .measure-label { font-size: 6px; }
  .range-heading label { font-size: 9px; }
  .points-heading { margin-top: 17px; }
  .reference-points { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
  .reference-point { min-height: 35px; padding: 5px; gap: 4px; }
  .reference-point span:first-child { font-size: 6px; }.reference-point span:last-child { font-size: 7px; }
  .explainer { min-height: 80px; margin-top: 9px; align-items: flex-start; padding-top: 14px; }
  .explainer p { font-size: 9px; }.explainer-note { display: none; }
  .source-notes { font-size: 8px; }.source-links { gap: 8px 12px; }
  .footer { min-height: 72px; padding: 13px 18px; grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .footer p { justify-self: end; font-size: 7px; }.footer-domain { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
