/* snowymac.app. The page is a Mac desktop at dusk: real windows hold the words and catch the snow. */
:root {
  --night: #172451;
  --dusk: #2E4A97;
  --glacier: #5B82DA;
  --deep: #1D2D62;
  --powder: #F6F8FD;
  --frost: #DDE6F8;
  --line: #CDD7EC;
  --ink: #1A2342;
  --ink-soft: #4E5A7A;
  --ember: #F2A65A;
  --ember-deep: #D9822B;
  --ice: #2F7FD6;            /* the app's own panel tint */
  --snow-top: #F6FBFF;       /* both set from the clock by app.js, as the app tints its snow */
  --snow-shade: #BADAFD;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --menu-h: 54px;
  --gutter: 16px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--menu-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #121B45 0, var(--night) 900px, var(--deep) 32%, #1E2F6B 62%, #22367A 84%, var(--dusk) 100%);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--powder); color: var(--ink); padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 40px; }

/* Canvases: the sky sits behind the windows, the falling snow and the piles in front of them, under the menu bar. */
.layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.layer-sky { z-index: 0; }
.layer-snow { z-index: 40; }
.snow-behind .layer-snow { z-index: 5; }   /* "Behind windows": the snow falls behind every window */

/* Menu bar */
.menubar {
  position: sticky; top: 0; z-index: 50;
  height: var(--menu-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 max(var(--gutter), env(safe-area-inset-left));
  color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .005em;
  background: rgba(14, 22, 54, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.menubar-app { display: inline-flex; align-items: center; gap: 9px; font: 700 16px/1 var(--round); text-decoration: none; }
.menubar-app img { width: 24px; height: 24px; border-radius: 6px; }
.menubar-menus { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 26px; }
.menubar-menus a { font-size: 14px; text-decoration: none; opacity: .82; }
.menubar-menus a:hover { opacity: 1; }
.nav-buy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 5px 5px 14px; border-radius: 999px;
  background: var(--ember); color: var(--ink);
  font: 800 14px/1 var(--round); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.nav-buy:hover { background: #F6B26E; }
/* One Buy on screen at a time (owner, 2026-11-17): the menu bar's Buy is tucked away while any of the page's own
   Buy buttons is in view and comes in once they scroll away. app.js toggles data-tucked; without it the button
   stays tucked, and the page's Buy buttons are still there. */
.nav-buy { transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.nav-buy[data-tucked] { opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
@media (prefers-reduced-motion: reduce) { .nav-buy, .nav-buy[data-tucked] { transition: none; transform: none; } }
.nav-buy-price { padding: 6px 9px; border-radius: 999px; background: var(--night); color: #fff; font-size: 13px; }
@media (max-width: 900px) { .menubar-menus { display: none; } }
.menubar-extras { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.extra { display: grid; place-items: center; width: 30px; height: 22px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; }
.extra:hover, .extra[aria-expanded="true"] { background: rgba(255, 255, 255, .2); }
.clock { font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .95; }

/* The panel that drops from the menu-bar snowflake. It is laid out like the app's own panel: a postcard of the
   scene, then a few compact controls. */
.panel {
  position: absolute; top: calc(var(--menu-h) + 6px); right: max(8px, env(safe-area-inset-right));
  width: min(312px, calc(100vw - 16px));
  padding: 14px;
  color: var(--ink);
  background: var(--powder);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(6, 12, 36, .45), 0 0 0 .5px rgba(26, 35, 66, .2);
}
.panel[hidden] { display: none; }
.card { position: relative; border-radius: 14px; overflow: hidden; background: var(--night); aspect-ratio: 248 / 132; }
.card-scene { display: block; width: 100%; height: 100%; cursor: pointer; }
.card-flip {
  position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .2); color: #fff;
  cursor: pointer;
}
.card-flip:hover { background: rgba(255, 255, 255, .34); }
.card-flip svg { width: 14px; height: 14px; }
.card-prev { left: 7px; }
.card-next { right: 7px; }
.card-stamp {
  position: absolute; top: 9px; right: 10px; width: 24px; height: 28px;
  display: grid; place-items: center;
  border: 1px dashed rgba(255, 255, 255, .6); border-radius: 4px;
  color: rgba(255, 255, 255, .92);
  pointer-events: none;
}
.card-stamp svg { width: 14px; height: 14px; }
.card-name { position: absolute; left: 12px; bottom: 9px; font: 700 13px/1 var(--round); color: #fff; text-shadow: 0 1px 4px rgba(10, 16, 40, .6); pointer-events: none; }
.card-dots { display: flex; justify-content: center; gap: 5px; margin: 8px 0 2px; }
.card-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(26, 35, 66, .2); }
.card-dots i.is-on { background: var(--ice); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 2px 10px; }
.panel-now { font: 700 17px/1.2 var(--round); letter-spacing: -.01em; }
.panel-sub { font-size: 11.5px; line-height: 1.35; color: var(--ink-soft); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.chip {
  display: grid; justify-items: center; gap: 3px;
  padding: 9px 2px 8px;
  border: 0; border-radius: 11px;
  background: rgba(47, 127, 214, .12); color: var(--ice);
  font-size: 11px; font-weight: 650;
  cursor: pointer;
}
.chip svg { width: 20px; height: 20px; }
.chip:hover { background: rgba(47, 127, 214, .2); }
.chip[disabled] { opacity: .45; cursor: default; }
.panel-row { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; font-size: 13px; }
.panel-row svg { width: 18px; height: 18px; color: var(--ink-soft); }
.panel-row .switch { margin-left: auto; }
.panel-foot { margin: 11px 2px 0; padding-top: 9px; border-top: 1px solid var(--frost); font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); }

.effects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.effects-inline { margin-top: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.effect {
  display: grid; justify-items: center; gap: 3px;
  padding: 8px 2px 6px;
  border: 1px solid transparent; border-radius: 10px;
  background: rgba(26, 35, 66, .06);
  font-size: 11px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer;
}
.effect { --fx: var(--dusk); --fx2: var(--ember); transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.effect svg { width: 22px; height: 22px; color: var(--fx); }
.effect:hover { background: rgba(26, 35, 66, .1); background: color-mix(in srgb, var(--fx) 13%, transparent); }
.effect[aria-pressed="true"] { background: var(--fx); color: #fff; box-shadow: 0 6px 16px -6px var(--fx), inset 0 1px 0 rgba(255, 255, 255, .25); }
.effect[aria-pressed="true"] svg { color: #fff; }
.effect[data-effect="snow"] { --fx: #2F7FD6; --fx2: #A9D2FF; }
.effect[data-effect="rain"] { --fx: #2563C9; --fx2: #5AA9F5; }
.effect[data-effect="storm"] { --fx: #5446C9; --fx2: #F6B73C; }
.effect[data-effect="leaves"] { --fx: #C8611F; --fx2: #E8A93E; }
.effect[data-effect="petals"] { --fx: #D9508A; --fx2: #F4C04A; }
.effect[data-effect="fireflies"] { --fx: #2E7D6A; --fx2: #F2C94C; }
.effect[data-effect="meteors"] { --fx: #6A4FD8; --fx2: #FFD166; }
.effect[data-effect="mist"] { --fx: #5D7896; --fx2: #9FB5CC; }
.effect[data-effect="cloud"] { --fx: #4672BD; --fx2: #9CB9EA; }
.effect[data-effect="clear"] { --fx: #D98A0B; --fx2: #FFD465; }
.effect[data-effect="rain"][aria-pressed="true"], .effect[data-effect="snow"][aria-pressed="true"] { --fx2: #D6EBFF; }
.effect[data-effect="clear"][aria-pressed="true"] { --fx2: #FFF1BF; }
svg .d { fill: currentColor; fill-opacity: .2; stroke: none; }
svg .af { fill: var(--fx2, currentColor); stroke: none; }
svg .a { stroke: var(--fx2, currentColor); }
.effect[aria-pressed="true"] svg .d { fill-opacity: .28; }
@media (prefers-reduced-motion: reduce) { .effect { transition: none; } }

.amounts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 10px; background: rgba(26, 35, 66, .08); }
.amount { border: 0; border-radius: 8px; padding: 6px 0; background: transparent; font-size: 13px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.amount[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26, 35, 66, .2); }

.switch { position: relative; flex: none; width: 38px; height: 22px; border: 0; border-radius: 11px; background: #B9C3DA; cursor: pointer; transition: background .2s; }
.switch span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--ice); }
.switch[aria-checked="true"] span { transform: translateX(16px); }
.switch-mini { width: 30px; height: 18px; border-radius: 9px; }
.switch-mini span { width: 14px; height: 14px; }
.switch-mini[aria-checked="true"] span { transform: translateX(12px); }
@media (prefers-reduced-motion: reduce) { .switch, .switch span { transition: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 8px 16px;
  border: 0; border-radius: 10px;
  background: var(--dusk); color: #fff;
  font-size: 15px; font-weight: 650;
  cursor: pointer;
}
.btn:hover { background: var(--night); }
.btn-soft { min-height: 36px; padding: 6px 14px; background: rgba(46, 74, 151, .1); color: var(--dusk); font-size: 14px; }
.btn-soft:hover { background: rgba(46, 74, 151, .18); }
.btn[disabled] { opacity: .45; cursor: default; }

/* The desktop and its windows */
/* Sections draw their skies on a ::after at z-index -2, so the sky canvas (z 0) shows over them and every
   window (z 10+) can be dragged over any section. Sections must not create stacking contexts. */
.desk { position: relative; padding: 0 var(--gutter); }
.desk::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.win {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 22px 54px rgba(6, 12, 36, .42), 0 0 0 .5px rgba(6, 12, 36, .35);
  will-change: transform;
}
.win-bar {
  position: relative;
  height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(#F1F4FB, #E4EAF6);
  border-bottom: 1px solid var(--line);
  user-select: none; -webkit-user-select: none;
  touch-action: none;
  cursor: grab;
}
.is-dragging .win-bar { cursor: grabbing; }
.lights { position: absolute; left: 13px; top: 11px; display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #C8D0E1; }
.win.is-front .lights i:nth-child(1) { background: #FF5F57; }
.win.is-front .lights i:nth-child(2) { background: #FEBC2E; }
.win.is-front .lights i:nth-child(3) { background: #28C840; }
.win-title { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.win-body { padding: 26px 26px 28px; }
.win h3 { font: 750 21px/1.25 var(--round); letter-spacing: -.01em; margin-bottom: 8px; }
.win p + p { margin-top: 12px; }
.feat-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 11px; background: rgba(47, 127, 214, .12); color: var(--ice); }
.feat-icon svg { width: 22px; height: 22px; }
.win-body > .btn-soft { margin-top: 16px; }
.feat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 10px 12px; border-radius: 11px; background: rgba(26, 35, 66, .05); font-size: 14px; font-weight: 600; }

/* Hero: the dusk desktop down to the snowy ground */
.desk-hero {
  min-height: calc(100vh - var(--menu-h));
  min-height: calc(100svh - var(--menu-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 150px;
}
.desk-hero::after {
  background:
    radial-gradient(120% 70% at 70% 100%, rgba(255, 214, 160, .32), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--dusk) 55%, var(--glacier) 100%);
}
.desk-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 84px; height: 110px; z-index: -1;
  background: #3E5FB8;
  clip-path: polygon(0 100%, 0 62%, 7% 40%, 14% 58%, 23% 22%, 31% 50%, 38% 34%, 47% 64%, 55% 30%, 63% 48%, 71% 14%, 80% 46%, 88% 32%, 95% 56%, 100% 44%, 100% 100%);
  opacity: .75;
}
.win-hero { width: min(720px, 100%); justify-self: center; }
.win-hero .win-body { padding: 30px clamp(22px, 4vw, 44px) 36px; }
.app-icon { width: 64px; height: 64px; margin-bottom: 18px; filter: drop-shadow(0 6px 10px rgba(23, 36, 81, .25)); }
h1 {
  font-family: var(--round);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 72px);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--night);
  margin-bottom: 20px;
}
.h1-tail { display: block; color: var(--glacier); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 34em; }
/* The Buy button: the one warm thing on the page, with a little snow settled on top. */
.cta { display: grid; justify-items: start; gap: 10px; margin-top: 30px; }
.buy {
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 54px; padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #F8BA78 0%, var(--ember) 52%, #EC9A4A 100%);
  color: var(--ink); text-decoration: none;
  font: 800 18px/1 var(--round); letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(150, 72, 16, .2),
              0 10px 24px rgba(217, 130, 43, .34), 0 2px 5px rgba(26, 35, 66, .2);
  transition: transform .16s ease, box-shadow .16s ease;
}
.buy-price {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 14px 11px 16px; border-radius: 999px;
  background: var(--night); color: #fff;
  font: 800 17px/1 var(--round); font-variant-numeric: tabular-nums;
  transition: background .16s ease;
}
.buy-price svg { width: 15px; height: 15px; transition: transform .16s ease; }
.buy:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(150, 72, 16, .2), 0 14px 30px rgba(217, 130, 43, .42), 0 3px 7px rgba(26, 35, 66, .22); }
.buy:hover .buy-price { background: #0F1A40; }
.buy:hover .buy-price svg { transform: translateX(2px); }
.buy:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(150, 72, 16, .2), 0 5px 12px rgba(217, 130, 43, .3), 0 1px 3px rgba(26, 35, 66, .2); }
.buy:focus-visible { outline: 3px solid var(--night); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .buy, .buy-price, .buy-price svg { transition: none; }
  .buy:hover, .buy:active, .buy:hover .buy-price svg { transform: none; }
}
.cta-meta { margin-top: 4px; font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-soft); }
.cta-note { max-width: 34em; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.info-buy { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--frost); }
.buy-wide { width: 100%; justify-content: space-between; }


.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 92px;
  background: linear-gradient(180deg, var(--snow-shade) 0%, var(--powder) 46%, #E6ECF8 100%);
}



/* Details: a Get Info window */
.win-info { max-width: 640px; margin: 0 auto; }
.info-icon { width: 64px; height: 64px; margin-bottom: 14px; }
.win-info h2 { font: 800 30px/1.1 var(--round); letter-spacing: -.02em; margin-bottom: 18px; }
.info div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--frost); }
.info dt { font: 600 12px/1.9 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.info dd { font-size: 16px; }
@media (max-width: 520px) { .info div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- Page layout: a centred hero, the weather bar, a live demo screen, then bands ---------- */
/* Sections must not create stacking contexts (no z-index, transform or opacity on them), so every window can be
   dragged over any section and the snow canvases stay above and below the right things. */
.hero { position: relative; padding: 76px var(--gutter) 0; text-align: center; }
.hero::after { content: ""; position: absolute; inset: 0 0 -200px; z-index: -2; background: radial-gradient(70% 55% at 50% 0%, rgba(120, 156, 238, .28), transparent 70%); }
.hero-copy { position: relative; z-index: 41; max-width: 800px; margin: 0 auto; display: grid; justify-items: center; }   /* above the falling snow, so the words stay clear */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-size: 13px; font-weight: 600;
}
.badge img { width: 22px; height: 22px; border-radius: 6px; }
.hero h1 { margin: 24px 0 18px; color: #fff; font-size: clamp(46px, 7.4vw, 88px); text-shadow: 0 4px 30px rgba(8, 14, 44, .35); }
.hero h1 > span { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }   /* each line catches snow along its own width */
.hero .h1-tail { color: #A9CBFF; }
.hero .lede { max-width: 34em; color: rgba(255, 255, 255, .8); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1);
  color: #fff; font: 700 16px/1 var(--round); text-decoration: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.hero .cta-meta { margin-top: 18px; color: rgba(255, 255, 255, .72); }
.hero .cta-note { margin-top: 6px; color: rgba(255, 255, 255, .64); font-size: 13.5px; }

/* The weather, at the top of the page: the same ten scenes and three amounts as the app's panel */
.weather-bar {
  position: relative; z-index: 45;
  max-width: 1120px; margin: 46px auto 0; padding: 10px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(246, 248, 253, .97); color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(4, 8, 28, .45), 0 0 0 1px rgba(255, 255, 255, .5);
  text-align: left;
}
.weather-bar-title { flex: none; display: flex; align-items: center; gap: 8px; padding-left: 6px; font: 700 14px/1.2 var(--round); white-space: nowrap; }
.weather-bar-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(47, 127, 214, .12); color: var(--ice); }
.weather-bar-icon svg { width: 18px; height: 18px; }
.effects-bar { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.effects-bar::-webkit-scrollbar { display: none; }
.effects-bar .effect { flex: 1 0 60px; }
.amounts-bar { flex: none; width: 240px; }
@media (max-width: 1000px) {
  .weather-bar { flex-wrap: wrap; }
  .weather-bar-title { width: 100%; padding: 4px 6px 0; }
  .effects-bar { flex-basis: 100%; }
  .amounts-bar { width: 100%; }
}

/* The demo: a Mac screen whose windows catch the page's snow */
.screen {
  position: relative; max-width: 1120px; margin: 26px auto 0;
  border-radius: 22px;
  background: radial-gradient(90% 60% at 70% 100%, rgba(255, 214, 160, .3), transparent 62%), linear-gradient(180deg, #22326C 0%, var(--dusk) 58%, #6585D8 100%);
  box-shadow: 0 40px 100px rgba(4, 8, 28, .6), 0 0 0 1px rgba(255, 255, 255, .14);
  text-align: left;
}
.screen-bar {
  height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 18px;
  border-radius: 22px 22px 0 0; background: rgba(10, 16, 44, .45);
  color: rgba(255, 255, 255, .88); font-size: 12.5px; font-weight: 500;
}
.screen-app { font-weight: 700; }
.screen-extras { margin-left: auto; display: grid; }
.screen-extras svg { width: 15px; height: 15px; }
.screen-desk { position: relative; display: grid; gap: 34px; padding: 64px 22px 150px; }
.screen .ground { border-radius: 0 0 22px 22px; height: 86px; }
.win-try { width: 100%; max-width: 360px; justify-self: center; font-size: 15px; }
.win-try .win-body { padding: 20px 22px 22px; }
.win-try .btn { margin-top: 16px; }
.win-pic { width: 100%; max-width: 470px; justify-self: center; }
.win-pic-img { display: block; width: 100%; height: auto; border-radius: 0 0 12px 12px; }
@media (min-width: 900px) {
  .screen-desk { grid-template-columns: minmax(0, 360px) minmax(0, 470px); justify-content: center; align-items: start; column-gap: 70px; padding: 80px 40px 160px; }
  .win-pic { margin-top: 90px; }
}

/* Bands below the demo */
.band { position: relative; padding: 120px var(--gutter) 0; }
.band-head { max-width: 780px; margin: 0 auto 50px; text-align: center; color: #fff; }
.band-head h2 { font: 800 clamp(34px, 5vw, 58px)/1.02 var(--round); letter-spacing: -.03em; }
.band-head p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.band-note { max-width: 40em; margin: 26px auto 0; text-align: center; font-size: 15px; color: rgba(255, 255, 255, .72); }

.feats { max-width: 1120px; margin: 0 auto; display: grid; gap: 44px; }
.feat-body { display: grid; gap: 28px; align-items: center; }
.feat h3 { font-size: clamp(25px, 2.7vw, 32px); line-height: 1.12; margin-bottom: 12px; }
.feat-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 14px/1 var(--round); color: var(--ice); }
.feat-tag .feat-icon { width: 32px; height: 32px; margin: 0; border-radius: 9px; }
.feat-tag .feat-icon svg { width: 19px; height: 19px; }
.feat-points, .price-points { list-style: none; display: grid; gap: 10px; }
.feat-points { margin-top: 20px; }
.feat-points li, .price-points li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-soft); }
.feat-points li::before, .price-points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(47, 127, 214, .13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%232F7FD6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.feat .btn-soft { margin-top: 20px; }
.feat-link { margin-top: 18px; }
.feat-link a { color: var(--ice); font-weight: 700; text-decoration: none; }
.feat-link a:hover { text-decoration: underline; }
.feat-shot { margin: 0; }
.feat-shot img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 34px rgba(6, 12, 36, .28); }
.feat-shot figcaption, .shot-big figcaption { margin-top: 9px; text-align: center; font: 500 11.5px/1.4 var(--mono); letter-spacing: .03em; color: var(--ink-soft); }
.feat-shot-panel { justify-self: center; max-width: 290px; }
.feat-shot-panel img { border-radius: 18px; }
.f-shake .feat-text { max-width: 640px; }
@media (min-width: 900px) {
  .feat-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; padding: 40px 44px 44px; }
  .f-weather .feat-body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .f-shake .feat-body { grid-template-columns: minmax(0, 1fr); }
}
.play-row { display: grid; gap: 30px; }
@media (min-width: 760px) { .play-row { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.play .btn-soft { margin-top: 16px; }

.shot-big { max-width: 1120px; margin: 0 auto; }
.shot-big img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(4, 8, 28, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
.shot-big figcaption { color: rgba(255, 255, 255, .6); }
.toys, .tiles { list-style: none; max-width: 1120px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tiles { margin-top: 0; }
.toy, .extra-tile {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: start;
  padding: 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
}
.toy-icon, .tile-icon { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #CFE0FF; }
.toy-icon svg, .tile-icon svg { width: 22px; height: 22px; }
.toy-name, .extra-tile h3 { font: 700 16px/1.3 var(--round); }
.toy-text, .extra-tile p { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.extra-tile { grid-template-columns: 42px minmax(0, 1fr) auto; }
.extra-tile .tile-icon { grid-row: auto; }
.extra-tile .switch { align-self: center; }
.shot-pair { max-width: 1120px; margin: 28px auto 0; display: grid; gap: 20px; }
.shot-pair figure { margin: 0; }
.shot-pair img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(4, 8, 28, .45); }
@media (min-width: 760px) { .shot-pair { grid-template-columns: 1fr 1fr; } }

.wps { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
@media (min-width: 760px) { .wps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.wp { margin: 0; }
.wp img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 28px rgba(4, 8, 28, .45); }
.wp figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .82); }

.price-card { max-width: 520px; margin: 0 auto; }
.price-card .win-body { padding: 28px; }
.price-top { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.price-top img { width: 56px; height: 56px; }
.price-name { font: 800 20px/1.2 var(--round); }
.price-sub { font-size: 14px; color: var(--ink-soft); }
.price-amount { font: 800 40px/1 var(--round); letter-spacing: -.02em; color: var(--night); }
.price-points { margin: 24px 0 26px; padding-top: 22px; border-top: 1px solid var(--frost); }
.price-fine { margin-top: 16px; text-align: center; font-size: 13px; color: var(--ink-soft); }

.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .16); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 4px; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: rgba(255, 255, 255, .6); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { max-width: 62ch; padding: 0 4px 22px; color: rgba(255, 255, 255, .76); }

.closer { position: relative; display: grid; justify-items: center; gap: 14px; padding: 140px var(--gutter) 170px; text-align: center; color: #fff; }
.closer-icon { width: 88px; height: 88px; filter: drop-shadow(0 12px 22px rgba(4, 8, 28, .45)); }
.closer h2 { font: 800 clamp(42px, 6vw, 76px)/1 var(--round); letter-spacing: -.035em; }
.closer p { font-size: 18px; color: rgba(255, 255, 255, .78); margin-bottom: 14px; }

.foot-name { display: flex; align-items: center; gap: 9px; }
.foot-name img { width: 24px; height: 24px; border-radius: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 8px 0 10px; }
.foot-links a { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .band { padding-top: 90px; }
  .band-head p { font-size: 16px; }
  .screen-desk { padding: 46px 14px 120px; }
  .feat-body { padding: 22px 18px 24px; }
  .hero-actions { gap: 12px; }
}

/* Footer on the snow */
.foot { position: relative; z-index: 1; background: #E6ECF8; color: var(--ink-soft); }
.ground-foot { position: relative; height: 40px; background: linear-gradient(180deg, var(--snow-shade) 0%, var(--powder) 100%); }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 8px var(--gutter) max(28px, env(safe-area-inset-bottom)); font-size: 13px; }
.foot-name { font: 800 20px/1.2 var(--round); color: var(--night); margin-bottom: 4px; }

@media (max-width: 640px) {
  .menubar { gap: 12px; }
  .menubar-menus { gap: 12px; }
  .clock { display: none; }
  .desk-hero { padding-top: 28px; gap: 26px; }
  .win-body { padding: 20px 18px 22px; }
  .effects-inline { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .effect { font-size: 10px; padding: 7px 0 5px; }
}
@media (max-width: 380px) { .menubar-menus a:last-child { display: none; } }

/* 404 */
.desk-404 { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; }
.desk-404 .win-hero { justify-self: center; width: min(560px, 100%); }
.desk-404 .win-bar { cursor: default; }
.cta .btn { text-decoration: none; }

/* Toys: four steps, then a card for each toy with the app's own picture and what it does */
.toy-steps { list-style: none; max-width: 1120px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.toy-step { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.toy-step-n { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: var(--ember); color: var(--ink); font: 800 14px/1 var(--round); }
.toy-step h3 { font: 700 16px/1.3 var(--round); margin-bottom: 4px; }
.toy-step p { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.toy-cards { list-style: none; max-width: 1120px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 18px; }
.toy-card { position: relative; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 44px rgba(4, 8, 28, .45), 0 0 0 .5px rgba(6, 12, 36, .35); }
.toy-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px 16px 0 0; }
.toy-card-body { padding: 16px 18px 18px; }
.toy-card h3 { font: 750 20px/1.2 var(--round); letter-spacing: -.01em; }
.toy-line { margin: 2px 0 10px; font-size: 14px; color: var(--ink-soft); }
.toy-how div { padding: 9px 0 0; margin-top: 9px; border-top: 1px solid var(--frost); }
.toy-how dt { font: 700 12.5px/1.3 var(--round); color: var(--ice); }
.toy-how dd { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* Download for macOS: white when the DMG is out; until then a quiet pill that says so */
.dl {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); color: var(--night);
  font: 800 17px/1 var(--round); text-decoration: none;
  box-shadow: 0 10px 24px rgba(4, 8, 28, .35);
}
.dl svg { width: 19px; height: 19px; flex: none; }
a.dl:hover { background: #fff; }
.dl[aria-disabled="true"] { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .24); box-shadow: none; cursor: default; }
.dl-tag { padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); font: 700 11.5px/1 var(--round); white-space: nowrap; }
.price-card .dl[aria-disabled="true"] { background: rgba(26, 35, 66, .05); color: var(--ink-soft); border-color: var(--line); }
.price-card .dl-tag { background: rgba(26, 35, 66, .08); }
.dl-wide { width: 100%; justify-content: center; margin-top: 10px; }
.see-snow { margin-top: 12px; color: rgba(255, 255, 255, .78); font: 700 14px/1 var(--round); text-decoration: none; }
.see-snow:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.closer .hero-actions { margin-top: 6px; }
@media (max-width: 520px) { .hero-actions .dl, .hero-actions .buy { width: 100%; justify-content: center; } }

@media (min-width: 900px) { .toy-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* nine toys: three rows of three */

/* ---------- The hero, split: the words on the left, the launch film on the right (owner, 2026-11-18: "title on left,
   and on right video like split"). One column, film below the words, on narrow screens. ---------- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; max-width: 1240px; margin: 0 auto; }
.hero-split .hero-copy { max-width: none; margin: 0; justify-items: start; text-align: left; }
.hero-split .hero-copy h1 { font-size: clamp(40px, 4.4vw, 62px); margin: 22px 0 16px; }
.hero-split .hero-copy h1 > span { margin-inline: 0; }
.hero-split .hero-actions { justify-content: flex-start; margin-top: 28px; }
.film-win {
  position: relative; z-index: 41; margin: 0;
  border-radius: 12px; overflow: hidden; background: #0B1230;
  box-shadow: 0 26px 64px rgba(6, 12, 36, .5), 0 0 0 .5px rgba(255, 255, 255, .14);
}
.film-bar {
  position: relative; height: 30px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(#2A3456, #222B4A); border-bottom: 1px solid rgba(0, 0, 0, .35);
}
.film-bar .lights { top: 9px; left: 12px; gap: 7px; }
.film-bar .lights i { width: 11px; height: 11px; }
.film-bar .lights i:nth-child(1) { background: #FF5F57; }
.film-bar .lights i:nth-child(2) { background: #FEBC2E; }
.film-bar .lights i:nth-child(3) { background: #28C840; }
.film-title { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.film { position: relative; aspect-ratio: 16 / 9; background: #0B1230; }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-sound {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 11px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(10, 16, 44, .72); color: #fff; font: 700 13px/1 var(--round); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.film-sound:hover { background: rgba(10, 16, 44, .88); }
.film-sound:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.film-sound svg { width: 17px; height: 17px; }
.film-sound[aria-pressed="false"] .film-waves { opacity: .35; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-split .hero-copy { justify-items: center; text-align: center; }
  .hero-split .hero-copy h1 { font-size: clamp(42px, 9vw, 72px); }
  .hero-split .hero-copy h1 > span { margin-inline: auto; }
  .hero-split .hero-actions { justify-content: center; }
  .film-win { width: 100%; max-width: 720px; margin: 0 auto; }
}

/* ---------- Price slots: the first 100 buyers pay $9.99, then $19.99 (owner, 2026-11-18). app.js fills the bar from
   /sales.json; without it the card still reads right ("early price"). ---------- */
.price-amount { display: flex; align-items: baseline; justify-content: flex-end; }
.price-was { margin-right: 10px; font-size: 21px; font-weight: 700; color: var(--ink-soft); text-decoration-thickness: 2px; }
.slots { display: grid; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: rgba(26, 35, 66, .035); border: 1px solid var(--frost); }
.slot { display: grid; grid-template-columns: 16px auto minmax(48px, 1fr) auto; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.slot-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); }
.slot.is-now .slot-dot { border-color: var(--ember-deep); background: var(--ember); box-shadow: 0 0 0 4px rgba(242, 166, 90, .22); }
.slot.is-done .slot-dot { border-color: var(--ink-soft); background: var(--ink-soft); }
.slot-name { font-weight: 600; white-space: nowrap; }
.slot.is-now .slot-name { font-weight: 800; color: var(--ink); }
.slot.is-done .slot-name { text-decoration: line-through; }
.slot-bar { height: 6px; border-radius: 999px; background: var(--frost); overflow: hidden; }
.slot-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ember); transition: width .8s ease; }
.slot.is-done .slot-bar i { width: 100%; background: var(--ink-soft); }
.slot-count { font: 600 12px/1 var(--mono); white-space: nowrap; }
.slot.is-now .slot-count { color: var(--ember-deep); }
@media (max-width: 520px) {
  /* the price goes under the name, and each slot stacks: name, count, bar */
  .price-top { grid-template-columns: 56px minmax(0, 1fr); }
  .price-amount { grid-column: 1 / -1; justify-content: flex-start; }
  .slot { grid-template-columns: 16px minmax(0, 1fr); row-gap: 6px; align-items: start; }
  .slot-dot { margin-top: 2px; }
  .slot-name { white-space: normal; }
  .slot-count { grid-column: 2; grid-row: 2; }
  .slot-bar { grid-column: 2; grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) { .slot-bar i { transition: none; } }

/* ---------- 1, 3 or 5 Macs, at the top of the price card ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 22px; padding: 4px; border-radius: 14px; background: rgba(26, 35, 66, .06); }
.plans button {
  min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft);
  font: 700 15px/1 var(--round); cursor: pointer;
}
.plans button:hover { color: var(--ink); }
.plans button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26, 35, 66, .18); }
.plans button:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
