/* The Genuine Persona Protocol: flat, playful, light-only. */
:root {
  --gpp-paper: #FFFDF7;
  --gpp-grid: #EFEADF;
  --gpp-card: #FFFFFF;
  --gpp-ink: #16141F;
  --gpp-ink-2: #45414F;
  --gpp-muted: #625D6E;
  --gpp-line-soft: #B8B2C4;
  --gpp-coral: #FF5D5D;
  --gpp-coral-soft: #FFE1DE;
  --gpp-sun: #FFD23F;
  --gpp-sun-soft: #FFF3C4;
  --gpp-blue: #4A3AFF;
  --gpp-blue-soft: #E4E1FF;
  --gpp-mint: #2FD08F;
  --gpp-mint-soft: #D8F6E9;
  --gpp-mint-ink: #0E7A50;
  --gpp-pink: #FF9FCB;
  --gpp-pink-soft: #FFE4F1;
  --gpp-sky: #CFE0FF;
  --gpp-sky-soft: #E6EFFF;
  --gpp-xmas-red: #D62828;
  --gpp-xmas-red-2: #B81F1F;
  --gpp-xmas-text: #B3261E;
  --gpp-xmas-green: #1F9D55;
  --gpp-xmas-green-soft: #DFF3E4;
  --gpp-xmas-green-ink: #13703A;
  --gpp-desk: #1B1925;
  --gpp-desk-grid: #26232F;
  --gpp-desk-line: #3A3647;
  --gpp-desk-ink: #F7F3EA;
  --gpp-desk-muted: #B9B3C6;
  --gpp-lcd: #0E0D14;
  --gpp-lcd-sun: #FFD84D;
  --gpp-lcd-mint: #4BE3A3;
  --gpp-border: 3px solid var(--gpp-ink);
  --gpp-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --gpp-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --gpp-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gpp-ease: 160ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--gpp-paper);
  background-image:
    linear-gradient(var(--gpp-grid) 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--gpp-grid) 1.5px, transparent 1.5px);
  background-size: 64px 64px;
  color: var(--gpp-ink);
  font-family: var(--gpp-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gpp-blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
svg.icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header */
.site-header { display: flex; align-items: center; gap: 12px; padding-top: 28px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--gpp-ink); }
.brand-chip {
  display: inline-block; padding: 0.12em 0.35em 0.16em; border-radius: 0.22em;
  background: var(--gpp-sun); border: var(--gpp-border);
  font-family: var(--gpp-display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; line-height: 1;
  transform: rotate(-2.5deg); white-space: nowrap;
}
.brand-name { font-family: var(--gpp-display); font-weight: 700; font-size: 28px; line-height: 1.05; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding-top: 64px; padding-bottom: 78px; }
.site-title { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.site-title h1 {
  margin: 0; font-family: var(--gpp-display); font-weight: 800; font-size: clamp(36px, calc(4vw + 8px), 52px);
  line-height: 1.05; letter-spacing: -0.02em;
}
.site-title-note { margin: 0; font-size: 11px; font-weight: 600; font-style: italic; color: var(--gpp-muted); }
.headline {
  margin: 0; font-family: var(--gpp-display); font-weight: 800;
  font-size: clamp(26px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.035em;
}
.headline > span { display: block; white-space: nowrap; }
.word-chip {
  display: inline-block; width: 4.9em; padding: 0 0 0.06em; border-radius: 0.22em;
  border: 4px solid var(--gpp-ink); background: var(--gpp-pink);
  transform: rotate(-2.5deg); text-align: center; transition: background 300ms ease;
}
.squiggle-word { position: relative; display: inline-block; margin-left: 0.18em; }
.squiggle-word svg { position: absolute; left: 0; bottom: -0.14em; width: 92%; height: 0.24em; }
.lead { margin: 0; max-width: 620px; font-size: 22px; color: var(--gpp-ink-2); font-weight: 500; }
.btn-hero {
  min-height: 60px; padding: 0 28px; border-radius: 999px; border: var(--gpp-border);
  background: var(--gpp-ink); color: var(--gpp-paper); font-family: var(--gpp-display); font-weight: 800; font-size: 19px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.promise {
  margin-top: 18px; max-width: 680px; padding: 26px 28px 22px; border-radius: 22px;
  border: var(--gpp-border); background: var(--gpp-sun); text-align: left; transform: rotate(-1.5deg);
}
.promise-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.promise-badge {
  width: 46px; height: 46px; flex: none; border-radius: 999px; border: var(--gpp-border);
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.promise h2 { margin: 0; font-family: var(--gpp-display); font-weight: 800; font-size: 23px; line-height: 1.1; }
.promise p { margin: 0; font-size: 15px; font-weight: 500; text-align: center; }

/* Trending this month (festive) */
.trending {
  width: 100%; max-width: 640px; margin-top: 18px; padding: 4px; border-radius: 22px; border: var(--gpp-border);
  background: repeating-linear-gradient(-45deg, var(--gpp-xmas-red) 0 10px, #fff 10px 20px);
}
.trending-inner {
  position: relative; border-radius: 17px; border: var(--gpp-border); background: var(--gpp-xmas-green-soft);
  padding: 13px 12px 6px; display: flex; align-items: center; gap: 12px; text-align: left;
}
.trending-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px;
  border: 2.5px solid var(--gpp-ink); background: var(--gpp-xmas-red); color: #fff; font-weight: 800; font-size: 12px; white-space: nowrap;
}
.trending-tag svg { width: 13px; height: 13px; }
.trending-body { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.trending-icon {
  width: 34px; height: 34px; flex: none; border-radius: 999px; border: 2.5px solid var(--gpp-ink); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.trending-icon svg { width: 20px; height: 20px; }
.trending-text { display: flex; flex-direction: column; min-width: 0; }
.trending-name { font-family: var(--gpp-display); font-weight: 800; font-size: 16px; line-height: 1.1; margin-bottom: 5px; }
.trending-desc { font-size: 12.5px; line-height: 1.3; font-weight: 500; color: var(--gpp-ink-2); }
.flake { position: absolute; fill: none; stroke: var(--gpp-xmas-green); stroke-width: 2; stroke-linecap: round; opacity: 0.55; width: 14px; height: 14px; }
.flake-1 { top: 5px; right: 8px; }
.flake-2 { bottom: 4px; left: 6px; stroke: var(--gpp-xmas-red); width: 11px; height: 11px; }

/* Builder console */
.console {
  border-radius: 48px; border: 4px solid var(--gpp-ink); background: var(--gpp-coral);
  padding: 26px; display: flex; flex-direction: column; gap: 20px;
}
.banner {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px;
  border: var(--gpp-border); background: var(--gpp-mint); font-weight: 700; font-size: 15px;
}
.banner span { flex: 1; }
.banner button {
  width: 36px; height: 36px; flex: none; border-radius: 999px; border: 2px solid var(--gpp-ink);
  background: #fff; font-weight: 800;
}
.step {
  border-radius: 32px; border: var(--gpp-border); background: var(--gpp-card);
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.step-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.step-tag {
  padding: 6px 12px; border-radius: 999px; background: var(--gpp-ink); color: var(--gpp-sun);
  font-family: var(--gpp-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
}
.step h2 { margin: 0; font-family: var(--gpp-display); font-weight: 800; font-size: 38px; letter-spacing: -0.02em; line-height: 1.1; }

/* Group tabs */
.group-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.group-tab {
  min-height: 52px; padding: 0 8px 0 14px; border-radius: 999px; border: var(--gpp-border);
  background: var(--gpp-card); color: var(--gpp-ink); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; gap: 8px; transition: background var(--gpp-ease);
}
.group-tab .count {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; border: 2px solid var(--gpp-ink);
  background: var(--gpp-sun-soft); color: var(--gpp-ink); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.group-tab[aria-selected="true"] { background: var(--gpp-ink); color: var(--gpp-paper); }
.group-tab[aria-selected="true"] .count { background: var(--gpp-sun); }
.group-tab.xmas { color: var(--gpp-xmas-text); }
.group-tab.xmas .count { background: var(--gpp-xmas-green-soft); color: var(--gpp-xmas-green-ink); }
.group-tab.xmas[aria-selected="true"] {
  background: repeating-linear-gradient(-45deg, var(--gpp-xmas-red) 0 12px, var(--gpp-xmas-red-2) 12px 24px);
  color: #fff;
}
.group-tab.xmas[aria-selected="true"] .count { background: #fff; }
.group-tab.improb { background: var(--gpp-blue-soft); }
.group-tab.improb .count { background: var(--gpp-sun); }
.group-tab.improb[aria-selected="true"] { background: var(--gpp-blue); color: #fff; }

.xmas-pill {
  align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  border-radius: 999px; border: var(--gpp-border); background: var(--gpp-xmas-green-soft); font-size: 14px; font-weight: 700;
}
.xmas-pill .dot {
  width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--gpp-xmas-red);
  border: 2px solid var(--gpp-ink); display: flex; align-items: center; justify-content: center; color: #fff;
}

/* Persona cards */
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 18px; padding: 6px 4px; }
.card {
  position: relative; min-height: 172px; padding: 18px 12px 16px; border-radius: 26px; border: var(--gpp-border);
  background: var(--tile, var(--gpp-blue-soft)); color: var(--gpp-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  transform: rotate(var(--tilt, 0deg)); transition: transform 180ms ease, background 180ms ease;
}
.card[aria-pressed="true"] { background: var(--gpp-sun); transform: translateY(-4px); }
.card-icon {
  width: 74px; height: 74px; border-radius: 999px; border: var(--gpp-border); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.card-name { font-family: var(--gpp-display); font-weight: 700; font-size: 17px; line-height: 1.1; }
.card .tick {
  position: absolute; top: -12px; right: -10px; width: 34px; height: 34px; border-radius: 999px;
  border: var(--gpp-border); background: var(--gpp-mint); display: none; align-items: center; justify-content: center;
}
.card[aria-pressed="true"] .tick { display: flex; }
.card .season {
  position: absolute; top: -12px; left: 10px; padding: 3px 10px; border-radius: 999px;
  border: 2.5px solid var(--gpp-ink); background: var(--gpp-xmas-green); color: #fff;
  font-size: 11px; font-weight: 800; transform: rotate(-6deg);
}

/* Improbability Drive */
.improb-panel {
  border-radius: 28px; border: var(--gpp-border); background: var(--gpp-blue-soft); padding: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.improb-panel p { margin: 0; max-width: 560px; font-size: 16px; font-weight: 600; }
.slots { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.slot {
  width: 190px; min-height: 160px; padding: 16px 10px; border-radius: 26px; border: var(--gpp-border); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.slot:first-child { transform: rotate(-3deg); }
.slot:last-child { transform: rotate(3deg); }
.slot-icon {
  width: 68px; height: 68px; border-radius: 999px; border: var(--gpp-border);
  display: flex; align-items: center; justify-content: center;
}
.slot:first-child .slot-icon { background: var(--gpp-coral-soft); }
.slot:last-child .slot-icon { background: var(--gpp-mint-soft); }
.slot-name { font-family: var(--gpp-display); font-weight: 700; font-size: 16px; line-height: 1.1; }
.times {
  width: 52px; height: 52px; border-radius: 999px; border: var(--gpp-border); background: var(--gpp-sun);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--gpp-display); font-weight: 800; font-size: 28px; transition: transform 120ms linear;
}
.btn-spin {
  min-height: 62px; padding: 0 28px; border-radius: 999px; border: var(--gpp-border);
  background: var(--gpp-blue); color: #fff; font-family: var(--gpp-display); font-weight: 800; font-size: 19px;
  display: flex; align-items: center; gap: 12px;
}
.btn-spin[aria-busy="true"] { background: var(--gpp-ink); color: var(--gpp-sun); }
.btn-spin svg { transition: transform 120ms linear; }

/* Now running */
.spot {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 24px;
  border: 3px dashed var(--gpp-ink); background: var(--gpp-paper); flex-wrap: wrap;
}
.spot-icon {
  width: 84px; height: 84px; flex: none; border-radius: 999px; border: var(--gpp-border);
  display: flex; align-items: center; justify-content: center; background: var(--gpp-blue-soft);
}
.spot-text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kicker { font-family: var(--gpp-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--gpp-muted); }
.spot-name { font-family: var(--gpp-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.spot-desc { font-size: 16px; color: var(--gpp-ink-2); font-weight: 500; }

/* Mixing desk */
.desk {
  border-radius: 28px; border: var(--gpp-border); background-color: var(--gpp-desk);
  background-image: linear-gradient(var(--gpp-desk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--gpp-desk-grid) 1px, transparent 1px);
  background-size: 24px 24px; padding: 20px; display: flex; flex-direction: column; gap: 18px; color: var(--gpp-desk-ink);
}
.lcd {
  border-radius: 16px; border: 2px solid var(--gpp-desk-line); background: var(--gpp-lcd); padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px; min-height: 76px; justify-content: center; font-family: var(--gpp-mono);
}
.lcd-title { font-weight: 700; font-size: 19px; color: var(--gpp-lcd-sun); letter-spacing: 0.04em; }
.lcd-range { font-size: 13px; color: var(--gpp-desk-muted); }
.lcd-help { font-size: 13px; color: var(--gpp-lcd-mint); font-weight: 700; }
.faders { display: flex; gap: 6px; }
.fader { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.fader-value {
  font-family: var(--gpp-mono); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: var(--gpp-desk-line); color: var(--gpp-desk-ink);
}
.fader.active .fader-value { background: var(--gpp-lcd-sun); color: var(--gpp-ink); }
.fader-track { position: relative; width: 100%; height: 172px; touch-action: none; cursor: pointer; }
.notch { position: absolute; left: 50%; width: 24px; height: 2px; margin-left: -12px; margin-bottom: -1px; background: var(--gpp-desk-line); }
.notch.mid { width: 34px; margin-left: -17px; background: #6B6680; }
.rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 10px; margin-left: -5px; border-radius: 999px; background: var(--gpp-desk-line); }
.fill { position: absolute; left: 50%; bottom: 0; width: 10px; margin-left: -5px; border-radius: 999px; transition: height var(--gpp-ease), background var(--gpp-ease); }
.fader-track input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none;
}
.knob {
  position: absolute; left: 50%; width: 44px; height: 28px; margin-left: -22px; margin-bottom: -14px;
  border-radius: 10px; border: 3px solid #0B0A10; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; transition: bottom var(--gpp-ease), background var(--gpp-ease); pointer-events: none;
}
.knob i { display: block; width: 18px; height: 2px; background: var(--grip, #0B0A10); opacity: 0.7; }
.fader-track input:focus-visible ~ .knob { outline: 3px solid var(--gpp-lcd-sun); outline-offset: 2px; }
.fader label { font-size: 12px; font-weight: 800; line-height: 1.15; text-align: center; }
.fader.active label { color: var(--gpp-lcd-sun); }

.flavour {
  border-top: 2px dashed var(--gpp-desk-line); padding-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.flavour-title { display: block; font-family: var(--gpp-mono); font-weight: 700; font-size: 15px; color: var(--gpp-lcd-sun); letter-spacing: 0.06em; }
.flavour-dial { flex: none; }
.flavour-text { display: flex; flex-direction: column; align-items: center; }
.flavour-sub { font-size: 14px; color: var(--gpp-desk-muted); }
.flavour-opts { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; max-width: 100%; }
.flavour-opts button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2.5px solid var(--gpp-desk-line);
  background: transparent; color: var(--gpp-desk-ink); font-weight: 800; font-size: 14px; white-space: nowrap;
}
.flavour-opts button[aria-checked="true"] { background: var(--gpp-lcd-sun); border-color: var(--gpp-lcd-sun); color: var(--gpp-ink); }
.flavour-cap { display: block; margin-top: 6px; font-size: 13px; color: var(--gpp-lcd-sun); font-weight: 700; }
#dial-pointer { transition: transform 200ms ease; transform-origin: 52px 52px; }

/* House rules */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 28px; }
.rule { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rule-label, .sub-label { font-family: var(--gpp-display); font-weight: 700; font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 2.5px solid var(--gpp-ink);
  background: #fff; font-size: 14px; font-weight: 800; transition: background 140ms ease;
}
.pill[aria-checked="true"] { background: var(--gpp-blue); color: #fff; }
.habits { display: flex; flex-wrap: wrap; gap: 10px; }
.habit {
  min-height: 50px; padding: 6px 18px 6px 8px; border-radius: 999px; border: var(--gpp-border); background: #fff;
  font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 10px;
  transform: rotate(var(--tilt, 0deg)); transition: background var(--gpp-ease);
}
.habit .box {
  width: 32px; height: 32px; flex: none; border-radius: 999px; border: 2.5px solid var(--gpp-ink); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.habit .box svg { opacity: 0; }
.habit[aria-checked="true"] { background: var(--gpp-mint-soft); }
.habit[aria-checked="true"] .box { background: var(--gpp-mint); }
.habit[aria-checked="true"] .box svg { opacity: 1; }
.touches { border-radius: 24px; border: 3px dashed var(--gpp-line-soft); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.touches-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.touches-head .opt { font-family: var(--gpp-body); font-weight: 500; font-size: 14px; color: var(--gpp-muted); }
.privacy { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gpp-mint-ink); }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: 14px; }
.field label .count { font-family: var(--gpp-mono); font-weight: 500; color: var(--gpp-muted); }
.field input {
  min-height: 50px; padding: 0 18px; border-radius: 999px; border: var(--gpp-border); background: #fff; width: 100%;
}

/* Step 4 */
.step-go { background: var(--gpp-sun); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.go-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.go-text p { margin: 0; font-size: 15px; font-weight: 600; }
.go-actions { flex: none; margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.go-row { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 12px; align-items: center; }
.btn {
  min-height: 72px; padding: 0 26px; border-radius: 999px; border: var(--gpp-border); background: #fff; color: var(--gpp-ink);
  font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--gpp-ease);
}
.btn-copy { padding: 0 30px; background: var(--gpp-ink); color: var(--gpp-sun); font-family: var(--gpp-display); font-size: 21px; }
.btn-remove { background: var(--gpp-coral-soft); }
.btn.done { background: var(--gpp-mint); color: var(--gpp-ink); }
.status {
  flex: 1 1 100%; margin: 0; padding: 10px 16px; border-radius: 18px; border: 2.5px solid var(--gpp-ink);
  background: #fff; font-size: 13px; font-weight: 700;
}

/* How to use */
.how { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 120px; padding-bottom: 40px; }
.how h2 { margin: 0; text-align: center; font-family: var(--gpp-display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.how h2 span {
  display: inline-block; padding: 0 0.16em 0.05em; border-radius: 0.2em; background: var(--gpp-sky);
  border: 4px solid var(--gpp-ink); transform: rotate(1.5deg);
}
.how-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.how-tab {
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: var(--gpp-border); background: #fff;
  font-weight: 800; font-size: 16px;
}
.how-tab[aria-selected="true"] { background: var(--gpp-ink); color: var(--gpp-paper); }
.how-stack { position: relative; width: 100%; max-width: 880px; margin-top: 12px; }
.how-stack .ghost { position: absolute; inset: 0; border-radius: 34px; border: var(--gpp-border); }
.how-stack .ghost.one { background: var(--gpp-pink-soft); transform: rotate(3deg); }
.how-stack .ghost.two { background: var(--gpp-sky-soft); transform: rotate(-2.5deg); }
.how-card {
  position: relative; border-radius: 34px; border: var(--gpp-border); background: #fff; padding: 40px; transform: rotate(-0.5deg);
}
.how-card ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.how-card li { display: flex; gap: 14px; align-items: center; font-size: 17px; font-weight: 600; }
.how-card .num {
  width: 44px; height: 44px; flex: none; border-radius: 999px; border: var(--gpp-border);
  display: flex; align-items: center; justify-content: center; font-family: var(--gpp-display); font-weight: 800; font-size: 20px;
}

/* Footer */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.footer-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-pills span { padding: 8px 16px; border-radius: 999px; border: var(--gpp-border); background: #fff; font-weight: 700; font-size: 14px; }
.footer-pills span.sr-only { padding: 0; border: 0; }
.footer-pills a { color: var(--gpp-blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer-pills a:hover { color: var(--gpp-ink); }

/* Phone */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header { padding-top: 18px; }
  .brand-name { display: none; }
  .hero { gap: 18px; padding-top: 28px; padding-bottom: 30px; }
  .lead { font-size: 17px; }
  .promise h2 { font-size: 19px; }
  #build.wrap { padding-left: 10px; padding-right: 10px; }
  .console { border-radius: 30px; padding: 12px; }
  .step, .improb-panel { padding: 18px; }
  .step h2 { font-size: 28px; }
  .deck { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
  .slot { width: 128px; }
  .slots { gap: 10px; }
  .desk { padding: 14px; }
  .lcd-title { font-size: 15px; }
  .flavour-opts { width: 100%; gap: 6px; }
  .flavour-opts button { flex: 1 1 0; padding: 0 8px; font-size: 13px; }
  .faders { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 18px 6px; }
  .fader { min-width: 0; }
  .headline { font-size: calc(7.4vw + 8px); }
  .headline-2 { display: flex !important; flex-direction: column; align-items: center; gap: 0.12em; }
  .headline-2 .squiggle-word { margin-left: 0; }
  .btn-hero { font-size: 15px; }
  .trending-inner { flex-wrap: wrap; padding: 18px 12px 9px; gap: 8px; }
  .trending-body { flex: 1 1 100%; }
  .rules, .fields { grid-template-columns: 1fr; }
  .go-actions, .go-row { align-items: stretch; justify-content: stretch; width: 100%; flex-wrap: wrap; }
  .go-row .btn, .go-actions > .btn { flex: 1 1 100%; }
  .how { padding-top: 64px; padding-bottom: 24px; }
  .how-card { padding: 22px; }
  .site-footer { padding-top: 40px; padding-bottom: 48px; }
}

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

@media (max-width: 360px) {
  .flavour-opts { gap: 4px; }
  .flavour-opts button { padding: 0 4px; font-size: 12px; border-width: 2px; }
}
