:root {
  --bath: #081412;
  --cell: #10221e;
  --cu: #c45c26;
  --teal: #1a8a7a;
  --hot: #e25a18;
  --paper: #efe6d6;
  --ink: #e7efe8;
  --mute: #7fa39a;
  --display: "Chakra Petch", "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body {
  margin: 0;
  background: var(--bath);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--cu); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
.mist {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.14;
  background-image: url("images/texture.webp");
  background-size: 380px auto;
  mix-blend-mode: color-dodge;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--cu); color: #111; padding: 8px; }
.busbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 24px;
  background: rgba(8, 20, 18, 0.94);
  border-bottom: 4px solid var(--cu);
}
.brand { font-family: var(--display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.14em;
  font-weight: 400;
  text-transform: none;
}
.nav-toggle {
  display: none;
  background: var(--cu);
  border: 0;
  color: #111;
  padding: 6px 12px;
  font-family: var(--display);
}
.cell-links { display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; }
.cell-links a { color: var(--mute); }
.cell-links a.is-active, .cell-links a:hover { color: var(--cu); }
.cell-links .live { background: var(--cu); color: #111; padding: 6px 12px; }
.hero { padding: 24px 24px 48px; }
.hang { display: grid; grid-template-columns: 1fr; gap: 8px; }
.hang figure { margin: 0; }
.hang img { width: 100%; height: 380px; object-fit: cover; border: 1px solid rgba(196, 92, 38, 0.35); }
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cells span {
  height: 64px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 28px;
  background: linear-gradient(180deg, var(--cu), #7a3414);
  color: #1a0c04;
}
.cells .hot { background: linear-gradient(180deg, var(--hot), #7a1808); color: #fff; }
.copy { max-width: 820px; margin-top: 28px; }
.kicker {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--teal);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--display); margin: 0 0 12px; line-height: 1; font-weight: 700; }
h1 { font-size: clamp(40px, 6.4vw, 76px); text-transform: uppercase; }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
.lead { color: var(--mute); max-width: 46em; }
.meter {
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--cell);
  border-left: 8px solid var(--hot);
  max-width: 520px;
}
.n { font-family: var(--display); font-size: 48px; margin: 0 0 6px; line-height: 1; }
.n span { font-size: 18px; color: var(--mute); }
.meter button {
  margin-top: 8px;
  background: var(--cu);
  color: #111;
  border: 0;
  padding: 8px 14px;
  font-family: var(--display);
  font-weight: 700;
}
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid currentColor; font-size: 14px; }
.btn.fill { background: var(--cu); color: #111; border-color: var(--cu); }
.btn.line { color: var(--ink); }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0; }
#need, #wall, #rules { background: var(--paper); color: #1a1612; }
#need .kicker, #wall .kicker, #rules .kicker { color: #8a3a18; }
#need .app-link, #wall .app-link, #rules .app-link { color: #8a3a18; }
.bath { background: var(--cell); }
.tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-top: 20px; }
.tri article { background: rgba(255,255,255,0.04); padding: 16px; }
#need .tri article { background: #fff; }
.tri ul, .io ul, #rules ol { margin: 0; padding-left: 1.1em; }
.steps { padding-left: 1.2em; max-width: 50em; }
.steps li { margin-bottom: 10px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.pair figure { margin: 0; }
.pair img { width: 100%; height: 240px; object-fit: cover; }
.pair figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
#rules ol {
  background: #fff;
  padding: 16px 16px 16px 36px;
  border-left: 8px solid var(--hot);
  max-width: 46em;
}
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.io > div { background: #0c1a18; padding: 16px; }
.url { margin-top: 18px; font-family: var(--mono); font-size: 13px; }
footer { padding: 20px 24px 40px; color: var(--mute); font-size: 13px; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .busbar { flex-wrap: wrap; }
  .cell-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #0c1a18;
    padding: 12px;
  }
  .cell-links.open { display: flex; }
  .tri, .pair, .io, .cells { grid-template-columns: 1fr 1fr; }
  .tri, .pair, .io { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .hang img { height: 240px; }
}
