:root {
  --paper: #f6ede1;
  --paper-2: #efe2d1;
  --ink: #1f1a15;
  --soft: #5c5045;
  --line: #d9c8b3;
  --accent: #ff9100;
  --accent-ink: #a64f00;
  --band: #1b1713;
  --band-ink: #f5ebdd;
  --band-soft: #b6a996;
  --card: #fffaf3;

  --wall-top: #e9d6bd;
  --wall-bottom: #dcc3a3;
  --stripe: #d6bd9c;
  --floor-top: #b9875a;
  --floor-bottom: #8f6440;
  --board: #84593a;
  --skirting: #f2e6d6;
  --rug: #c96f4a;
  --sky-top: #9fd0ee;
  --sky-bottom: #d9efff;
  --hills: #8fb98a;
  --frame: #f7efe4;
  --curtain: #c4583f;
  --rail: #6b4a32;
  --wood: #7a5236;
  --wood-seam: #5e3e28;
  --sofa-top: #47657a;
  --sofa-bottom: #2f4757;
  --cushion: #e0a050;
  --throw: #d8c7b0;
  --leaf: #3f7d4c;
  --pot: #c96f4a;
  --shade: #f6e3c0;
  --pole: #3a2b20;
  --tvframe: #141210;
  --lamp: .35;
  --night: 0;
  --day: 1;
  --spill-strength: .25;
  --mount: #f4ecdf;
  --art-a: #4fc3b5;
  --art-b: #ffc857;

  font-family: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14110e;
    --paper-2: #1c1814;
    --ink: #f5ebdd;
    --soft: #b6a996;
    --line: #3a3128;
    --accent-ink: #ffab40;
    --band: #0b0a08;
    --card: #221d18;

    --wall-top: #2b2119;
    --wall-bottom: #3b2b1f;
    --stripe: #33271d;
    --floor-top: #3d2a1c;
    --floor-bottom: #24180f;
    --board: #2a1c12;
    --skirting: #4a3a2c;
    --rug: #5a2d22;
    --sky-top: #0b1430;
    --sky-bottom: #26305a;
    --hills: #121a2e;
    --frame: #4a3a2c;
    --curtain: #6e2a20;
    --rail: #2a1c12;
    --wood: #3d281a;
    --wood-seam: #2a1b11;
    --sofa-top: #1d2b35;
    --sofa-bottom: #101920;
    --cushion: #8a5a26;
    --throw: #4d4134;
    --leaf: #22452b;
    --pot: #6a3524;
    --shade: #ffe0a8;
    --pole: #120d09;
    --tvframe: #070605;
    --lamp: 1;
    --night: 1;
    --day: 0;
    --spill-strength: .6;
    --mount: #3a3027;
  }
}

:root[data-theme="dark"] {
  --paper: #14110e;
  --paper-2: #1c1814;
  --ink: #f5ebdd;
  --soft: #b6a996;
  --line: #3a3128;
  --accent-ink: #ffab40;
  --band: #0b0a08;
  --card: #221d18;

  --wall-top: #2b2119;
  --wall-bottom: #3b2b1f;
  --stripe: #33271d;
  --floor-top: #3d2a1c;
  --floor-bottom: #24180f;
  --board: #2a1c12;
  --skirting: #4a3a2c;
  --rug: #5a2d22;
  --sky-top: #0b1430;
  --sky-bottom: #26305a;
  --hills: #121a2e;
  --frame: #4a3a2c;
  --curtain: #6e2a20;
  --rail: #2a1c12;
  --wood: #3d281a;
  --wood-seam: #2a1b11;
  --sofa-top: #1d2b35;
  --sofa-bottom: #101920;
  --cushion: #8a5a26;
  --throw: #4d4134;
  --leaf: #22452b;
  --pot: #6a3524;
  --shade: #ffe0a8;
  --pole: #120d09;
  --tvframe: #070605;
  --lamp: 1;
  --night: 1;
  --day: 0;
  --spill-strength: .6;
  --mount: #3a3027;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0;
}

em {
  font-style: normal;
  color: var(--accent-ink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 16px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.top-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.theme button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}

.theme button[aria-pressed="true"] {
  background: var(--paper-2);
  color: var(--ink);
}

.theme svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-get {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #1f1a15;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
}

.lede {
  margin: 20px auto 0;
  max-width: 40em;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--soft);
}

.scene {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  background: var(--wall-top);
  box-shadow: 0 30px 80px -30px rgba(40, 20, 0, 0.45);
  isolation: isolate;
}

.room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.s-wall-top { stop-color: var(--wall-top); }
.s-wall-bottom { stop-color: var(--wall-bottom); }
.s-floor-top { stop-color: var(--floor-top); }
.s-floor-bottom { stop-color: var(--floor-bottom); }
.s-sky-top { stop-color: var(--sky-top); }
.s-sky-bottom { stop-color: var(--sky-bottom); }
.s-sofa-top { stop-color: var(--sofa-top); }
.s-sofa-bottom { stop-color: var(--sofa-bottom); }
.s-spill { stop-color: var(--tv-accent); }

.room .stripes rect { fill: var(--stripe); }
.room .frame { fill: var(--frame); }
.room .sill { fill: var(--frame); }
.room .rail { stroke: var(--rail); stroke-width: 8; stroke-linecap: round; }
.room .curtain { fill: var(--curtain); }
.room .hills { fill: var(--hills); }
.room .night { opacity: var(--night); }
.room .day { opacity: var(--day); }
.room .moon { fill: #f8f1d8; }
.room .star { fill: #fff; }
.room .cloud { fill: #fff; opacity: .9; }
.room .mount { fill: var(--mount); }
.room .art-a { fill: var(--art-a); }
.room .art-b { fill: var(--art-b); }
.room .skirting { fill: var(--skirting); }
.room .boards path { stroke: var(--board); stroke-width: 3; opacity: .5; }
.room .rug { fill: var(--rug); opacity: .85; }
.room .pot { fill: var(--pot); }
.room .leaf { fill: var(--leaf); }
.room .leaf-2 { fill: var(--leaf); filter: brightness(1.25); }
.room .stem { stroke: var(--leaf); stroke-width: 5; fill: none; }
.room .wood { fill: var(--wood); }
.room .seam { stroke: var(--wood-seam); stroke-width: 3; }
.room .knob { fill: var(--skirting); }
.room .leg { fill: var(--wood-seam); }
.room .books { fill: var(--art-a); opacity: .8; }
.room .book2 { fill: var(--cushion); }
.room .tvframe { fill: var(--tvframe); }
.room .tvfoot { fill: var(--tvframe); }
.room .pole { stroke: var(--pole); stroke-width: 8; }
.room .lampbase { fill: var(--pole); }
.room .shade { fill: var(--shade); }
.room .shade-rim { stroke: var(--pole); stroke-width: 4; opacity: .4; }
.room .cushion { fill: var(--cushion); }
.room .throw { fill: var(--throw); }
.room .arm { fill: var(--sofa-bottom); }

.room .lampglow {
  opacity: var(--lamp);
  transform-origin: 1236px 350px;
  animation: glow 7s ease-in-out infinite;
}

.room .spill {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.scene.on .room .spill {
  opacity: var(--spill-strength);
}

@keyframes glow {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.12); }
}

.scene[data-tv="ink"] { --tv-top: #0E0D0C; --tv-bottom: #16130F; --tv-card: #24201B; --tv-text: #F5EBDD; --tv-muted: #ACA192; --tv-accent: #FF9100; --tv-alert: #FF6B5B; --tv-live: #FF4D4D; }
.scene[data-tv="sage"] { --tv-top: #2B3238; --tv-bottom: #343D44; --tv-card: #46525B; --tv-text: #F1F5F6; --tv-muted: #C9D4D9; --tv-accent: #B9E0B3; --tv-alert: #FFC960; --tv-live: #FF8A80; }
.scene[data-tv="plum"] { --tv-top: #2A1131; --tv-bottom: #36163F; --tv-card: #4A2155; --tv-text: #FBEFF9; --tv-muted: #D8BEDC; --tv-accent: #F6A06B; --tv-alert: #FFD166; --tv-live: #FF8A80; }
.scene[data-tv="christmas"] { --tv-top: #052E1A; --tv-bottom: #083A22; --tv-card: #0E4A2C; --tv-text: #FFF8EC; --tv-muted: #C6DCC9; --tv-accent: #FF8E85; --tv-alert: #F7CB5A; --tv-live: #FF8A80; }

.screen {
  position: absolute;
  left: 30%;
  top: 31.2%;
  width: 40%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
  border-radius: 2px;
  container-type: inline-size;
}

.static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0;
}

.scene.booting .static {
  opacity: 1;
  animation: flicker 0.18s steps(2) infinite;
}

@keyframes flicker {
  0% { opacity: 0.75; }
  100% { opacity: 1; }
}

.dash {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr)) 4.4cqw;
  gap: 1.1cqw;
  padding: 2cqw 2cqw 0;
  background: linear-gradient(160deg, var(--tv-top), var(--tv-bottom));
  color: var(--tv-text);
  font-size: 1.22cqw;
  line-height: 1.25;
  opacity: 0;
  transition: background 0.6s ease;
}

.scene.on .dash {
  opacity: 1;
}

.scene.powering .dash {
  animation: power 0.9s ease-out both;
}

@keyframes power {
  0% { opacity: 0; transform: scaleY(0.01); filter: brightness(5); }
  25% { opacity: 1; transform: scaleY(0.02); filter: brightness(5); }
  55% { transform: scaleY(1); filter: brightness(1.8); }
  70% { opacity: 0.7; }
  80% { opacity: 1; }
  100% { opacity: 1; transform: none; filter: none; }
}

.scene.switching .dash {
  animation: switch 0.5s ease-out both;
}

@keyframes switch {
  0% { filter: brightness(2.2) saturate(0); }
  100% { filter: none; }
}

.glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.dash p,
.dash ul,
.dash ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dash svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.dash .solid {
  fill: currentColor;
  stroke: none;
}

.tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--tv-card);
  border-radius: 1.3cqw;
  padding: 1.1cqw 1.2cqw;
  transition: background 0.6s ease;
}

.th {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 1.05cqw;
  color: var(--tv-muted);
  margin-bottom: 0.6em !important;
  white-space: nowrap;
}

.th svg {
  color: var(--tv-accent);
}

.camera { grid-area: 1 / 1 / 2 / 2; padding: 0; }
.weather { grid-area: 1 / 2 / 2 / 4; }
.alerts { grid-area: 1 / 4 / 3 / 5; }
.music { grid-area: 2 / 1 / 3 / 2; }
.github { grid-area: 2 / 2 / 3 / 4; }
.calendar { grid-area: 3 / 1 / 4 / 3; }
.stack { grid-area: 3 / 3 / 4 / 5; }
.ticker { grid-area: 4 / 1 / 5 / 5; }

.camera .th {
  position: absolute;
  left: 1.1cqw;
  top: 1cqw;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.camera .th svg {
  color: #fff;
}

.feedview {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(255, 220, 160, 0.35), transparent 70%),
    linear-gradient(180deg, #4a5560 0%, #3a434b 58%, #6e6457 58%, #57503f 100%);
  animation: drift 9s ease-in-out infinite alternate;
}

.feedview .door {
  position: absolute;
  left: 38%;
  top: 22%;
  width: 26%;
  height: 46%;
  background: #7c2f2a;
  border: 0.35cqw solid #e9e1d4;
  border-bottom: 0;
}

.feedview .door::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 52%;
  width: 0.5cqw;
  height: 0.5cqw;
  border-radius: 50%;
  background: #e8c66a;
}

.feedview .step {
  position: absolute;
  left: 32%;
  top: 68%;
  width: 38%;
  height: 5%;
  background: #8c8273;
}

.live {
  position: absolute;
  right: 1cqw;
  bottom: 0.9cqw;
  display: flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2em 0.55em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
  font-size: 0.9cqw;
}

.live i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--tv-live);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% { opacity: 0.25; }
}

@keyframes drift {
  0% { filter: brightness(0.95); background-position: 0 0; }
  100% { filter: brightness(1.05); background-position: 2% 0; }
}

.now {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
}

.now .big {
  width: 4.4cqw;
  height: 4.4cqw;
  color: var(--tv-accent);
  stroke-width: 1.5;
}

.temp {
  font-size: 4.6cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.cond {
  font-weight: 600;
}

.cond span {
  font-weight: 400;
  color: var(--tv-muted);
  font-size: 1.02cqw;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1cqw !important;
  text-align: center;
}

.days li {
  display: grid;
  justify-items: center;
  gap: 0.25em;
  font-size: 1cqw;
  color: var(--tv-muted);
}

.days svg {
  width: 1.6cqw;
  height: 1.6cqw;
  color: var(--tv-text);
  stroke-width: 1.6;
}

.days b {
  color: var(--tv-text);
}

.items li {
  position: relative;
  padding: 0.45em 0 0.45em 0.7em;
  border-top: 1px solid color-mix(in srgb, var(--tv-muted) 18%, transparent);
  font-size: 1.05cqw;
}

.items li:first-child {
  border-top: 0;
}

.items li span {
  display: block;
  font-size: 0.85cqw;
  font-weight: 600;
  color: var(--tv-muted);
}

.items li.new::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background: var(--tv-accent);
}

.items time {
  display: block;
  font-size: 0.85cqw;
  color: var(--tv-muted);
}

.np {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
}

.art {
  flex: none;
  width: 4.4cqw;
  height: 4.4cqw;
  border-radius: 0.6cqw;
  background:
    radial-gradient(circle at 30% 30%, #ffc857 0 18%, transparent 19%),
    linear-gradient(135deg, #ff9100, #c2185b 60%, #4a148c);
}

.np b {
  display: block;
  font-size: 1.15cqw;
  white-space: nowrap;
}

.np span {
  display: block;
  color: var(--tv-muted);
  font-size: 0.95cqw;
  white-space: nowrap;
}

.bar {
  display: block;
  height: 0.3cqw;
  margin: 1.1cqw 0 0.8cqw;
  border-radius: 1cqw;
  background: color-mix(in srgb, var(--tv-muted) 25%, transparent);
  overflow: hidden;
}

.bar i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--tv-accent);
  animation: progress 30s linear infinite;
}

@keyframes progress {
  0% { width: 20%; }
  100% { width: 85%; }
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1.6cqw;
  font-size: 1.4cqw;
}

.repos li {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  padding: 0.42em 0;
  border-top: 1px solid color-mix(in srgb, var(--tv-muted) 18%, transparent);
  font-size: 1.05cqw;
  white-space: nowrap;
}

.repos li:first-child {
  border-top: 0;
}

.repos b {
  flex: 1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.repos span {
  color: var(--tv-muted);
  font-size: 0.95cqw;
}

.repos .alert {
  color: var(--tv-alert);
  font-weight: 600;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4cqw;
}

.day {
  font-weight: 600;
  color: var(--tv-muted);
  font-size: 0.95cqw;
  margin-bottom: 0.3em !important;
}

.dash .ev {
  position: relative;
  padding: 0.18em 0 0.18em 0.8em;
  font-size: 1.02cqw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 0.22em;
  border-radius: 1em;
  background: var(--c);
}

.ev time {
  color: var(--tv-muted);
  margin-right: 0.5em;
}

.stack .card {
  position: absolute;
  inset: 1.1cqw 1.2cqw 2cqw;
  opacity: 0;
  transform: translateY(8%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stack .card.is-on {
  opacity: 1;
  transform: none;
}

.stack .items li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7cqw;
  display: flex;
  justify-content: center;
  gap: 0.4cqw;
}

.dots i {
  width: 0.45cqw;
  height: 0.45cqw;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tv-muted) 40%, transparent);
  transition: background 0.4s ease;
}

.dots i.is-on {
  background: var(--tv-text);
}

.ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 -2cqw;
  padding: 0 2cqw;
  background: color-mix(in srgb, var(--tv-top) 70%, #000);
  font-size: 1cqw;
  color: var(--tv-muted);
}

.ticker p {
  flex: none;
  display: flex;
  animation: ticker 40s linear infinite;
}

.ticker span {
  padding-right: 2.6cqw;
}

.ticker span::after {
  content: "·";
  padding-left: 2.6cqw;
}

.ticker b {
  color: var(--tv-text);
  font-weight: 600;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.garland {
  display: none;
  position: absolute;
  inset: 0 0 auto;
  height: 5cqw;
  z-index: 3;
  pointer-events: none;
}

.scene[data-tv="christmas"] .garland {
  display: block;
}

.garland svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.garland .tinsel {
  fill: none;
  stroke: #f2c14e;
  stroke-width: 6;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  animation: shimmer 1.2s linear infinite;
}

.garland .wire {
  fill: none;
  stroke: #021209;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

@keyframes shimmer {
  100% { stroke-dashoffset: -14; }
}

.bulbs {
  position: absolute;
  inset: 0;
}

.bulbs i {
  position: absolute;
  width: 0.7cqw;
  height: 0.9cqw;
  border-radius: 50% 50% 45% 45%;
  margin-left: -0.35cqw;
  background: var(--b, #e2403a);
  box-shadow: 0 0 1cqw var(--b, #e2403a);
  animation: twinkle 2.4s ease-in-out infinite;
}

.bulbs i:nth-child(4n + 1) { --b: #e2403a; }
.bulbs i:nth-child(4n + 2) { --b: #f2c14e; animation-delay: -0.6s; }
.bulbs i:nth-child(4n + 3) { --b: #3fae5a; animation-delay: -1.2s; }
.bulbs i:nth-child(4n + 4) { --b: #4fa3e0; animation-delay: -1.8s; }

.bulbs i:nth-child(1) { left: 3.1%; top: 18%; }
.bulbs i:nth-child(2) { left: 9.4%; top: 36%; }
.bulbs i:nth-child(3) { left: 15.6%; top: 36%; }
.bulbs i:nth-child(4) { left: 21.9%; top: 18%; }
.bulbs i:nth-child(5) { left: 28.1%; top: 18%; }
.bulbs i:nth-child(6) { left: 34.4%; top: 36%; }
.bulbs i:nth-child(7) { left: 40.6%; top: 36%; }
.bulbs i:nth-child(8) { left: 46.9%; top: 18%; }
.bulbs i:nth-child(9) { left: 53.1%; top: 18%; }
.bulbs i:nth-child(10) { left: 59.4%; top: 36%; }
.bulbs i:nth-child(11) { left: 65.6%; top: 36%; }
.bulbs i:nth-child(12) { left: 71.9%; top: 18%; }
.bulbs i:nth-child(13) { left: 78.1%; top: 18%; }
.bulbs i:nth-child(14) { left: 84.4%; top: 36%; }
.bulbs i:nth-child(15) { left: 90.6%; top: 36%; }
.bulbs i:nth-child(16) { left: 96.9%; top: 18%; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; box-shadow: none; }
}

.bauble {
  position: absolute;
  top: 0;
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--b) 30%, color-mix(in srgb, var(--b) 60%, #000));
}

.bauble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: var(--s);
  background: #f2c14e;
}

.bauble.b1 { left: 0.5cqw; top: 9cqw; --b: #e2403a; --s: 9cqw; }
.bauble.b2 { right: 0.5cqw; top: 14cqw; --b: #3fae5a; --s: 14cqw; }

.picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.picker-label {
  margin: 0 6px 0 0;
  font-weight: 600;
  color: var(--soft);
}

.picker button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.picker button[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.picker i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

section h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

.section-lede {
  margin: 14px 0 0;
  max-width: 36em;
  font-size: 1.15rem;
  color: var(--soft);
}

.tiles {
  padding: 72px 0;
}

.tile-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.tile-list li {
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}

.tile-list svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-list h3 {
  margin: 12px 0 6px;
  font-size: 1.35rem;
}

.tile-list p {
  margin: 0;
  color: var(--soft);
}

.layout {
  padding: 72px 0;
  background: var(--band);
  color: var(--band-ink);
}

.layout .section-lede {
  color: var(--band-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
}

.facts {
  margin: 0;
  display: grid;
  gap: 22px;
}

.facts dt {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}

.facts dd {
  margin: 4px 0 0;
  color: var(--band-soft);
}

.private {
  padding: 88px 0;
  text-align: center;
}

.private h2 {
  font-size: clamp(2rem, 5.4vw, 3.8rem);
  max-width: 16em;
  margin: 0 auto;
}

.private p {
  max-width: 38em;
  margin: 22px auto 0;
  font-size: 1.15rem;
  color: var(--soft);
}

.steps {
  padding: 24px 0 72px;
}

.step-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  counter-increment: step;
  padding: 24px;
  border-radius: 20px;
  background: var(--paper-2);
}

.step-list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #1f1a15;
  font-weight: 800;
}

.step-list h3 {
  margin: 14px 0 6px;
  font-size: 1.3rem;
}

.step-list p {
  margin: 0;
  color: var(--soft);
}

.faq {
  padding: 24px 0 72px;
}

.faq h2 {
  margin-bottom: 24px;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
}

details p {
  margin: 10px 0 0;
  max-width: 42em;
  color: var(--soft);
}

.get {
  padding: 72px 0;
  text-align: center;
  background: var(--paper-2);
}

.get img {
  border-radius: 22px;
}

.get h2 {
  margin-top: 16px;
}

.get p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 1.15rem;
}

.foot {
  padding: 40px 0;
  background: var(--band);
  color: var(--band-soft);
}

.foot .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  margin: 0;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--band-ink);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.foot a {
  color: var(--band-ink);
}

.made {
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .scene {
    aspect-ratio: 1;
    border-radius: 20px;
    margin: 0 -4px;
  }

  .screen {
    left: 18%;
    width: 64%;
  }

  .hero {
    padding-top: 8px;
  }

  .top-get {
    padding: 7px 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .theme button {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .ticker p:last-child {
    display: none;
  }
}

.scene.paused *,
.scene.paused .room * {
  animation-play-state: paused !important;
}
