@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-400.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-600.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-700.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2");
}

:root {
  --night: #101a14;
  --night-raise: #17261e;
  --ink: #f7f3ea;
  --ink-soft: #ddd4c4;
  --line: #2c4036;
  --link: #f2c56e;
  --amber: #f0b429;
  --amber-ink: #1c1408;
  --red: #e4483c;
  --green: #3eab62;
  --cream: #f6e2b8;
  --socket: #6a5438;
  --wire: #4a3b28;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --wrap: min(1120px, calc(100% - 2.5rem));
  --sans: "Atkinson Hyperlegible", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Avenir Next", "Trebuchet MS", sans-serif;
}

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

html {
  color-scheme: dark;
  scrollbar-color: #3e5246 var(--night);
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 22% at 50% 0, rgba(240, 180, 41, 0.16), transparent 70%),
    var(--night);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--amber);
  color: var(--amber-ink);
}

:focus {
  outline: none;
}

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

img,
svg {
  max-width: 100%;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 0;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #ffe3a8;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--amber);
  color: var(--amber-ink);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-family: var(--display);
  font-weight: 600;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.reading {
  max-width: 68ch;
}

.light-string {
  position: relative;
  height: 58px;
  overflow: hidden;
}

.wire {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 2px;
  background: var(--wire);
  box-shadow: 0 1px 0 #2a2118;
}

.bulbs {
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  display: flex;
  justify-content: space-evenly;
  padding: 0 0.4rem;
}

.b,
.mb {
  display: block;
  position: relative;
  border-radius: 40% 40% 46% 46%;
  transform-origin: center top;
  animation: glow 2.8s ease-in-out infinite;
}

.b {
  width: 14px;
  height: 20px;
}

.b::before,
.mb::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 2px;
  width: 8px;
  height: 5px;
  background: var(--socket);
  border-radius: 1px;
}

.b.r,
.mb.r {
  background: var(--red);
  box-shadow: 0 10px 16px rgba(228, 72, 60, 0.45);
}

.b.a,
.mb.a {
  background: var(--amber);
  box-shadow: 0 10px 16px rgba(240, 180, 41, 0.5);
}

.b.g,
.mb.g {
  background: var(--green);
  box-shadow: 0 10px 16px rgba(62, 171, 98, 0.45);
}

.b.c,
.mb.c {
  background: var(--cream);
  box-shadow: 0 10px 14px rgba(246, 226, 184, 0.35);
}

.b:nth-child(4n + 1),
.mb:nth-child(4n + 1) {
  animation-duration: 2.35s;
  animation-delay: -0.4s;
}

.b:nth-child(4n + 2),
.mb:nth-child(4n + 2) {
  animation-duration: 3.4s;
  animation-delay: -1.7s;
}

.b:nth-child(4n + 3),
.mb:nth-child(4n + 3) {
  animation-duration: 2.9s;
  animation-delay: -2.3s;
}

.b:nth-child(4n + 4),
.mb:nth-child(4n + 4) {
  animation-duration: 4.2s;
  animation-delay: -0.8s;
}

@keyframes glow {
  0%,
  100% {
    filter: brightness(0.72);
    opacity: 0.8;
  }
  50% {
    filter: brightness(1.18);
    opacity: 1;
  }
}

.snow {
  pointer-events: none;
}

.snow span,
.flake {
  position: fixed;
  top: 0;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: #fff;
  opacity: 0.72;
  animation: fall var(--d, 14s) linear infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
  z-index: 2;
}

.snow span {
  left: auto;
  opacity: 0.55;
}

.flake {
  position: absolute;
  z-index: 1;
  opacity: 0.8;
  animation-name: settle;
}

@keyframes fall {
  from {
    transform: translate3d(0, -8vh, 0);
  }
  to {
    transform: translate3d(var(--drift, 0px), 108vh, 0);
  }
}

@keyframes settle {
  from {
    transform: translate3d(0, -12px, 0);
  }
  to {
    transform: translate3d(var(--drift, 0px), 230px, 0);
  }
}

.site-header {
  position: relative;
  z-index: 5;
  padding: 0.85rem 0 0.4rem;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.wordmark:hover {
  color: var(--amber);
}

.bulb-icon {
  display: block;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.35rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

main {
  position: relative;
  padding-bottom: 2rem;
}

main:focus {
  outline: none;
}

main:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  grid-template-areas:
    "copy stage"
    "more stage";
  column-gap: 3.5rem;
  row-gap: 0;
  align-items: start;
  margin-top: 0;
  padding-top: 1.4rem;
}

.hero-copy {
  grid-area: copy;
}

.hero-more {
  grid-area: more;
}

.lede strong,
.prose strong {
  font-weight: 700;
}

.launch {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin: 0.4rem 0 1.1rem;
}

.buy {
  appearance: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  background: #3a463d;
  border: 1px solid #516458;
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  min-height: 44px;
  cursor: not-allowed;
}

.buy:disabled {
  opacity: 1;
}

.buy:not(:disabled) {
  background: var(--amber);
  color: var(--amber-ink);
  border-color: transparent;
  cursor: pointer;
}

.buy:not(:disabled):hover {
  background: #ffc44d;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.facts li {
  position: relative;
  padding-left: 0.95rem;
  margin: 0.25rem 0;
}

.facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.stage {
  grid-area: stage;
  margin: 0.45rem 0 0;
}

.screen {
  background: #0c1410;
  border: 1px solid #31483b;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menubar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  padding: 0.35rem 0.7rem 0.45rem;
  background: #1b2820;
  border-bottom: 1px solid #2c4036;
}

.mini-lights {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  height: 22px;
  padding-top: 6px;
}

.mb {
  width: 7px;
  height: 10px;
}

.mb::before {
  top: -4px;
  left: 1px;
  width: 5px;
  height: 4px;
}

.extra {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  flex: 0 0 auto;
  background: #24352b;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.extra span:last-child {
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  font-weight: 400;
}

.desktop {
  position: relative;
  min-height: 210px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 180, 41, 0.1), transparent 60%),
    #0c1410;
}

figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 48ch;
}

section {
  margin-top: 5.25rem;
}

.beat + .beat,
.qa + .qa {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.offers {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 1px minmax(0, 0.85fr);
  gap: 0 2rem;
  margin-top: 1.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offers .rule {
  background: var(--line);
}

.price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  margin: 0.2rem 0 0.8rem;
}

.price .from {
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-right: 0.15em;
}

.ladder {
  padding-left: 1.15rem;
  margin-bottom: 1.1rem;
}

.ladder li {
  margin: 0.2rem 0;
}

.note {
  color: var(--ink-soft);
  max-width: 70ch;
}

address {
  font-style: normal;
}

.prose {
  padding-top: 1.5rem;
}

.prose h1 {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
  margin-bottom: 0.65rem;
}

.prose p,
.prose li,
.prose h1,
.prose h2 {
  max-width: 66ch;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.site-footer {
  position: relative;
  margin-top: 5rem;
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  align-items: baseline;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .stage {
    margin: 0.4rem 0 0.8rem;
  }

  .offers {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
  }

  .offers .rule {
    height: 1px;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .b:nth-child(n + 17) {
    display: none;
  }

  :root {
    --wrap: min(1120px, calc(100% - 4rem));
  }

  body {
    font-size: 1.05rem;
  }

  .bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .extra {
    font-size: 0.72rem;
    padding-inline: 0.5rem;
  }

  .actions {
    align-items: stretch;
  }

  .buy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow {
    display: none;
  }

  .b,
  .mb,
  .flake {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

@media print {
  .light-string,
  .snow,
  .flake {
    display: none !important;
  }

  body {
    background: #fff;
    color: #1c1408;
  }

  a {
    color: #1c1408;
  }

  .screen {
    box-shadow: none;
  }
}
