/* SOLAR launch page only. Existing shared website styles are not modified.
   Color anchors: repository landing-brand-spec; extensions documented in docs/DESIGN.md. */
:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --canvas: #faf8f3;
  --ink: #15171a;
  --muted: #585d61;
  --petrol: #152d36;
  --night: #07090d;
  --ivory: #f5f1e8;
  --moon-text: #b5bec5;
  --gold: #f3d897;
  --haze: #eeb491;
  --blue: #82a9d2;
  --line: #c9c8c3;
  --line-dark: #3f5058;
  --link: #244e65;
  --focus: #244e65;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  --s1: .25rem;
  --s2: .5rem;
  --s3: .75rem;
  --s4: 1rem;
  --s6: 1.5rem;
  --s8: 2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --radius: 1.5rem;
  --pill: 999px;
  --width: 1200px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 400 var(--text-base)/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button:disabled { cursor: wait; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2 { font-weight: 400; letter-spacing: -.058em; line-height: 1.07; }
h2 { font-size: var(--text-6xl); }
h3 { font-size: var(--text-xl); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.wrap { width: min(calc(100% - var(--s24)), var(--width)); margin-inline: auto; }
.section { padding-block: var(--s24); }
.eyebrow { font-size: var(--text-xs); letter-spacing: .15em; font-weight: 600; line-height: 1.4; margin-bottom: var(--s6); }
.intro-copy { font-size: var(--text-lg); line-height: 1.6; color: var(--muted); max-width: 38ch; }
.fine-print { font-size: var(--text-sm); line-height: 1.5; color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s4); top: var(--s4); background: var(--ink); color: var(--ivory); z-index: 200; padding: var(--s3) var(--s6); border-radius: var(--pill); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: var(--s6); padding: var(--s3) var(--s6); border: 1px solid var(--ink); border-radius: var(--pill); background: var(--ink); color: var(--ivory); text-decoration: none; font-size: var(--text-base); line-height: 1.4; font-weight: 500; transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
.button-small { min-height: 44px; padding: var(--s2) var(--s6); font-size: var(--text-sm); gap: var(--s4); }
.button:active, .menu-toggle:active, .dialog-close:active { transform: scale(.97); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: var(--s3); border: 0; border-bottom: 1px solid currentColor; padding: var(--s2) 0; background: transparent; color: var(--link); font-size: var(--text-base); line-height: 1.4; text-decoration: none; text-align: left; }
.text-link span { transition: transform 180ms var(--ease); }
/* The header is deliberately flat. Nothing is hidden behind motion. */
.site-header { position: relative; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); min-height: 88px; }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; font-size: var(--text-xl); letter-spacing: .21em; font-weight: 500; }
.wordmark-orbit { display: none; }
.desktop-nav { display: flex; align-items: center; gap: var(--s8); }
.desktop-nav a, .site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: var(--text-sm); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: var(--pill); position: relative; }
.menu-toggle span { width: 16px; height: 1px; background: var(--ink); position: absolute; top: 17px; left: 13px; transition: transform 180ms var(--ease); }
.menu-toggle span + span { top: 24px; }
.menu-toggle[aria-expanded="true"] span { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span + span { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { padding-block: var(--s4) var(--s6); }
.mobile-menu a { display: flex; min-height: 52px; align-items: center; text-decoration: none; border-top: 1px solid var(--line); }
/* Actual product imagery provides the large color field. The veil is a text
   legibility treatment, not a separate simulated astronomical renderer. */
.hero { position: relative; overflow: clip; background: var(--paper); }
.hero-wash { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-wash img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; opacity: .78; }
.hero-wash::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 2%, rgb(245 241 232 / 96%) 28%, rgb(245 241 232 / 30%) 69%, rgb(245 241 232 / 4%) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: var(--s16); padding-block: var(--s16); }
.hero-copy { padding-block: var(--s6); }
.tiny-sun { display: inline-block; margin-right: var(--s2); font-size: var(--text-xl); vertical-align: -.07em; }
h1 { font-size: var(--text-7xl); max-width: 12ch; }
.hero-lede { font-size: var(--text-lg); line-height: 1.65; color: #343b3e; max-width: 38ch; margin-top: var(--s8); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6); margin-top: var(--s8); }
.hero-actions .text-link { color: var(--ink); font-size: var(--text-sm); }
.availability-line { margin-top: var(--s4); color: #454a4e; font-size: var(--text-xs); }
.hero-product { justify-self: center; width: min(100%, 306px); padding-top: var(--s2); }
.screenshot { position: relative; border-radius: 36px; overflow: hidden; background: var(--night); }
.screenshot img { width: 100%; height: auto; }
.asset-fallback { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(calc(100% - var(--s8)), 30ch); margin: 0; transform: translate(-50%, -50%); border: 1px solid var(--line-dark); border-radius: var(--s3); padding: var(--s4) var(--s6); background: rgb(7 9 13 / 90%); color: var(--ivory); text-align: center; font-size: var(--text-sm); line-height: 1.45; }
.asset-failed > img { visibility: hidden; }
.hero-screenshot { box-shadow: 0 22px 60px rgb(7 9 13 / 20%); }
.hero-product figcaption { margin-top: var(--s4); font-size: var(--text-xs); text-align: center; color: var(--ink); }
.caption-dot { width: 5px; height: 5px; border-radius: var(--pill); background: currentColor; display: inline-block; margin: 0 var(--s2) 2px 0; }
.hero-bottom { position: relative; min-height: 72px; border-top: 1px solid rgb(21 23 26 / 22%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s8); font-size: var(--text-xs); color: var(--ink); }
.hero-bottom > :last-child { text-align: right; }
.hero-bottom a { display: grid; width: 44px; height: 44px; place-items: center; font-size: var(--text-xl); text-decoration: none; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s12); margin-bottom: var(--s12); }
.section-intro > .intro-copy, .section-intro > div:last-child:not(:first-child) { max-width: 370px; padding-bottom: var(--s2); }
/* Four stills are openly presented as a preview; no invented live readings. */
.day-explorer { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.day-picture { position: relative; height: 464px; color: var(--ivory); background: var(--petrol); }
.day-picture > img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: object-position 320ms var(--ease), filter 320ms var(--ease); }
/* The source stills are tall. Keep each astronomical cue inside the wide
   editorial crop instead of letting object-fit hide it above or below the card. */
.day-explorer[data-phase="dawn"] .day-picture > img,
.game-view[data-phase="dawn"] > img { object-position: center 88%; }
.day-explorer[data-phase="morning"] .day-picture > img,
.game-view[data-phase="morning"] > img { object-position: center 8%; }
.day-explorer[data-phase="golden"] .day-picture > img,
.game-view[data-phase="golden"] > img { object-position: center 80%; }
.day-explorer[data-phase="night"] .day-picture > img,
.game-view[data-phase="night"] > img { object-position: center 4%; filter: brightness(.92) contrast(1.28) saturate(1.12); }
.day-explorer[data-phase="night"] .day-picture::before,
.game-view[data-phase="night"]::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(0 8 18 / 4%), rgb(0 2 7 / 18%)); }
.day-explorer[data-phase="night"] .day-picture::after,
.game-view[data-phase="night"]::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 40% 17%, rgb(255 246 219 / 12%) 0 3%, transparent 14%),
  radial-gradient(circle at 12% 24%, rgb(245 241 232 / 82%) 0 1px, transparent 1.7px),
  radial-gradient(circle at 24% 12%, rgb(245 241 232 / 64%) 0 1px, transparent 1.6px),
  radial-gradient(circle at 31% 31%, rgb(245 241 232 / 74%) 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 48% 9%, rgb(245 241 232 / 70%) 0 1px, transparent 1.6px),
  radial-gradient(circle at 56% 25%, rgb(245 241 232 / 60%) 0 1px, transparent 1.6px),
  radial-gradient(circle at 67% 14%, rgb(245 241 232 / 78%) 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 76% 35%, rgb(245 241 232 / 58%) 0 1px, transparent 1.6px),
  radial-gradient(circle at 87% 19%, rgb(245 241 232 / 74%) 0 1px, transparent 1.6px),
  radial-gradient(circle at 93% 44%, rgb(245 241 232 / 52%) 0 1px, transparent 1.5px); }
.scene-label, .scene-bottom, .game-location, .game-round, .game-direction { z-index: 2; }
.scene-label { position: absolute; top: var(--s8); left: var(--s8); display: flex; gap: var(--s4); align-items: center; border-radius: var(--pill); background: rgb(7 9 13 / 78%); padding: var(--s2) var(--s6); font-size: var(--text-sm); }
.scene-index { font-size: var(--text-xs); opacity: .85; }
.scene-bottom { position: absolute; bottom: 0; left: 0; right: 0; background: rgb(7 9 13 / 82%); padding: var(--s4) var(--s8); display: flex; justify-content: space-between; gap: var(--s4); font-size: var(--text-xs); }
.day-controls { padding: var(--s8); display: flex; align-items: center; justify-content: space-between; gap: var(--s8); }
.phase-buttons { display: flex; gap: var(--s2); flex-wrap: wrap; }
.phase-buttons button { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: var(--s3) var(--s4); border-radius: var(--pill); border: 1px solid transparent; color: var(--ink); background: transparent; font-size: var(--text-sm); transition: background-color 160ms var(--ease); }
.phase-buttons button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.phase-dot { width: 10px; height: 10px; border-radius: var(--pill); display: inline-block; border: 1px solid currentColor; }
.dawn-dot { background: var(--haze); }.morning-dot { background: var(--blue); }.golden-dot { background: var(--gold); }.night-dot { background: var(--petrol); }
#phase-note { font-size: var(--text-sm); max-width: 28ch; color: var(--muted); }
.scene-footnote { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s6); margin-top: var(--s4); font-size: var(--text-xs); color: var(--muted); }
.scene-footnote .text-link { font-size: var(--text-sm); }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s12); margin-top: var(--s16); }
.benefits article { border-top: 1px solid var(--line); padding-top: var(--s6); }
.benefit-symbol { display: inline-flex; width: 44px; height: 44px; align-items: center; font-size: var(--text-3xl); color: var(--petrol); margin-bottom: var(--s4); }
.benefits p { color: var(--muted); margin-top: var(--s3); font-size: var(--text-base); }
/* Time systems deliberately use the Learn voice rather than a settings pitch. */
.time-section { background: var(--paper); }
.time-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s24); align-items: center; }
.time-copy > .intro-copy { margin-top: var(--s6); max-width: 40ch; }
.time-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s10); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); }
.time-tabs button { min-height: 48px; padding: var(--s3) var(--s4); border-radius: var(--pill); border: 1px solid transparent; background: transparent; color: var(--muted); font-size: var(--text-sm); }
.time-tabs button[aria-selected="true"] { color: var(--ivory); background: var(--petrol); }
#time-panel { padding-top: var(--s8); min-height: 252px; }
#time-description { margin-top: var(--s4); color: var(--muted); max-width: 44ch; font-size: var(--text-base); }
#time-learn-link { margin-top: var(--s6); font-size: var(--text-sm); }
.time-fact { margin-top: var(--s8); font-size: var(--text-xs); line-height: 1.7; color: var(--muted); }
.fact-label { font-weight: 600; letter-spacing: .08em; display: block; color: var(--ink); }
.time-figure { position: relative; width: min(100%, 310px); justify-self: center; }
.time-screenshot { position: relative; box-shadow: 0 22px 64px rgb(21 45 54 / 12%); }
.time-figure figcaption { font-size: var(--text-xs); color: var(--muted); margin-top: var(--s6); text-align: center; }
/* Moon image is cropped from the provided detail screen, not generated. */
.moon-section { background: var(--night); color: var(--ivory); --focus: var(--gold); --link: var(--gold); }
.moon-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--s20); }
.moon-figure { width: min(100%, 440px); justify-self: center; }
.moon-figure img { width: 100%; height: auto; border-radius: 50%; }
.moon-figure figcaption { font-size: var(--text-xs); color: var(--moon-text); text-align: center; margin-top: var(--s6); }
.moon-copy .intro-copy { margin-top: var(--s6); color: var(--moon-text); }
.moon-copy .text-link { margin-top: var(--s6); }
.moon-details { display: flex; flex-wrap: wrap; gap: var(--s6); color: var(--moon-text); font-size: var(--text-xs); margin-top: var(--s10); }
.moon-details span { border-top: 1px solid var(--line-dark); padding-top: var(--s3); }
.night-note { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s8); align-items: center; border-top: 1px solid var(--line-dark); margin-top: var(--s20); padding-top: var(--s8); }
.night-note .tiny-sun { font-size: var(--text-4xl); color: var(--gold); }
.night-note p { font-size: var(--text-base); color: var(--moon-text); }
.night-note .text-link { font-size: var(--text-sm); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.feature-panel { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.feature-panel-copy { padding: var(--s10) var(--s10) var(--s8); }
.feature-panel-copy .eyebrow { display: block; margin-bottom: var(--s3); }
.feature-panel-copy h3 { font-size: var(--text-3xl); font-weight: 400; }
.feature-panel-copy p { color: var(--muted); margin-top: var(--s3); font-size: var(--text-sm); }
.image-button { position: relative; display: block; width: min(calc(100% - var(--s20)), 290px); padding: 0; margin: 0 auto var(--s10); border: 0; background: var(--night); border-radius: 32px; overflow: hidden; }
.image-button img { width: 100%; height: auto; }
.image-open { position: absolute; top: var(--s8); right: var(--s4); width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--pill); background: var(--ivory); color: var(--ink); font-size: var(--text-xl); }
.detail-section > .wrap > .fine-print { margin-top: var(--s6); }
.learn-section { border-top: 1px solid var(--line); }
.learn-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s24); }
.learn-layout .intro-copy { margin-block: var(--s6); }
.learn-list a { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; gap: var(--s6); min-height: 126px; padding-block: var(--s6); border-top: 1px solid var(--line); text-decoration: none; }
.learn-list a:last-child { border-bottom: 1px solid var(--line); }
.learn-number { font-size: var(--text-xs); align-self: start; margin-top: var(--s1); color: var(--muted); }
.learn-list small { display: block; font-size: var(--text-xs); letter-spacing: .09em; color: var(--muted); margin-bottom: var(--s2); }
.learn-list strong { font-size: var(--text-xl); line-height: 1.3; font-weight: 400; letter-spacing: -.02em; display: block; }
.learn-list a > span:last-child { font-size: var(--text-xl); }
.watch-section { background: var(--paper); }
.section-heading h2 { font-size: var(--text-6xl); }
.section-heading .intro-copy { max-width: 60ch; margin: var(--s6) auto 0; }
.watch-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s12); margin: var(--s12) auto var(--s8); max-width: 880px; }
.watch-image { border-radius: var(--radius); overflow: hidden; background: var(--petrol); }
.watch-image img { width: 100%; height: auto; }
.watch-gallery figcaption { margin-top: var(--s4); font-size: var(--text-sm); text-align: center; color: var(--muted); }
.game-section { background: var(--petrol); color: var(--ivory); --focus: var(--gold); --link: var(--gold); }
.game-section .intro-copy, .game-section .fine-print { color: var(--moon-text); }
.game-section .section-intro .fine-print { margin-top: var(--s4); }
.sky-game { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--ivory); color: var(--ink); border-radius: var(--radius); overflow: hidden; --focus: #244e65; --link: #244e65; }
.game-view { min-height: 492px; position: relative; overflow: hidden; background: var(--night); color: var(--ivory); }
.game-view > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 62%; transition: object-position 320ms var(--ease), filter 320ms var(--ease); }
.game-location, .game-round, .game-direction { position: absolute; background: rgb(7 9 13 / 85%); border-radius: var(--pill); font-size: var(--text-xs); padding: var(--s2) var(--s4); }
.game-location { top: var(--s6); left: var(--s6); font-size: .625rem; letter-spacing: .06em; }
.game-round { bottom: var(--s6); right: var(--s6); }
.game-direction { bottom: var(--s6); left: var(--s6); }
.game-panel { padding: var(--s12); align-self: center; }
#guess-output { display: block; font-size: var(--text-5xl); letter-spacing: -.05em; line-height: 1.2; font-weight: 400; font-variant-numeric: tabular-nums; }
#guess-slider { width: 100%; height: 44px; accent-color: var(--petrol); margin: var(--s8) 0 0; cursor: ew-resize; }
.range-ends { display: flex; justify-content: space-between; gap: var(--s4); font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--s8); }
.game-panel .fine-print { color: var(--muted); margin-top: var(--s6); }
.result-time { font-size: var(--text-5xl); font-weight: 400; margin-bottom: var(--s4); }
.result-error { color: var(--petrol); font-weight: 500; margin-bottom: var(--s4); }
#answer-lesson, #game-finished > p:not(.eyebrow) { color: var(--muted); margin-bottom: var(--s6); }
#game-finished h3 { font-size: var(--text-4xl); font-weight: 400; margin-bottom: var(--s6); }
.game-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.game-end-actions .text-link { font-size: var(--text-sm); }
.no-script { padding: var(--s6); border: 1px solid var(--line-dark); color: var(--ivory); }
body:not(.enhanced) .game-panel { display: none; }
body:not(.enhanced) .sky-game { grid-template-columns: 1fr; }
body:not(.enhanced) .time-tabs, body:not(.enhanced) .phase-buttons { pointer-events: none; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s24); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: var(--s6); justify-content: space-between; align-items: center; padding-block: var(--s6); min-height: 80px; cursor: pointer; list-style: none; font-weight: 500; font-size: var(--text-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { font-size: var(--text-2xl); font-weight: 300; transition: transform 180ms var(--ease); }
.faq details[open] summary > span { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s8) var(--s6) 0; color: var(--muted); font-size: var(--text-base); max-width: 60ch; }
.release-section { position: relative; overflow: clip; background: var(--paper); padding-block: var(--s24); }
.release-art { position: absolute; inset: 0; }
.release-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; opacity: .55; }
.release-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 4%, rgb(245 241 232 / 96%) 28%, rgb(245 241 232 / 10%) 100%); }
.release-content { position: relative; }
.release-content > p:not(.eyebrow):not(.release-caption) { font-size: var(--text-lg); line-height: 1.65; max-width: 36ch; color: #343b3e; margin-top: var(--s6); }
.release-status { display: flex; align-items: center; gap: var(--s3); font-size: var(--text-sm); margin-top: var(--s8); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: var(--pill); background: var(--petrol); }
.release-cta { margin-top: var(--s6); }
.release-caption { max-width: 42ch; color: #454a4e; font-size: var(--text-xs); margin-top: var(--s4); }
.site-footer { background: var(--paper); padding-block: var(--s10) var(--s6); }
.footer-top { display: flex; align-items: center; gap: var(--s6); padding-bottom: var(--s8); }
.footer-top > span { font-size: var(--text-xs); color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s6); margin-left: auto; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: var(--s6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); font-size: var(--text-xs); color: var(--muted); }
/* Native dialog: focus trap and Escape come from the platform, with a visible close. */
.image-dialog { background: var(--canvas); color: var(--ink); padding: var(--s6); border: 0; border-radius: var(--radius); width: min(calc(100% - 32px), 540px); max-height: calc(100dvh - 48px); }
.image-dialog::backdrop { background: rgb(7 9 13 / 82%); }
.image-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.image-dialog-bar h2 { font-size: var(--text-lg); font-weight: 500; letter-spacing: -.02em; }
.dialog-close { width: 44px; height: 44px; border-radius: var(--pill); border: 1px solid var(--line); background: transparent; font-size: var(--text-3xl); line-height: 1; }
#expanded-image { width: 100%; height: auto; border-radius: var(--radius); }
.image-dialog > .fine-print { margin-top: var(--s4); }
.image-loading, .image-error { min-height: 200px; padding-block: var(--s12); text-align: center; }
.image-error .button { margin-top: var(--s6); }
/* Progressive motion only. Essential text is visible before JavaScript. */
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--petrol); }
  .text-link:hover span { transform: translate(2px, -2px); }
  .desktop-nav a:hover, .site-footer a:hover, .mobile-menu a:hover { text-decoration: underline; }
  .phase-buttons button:not([aria-pressed="true"]):hover, .time-tabs button:not([aria-selected="true"]):hover { background: rgb(21 45 54 / 9%); }
  .learn-list a:hover strong { text-decoration: underline; text-underline-offset: .15em; }
  .faq summary:hover { color: var(--link); }
  .image-button:hover .image-open { background: var(--gold); }
}
@media (min-width: 1600px) { :root { --width: 1320px; } h1 { font-size: var(--text-8xl); } .hero-product { width: 326px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - var(--s16)); }
  h1 { font-size: var(--text-6xl); } h2, .section-heading h2 { font-size: var(--text-5xl); }
  .hero-inner { gap: var(--s8); grid-template-columns: 1.25fr 1fr; }
  .hero-product { width: 270px; }
  .day-controls { flex-direction: column; align-items: flex-start; gap: var(--s4); }
  #phase-note { max-width: none; }
  .time-layout, .learn-layout, .faq-layout { gap: var(--s12); }
  .moon-layout { gap: var(--s12); }
  .benefits { gap: var(--s8); }
  .game-panel { padding: var(--s8); }
  .game-location { left: var(--s4); top: var(--s4); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: var(--s6); }
  .wrap { width: calc(100% - var(--s12)); }
  .header-inner { min-height: 76px; gap: var(--s4); }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .wordmark { font-size: var(--text-lg); }
  .button-small { font-size: var(--text-xs); padding-inline: var(--s4); gap: var(--s2); }
  .section { padding-block: var(--s16); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--s10); padding-top: var(--s12); padding-bottom: var(--s10); }
  .hero-copy { padding: 0; text-align: center; }
  h1 { font-size: clamp(3rem, 11vw, var(--text-6xl)); line-height: 1; max-width: 100%; margin-inline: auto; }
  .hero h1 span { white-space: nowrap; }
  h2, .section-heading h2 { font-size: var(--text-5xl); }
  .hero-copy .eyebrow { font-size: var(--text-xs); }
  .hero-lede { font-size: var(--text-base); max-width: 36ch; margin: var(--s6) auto 0; }
  .hero-actions { justify-content: center; margin-top: var(--s6); gap: var(--s4); }
  .hero-actions .button { min-height: 48px; }
  .hero-actions .text-link { font-size: var(--text-sm); }
  .hero-product { width: 256px; }
  .hero-wash::after { background: linear-gradient(180deg, var(--paper) 0%, rgb(245 241 232 / 96%) 30%, rgb(245 241 232 / 10%) 85%); }
  .hero-bottom { display: flex; justify-content: space-between; gap: var(--s4); min-height: 72px; }
  .hero-bottom > :last-child { display: none; }
  .hero-product figcaption { font-size: var(--text-xs); }
  .section-intro { display: block; margin-bottom: var(--s8); }
  .section-intro > .intro-copy, .section-intro > div:last-child:not(:first-child) { margin-top: var(--s6); max-width: 44ch; }
  .intro-copy { font-size: var(--text-base); }
  .day-picture { height: 380px; }
  .scene-label { top: var(--s4); left: var(--s4); font-size: var(--text-sm); padding-inline: var(--s4); }
  .scene-bottom { padding: var(--s3) var(--s4); flex-direction: column; gap: var(--s1); }
  .day-controls { padding: var(--s4); gap: var(--s4); }
  .phase-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .phase-buttons button { padding-inline: var(--s2); justify-content: flex-start; gap: var(--s2); font-size: var(--text-xs); min-height: 44px; }
  .phase-buttons button[aria-pressed="true"] { padding-inline: var(--s3); }
  #phase-note { font-size: var(--text-sm); padding: var(--s2); }
  .scene-footnote { flex-direction: column; gap: var(--s2); }
  .benefits { grid-template-columns: 1fr; gap: var(--s8); margin-top: var(--s10); }
  .benefits article { padding-top: var(--s4); }
  .benefit-symbol { margin-bottom: var(--s2); }
  .benefits p { max-width: 50ch; }
  .time-layout { grid-template-columns: 1fr; gap: var(--s10); }
  .time-tabs { margin-top: var(--s6); gap: var(--s1); flex-wrap: nowrap; }
  .time-tabs button { flex: 1; min-height: 48px; padding: var(--s2); font-size: var(--text-xs); }
  #time-panel { min-height: 244px; padding-top: var(--s6); }
  .time-fact { margin-top: var(--s6); }
  .time-figure { width: 266px; }
  .moon-layout { grid-template-columns: 1fr; gap: var(--s12); }
  .moon-figure { grid-row: 2; width: 300px; max-width: 100%; }
  .moon-copy .intro-copy { max-width: 42ch; }
  .moon-details { margin-top: var(--s8); }
  .night-note { grid-template-columns: auto 1fr; gap: var(--s4); margin-top: var(--s12); }
  .night-note .text-link { grid-column: 2; justify-self: start; }
  .detail-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .feature-panel-copy { padding: var(--s8) var(--s6) var(--s6); }
  .feature-panel-copy h3 { font-size: var(--text-2xl); }
  .image-button { width: min(calc(100% - var(--s12)), 270px); margin-bottom: var(--s8); }
  .learn-layout { grid-template-columns: 1fr; gap: var(--s10); }
  .learn-list a { min-height: 116px; gap: var(--s4); }
  .learn-list strong { font-size: var(--text-lg); }
  .watch-gallery { gap: var(--s3); margin-block: var(--s8); }
  .watch-image { border-radius: var(--s3); }
  .watch-gallery figcaption { font-size: var(--text-xs); line-height: 1.4; }
  .section-heading .intro-copy br { display: none; }
  .sky-game { grid-template-columns: 1fr; }
  .game-view { min-height: 360px; }
  .game-panel { padding: var(--s8) var(--s6); }
  #guess-output { font-size: var(--text-5xl); }
  #game-finished h3 { font-size: var(--text-3xl); }
  .faq-layout { grid-template-columns: 1fr; gap: var(--s8); }
  .faq summary { font-size: var(--text-base); gap: var(--s4); }
  .faq details p { padding-right: 0; }
  .release-art::after { background: linear-gradient(90deg, rgb(245 241 232 / 98%) 0%, rgb(245 241 232 / 80%) 55%, rgb(245 241 232 / 20%) 100%); }
  .release-content > p:not(.eyebrow):not(.release-caption) { font-size: var(--text-base); }
  .release-status { font-size: var(--text-xs); }
  .footer-top { flex-wrap: wrap; }
  .site-footer nav { margin-left: 0; flex-basis: 100%; gap: var(--s6); }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: var(--s2); }
  .image-dialog { padding: var(--s4); }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - var(--s8)); }
  h1 { font-size: var(--text-5xl); }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 2.75rem); }
  .hero h1 span { white-space: normal; }
  h2, .section-heading h2 { font-size: var(--text-4xl); }
  .header-actions { gap: var(--s2); }
  .button-small { padding-inline: var(--s3); }
  .header-inner { gap: var(--s2); }
  .wordmark { letter-spacing: .12em; }
  .hero-actions { flex-direction: column; gap: var(--s2); }
  .time-figure { width: 242px; }
  .scene-bottom { font-size: var(--text-xs); }
  .watch-gallery { gap: var(--s2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .button:active, .menu-toggle:active, .dialog-close:active { transform: none; }
}
@media (forced-colors: active) {
  .hero-wash, .release-art { display: none; }
  .button, .phase-buttons button[aria-pressed="true"], .time-tabs button[aria-selected="true"] { border: 2px solid ButtonText; }
  .phase-buttons button[aria-pressed="true"], .time-tabs button[aria-selected="true"] { outline: 2px solid Highlight; outline-offset: -4px; }
  .scene-label, .scene-bottom, .game-location, .game-round, .game-direction { background: Canvas; color: CanvasText; }
  a { text-decoration: underline; }
  .phase-dot, .status-dot { border: 1px solid CanvasText; }
}
