:root {
  color-scheme: light;
  --ink: #131c2e;
  --ink-soft: #3d4c66;
  --muted: #67789a;
  --paper: #dff0ff;
  --paper-deep: #cfe6fb;
  --panel: #ffffff;
  --panel-soft: #f5faff;
  --accent: #2f6df6;
  --accent-deep: #1a4bc4;
  --accent-soft: #dbe9ff;
  --hot: #ff4365;
  --gold: #ffd23f;
  --teal: #00b875;
  --plum: #7c3aed;
  --logo-pink: #ff2f78;
  --logo-pink-soft: #ff85ad;
  --logo-blue: #2f6df6;
  --line: rgba(19, 28, 46, 0.07);
  --line-strong: rgba(19, 28, 46, 0.12);
  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-sm: 0 1px 2px rgba(23, 47, 96, 0.04), 0 8px 24px rgba(23, 47, 96, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 47, 96, 0.05), 0 18px 48px rgba(23, 47, 96, 0.08);
  --shadow-lg: 0 4px 14px rgba(23, 47, 96, 0.06), 0 40px 96px rgba(23, 47, 96, 0.11);
  --shell: min(1280px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  background:
    radial-gradient(80rem 46rem at 82% -12%, rgba(255, 47, 120, 0.08), transparent 68%),
    radial-gradient(70rem 44rem at 8% 4%, rgba(47, 109, 246, 0.09), transparent 68%),
    linear-gradient(180deg, #f0f7ff 0%, var(--paper) 26%, var(--paper-deep) 100%);
  background-attachment: fixed;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 99;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 3px solid rgba(47, 109, 246, 0.55);
  outline-offset: 2px;
}

/* ----------------------------------------------------------------- nav --- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  background: rgba(233, 245, 255, 0.76);
  border-bottom: 1px solid rgba(19, 28, 46, 0.07);
}

.topbar-inner {
  width: var(--shell);
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-word > span {
  color: var(--logo-pink);
}

.brand-mark {
  display: grid;
  gap: 3.5px;
  width: 26px;
}

.brand-mark span {
  display: block;
  height: 4.5px;
  border-radius: 999px;
  background: var(--logo-pink);
}

.brand-mark span:nth-child(1) {
  width: 13px;
  background: var(--logo-blue);
}

.brand-mark span:nth-child(2) {
  width: 21px;
}

.brand-mark span:nth-child(3) {
  width: 26px;
}

.topnav {
  display: flex;
  gap: 4px;
}

.topnav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.topnav a:hover {
  background: rgba(47, 109, 246, 0.1);
  color: var(--accent-deep);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: var(--muted);
}

.live-pill strong {
  color: var(--ink);
  font-weight: 650;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 184, 117, 0.5);
  animation: pulse 2s infinite;
}

.pulse.local {
  background: var(--gold);
  box-shadow: none;
  animation: none;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(0, 184, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 117, 0); }
}

.cta-mini {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 620;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, background 0.18s ease;
}

.cta-mini:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.cta-mini.large {
  padding: 16px 30px;
  font-size: 17px;
}

/* ---------------------------------------------------------------- hero --- */

main {
  width: var(--shell);
  margin: 0 auto;
  padding-bottom: 40px;
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 46px);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 800;
  text-wrap: balance;
}

.subhead {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-stats {
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.stat {
  padding: 15px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 3px;
}

.stat strong {
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.stat.accent {
  background: linear-gradient(180deg, rgba(255, 67, 101, 0.12), rgba(255, 67, 101, 0.05));
  border-color: rgba(255, 67, 101, 0.28);
}

.stat.accent strong {
  color: var(--hot);
}

.progress {
  --fill: 0%;
  position: relative;
  margin: 18px auto 0;
  max-width: 680px;
  height: 7px;
  border-radius: 999px;
  background: rgba(19, 28, 46, 0.09);
  overflow: hidden;
}

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--logo-pink));
  transition: width 0.5s var(--ease);
}

/* --------------------------------------------------------------- stage --- */

.app-stage {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 12px;
}

.stage-copy {
  position: sticky;
  top: 92px;
}

.claim-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.claim-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.claim-heading > span:first-child {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.claim-heading strong {
  font-size: 34px;
  font-weight: 820;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.claim-size {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 620;
}

.spot-wheel {
  margin: 16px 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(47, 109, 246, 0.18);
  background: linear-gradient(180deg, rgba(224, 236, 255, 0.85), rgba(255, 255, 255, 0.55));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
}

.wheel-tag {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.spot-wheel strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 44px;
  font-weight: 830;
  letter-spacing: -0.05em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
  transition: transform 0.16s ease;
}

.spot-wheel.spinning strong {
  animation: wheel-pop 0.14s ease infinite alternate;
}

@keyframes wheel-pop {
  to { transform: translateY(-3px) scale(1.05); }
}

.wheel-place {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.claim-form {
  display: grid;
  gap: 10px;
}

.claim-form input[type="text"],
.claim-form input[type="url"] {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--panel-soft);
  font-size: 15px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.claim-form input::placeholder {
  color: #9aa9c2;
}

.claim-form input:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.14);
}

.logo-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(47, 109, 246, 0.28);
  background: rgba(224, 236, 255, 0.45);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.logo-upload:hover {
  border-color: var(--accent);
  background: rgba(219, 233, 255, 0.7);
}

.logo-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--hot);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.logo-preview {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}

.logo-preview:not([hidden]) + .upload-icon {
  display: none;
}

.upload-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.upload-text strong {
  font-size: 14.5px;
  font-weight: 620;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-text small {
  font-size: 12px;
  color: var(--muted);
}

.claim-form button.primary {
  margin-top: 4px;
  padding: 15px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #3f7bff, var(--accent-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  box-shadow: 0 6px 18px rgba(26, 75, 196, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.claim-form button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(26, 75, 196, 0.38);
}

.claim-note {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------- piggy --- */

.piggy-wrap {
  display: grid;
  gap: 14px;
}

.canvas-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    radial-gradient(90% 80% at 78% 90%, rgba(255, 209, 226, 0.75), rgba(255, 209, 226, 0) 70%),
    linear-gradient(165deg, #f4f9ff 0%, #e6f0ff 45%, #f7e9f3 100%);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

.canvas-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

#piggyCanvas {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#piggyCanvas.dragging {
  cursor: grabbing !important;
}

.drag-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.stage-toast {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translate(-50%, -12px);
  max-width: min(420px, 84%);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 520;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  box-shadow: var(--shadow-md);
}

.stage-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.fallback-piggy[hidden] {
  display: none;
}

.fallback-piggy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: var(--ink-soft);
  padding: 30px;
}

.fallback-body,
.fallback-snout,
.fallback-ear {
  background: linear-gradient(160deg, #ffb6c8, #f4869f);
  border-radius: 50%;
  margin: 0 auto;
}

.fallback-body { width: 190px; height: 130px; }
.fallback-snout { width: 46px; height: 34px; margin-top: -74px; margin-left: 128px; }
.fallback-ear { width: 34px; height: 44px; }
.fallback-ear.left { margin: -150px auto -30px 92px; transform: rotate(-18deg); }
.fallback-ear.right { margin: -18px auto 0 130px; transform: rotate(14deg); }

.stage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.stage-toolbar button {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 580;
  transition: background 0.16s ease, transform 0.16s ease;
}

.stage-toolbar button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.stage-toolbar button:nth-child(2) {
  border-color: rgba(47, 109, 246, 0.4);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.stage-toolbar span {
  font-size: 13.5px;
  color: var(--muted);
}

.stage-toolbar #boardText {
  margin-left: auto;
  font-weight: 620;
  color: var(--ink);
}

.sponsor-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sponsor-reels span {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.sponsor-reels span.flipping {
  opacity: 0.25;
  transform: translateY(-4px);
}

.sponsor-reels strong {
  color: var(--ink);
  font-weight: 640;
}

/* --------------------------------------------------------------- spots --- */

section.spots,
section.how,
section.specs,
section.faq,
section.closer {
  padding-top: clamp(76px, 10vw, 140px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.032em;
  font-weight: 800;
}

.section-sub {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.view-toggle button {
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 580;
  color: var(--muted);
  transition: background 0.16s ease, color 0.16s ease;
}

.view-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.spots-panel[data-view="grid"] .spot-table-wrap,
.spots-panel[data-view="table"] .spot-grid {
  display: none;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}

.spot-card {
  --accent: var(--accent-deep);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 13px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.spot-card.is-taken:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 109, 246, 0.35);
  box-shadow: var(--shadow-md);
}

.spot-card.is-free {
  border-color: rgba(47, 109, 246, 0.16);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: none;
}

.spot-index {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.spot-shell {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  overflow: hidden;
}

.spot-card.is-taken .spot-shell {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, #fff);
}

.spot-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.spot-card.is-free .spot-shell::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 109, 246, 0.25);
}

.spot-body {
  min-width: 0;
  padding-right: 26px;
}

.spot-body strong {
  display: block;
  font-size: 15.5px;
  font-weight: 660;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spot-body p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-tag {
  grid-column: 2;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  margin-top: 4px;
}

.spot-card.is-free .spot-tag {
  color: var(--muted);
}

.spot-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.spot-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spot-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.spot-table td,
.spot-table tbody th {
  padding: 13px 18px;
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid rgba(19, 28, 46, 0.06);
  vertical-align: middle;
}

.spot-table tbody tr:last-child td,
.spot-table tbody tr:last-child th {
  border-bottom: none;
}

.spot-table tbody tr.is-free {
  color: var(--muted);
}

.spot-table .numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.row-index {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
}

.size-chip {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--muted);
}

.size-chip[data-size="L"] { background: var(--hot); }
.size-chip[data-size="M"] { background: var(--accent); }
.size-chip[data-size="S"] { background: var(--plum); }

.held {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.held img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px;
}

.held-free {
  font-weight: 500;
  color: var(--muted);
}

.action-cell {
  text-align: right;
}

.row-action {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}

button.row-action:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.row-action.is-muted {
  display: inline-block;
  border-style: dashed;
  border-color: rgba(47, 109, 246, 0.3);
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

/* ----------------------------------------------------------------- how --- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  counter-reset: step;
}

.steps li {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.step-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--logo-pink-soft);
  font-size: 17px;
  font-weight: 780;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- specs --- */

.specs-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow-md);
}

.specs-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.032em;
  font-weight: 800;
}

.spec-list {
  margin: 28px 0 0;
  display: grid;
  gap: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------- faq --- */

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: box-shadow 0.18s ease;
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 74ch;
}

/* -------------------------------------------------------------- closer --- */

.closer {
  text-align: center;
  padding-bottom: 20px;
}

.closer h2 {
  margin: 0 0 24px;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: -0.032em;
  font-weight: 800;
  text-wrap: balance;
}

.site-footer {
  width: var(--shell);
  margin: 60px auto 0;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer .fine {
  max-width: 560px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.6;
}

/* -------------------------------------------------------------- dialog --- */

.sponsor-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.sponsor-dialog::backdrop {
  background: rgba(13, 24, 45, 0.44);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
}

.dialog-close:hover {
  background: var(--ink);
  color: #fff;
}

.dialog-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dialog-slot {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12.5px;
  font-weight: 700;
}

.dialog-place {
  font-size: 13px;
  color: var(--muted);
}

.dialog-logo {
  display: block;
  width: 100%;
  height: 150px;
  margin: 18px 0;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel-soft);
  padding: 16px;
}

.sponsor-dialog h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.028em;
}

.sponsor-dialog > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.dialog-stats {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.dialog-stats span {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

#dialogLink {
  display: block;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #3f7bff, var(--accent-deep));
  color: #fff;
  font-size: 15.5px;
  font-weight: 640;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(26, 75, 196, 0.3);
}

/* -------------------------------------------------------------- reveal --- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1040px) {
  .topnav { display: none; }
  .app-stage { grid-template-columns: minmax(0, 1fr); }
  .stage-copy { position: static; order: 2; }
  .piggy-wrap { order: 1; }
  .spec-list > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 24px); }
  html { scroll-padding-top: 76px; }
  .topbar-inner { min-height: 60px; }
  .live-pill { display: none; }
  .brand { font-size: 21px; }
  .hero { padding-top: 40px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .canvas-frame { aspect-ratio: 4 / 3.4; }
  .sponsor-reels { grid-template-columns: 1fr; }
  .sponsor-reels span:nth-child(n + 3) { display: none; }
  .claim-card { padding: 20px; }
  .stage-toolbar #boardText { margin-left: 0; }
  .drag-hint { font-size: 11px; bottom: 10px; }
}
