:root {
  color-scheme: dark;
  font-family: "Avenir Next", system-ui, sans-serif;
  --text: #f7f3e9;
  --soft: #b6c9c2;
  --mint: #bdf1c6;
  --line: #bacdc029;
  --dark: #0e191d;
  background: var(--dark);
  color: var(--text);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 3% 6%, #1b332b 0, transparent 43rem),
    radial-gradient(ellipse at 96% 65%, #242338 0, transparent 40rem),
    #0e191d;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.shell { width: min(1168px, calc(100% - 88px)); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.header { min-height: 86px; border-bottom: 1px solid var(--line); }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.header nav a, .footer a { padding-block: 10px; color: var(--soft); font-size: .875rem; font-weight: 650; text-decoration: none; }
.header nav a:hover, .header nav a[aria-current], .footer a:hover { color: var(--mint); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.06rem; letter-spacing: -.025em; font-weight: 800; text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: 0 6px 15px #0004; }
.skip { position: absolute; inset: 6px auto auto 8px; z-index: 5; padding: 14px 20px; background: var(--dark); transform: translateY(-150%); }
.skip:focus { transform: none; }
.hero {
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  padding-block: clamp(46px, 7vw, 90px);
}
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--mint); font-size: .77rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.kicker span { width: 8px; height: 8px; border-radius: 50%; background: #a9e9b2; box-shadow: 0 0 0 4px #a9e9b221; }
h1, h2, p, figure, dd { margin: 0; }
h1, h2 { font-weight: 850; }
.hero h1 { font-size: clamp(3.4rem, 6.5vw, 6.6rem); letter-spacing: -.085em; line-height: .94; }
.hero h1 em { color: var(--mint); font-style: normal; }
.lede { max-width: 33rem; margin-top: 24px; color: var(--soft); font-size: clamp(1.0625rem, 1.65vw, 1.28rem); line-height: 1.6; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 21px;
  min-height: 51px; margin-top: 29px; padding: 12px 19px; border-radius: 11px;
  background: var(--mint); color: #12261d; text-decoration: none; font-size: .95rem;
  font-weight: 800; transition: background-color .16s ease;
}
.button:hover { background: #daf8d7; }
.button span { font-size: 1.15em; }
.hero-art, .level-art {
  position: relative; isolation: isolate; display: grid; place-items: center;
  overflow: hidden; border: 1px solid #adcfc93d;
  background: radial-gradient(ellipse at 40% 42%, #356050 0, #203e3b 52%, #182733 89%);
  box-shadow: 0 28px 70px #0005, inset 0 1px #fff1;
}
.hero-art { aspect-ratio: 1.12; border-radius: 27px; }
.art-grid, .halo { position: absolute; z-index: -1; pointer-events: none; }
.art-grid {
  inset: 0;
  background-image: linear-gradient(#d5efe41a 1px, transparent 1px), linear-gradient(90deg, #d5efe41a 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 48%, black 18%, transparent 84%);
}
.halo {
  width: 83%; aspect-ratio: 1; border: 1px solid #e9fff02b; border-radius: 36%;
  box-shadow: 0 0 0 16px #b9dbcf0e, 0 0 0 33px #b9dbcf08;
  transform: rotate(-18deg);
}
.board { position: relative; overflow: hidden; isolation: isolate; background: #93d4bc; }
.board img { position: absolute; left: 0; width: 100%; height: auto; }
.board-first {
  width: 66%; aspect-ratio: 276 / 263; border: 1px solid #cbfbe0a0; border-radius: 12px;
  box-shadow: 1px 8px 0 #216654, 0 23px 45px #071b19bb;
  transform: translateY(-4%) rotate(-8deg);
}
.board-first img { top: -65%; }
.swatches { position: absolute; right: 6%; bottom: 6%; display: flex; gap: 6px; }
.swatches i { width: 9px; height: 9px; border-radius: 3px; background: #b1f45d; }
.swatches i:nth-child(2) { background: #79c9ff; }
.swatches i:nth-child(3) { background: #ff8b81; }
.how {
  display: grid; grid-template-columns: 1fr .81fr; align-items: center; gap: clamp(36px, 7vw, 90px);
  padding-block: clamp(46px, 6.8vw, 86px); border-top: 1px solid var(--line);
}
h2 { font-size: clamp(2.6rem, 4.6vw, 4.65rem); letter-spacing: -.066em; line-height: 1; }
.steps { display: grid; gap: 19px; margin: 27px 0 0; max-width: 36rem; }
.steps div { padding-inline-start: 15px; border-inline-start: 2px solid #bdf1c676; }
.steps dt { margin-bottom: 3px; font-size: 1.03rem; font-weight: 800; }
.steps dd { color: var(--soft); line-height: 1.56; }
.level-art { aspect-ratio: 1.1; gap: 14px; padding: 8%; border-radius: 24px; background: radial-gradient(ellipse at 50% 40%, #41456b, #232b44 65%, #1b2638); }
.board-advanced {
  align-self: end; width: 79%; aspect-ratio: 299 / 286; border-radius: 10px;
  box-shadow: 0 5px 0 #245d51, 0 16px 30px #08091c9e;
}
.board-advanced img { top: -63.5%; }
.level-art figcaption { font-size: .82rem; color: #e2e5f6; align-self: start; font-weight: 650; }
.footer { min-height: 88px; border-top: 1px solid var(--line); color: var(--soft); font-size: .875rem; }
.docs { width: min(760px, calc(100% - 88px)); min-height: calc(100vh - 174px); margin-inline: auto; padding-block: clamp(50px, 8vw, 94px); }
.docs h1 { font-size: clamp(2.65rem, 6.1vw, 5.1rem); letter-spacing: -.07em; line-height: 1; }
.docs .lede { margin-top: 16px; }
.panel { margin-top: 26px; padding: clamp(21px, 5vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: #17282dde; }
.docs h2 { margin: 0 0 12px; font-size: clamp(1.42rem, 3.3vw, 2rem); letter-spacing: -.04em; line-height: 1.16; }
.panel p { color: var(--soft); line-height: 1.68; overflow-wrap: anywhere; }
.panel p + p { margin-top: 12px; }
.panel a { color: var(--mint); text-underline-offset: .14em; }
.policy h2:not(:first-child) { margin-top: 29px; }
.policy .updated { margin-top: 30px; font-size: .9rem; }
details { border-top: 1px solid var(--line); padding-block: 12px; }
summary { min-height: 26px; cursor: pointer; font-weight: 750; }
details p { margin-top: 8px; }
@media (max-width: 900px) {
  .shell, .docs { width: calc(100% - 56px); }
}
@media (max-width: 720px) {
  .shell, .docs { width: calc(100% - 40px); }
  .header { min-height: 70px; }
  .header nav, .footer nav { gap: 10px 15px; }
  .header .play-link { display: none; }
  .hero, .how { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.2rem, 12vw, 5.35rem); }
  .hero-art, .level-art { width: min(100%, 520px); }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
}
@media (max-width: 355px) {
  .shell, .docs { width: calc(100% - 32px); }
  .brand { font-size: .95rem; }
  .header nav, .footer nav { column-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
