/* Lunille: a Mac desktop at night, and a notch that works.
   Six colour roles, one accent (moonlight), two faces: Jost for the display,
   the system face for everything that should read like macOS. */

@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sc-canvas: #0B0E1A;
  --sc-surface: #141A2C;
  --sc-ink: #EEF1F8;
  --sc-ink-soft: #A3ABC2;
  --sc-accent: #FFD3A1;
  --sc-accent-ink: #1B140C;
  --sc-font-display: "Jost", "Futura", system-ui, sans-serif;
  --sc-font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sc-shadow-color: 228 45% 3%;

  --notch: #000;
  --menubar-h: 48px;
  --raised: #182036;
  --edge: inset 0 1px 0 rgb(255 255 255 / 0.07);
  --moon-hi: #FFFDF8;
  --moon-mid: #F9ECDB;
  --moon-lo: #E2C4A0;

  /* Radius rule: buttons and pills are full pill, windows and panels 14px,
     small chips 8px. The notch draws its own radii from the app. */
  --r-window: 14px;
  --r-chip: 8px;
}

/* The page is dark by design: night is the product's habitat. Same tokens either way. */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { color-scheme: dark; } }

html { background: var(--sc-canvas); scroll-padding-top: calc(var(--menubar-h) + 12px); }
body {
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: color-mix(in oklab, var(--sc-accent) 70%, transparent); color: var(--sc-accent-ink); }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: 8px; z-index: 60;
  padding: 8px 14px; border-radius: 999px;
  background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform 160ms var(--sc-ease-out, ease-out);
}
.skip:focus-visible { transform: none; }

/* ------------------------------------------------------------------ menu bar */
/* A macOS menu bar, a size up so it reads as the site's navigation. The notch in
   its middle is as tall as the bar, like the real thing. */
.menubar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--menubar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 18px;
  background: rgb(10 13 25 / 0.6);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06);
  font-size: 15px;
}
.menubar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.menubar__links { display: flex; align-items: center; gap: 2px; }
.menubar__links a, .menubar__download {
  color: var(--sc-ink); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap;
  transition: background-color 140ms ease-out;
}
.menubar__links a:hover, .menubar__download:hover { background: rgb(255 255 255 / 0.10); }
.menubar__links a[aria-current="page"] { background: rgb(255 255 255 / 0.08); }
.menubar__notch.nb, .menubar__notch { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.menubar__right { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.menubar__download { color: var(--sc-accent); font-weight: 600; }
.menubar__clock { padding: 0 6px 0 4px; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
/* Items the notch would cover step aside, the way macOS hides them. */
[data-collide] { transition: opacity 180ms ease-out, visibility 0s linear 0s; }
[data-collide].is-covered { opacity: 0; visibility: hidden; transition: opacity 140ms ease-out, visibility 0s linear 140ms; }

.extra { position: relative; }
.extra__button {
  display: grid; place-items: center; width: 36px; height: 30px; border: 0; border-radius: 8px;
  background: transparent; color: var(--sc-ink); font-size: 17px; cursor: pointer;
  transition: background-color 140ms ease-out;
}
.extra__button:hover, .extra__button[aria-expanded="true"] { background: rgb(255 255 255 / 0.12); }
.extra__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 5px;
  border-radius: 10px; background: rgb(32 36 50 / 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--sc-e3), inset 0 0 0 0.5px rgb(255 255 255 / 0.14);
}
.extra__menu a { display: block; padding: 6px 10px; border-radius: 5px; color: var(--sc-ink); text-decoration: none; font-size: 14px; }
.extra__menu a:hover, .extra__menu a:focus-visible { background: #2D6BDB; outline: none; }
.extra__menu hr { border: 0; height: 1px; margin: 5px 8px; background: rgb(255 255 255 / 0.12); }

/* The note that hangs under the notch while it's yours to play with. */
.notch-hint {
  position: fixed; left: 50%; top: 0; z-index: 41; margin: 0;
  padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--sc-ink); white-space: nowrap;
  background: rgb(20 26 44 / 0.8); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), var(--sc-e2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transform: translate(-50%, 60px); transition: opacity 200ms ease-out;
}
.notch-hint.is-shown { opacity: 1; }

/* ----------------------------------------------------------------- wordmark */
.wordmark { font-family: var(--sc-font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--sc-ink); text-decoration: none; white-space: nowrap; }
.wordmark__i { position: relative; display: inline-block; }
.wordmark__moon {
  position: absolute; left: 50%; top: 0.14em; width: 0.26em; height: 0.26em; margin-left: -0.13em; border-radius: 50%;
  background: radial-gradient(circle at 62% 36%, #FFFDF8, #F6E3C7 60%, #E2C4A0);
  box-shadow: 0 0 0.25em rgb(255 226 190 / 0.55);
}
/* One logo: the icon (a moon behind the notch) set beside the wordmark. */
.lockup { display: inline-flex; align-items: center; gap: 8px; color: var(--sc-ink); text-decoration: none; line-height: 1; }
.lockup img { flex: none; border-radius: 23%; }
.menubar .lockup { font-size: 22px; padding: 3px 8px 3px 3px; border-radius: 9px; transition: background-color 140ms ease-out; }
.menubar .lockup:hover { background: rgb(255 255 255 / 0.08); }
.menubar .lockup img { width: 26px; height: 26px; }
.lockup--foot { font-size: 22px; }
.lockup--foot img { width: 28px; height: 28px; }

/* -------------------------------------------------------------------- notch */
.nb { position: relative; width: calc(600px * var(--nb-scale)); height: calc(200px * var(--nb-scale)); pointer-events: none; }
.nb__inner { position: absolute; left: 0; top: 0; width: 600px; height: 200px; transform: scale(var(--nb-scale)); transform-origin: 0 0; }
.nb__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nb__shape path { fill: var(--notch); }
.nb__clip { position: absolute; inset: 0; }
.nb__content {
  position: absolute; top: 0;
  color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  transform-origin: 50% 0;
}
.nb__content.is-entering { opacity: 0; filter: blur(8px); transform: scale(0.94); }
.nb__content.is-in {
  opacity: 1; filter: none; transform: none;
  transition: opacity 300ms cubic-bezier(.23,1,.32,1) 80ms, filter 300ms cubic-bezier(.23,1,.32,1) 80ms, transform 300ms cubic-bezier(.23,1,.32,1) 80ms;
}
.nb__content.is-leaving { opacity: 0; filter: blur(4px); transform: scale(0.98); transition: opacity 100ms ease-out, filter 100ms ease-out, transform 100ms ease-out; }
.nb.is-expanded .nb__clip { pointer-events: auto; }
.nb__hit {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: calc((var(--nb-w, 173) + 24) * var(--nb-scale) * 1px);
  height: calc(var(--nb-h, 32) * var(--nb-scale) * 1px);
  border: 0; padding: 0; background: transparent; cursor: pointer; pointer-events: auto;
  border-radius: 0 0 calc(14px * var(--nb-scale)) calc(14px * var(--nb-scale));
}
/* Open, only the camera housing toggles it: the header's tabs and controls beside it stay clickable. */
.nb.is-expanded .nb__hit { width: calc(201px * var(--nb-scale)); height: calc(32px * var(--nb-scale)); }

.nb-wings { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 11px 0 9px; }
.nb-art { display: block; width: 22px; height: 22px; border-radius: 6px; flex: none; box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.12); }
.nb-art--40 { width: 40px; height: 40px; border-radius: 9px; }
.nb-art--64 { width: 64px; height: 64px; border-radius: 12px; }
.nb-bars { display: flex; align-items: center; gap: 1.6px; width: 15px; height: 13px; }
.nb-bars i { flex: 1; height: 100%; border-radius: 1px; background: var(--tint); transform: scaleY(0.25); transform-origin: 50% 50%; }
.nb-bars.is-playing i { animation: nb-bar 0.9s ease-in-out infinite alternate; }
.nb-bars.is-playing i:nth-child(2) { animation-duration: 0.62s; animation-delay: -0.3s; }
.nb-bars.is-playing i:nth-child(3) { animation-duration: 0.78s; animation-delay: -0.5s; }
.nb-bars.is-playing i:nth-child(4) { animation-duration: 0.55s; animation-delay: -0.2s; }
@keyframes nb-bar { 0% { transform: scaleY(0.22); } 45% { transform: scaleY(0.95); } 100% { transform: scaleY(0.4); } }

.nb-peek { display: grid; grid-template-columns: var(--wing) 1fr var(--wing); align-items: center; height: 32px; font-size: 12px; font-weight: 600; }
.nb-peek__lead { display: flex; align-items: center; gap: 6px; padding-left: 14px; min-width: 0; white-space: nowrap; overflow: hidden; }
.nb-peek__lead i { width: 16px; font-size: 13px; text-align: center; flex: none; }
.nb-peek__trail { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding-right: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nb-peek__trail i { font-size: 13px; }
.nb-battery { width: 25px; height: 12px; flex: none; }
.nb-timer b { font-size: 12.5px; letter-spacing: 0.01em; }

.nb-camera { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 32px; padding: 0 18px; font-size: 11.5px; font-weight: 600; color: rgb(235 235 245 / 0.6); }
.nb-camera > span:first-child { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.nb-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--tint);
  background: color-mix(in srgb, var(--tint) 16%, transparent);
}
.nb-pill i { font-size: 10.5px; }
.nb-banner__body { display: flex; align-items: center; gap: 12px; padding: 4px 18px 15px; }
.nb-banner__text { display: grid; gap: 3px; min-width: 0; flex: 1; }
.nb-banner__text b { font-size: 13px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-banner__text span { font-size: 12px; line-height: 15px; color: rgb(235 235 245 / 0.62); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-banner--track .nb-camera .nb-bars { margin-right: 2px; }
.nb-appicon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; flex: none; font-size: 23px; background: var(--bg); box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.18); }
.nb-action { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: #30A14E; }

.nb-ring { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; color: rgb(235 235 245 / 0.62); }
.nb-ring svg { width: 34px; height: 34px; }
.nb-ring b { color: #fff; font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* The showcase card: one size for every feature. */
.nb-show__body { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; column-gap: 18px; height: 95px; padding: 4px 22px 15px 18px; }
.nb-show__main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.nb-show__model { width: 124px; height: 104px; object-fit: contain; margin-top: -28px; align-self: end; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.6)); }
.nb-show__art { width: 72px; height: 72px; border-radius: 14px; justify-self: center; }
.nb-show__icon { width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; justify-self: center; font-size: 31px; background: var(--bg); box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.2), 0 6px 14px rgb(0 0 0 / 0.45); }
.nb-show__battery { justify-self: center; display: grid; }
.nb-show__battery .nb-battery { width: 84px; height: 40px; }
.nb-show__text { display: grid; gap: 3px; min-width: 0; flex: 1; }
.nb-show__text > b { font-size: 15px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-show__text > span { font-size: 12.5px; line-height: 16px; color: rgb(235 235 245 / 0.62); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-show__text--big > b { font-size: 34px; line-height: 38px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.nb-show .nb-scrub { margin-top: 5px; }
.nb-show__rings { display: flex; justify-content: space-around; flex: 1; }
.nb-show__meter { display: flex; align-items: center; gap: 14px; flex: 1; }
.nb-show__meter .nb-hud__track { height: 8px; border-radius: 4px; }
.nb-show__meter b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nb-show__device { display: grid; gap: 8px; min-width: 0; justify-items: start; }
.nb-show__device > b { font-size: 15px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nb-show__gauges { display: flex; gap: 14px; }
.nb-gauge { display: grid; justify-items: center; gap: 3px; }
.nb-gauge__ring { position: relative; display: grid; place-items: center; width: 30px; height: 30px; }
.nb-gauge__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nb-gauge__ring i, .nb-gauge__ring em { position: relative; font-size: 11px; font-style: normal; font-weight: 700; color: rgb(255 255 255 / 0.85); }
.nb-gauge > b { font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.7); }
.nb-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tint); }
.nb-show__files { display: flex; gap: 10px; flex: 1; min-width: 0; }
.nb-file { display: grid; justify-items: center; gap: 5px; width: 64px; }
.nb-file i { display: grid; place-items: center; width: 40px; height: 48px; border-radius: 7px; font-size: 22px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.14); }
.nb-file em { font-style: normal; font-size: 10.5px; color: rgb(235 235 245 / 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nb-action--quiet { display: inline-flex; align-items: center; gap: 5px; background: rgb(255 255 255 / 0.12); }
.nb-ring__fill { animation: nb-ring-in 1s cubic-bezier(.23,1,.32,1) 120ms both; }
@keyframes nb-ring-in { from { stroke-dashoffset: var(--c); } }

.nb-hud__row { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 18px 8px; font-size: 13px; }
.nb-hud__track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgb(255 255 255 / 0.18); overflow: hidden; }
.nb-hud__track i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; }

/* The open notch: ExpandedView.swift's header, Home and Tray. */
.nb-expanded { position: relative; height: 100%; }
.nb-xhead { padding: 0 16px; gap: 0; }
.nb-xside { display: flex; align-items: center; gap: 4px; flex: 1; }
.nb-xside--end { justify-content: flex-end; gap: 6px; }
.nb-xhead > .nb-xside:first-child { margin-right: 201px; }
.nb-xhead button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.nb-xhead .nb-tab { position: relative; display: grid; place-items: center; width: 30px; height: 21px; border-radius: 999px; font-size: 12px; color: rgb(255 255 255 / 0.5); transition: background-color 150ms ease-out, color 150ms ease-out; }
.nb-xhead .nb-tab:hover { color: rgb(255 255 255 / 0.8); background: rgb(255 255 255 / 0.08); }
.nb-xhead .nb-tab.is-on { color: #fff; background: rgb(255 255 255 / 0.16); }
.nb-xhead .nb-tab em { position: absolute; top: -3px; right: -3px; min-width: 12px; height: 12px; padding: 0 3px; border-radius: 6px; background: #fff; color: #000; font: 700 8px/12px -apple-system, BlinkMacSystemFont, sans-serif; font-style: normal; }
.nb-xhead .nb-chip { display: inline-flex; align-items: center; gap: 4px; height: 21px; min-width: 30px; justify-content: center; padding: 0 8px; border-radius: 999px; font-size: 10px; color: rgb(255 255 255 / 0.5); }
.nb-xhead .nb-chip:hover { background: rgb(255 255 255 / 0.08); }
.nb-xhead .nb-chip.is-on { color: #FF9F0A; background: rgb(255 159 10 / 0.16); }
.nb-xhead .nb-chip b { font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.nb-xhead .nb-ctl { display: grid; place-items: center; width: 22px; height: 21px; border-radius: 6px; font-size: 12px; color: rgb(255 255 255 / 0.7); transition: transform 120ms ease-out; }
.nb-xhead .nb-ctl:hover { color: #fff; }
.nb-xhead .nb-xhead .nb-ctl:active, .nb-xhead .nb-tab:active, .nb-xhead .nb-chip:active { transform: scale(0.9); }
.nb-xhead .nb-ctl.is-on { color: #FF9F0A; }
.nb-xbat { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; }
.nb-xbat .nb-battery { width: 23px; height: 11px; }
.nb-xbody { height: 128px; padding: 6px 20px 16px; }

.nb-art--86 { width: 86px; height: 86px; border-radius: 16px; }
.nb-art { background-size: cover; background-position: center; }
.nb-player { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; align-items: center; height: 100%; }
.nb-player__art .nb-art { box-shadow: 0 6px 18px rgb(0 0 0 / 0.5), inset 0 0 0 0.5px rgb(255 255 255 / 0.12); }
.nb-player__meta { display: grid; grid-template-rows: auto 1fr auto; height: 86px; min-width: 0; }
.nb-player__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nb-player__names { display: grid; gap: 2px; min-width: 0; flex: 1; }
.nb-player__names b { font-size: 15px; font-weight: 600; line-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-player__names span { font-size: 13px; line-height: 16px; color: rgb(255 255 255 / 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-player__top .nb-bars { width: 18px; height: 15px; }
.nb-scrub { display: grid; gap: 3px; margin-top: 6px; align-self: center; }
.nb-scrub__bar { position: relative; display: block; width: 100%; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgb(255 255 255 / 0.16); overflow: hidden; cursor: pointer; }
.nb-scrub__bar::before { content: ""; position: absolute; inset: -8px 0; }
.nb-scrub__bar:hover { height: 6px; margin-block: -1px; }
.nb-scrub__bar i { position: absolute; inset: 0; background: rgb(255 255 255 / 0.85); transform-origin: 0 50%; transition: transform 260ms linear; }
.nb-scrub__times { display: flex; justify-content: space-between; font-size: 10px; color: rgb(235 235 245 / 0.5); font-variant-numeric: tabular-nums; }
.nb-scrub__times em { font-style: normal; }
.nb-controls { display: flex; justify-content: center; align-items: center; gap: 18px; }
.nb-controls button {
  display: grid; place-items: center; width: 30px; height: 26px; border: 0; border-radius: 7px;
  background: transparent; color: #fff; font-size: 15px; cursor: pointer;
  transition: background-color 120ms ease-out, transform 120ms ease-out;
}
.nb-controls .nb-controls__main { font-size: 21px; }
.nb-controls button:hover { background: rgb(255 255 255 / 0.12); }
.nb-controls button:active { transform: scale(0.88); }

.nb-drop { display: grid; place-items: center; align-content: center; gap: 6px; height: 100%; border-radius: 16px; font-size: 12px; font-weight: 500; color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.04); outline: 1.5px dashed rgb(255 255 255 / 0.2); outline-offset: -1.5px; transition: background-color 200ms ease-out, color 200ms ease-out, outline-color 200ms ease-out; }
.nb-drop i { font-size: 22px; }
.nb-drop.is-hot, .nb-tray.is-hot .nb-tray__items { color: rgb(255 255 255 / 0.95); background: rgb(255 255 255 / 0.1); outline-color: rgb(255 255 255 / 0.6); }
.nb-tray { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; height: 100%; }
.nb-tray__items { display: flex; gap: 8px; align-items: center; padding: 2px 6px; border-radius: 14px; overflow: hidden; outline: 1.5px dashed transparent; outline-offset: -1.5px; }
.nb-tile { display: grid; justify-items: center; gap: 4px; width: 66px; }
.nb-tile img, .nb-tile i { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.nb-tile i { display: grid; place-items: center; font-size: 30px; background: rgb(255 255 255 / 0.06); }
.nb-tile em { font-style: normal; font-size: 10px; font-weight: 500; color: rgb(255 255 255 / 0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.nb-tray__actions { display: grid; gap: 8px; align-content: center; }
.nb-tray__actions button { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.12); color: #fff; font: 600 11px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; }
.nb-tray__actions button:hover { background: rgb(255 255 255 / 0.2); }
.nb-ehud { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: #262626; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 2px 10px rgb(0 0 0 / 0.5); font-size: 11px; animation: nb-ehud-in 260ms cubic-bezier(.23,1,.32,1) both; }
.nb-ehud .nb-hud__track { flex: none; width: 150px; height: 5px; }
.nb-ehud b { width: 24px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.75); }
@keyframes nb-ehud-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* Bars that follow the music's real levels (player.js writes --b0..--b3). */
.nb-bars.is-live i { animation: none; transition: none; }
.nb-bars.is-live i:nth-child(1) { transform: scaleY(var(--b0, 0.25)); }
.nb-bars.is-live i:nth-child(2) { transform: scaleY(var(--b1, 0.25)); }
.nb-bars.is-live i:nth-child(3) { transform: scaleY(var(--b2, 0.25)); }
.nb-bars.is-live i:nth-child(4) { transform: scaleY(var(--b3, 0.25)); }

[data-stagger] { animation: nb-stagger 500ms cubic-bezier(.23,1,.32,1) both; }
[data-stagger="0"] { animation-delay: 60ms; } [data-stagger="1"] { animation-delay: 110ms; } [data-stagger="2"] { animation-delay: 160ms; } [data-stagger="3"] { animation-delay: 210ms; }
.nb__content.is-static [data-stagger], .nb__content.is-static .nb-ehud, .nb__content.is-static .nb-ring__fill { animation: none; }
@keyframes nb-stagger { from { opacity: 0; transform: translateY(7px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* ------------------------------------------------------------------ buttons */
.button {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px;
  border-radius: 999px; font: 600 16px/1 var(--sc-font-text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--sc-ease-out, ease-out), background-color 160ms ease-out, box-shadow 160ms ease-out;
}
.button:active { transform: scale(0.97); }
.button--primary { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 6px 18px -6px rgb(255 211 161 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.55); }
.button--primary:hover { background: #FFDDB6; }
.button--quiet { color: var(--sc-ink); box-shadow: inset 0 0 0 1px var(--sc-hairline-strong); }
.button--quiet:hover { background: rgb(255 255 255 / 0.06); }
.linklike { border: 0; padding: 0; background: none; color: var(--sc-accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.section-title { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.section-title--small { font-size: var(--sc-t-xl); }
.body { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); max-width: 38ch; text-wrap: pretty; margin: 0; }

/* --------------------------------------------------------------------- hero */
/* The opening frame is the app icon at page scale: the menu bar's notch, drawn
   large, covers the top of the moon. Scrolling shrinks the notch into the menu
   bar and the moon slips up into it. */
.hero {
  position: relative; min-height: 100dvh; padding: calc(var(--menubar-h) + 2vh) var(--sc-gutter) 10vh;
  display: grid; align-content: end; justify-items: center; overflow: clip; isolation: isolate;
  --moon: min(50vh, 62vw);
}
.hero__stars { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; z-index: -5; transform: translate3d(0, calc(var(--hero-y, 0) * 0.3px), 0); }
.hero__moon {
  will-change: transform;
  position: absolute; left: 50%; top: calc(var(--moon) * -0.16); z-index: -3;
  width: var(--moon); height: var(--moon); margin-left: calc(var(--moon) / -2);
  transform: translate3d(0, calc(var(--hero-y, 0) * 0.62px), 0) scale(calc(1 - var(--hero-p, 0) * 0.78));
  transform-origin: 50% 0;
  opacity: calc(1 - var(--hero-p, 0) * 1.1);
}
.hero__moon::before {
  content: ""; position: absolute; inset: -55%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 236 210 / 0.22), rgb(255 222 188 / 0.07) 52%, transparent 78%);
}
.moon {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 calc(var(--moon) * 0.12) rgb(255 232 205 / 0.18);
}
.moon__detail { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk__moon .moon__detail { opacity: 1; }
.moon__sea { position: absolute; border-radius: 50%; background: rgb(168 134 104 / 0.3); filter: blur(calc(var(--moon) * 0.022)); }
.moon__sea--1 { left: 16%; top: 50%; width: 34%; height: 24%; transform: rotate(-20deg); }
.moon__sea--2 { left: 52%; top: 64%; width: 28%; height: 17%; transform: rotate(15deg); }
.moon__sea--3 { left: 63%; top: 40%; width: 17%; height: 23%; transform: rotate(30deg); }
.moon__sea--4 { left: 34%; top: 77%; width: 16%; height: 10%; }
.hero__mist {
  position: absolute; inset: auto -10% 18% -10%; height: 26%; z-index: -3;
  background: radial-gradient(60% 50% at 50% 60%, rgb(150 168 230 / 0.10), transparent 70%);
  transform: translate3d(0, calc(var(--hero-y, 0) * 0.2px), 0);
}
.hero__ridge { position: absolute; left: -2%; right: -2%; bottom: 0; }
.hero__ridge--far {
  height: 30%; z-index: -4;
  background: linear-gradient(180deg, #232B52 0%, #171D3A 55%, #121731 100%);
  transform: translate3d(0, calc(var(--hero-y, 0) * 0.16px), 0);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18vh; z-index: -1; background: linear-gradient(180deg, transparent, var(--sc-canvas) 85%); pointer-events: none; }
.hero__ridge--near {
  height: 26%; bottom: -5%; z-index: -2;
  background: linear-gradient(180deg, #121733 0%, #0D1124 45%, var(--sc-canvas) 100%);
  transform: translate3d(0, calc(var(--hero-y, 0) * -0.05px), 0);
}
.hero__copy { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--sc-4); max-width: 46rem; }
.hero__eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: var(--sc-accent); letter-spacing: 0.01em; }
.hero__title { margin: 0; font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.4rem); line-height: 1.03; letter-spacing: -0.025em; text-wrap: balance; }
.hero__lede { margin: 0; max-width: 36ch; font-size: var(--sc-t-lg); line-height: 1.5; color: #C3C9DA; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--sc-3); }

/* Where the browser can, the hero's layers follow the scroll itself rather than a script:
   the same rates as the --hero-y fallback above, but computed with the scroll on every
   frame, so nothing trails behind it (a script can only follow, which shows on phones). */
@supports (animation-timeline: scroll()) {
  .hero__stars, .hero__moon, .hero__mist, .hero__ridge--far, .hero__ridge--near {
    transform: none;
    animation-timing-function: linear; animation-fill-mode: both; animation-duration: auto;
    animation-timeline: scroll(root block);
    animation-range: 0 var(--hero-h, 100vh);
  }
  .hero__stars { animation-name: hero-stars; }
  .hero__mist { animation-name: hero-mist; }
  .hero__ridge--far { animation-name: hero-far; }
  .hero__ridge--near { animation-name: hero-near; }
  .hero__moon {
    opacity: 1; will-change: translate, scale, opacity;
    animation-name: hero-moon-drift, hero-moon-set;
    animation-range: 0 var(--hero-h, 100vh), 0 calc(var(--hero-h, 100vh) * 0.85);
  }
}
@keyframes hero-stars { from { translate: 0 0; } to { translate: 0 calc(var(--hero-h, 100vh) * 0.3); } }
@keyframes hero-mist { from { translate: 0 0; } to { translate: 0 calc(var(--hero-h, 100vh) * 0.2); } }
@keyframes hero-far { from { translate: 0 0; } to { translate: 0 calc(var(--hero-h, 100vh) * 0.16); } }
@keyframes hero-near { from { translate: 0 0; } to { translate: 0 calc(var(--hero-h, 100vh) * -0.05); } }
@keyframes hero-moon-drift { from { translate: 0 0; } to { translate: 0 calc(var(--hero-h, 100vh) * 0.62); } }
/* scale 1 - 0.78p and opacity 1 - 1.1p over the first 85 % of the hero, as in the fallback. */
@keyframes hero-moon-set { from { scale: 1; opacity: 1; } 90.91% { opacity: 0; } to { scale: 0.22; opacity: 0; } }

/* ------------------------------------------------------- live: the peak act */
/* The whole viewport is the Mac's screen: the menu bar above is its menu bar and
   the page's one notch plays the demo. The stage only paints the desktop and the words. */
.live__stage {
  isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; justify-items: center;
  row-gap: var(--sc-4);
  /* The words hang under the card the notch is showing: 127 pt at the notch's scale. */
  padding: calc(127px * var(--nb-base, 1.5) + clamp(28px, 6vh, 60px)) var(--sc-gutter) 4.5vh;
}
.desk {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 46% at 50% 0%, rgb(255 222 186 / 0.12), transparent 70%),
    linear-gradient(180deg, #1D2550 0%, #151C40 48%, #0F142E 76%, var(--sc-canvas) 100%);
}
.desk__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk__moon {
  position: absolute; right: 12%; top: 34%; width: min(9vw, 15vh); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 62% 38%, var(--moon-hi), var(--moon-mid) 46%, #E6CBA9 88%);
  background-size: cover;
  box-shadow: 0 0 60px 10px rgb(255 232 205 / 0.12);
}
.desk__ridge { position: absolute; left: -2%; right: -2%; bottom: 0; }
.desk__ridge--far { height: 36%; background: linear-gradient(180deg, #202850, #151B3A 70%); }
.desk__ridge--near { height: 22%; background: linear-gradient(180deg, #0F1430, var(--sc-canvas) 85%); }

.live__captions { grid-row: 1; position: relative; width: min(100%, 40rem); min-height: 10rem; }
.live__caption { position: absolute; inset: 0 0 auto 0; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity 260ms ease-out, transform 360ms cubic-bezier(.23,1,.32,1); pointer-events: none; }
.live__caption.is-current { opacity: 1; transform: none; pointer-events: auto; }
.live__caption h2 { margin: 0 0 var(--sc-3); font-family: var(--sc-font-display); font-weight: 500; font-size: clamp(2rem, 1.15rem + 2.1vw, 3.05rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.live__caption p { margin: 0 auto; font-size: var(--sc-t-lg); line-height: 1.5; color: #B7BED2; max-width: 40ch; text-wrap: pretty; }

/* The eight moments as a timeline: the line fills as the demo plays. */
.live__index { grid-row: 3; position: relative; list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; max-width: 100%; }
.live__index::before, .live__index::after { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 1px; }
.live__index::before { background: rgb(255 255 255 / 0.1); }
.live__index::after { background: var(--sc-accent); transform-origin: 0 50%; transform: scaleX(var(--sc-p, 0)); }
.live__index button {
  padding: 6px 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--sc-ink-soft); font: 500 14px var(--sc-font-text); cursor: pointer;
  transition: color 140ms ease-out, background-color 140ms ease-out;
}
.live__index button:hover { color: var(--sc-ink); background: rgb(255 255 255 / 0.05); }
.live__index button[aria-current="step"] { color: var(--sc-ink); background: rgb(255 255 255 / 0.08); }
.live__note { grid-row: 4; margin: 0; text-align: center; font-size: var(--sc-t-xs); color: rgb(163 171 194 / 0.8); }

/* -------------------------------------------------------------- try it out */
/* The page stops and becomes the Mac's desktop: a lake at moonrise, three files, a
   Dock. The menu bar's notch is the one to play with; try.js runs the desktop. */
.try__stage {
  isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto; column-gap: var(--sc-6);
  padding: calc(var(--menubar-h) + 60px) var(--sc-gutter) 16px;
}
.lake {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(34% 26% at var(--mx, 64%) var(--my, 42%), rgb(255 214 168 / 0.17), transparent 72%),
    linear-gradient(180deg, #090E22 0%, #121A42 calc(var(--hz, 60%) * 0.63), #232C5C calc(var(--hz, 60%) - 0.5%), #2C3566 var(--hz, 60%));
}
.lake__stars { position: absolute; left: 0; top: 0; width: 100%; height: var(--hz, 60%); }
.lake__moon {
  position: absolute; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; overflow: hidden; will-change: transform;
  box-shadow: 0 0 70px 16px rgb(255 226 190 / 0.15);
}
.lake__moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FF9E57; mix-blend-mode: multiply; opacity: calc(var(--warm, 0) * 0.32); }
.lake__water { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The words sit below the band the open notch drops into. */
.try__copy { grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: var(--sc-4); max-width: 36rem; margin-top: calc(160px * var(--nb-base, 1.5) - 40px); text-shadow: 0 1px 12px rgb(9 14 34 / 0.6); }
.try__copy .body { margin: 0; max-width: 34ch; }
/* Three things to try. The scroll walks through them; the current one shows its detail
   and lights what it's about (the notch, the Dock, the files). Each is also a button. */
.try__steps { position: relative; list-style: none; margin: var(--sc-3) 0 0; padding: 0; display: grid; gap: 2px; }
.try__steps::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: rgb(255 255 255 / 0.12); }
.try__step {
  position: relative; display: grid; width: 100%; padding: 8px 12px 8px 20px; border: 0; border-radius: 10px;
  background: transparent; color: var(--sc-ink); font: inherit; text-align: left; cursor: pointer;
  transition: background-color 200ms ease-out;
}
.try__step::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: var(--sc-accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform 420ms cubic-bezier(.23,1,.32,1); }
.try__step b { font-size: var(--sc-t-base); font-weight: 600; line-height: 1.4; color: rgb(238 241 248 / 0.72); transition: color 300ms ease-out; }
.try__step span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: var(--sc-t-sm); line-height: 1.5; color: var(--sc-ink-soft); transition: max-height 380ms cubic-bezier(.23,1,.32,1), opacity 300ms ease-out, margin 380ms; }
.try__step:hover { background: rgb(255 255 255 / 0.04); }
.try__step:hover b, .try__step.is-current b { color: var(--sc-ink); }
.try__step.is-current::before { transform: none; }
.try__step.is-current span { max-height: 3.2em; opacity: 1; margin-top: 2px; }

/* What each step lights: the Dock (2), the files and a path from them to the notch (3). */
.dock__shelf { transition: box-shadow 500ms ease-out; }
.try[data-step="1"] .dock__shelf { box-shadow: inset 0 0 0 1px rgb(255 211 161 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.1), 0 0 44px rgb(255 211 161 / 0.12), 0 24px 60px rgb(4 6 18 / 0.55); }
.dock.is-waving .dock__icon { animation: dock-wave 900ms cubic-bezier(.3,.7,.4,1) both; }
.dock.is-waving li:nth-child(2) .dock__icon { animation-delay: 55ms; } .dock.is-waving li:nth-child(3) .dock__icon { animation-delay: 110ms; }
.dock.is-waving li:nth-child(4) .dock__icon { animation-delay: 165ms; } .dock.is-waving li:nth-child(5) .dock__icon { animation-delay: 220ms; }
.dock.is-waving li:nth-child(6) .dock__icon { animation-delay: 275ms; } .dock.is-waving li:nth-child(7) .dock__icon { animation-delay: 330ms; }
.dock.is-waving li:nth-child(8) .dock__icon { animation-delay: 385ms; } .dock.is-waving li:nth-child(10) .dock__icon { animation-delay: 440ms; }
@keyframes dock-wave { 0%, 100% { translate: 0 0; } 38% { translate: 0 -9px; } 70% { translate: 0 1px; } }
.file__thumb { transition: filter 500ms ease-out; }
.try[data-step="2"] .file__thumb { filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.45)) drop-shadow(0 0 12px rgb(255 214 168 / 0.35)); }
.try__arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 320ms ease-out; }
.try[data-step="2"] .try__arc.is-drawn { opacity: 1; }
.try__arc-line { stroke: rgb(255 214 168 / 0.75); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 0.1 8; }
.try__arc-reveal { stroke: #fff; stroke-width: 10; transition: stroke-dashoffset 1100ms cubic-bezier(.45,0,.2,1); }
.try__arc-end { fill: var(--sc-accent); opacity: 0; transition: opacity 300ms ease-out 900ms; }
.try__arc.is-drawn .try__arc-end { opacity: 0.9; }

/* Moonlight gathers under the notch while it's yours to try, and a little more each time
   it swells (try.js), until the visitor touches it. */
.menubar__notch.nb::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: -1; pointer-events: none;
  width: calc((var(--nb-w, 173) + 150) * var(--nb-scale) * 1px); height: calc((var(--nb-h, 32) + 64) * var(--nb-scale) * 1px);
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 30%, rgb(255 214 168 / 0.3), rgb(255 214 168 / 0.08) 55%, transparent 76%);
  opacity: 0; transition: opacity 900ms ease-out;
}
:root[data-notch-zone="try"]:not([data-notch-touched]) .menubar__notch.nb::before { opacity: 0.5; }
:root[data-notch-zone="try"] .menubar__notch.nb.is-calling::before { opacity: 1; transition-duration: 280ms; }
.menubar__notch.nb.is-expanded::before { opacity: 0; }

.files { grid-column: 2; grid-row: 1; align-self: start; display: grid; justify-items: center; gap: 10px; opacity: var(--enter, 1); }
.file {
  display: grid; justify-items: center; gap: 7px; width: 96px; padding: 6px 4px; border: 0; border-radius: 10px;
  background: transparent; color: var(--sc-ink); cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
}
.file:active { cursor: grabbing; }
.file__thumb { display: grid; place-items: center; width: 64px; height: 64px; font-size: 56px; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.45)); }
.file[data-file="brief"] .file__thumb { color: #FF6B5E; }
.file[data-file="notes"] .file__thumb { color: #DDE2EE; }
.file__thumb--image { width: 62px; height: 46px; margin: 9px 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 2.5px #F4F5F8, 0 6px 14px rgb(0 0 0 / 0.5); filter: none; }
.file__thumb--image img { width: 100%; height: 100%; object-fit: cover; }
.file__name { padding: 1px 6px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.35; text-shadow: 0 1px 2px rgb(0 0 0 / 0.7); }
.file:hover .file__name, .file:focus-visible .file__name { background: #2A62E4; text-shadow: none; }
.file:focus-visible { outline: none; }
.file.is-dragging { opacity: 0.35; }
.file__ghost { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; opacity: 0.92; }
.file__ghost.is-returning { transition: transform 240ms cubic-bezier(.23,1,.32,1), opacity 240ms ease-out; opacity: 0; }
.file__ghost.is-dropped { transition: opacity 180ms ease-out, filter 180ms ease-out; opacity: 0; filter: blur(4px); }
.files__hint { margin: 0; max-width: 8rem; font-size: 12px; line-height: 1.4; text-align: center; color: rgb(238 241 248 / 0.72); text-shadow: 0 1px 6px rgb(0 0 0 / 0.6); }

.dock { grid-column: 1 / -1; grid-row: 2; justify-self: center; position: relative; transform: translateY(calc((1 - var(--enter, 1)) * 150%)); }
.dock__shelf {
  list-style: none; margin: 0; display: flex; align-items: flex-end; gap: 8px; height: 74px; padding: 8px 10px; border-radius: 22px;
  background: rgb(26 32 60 / 0.46);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.1), 0 24px 60px rgb(4 6 18 / 0.55);
}
.dock__item { position: relative; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--sc-ink); cursor: pointer; --mag: 1; }
.dock__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 13px; background: var(--bg); color: var(--glyph); font-size: 30px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), inset 0 0 0 0.5px rgb(255 255 255 / 0.25), 0 4px 10px rgb(0 0 0 / 0.35);
  transform: translateY(calc((var(--mag) - 1) * -26px)) scale(var(--mag)); transform-origin: 50% 100%;
  transition: transform 150ms cubic-bezier(.23,1,.32,1);
}
.dock__item:active .dock__icon { filter: brightness(0.82); }
.dock__item.is-bouncing .dock__icon { animation: dock-bounce 700ms cubic-bezier(.3,.7,.4,1); }
@keyframes dock-bounce { 0%, 100% { translate: 0 0; } 24% { translate: 0 -22px; } 48% { translate: 0 0; } 68% { translate: 0 -8px; } 84% { translate: 0 0; } }
.dock__label {
  position: absolute; left: 50%; bottom: calc(100% + 14px + (var(--mag) - 1) * 44px); transform: translateX(-50%);
  padding: 4px 10px; border-radius: 7px; background: rgb(30 34 52 / 0.92); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  font-size: 13px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 120ms ease-out;
}
.dock__item:hover .dock__label, .dock__item:focus-visible .dock__label { opacity: 1; }
.dock__item:focus-visible { outline: none; }
.dock__item:focus-visible .dock__icon { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
.dock__item::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgb(255 255 255 / 0.8); opacity: 0; transition: opacity 200ms ease-out; }
.dock__item.is-running::after { opacity: 1; }
.dock__divider { align-self: center; width: 1px; height: 46px; margin: 0 3px; background: rgb(255 255 255 / 0.2); }
.sound {
  position: absolute; right: 0; bottom: calc(100% + 16px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgb(26 30 50 / 0.86); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 18px 40px rgb(4 6 18 / 0.5); color: rgb(255 255 255 / 0.8); font-size: 16px;
}
.sound[hidden] { display: none; }
.sound input { width: 180px; accent-color: #fff; }

.try__credit { grid-column: 1 / -1; grid-row: 3; justify-self: center; max-width: 92ch; margin: 14px 0 0; text-align: center; font-size: var(--sc-t-xs); line-height: 1.5; color: rgb(163 171 194 / 0.8); }

/* -------------------------------------------------------------- install */
.install { padding: clamp(2rem, 4vw, 3.5rem) var(--sc-gutter) 3rem; }
.install__inner { max-width: 62rem; margin: 0 auto; display: grid; justify-items: center; gap: var(--sc-7); }
.install__head { display: grid; justify-items: center; gap: var(--sc-4); text-align: center; }
.install__head .body { max-width: 34ch; }
.install__icon { width: 128px; height: 128px; filter: drop-shadow(0 16px 30px rgb(0 0 0 / 0.5)); }

.finder {
  width: min(100%, 36rem); border-radius: var(--r-window); overflow: hidden;
  background: rgb(26 31 48 / 0.92); box-shadow: var(--sc-e3), inset 0 0 0 1px rgb(255 255 255 / 0.1);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.finder__titlebar { position: relative; display: grid; place-items: center; height: 38px; font-size: 13px; font-weight: 600; color: rgb(235 235 245 / 0.75); background: rgb(255 255 255 / 0.04); border-bottom: 1px solid rgb(0 0 0 / 0.4); }
.finder__lights { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 8px; }
.finder__lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.finder__lights i:nth-child(2) { background: #FEBC2E; }
.finder__lights i:nth-child(3) { background: #28C840; }
.finder__body {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; padding: 34px 26px 14px;
  background: radial-gradient(80% 120% at 50% 0%, rgb(255 211 161 / 0.06), transparent 60%);
}
.finder__item { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.finder__app { cursor: grab; touch-action: none; position: relative; z-index: 2; border-radius: 16px; padding: 6px; transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.finder__app img { width: 96px; height: 96px; pointer-events: none; }
.finder__app.is-dragging { cursor: grabbing; transition: none; }
.finder__app.is-dragging img { filter: drop-shadow(0 18px 24px rgb(0 0 0 / 0.55)); }
.finder__app.is-dropped { opacity: 0; transform: var(--drop) scale(0.6); transition: transform 320ms cubic-bezier(.23,1,.32,1), opacity 260ms ease-out 80ms; }
.finder__arrow { font-size: 28px; color: rgb(235 235 245 / 0.35); }
.finder__apps { padding: 6px 10px; border-radius: 16px; transition: background-color 160ms ease-out, transform 200ms cubic-bezier(.23,1,.32,1); }
.finder__apps.is-over { background: rgb(255 255 255 / 0.1); transform: scale(1.05); }
.finder__folder { position: relative; display: grid; place-items: center; width: 96px; height: 96px; font-size: 96px; line-height: 1; color: #4FA3F7; }
.finder__folder .ph-folder { filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.4)); }
.finder__glyph { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); font-size: 30px; color: rgb(16 70 130 / 0.75); }
.finder__status { margin: 0; padding: 0 20px 18px; text-align: center; font-size: 13px; color: rgb(235 235 245 / 0.6); min-height: 1.4em; }
.finder__status.is-done { color: var(--sc-accent); font-weight: 600; }

.install__actions { display: grid; justify-items: center; gap: var(--sc-3); text-align: center; }
.install__meta, .install__phone, .install__price { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 46ch; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-5); }
.steps li { counter-increment: step; display: grid; align-content: start; gap: 8px; padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); }
.steps li::before { content: counter(step); font: 500 var(--sc-t-lg) var(--sc-font-display); color: var(--sc-accent); }
.steps h3 { margin: 0; font-size: var(--sc-t-base); font-weight: 600; }
.steps p { margin: 0; font-size: var(--sc-t-sm); line-height: 1.55; color: var(--sc-ink-soft); }
.steps b { color: var(--sc-ink); font-weight: 600; }

.faq { width: 100%; max-width: 46rem; display: grid; gap: 0; }
.faq .section-title { margin-bottom: var(--sc-4); }
.faq details { border-top: 1px solid var(--sc-hairline); }
.faq details:last-child { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 16px 2px; cursor: pointer; list-style: none; font-size: var(--sc-t-base); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--sc-font-display); color: var(--sc-ink-soft); transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 60ch; color: var(--sc-ink-soft); line-height: 1.6; }

.install__more { margin: calc(-1 * var(--sc-4)) 0 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.install__more a, .install__price a, .faq a { color: var(--sc-accent); text-underline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------- faq page */
.faqpage { max-width: 50rem; margin: 0 auto; padding: calc(var(--menubar-h) + clamp(3rem, 8vw, 6rem)) var(--sc-gutter) 3rem; display: grid; gap: var(--sc-7); }
.faqpage__head { display: grid; gap: var(--sc-3); }
.faqpage__head .section-title { font-size: var(--sc-t-3xl); }
.faqpage__back { margin: 0; }
.faq details p b { color: var(--sc-ink); font-weight: 600; }

.foot { width: 100%; display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; gap: 12px; padding-top: var(--sc-6); border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.foot p { margin: 0; }
.foot__legal { justify-self: end; text-align: right; max-width: 52ch; color: rgb(163 171 194 / 0.7); }

/* ------------------------------------------------------------------ phones */
@media (max-width: 860px) {
  .menubar__links, .menubar__clock { display: none; }
  .menubar__download { font-size: 13px; padding: 5px 10px; }
  .live__captions { min-height: 11rem; }
  .live__index button { padding: 4px 9px; font-size: 13px; }
  .live__index button[aria-current="step"] { background: rgb(255 211 161 / 0.14); color: var(--sc-accent); }
  .try__stage { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto; padding-top: calc(var(--menubar-h) + 44px); }
  .try__copy { grid-row: 1; align-self: start; }
  .files { grid-column: 1; grid-row: 3; align-self: end; grid-auto-flow: column; justify-content: start; align-items: start; margin-bottom: var(--sc-4); }
  .file { width: 78px; }
  .files__hint { align-self: center; text-align: left; }
  .dock { grid-row: 4; }
  .dock__shelf { gap: 4px; height: 52px; padding: 6px 7px; border-radius: 16px; }
  .dock__icon { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }
  .dock__divider { height: 28px; margin: 0 1px; }
  .dock__label { bottom: calc(100% + 10px); font-size: 12px; }
  .try__credit { grid-row: 5; }
  .try__arc { display: none; }
  .steps { grid-template-columns: 1fr; }
  .foot { grid-template-columns: auto 1fr; }
  .foot__legal, .foot__links { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 560px) {
  .menubar__download { display: none; }
  .menubar .lockup .wordmark { display: none; }
  .hero { --moon: 96vw; padding-bottom: 7vh; }
  .hero__title { font-size: 2.45rem; }
  .steps { grid-template-columns: 1fr; }
  .finder__body { padding: 26px 12px 10px; }
  .finder__app img, .finder__folder { width: 76px; height: 76px; font-size: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-ring__fill { animation: none; }
  .dock__icon { transition: none; }
  .dock__item.is-bouncing .dock__icon, .dock.is-waving .dock__icon { animation: none; }
  .try__step::before, .try__step span, .try__arc-reveal { transition: none; }
  .hero__stars, .hero__moon, .hero__ridge { transform: none !important; }
  .hero__stars, .hero__moon, .hero__mist, .hero__ridge { animation: none !important; }
  .hero__moon { opacity: 1 !important; }
  .nb-bars.is-playing i { animation: none; transform: scaleY(0.6); }
  .live__caption { transition: opacity 200ms ease-out; transform: none; }
  [data-stagger] { animation: none; }
}

/* Touch: there's no hover and no trackpad swipe, so the hints say less, and the notch is easier to hit. */
@media (pointer: coarse) {
  .nb__hit { min-height: 40px; }
}

/* Privacy policy: the FAQ page's frame with plain reading sections. */
.legal { max-width: 46rem; gap: var(--sc-6); }
.legal__date { margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.legal__part { display: grid; gap: var(--sc-3); padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline); }
.legal__part h2 { margin: 0; font: 500 var(--sc-t-lg)/1.25 var(--sc-font-display); letter-spacing: -0.01em; }
.legal__part p, .legal__list dd { margin: 0; max-width: 62ch; color: var(--sc-ink-soft); line-height: 1.65; }
.legal__part b, .legal__list dt { color: var(--sc-ink); font-weight: 600; }
.legal__list { margin: 0; display: grid; gap: var(--sc-4); }
.legal__list dd { margin-top: 4px; }
.legal a { color: var(--sc-accent); text-underline-offset: 3px; }

.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot__links a { color: inherit; text-underline-offset: 3px; }
.foot__links a:hover { color: var(--sc-ink); }

/* ------------------------------------------------------------------ pricing page
   "A whole moon to decide." One value, the day of the cycle (pricing.js), sets --lit (how
   much of the moon is lit) and --t (where the thumb sits); everything below reads them. */
.pricing { overflow-x: clip; }
.cycle {
  --lit: 1; --t: 0.5;
  position: relative; isolation: isolate; max-width: 76rem; margin: 0 auto;
  min-height: min(100dvh, 980px); box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: "intro sky" "offer sky"; align-content: center;
  gap: var(--sc-6) clamp(2rem, 5vw, 5rem);
  padding: calc(var(--menubar-h) + clamp(2rem, 5vw, 4.5rem)) var(--sc-gutter) clamp(3rem, 6vw, 5rem);
}
/* Moonlight washes the faint stars out as the moon fills. */
.cycle__stars { position: absolute; z-index: -2; top: 0; left: 50%; width: 100vw; height: 100%; margin-left: -50vw; opacity: calc(1 - var(--lit) * 0.5); }
.cycle__wash {
  position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); pointer-events: none;
  background: radial-gradient(60% 70% at 72% 38%, rgb(255 226 190 / 0.10), transparent 70%);
  opacity: var(--lit);
}

.cycle__intro { grid-area: intro; align-self: end; display: grid; gap: var(--sc-5); }
.cycle__offer { grid-area: offer; align-self: start; display: grid; gap: var(--sc-5); justify-items: start; }
.cycle__title { margin: 0; font: 500 clamp(2.6rem, 1.7rem + 3.3vw, 4.4rem)/1.02 var(--sc-font-display); letter-spacing: -0.03em; text-wrap: balance; max-width: 13ch; }
.cycle__lede { margin: 0; font-size: var(--sc-t-lg); line-height: 1.5; color: #C3C9DA; max-width: 30ch; text-wrap: pretty; }
.cycle__price { display: grid; gap: 6px; }
.cycle__amount { margin: 0; display: flex; align-items: baseline; gap: 18px; font-family: var(--sc-font-display); }
.cycle__amount .odo { font-size: clamp(3rem, 2rem + 4vw, 5.25rem); font-weight: 500; letter-spacing: -0.03em; color: var(--sc-ink); }
.cycle__was { position: relative; font-size: var(--sc-t-lg); color: var(--sc-ink-soft); text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity 400ms ease-out 450ms, transform 600ms cubic-bezier(.22,1.2,.36,1) 450ms; }
/* The line through the old price is drawn, left to right, after the reels have rolled. */
.cycle__was::after { content: ""; position: absolute; left: -3px; right: -3px; top: 54%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform 520ms cubic-bezier(.65,0,.35,1) 820ms; }
.cycle__was.is-struck { opacity: 1; transform: none; }
.cycle__was.is-struck::after { transform: scaleX(1); }
.cycle__terms { margin: 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.cycle__terms [data-launch] { color: var(--sc-accent); font-weight: 600; }
.cycle__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sc-2); }
.cycle__how { margin: 0; max-width: 34ch; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.5; }

/* Odometer reels: a column of digits that slides to its value with a springy ease. */
.odo { display: inline-flex; align-items: flex-start; line-height: 1; font-variant-numeric: tabular-nums; }
.odo__reel { --h: 1.06em; display: inline-block; height: var(--h); width: 0.6em; overflow: hidden; text-align: center; transition: width 520ms cubic-bezier(.3,1.2,.4,1), opacity 300ms ease-out; }
.odo__strip { display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * var(--h) * -1)); transition: transform 1100ms cubic-bezier(.22,1.28,.36,1); }
.odo__strip > span { display: block; height: var(--h); line-height: var(--h); }
.odo__fixed { display: inline-block; height: 1.06em; line-height: 1.06em; }
.odo__reel--tens.is-folded { width: 0; opacity: 0; }

.cycle__sky { grid-area: sky; align-self: center; display: grid; justify-items: center; gap: clamp(1.5rem, 3vw, 2.25rem); }
.cycle__moon { position: relative; width: min(100%, 430px); aspect-ratio: 1; }
/* The halo grows and brightens with the lit fraction; only opacity and scale change. */
.cycle__moon::before {
  content: ""; position: absolute; inset: -42%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 236 210 / 0.26), rgb(255 222 188 / 0.08) 52%, transparent 78%);
  opacity: calc(0.08 + var(--lit) * 0.92); transform: scale(calc(0.82 + var(--lit) * 0.22));
}
.cycle__moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 60px 6px rgb(255 228 196 / 0.22); opacity: var(--lit); pointer-events: none; }
.cycle__disk { position: relative; display: block; width: 100%; height: 100%; }
/* The night side: earthshine keeps the dark limb faintly visible, never quite black. */
.cycle__night { fill: #090C19; fill-opacity: 0.95; }
/* Light from behind a dark moon: a glow just outside the edge (the disc covers the rest,
   and it sits a hair to the left, where a waning moon keeps its light longest) and the
   lit limb itself. Both come up as the moon goes dark. */
.cycle__rim {
  --rim: calc((1 - var(--lit)) * (1 - var(--lit)));
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; translate: -1.5px 0;
  box-shadow: 0 0 4px 1px rgb(255 238 216 / 0.9), 0 0 22px 3px rgb(255 214 170 / 0.45);
  opacity: var(--rim);
}
.cycle__limb { opacity: calc(0.15 + 0.75 * (1 - var(--lit)) * (1 - var(--lit))); }

.cycle__dial { width: min(100%, 520px); display: grid; gap: 14px; }
.cycle__day { margin: 0; display: flex; align-items: baseline; justify-content: center; gap: 0.28em; font: 500 var(--sc-t-xl, 1.6rem)/1 var(--sc-font-display); letter-spacing: -0.01em; }
.cycle__day-word { color: var(--sc-ink-soft); }
.odo--day .odo__strip { transition-duration: 480ms; }
.cycle__caption { margin: 0; min-height: 3.1em; text-align: center; color: #C3C9DA; line-height: 1.55; text-wrap: balance; transition: opacity 180ms ease-out, transform 260ms cubic-bezier(.22,1,.36,1), filter 180ms ease-out; }
.cycle__caption.is-leaving { opacity: 0; transform: translateY(-6px); filter: blur(3px); }
.cycle__caption.is-entering { opacity: 0; transform: translateY(6px); filter: blur(3px); transition: none; }

.cycle__track { position: relative; height: 44px; }
.cycle__ticks { position: absolute; inset: 0 13px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.cycle__ticks i { width: 1px; height: 7px; background: var(--sc-hairline-strong); border-radius: 1px; }
.cycle__ticks i.is-quarter { height: 15px; background: rgb(255 211 161 / 0.45); }
.cycle__fill { position: absolute; left: 13px; top: 50%; height: 2px; margin-top: -1px; width: calc(var(--t) * (100% - 26px)); background: linear-gradient(90deg, rgb(255 211 161 / 0), rgb(255 211 161 / 0.7)); border-radius: 2px; pointer-events: none; }
.cycle__thumb { position: absolute; top: 50%; left: calc(13px + var(--t) * (100% - 26px)); width: 26px; height: 26px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 1px rgb(255 211 161 / 0.35), 0 0 calc(4px + var(--lit) * 16px) rgb(255 226 190 / calc(0.15 + var(--lit) * 0.35)); }
.cycle__thumb svg { display: block; width: 100%; height: 100%; border-radius: 50%; }
.cycle__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: grab; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.cycle__input:active { cursor: grabbing; }
.cycle__track:has(.cycle__input:focus-visible) .cycle__thumb { outline: 2px solid var(--sc-accent); outline-offset: 4px; }
.cycle__marks { list-style: none; margin: -4px 13px 0; padding: 0; position: relative; height: 1.2em; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.cycle__marks li { position: absolute; left: calc(var(--at) * 100%); transform: translateX(-50%); white-space: nowrap; }
.cycle__marks li:first-child { transform: translateX(-13px); }
.cycle__marks li:last-child { transform: translateX(calc(-100% + 13px)); }

/* Three Macs: each notch opens to say Lunille is activated, then folds into a compact island. */
.seats {
  max-width: 76rem; margin: 0 auto; box-sizing: border-box;
  padding: clamp(4rem, 8vw, 7rem) var(--sc-gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.seats__macs { display: grid; gap: 26px; }
.seat { display: grid; gap: 8px; width: 82%; transform: translateX(calc(var(--i) * 9%)); }
.seat__screen {
  position: relative; height: 78px; border-radius: 14px; overflow: hidden;
  /* A slice of the same night: a small moon low on the right, its light, a dark ridge. */
  background:
    radial-gradient(circle at calc(62% + var(--i) * 12%) 64%, #FFF6EA 0 4.5px, rgb(255 230 200 / 0.22) 6px, rgb(255 226 190 / 0.06) 26px, transparent 46px),
    linear-gradient(176deg, transparent 70%, rgb(6 9 20 / 0.85) 71%),
    linear-gradient(170deg, #222C4C, #131A30 60%, #0F1426);
  box-shadow: var(--edge), 0 24px 40px -26px rgb(0 0 0 / 0.7);
}
.seat__screen::before { content: ""; position: absolute; inset: 0 0 auto; height: 18px; background: rgb(255 255 255 / 0.06); }
.seat__notch {
  position: absolute; top: 0; left: 50%; z-index: 1; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; box-sizing: border-box;
  width: 58px; height: 18px; padding: 0 9px; border-radius: 0 0 9px 9px; background: #000;
  color: #fff; font: 600 11px/1 -apple-system, BlinkMacSystemFont, sans-serif; overflow: hidden;
  transition: width 680ms cubic-bezier(.3,1.22,.4,1), height 680ms cubic-bezier(.3,1.22,.4,1), border-radius 680ms ease;
}
.seat__moon { color: var(--moon-mid); font-size: 11px; opacity: 0; transition: opacity 200ms ease-out; }
.seat__check { color: var(--sc-accent); font-size: 11px; opacity: 0; transition: opacity 200ms ease-out; }
.seat__word { flex: 1 1 0; min-width: 0; overflow: hidden; text-align: center; white-space: nowrap; opacity: 0; transition: opacity 160ms ease-out; }
.seat.is-open .seat__notch { width: 196px; height: 34px; border-radius: 0 0 17px 17px; }
.seat.is-open .seat__word { opacity: 1; transition: opacity 260ms ease-out 260ms; }
.seat.is-open .seat__moon, .seat.is-open .seat__check,
.seat.is-active .seat__moon, .seat.is-active .seat__check { opacity: 1; transition-delay: 180ms; }
.seat.is-active .seat__notch { width: 86px; }
.seat__name { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.seats__copy { display: grid; gap: var(--sc-4); }
.seats__copy .body { max-width: 40ch; }
.seats__copy .body b { color: var(--sc-ink); font-weight: 600; }
.seats__list { margin: var(--sc-3) 0 0; display: grid; gap: var(--sc-4); }
.seats__list dt { font-weight: 600; color: var(--sc-ink); }
.seats__list dd { margin: 2px 0 0; color: var(--sc-ink-soft); line-height: 1.55; max-width: 44ch; }
.seats__list a { color: var(--sc-accent); text-underline-offset: 3px; }
.pricing > .foot { width: auto; max-width: 76rem; margin: 0 auto; padding-inline: var(--sc-gutter); padding-bottom: 3rem; box-sizing: border-box; }

@media (max-width: 860px) {
  .cycle { grid-template-columns: 1fr; grid-template-areas: "intro" "sky" "offer"; min-height: 0; }
  .cycle__moon { width: min(72vw, 340px); }
  .seats { grid-template-columns: 1fr; }
  .seat { width: 92%; transform: translateX(calc(var(--i) * 4%)); }
}
@media (prefers-reduced-motion: reduce) {
  .odo__reel, .odo__strip, .cycle__was, .cycle__was::after, .cycle__caption, .seat__notch, .seat__word, .seat__moon, .seat__check { transition: none !important; }
}
.button[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Activation page: where the receipt's "Activate Lunille" button leads. */
.activate {
  position: relative; isolation: isolate; min-height: 100dvh; box-sizing: border-box;
  max-width: 34rem; margin: 0 auto; padding: clamp(3rem, 12vh, 7rem) var(--sc-gutter) 3rem;
  display: grid; align-content: start; justify-items: center; gap: var(--sc-4); text-align: center;
}
.activate__moon { position: absolute; z-index: -1; top: 4%; left: 50%; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 230 200 / 0.16), rgb(255 222 188 / 0.05) 55%, transparent 78%); pointer-events: none; }
.activate__icon { width: 96px; height: 96px; filter: drop-shadow(0 16px 30px rgb(0 0 0 / 0.5)); }
.activate__title { margin: var(--sc-2) 0 0; font: 500 var(--sc-t-2xl)/1.08 var(--sc-font-display); letter-spacing: -0.02em; text-wrap: balance; }
.activate__text { margin: 0; color: #C3C9DA; font-size: var(--sc-t-lg); line-height: 1.5; max-width: 32ch; }
.activate__text b, .activate__manual b { color: var(--sc-ink); font-weight: 600; }
.activate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--sc-3); }
.activate__note { margin: 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); max-width: 40ch; }
.activate__manual { margin-top: var(--sc-5); color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.activate__manual summary { cursor: pointer; color: var(--sc-accent); }
.activate__manual p { margin: var(--sc-3) 0 var(--sc-2); }
.activate__manual code { display: inline-block; padding: 8px 12px; border-radius: 8px; background: var(--sc-surface); color: var(--sc-ink); font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; user-select: all; word-break: break-all; }
