/* ReadyUp site styles.
   Theme: locked dark. Accent: ready-check green, used page-wide.
   Radius system: buttons = pill, cards/windows = 16px, inner chips/fields = 8px.
   Discord mockup colors are product-faithful and scoped to .dc-* only. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b0e12;
  --bg-raised: #11151b;
  --bg-card: #141a21;
  --line: #222a34;
  --line-soft: #1a2129;
  --text: #e9edf2;
  --muted: #9aa5b1;
  --faint: #6b7683;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-line: rgba(56, 189, 248, 0.38);
  --accent-ink: #04263b;
  --grad-a: #3ae6f5;
  --grad-b: #2b5cf0;
  --brand-grad: linear-gradient(115deg, var(--grad-a), var(--grad-b));
  --danger: #da373c;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
  --r-card: 16px;
  --r-chip: 8px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: var(--r-chip);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 28px;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5ecdfa; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-lg { padding: 16px 36px; font-size: 18px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { display: grid; place-items: center; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::after {
  /* ambient accent glow above the poster wall, under the content */
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 62%);
  pointer-events: none;
}
.hero-wall {
  position: absolute;
  inset: -22% -14%;
  background-image: url("../assets/collage.webp");
  background-size: 1100px auto;
  transform: rotate(-8deg);
  filter: brightness(0.5) saturate(0.85);
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(11, 14, 18, 0.9) 34%, rgba(11, 14, 18, 0.62) 58%, rgba(11, 14, 18, 0.8) 100%),
    linear-gradient(180deg, rgba(11, 14, 18, 0.75), transparent 34%, transparent 62%, var(--bg) 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.3vw, 57px);
  font-weight: 700;
  line-height: 1.1;
}
.m-line { display: block; white-space: nowrap; }
.m-dim { color: var(--faint); font-weight: 500; font-size: 0.92em; }
@media (max-width: 420px) {
  .m-line { white-space: normal; }
}
.hero-sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  max-width: 46ch;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; perspective: 1100px; }
.hero-visual .dc-window {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(1.2deg);
  box-shadow: 0 24px 70px rgba(3, 10, 6, 0.55);
  will-change: transform;
}

/* ---------- Discord mockup (product-faithful, scoped) ---------- */
.dc-window {
  background: #313338;
  border: 1px solid #26282c;
  border-radius: var(--r-card);
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.45;
  color: #dbdee1;
}
.dc-msg { display: flex; gap: 14px; }
.dc-followup { margin-top: 18px; }
.dc-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dc-avatar-bot { background: #0e1836; }
.dc-avatar-user { color: #fff; font-weight: 700; font-size: 15px; }
.dc-usertext { color: #dbdee1; margin-top: 2px; }
.dc-body { min-width: 0; flex: 1; }
.dc-head { font-weight: 600; color: #f2f3f5; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dc-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #5865f2;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  padding: 2px 5px;
}
.dc-when { color: #80848e; font-size: 12px; font-weight: 400; }
.dc-embed {
  margin-top: 8px;
  background: #2b2d31;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 13px 15px;
  max-width: 460px;
}
.dc-embed-title { font-weight: 700; color: #f2f3f5; font-size: 15.5px; }
.dc-embed-desc { color: #b5bac1; margin-top: 5px; font-size: 13.5px; }
.dc-fieldrow { display: flex; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.dc-field { display: flex; flex-direction: column; gap: 1px; }
.dc-field-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #80848e; }
.dc-field-val { font-size: 13.5px; color: #dbdee1; }
.dc-roster { display: flex; gap: 12px; margin-top: 13px; flex-wrap: wrap; }
.dc-user { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #b5bac1; }
.dc-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
}
.c1 { background: #7d5bd6; } .c2 { background: #3e8fd8; } .c3 { background: #c2703d; } .c4 { background: #4aa46a; }
.dc-joiner { opacity: 0; transform: translateY(4px); }
.dc-joiner.landed { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
.dc-btnrow { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.dc-btn {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border-radius: 6px;
  padding: 7px 16px;
  cursor: default;
  user-select: none;
}
.dc-success { background: #248046; }
.dc-neutral { background: #4e5058; }
.dc-danger { background: var(--danger); }
.dc-primary { background: #5865f2; }

.dc-gamelist { list-style: none; margin: 10px 0 0; padding: 0; }
.dc-gamelist li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 13.5px;
  color: #dbdee1;
}
.dc-plat { color: #80848e; font-size: 12px; flex: none; }
.dc-embed-foot { margin-top: 10px; font-size: 12px; color: #80848e; }

.dc-vote {
  margin-top: 8px;
  background: #2b2d31;
  border-radius: 6px;
  padding: 12px 15px;
  max-width: 460px;
}
.dc-vote-row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 13.5px; }
.dc-vote-game { font-weight: 600; color: #f2f3f5; }
.dc-vote-count { color: #b5bac1; }
.dc-vote-timer { margin-top: 8px; font-size: 12px; color: #80848e; }

/* ---------- generic section scaffolding ---------- */
.section { padding: 96px 24px; }
.section-head { max-width: 1200px; margin: 0 auto 44px; }
.section-head h2, .split-copy h2, .gn-head h2, .howit h2, .outro h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ---------- platforms strip ---------- */
.platforms {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-raised);
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.platforms-label { color: var(--faint); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; margin: 0; }
.plat-group { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.plat-divider { width: 1px; height: 34px; background: var(--line); }
@media (max-width: 900px) {
  .plat-divider { display: none; }
  .plat-group { flex-direction: column; gap: 18px; }
  .plat-group .platform-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 132px));
    justify-content: center;
    gap: 24px 36px;
    width: 100%;
  }
  .plat-group:first-child .platform-row { grid-template-columns: auto; }
}
.platform-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  align-items: center;
}
.platform-row li {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}
.platform-row li:hover { color: var(--text); }

/* ---------- split feature (/common) ---------- */
.split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.split-visual .dc-window {
  transform: rotate(-1.1deg);
  box-shadow: 0 24px 70px rgba(3, 10, 6, 0.5);
}
.split-copy p { margin-top: 20px; color: var(--muted); font-size: 18px; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text); font-size: 16.5px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  background: var(--accent);
  -webkit-mask: url("../assets/icons/check-fat.svg") no-repeat center / contain;
  mask: url("../assets/icons/check-fat.svg") no-repeat center / contain;
}

/* ---------- game nights ---------- */
.gamenights {
  background:
    linear-gradient(rgba(56, 189, 248, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.028) 1px, transparent 1px),
    var(--bg-raised);
  background-size: 44px 44px, 44px 44px, auto;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.gn-head { max-width: 760px; margin: 0 auto; text-align: center; }
.gn-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.gn-flow {
  max-width: 1200px;
  margin: 56px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.gn-node { flex: 1; max-width: 320px; display: flex; flex-direction: column; }
.gn-arrow { color: var(--faint); align-self: center; flex: none; margin-top: -34px; }
.gn-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
  min-height: 168px;
}
.gn-card-session { border-color: var(--accent-line); }
.gn-card-kicker { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.gn-card-title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-top: 8px; }
.gn-card-meta { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.gn-card-btns { display: flex; gap: 8px; margin-top: 14px; }
.gn-card-dm { background: #2b2d31; border-color: #26282c; }
.gn-dm-text { margin-top: 10px; color: #dbdee1; font-size: 15px; line-height: 1.55; }
.gn-node-label { margin-top: 16px; color: var(--muted); font-size: 15px; text-align: center; padding: 0 8px; }

/* ---------- bento ---------- */
.bento {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.cell {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 28px;
}
.cell-wide { grid-column: span 7; }
.cell-half { grid-column: span 6; }
.cell-tall { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; }
.cell-tint {
  background: linear-gradient(135deg, rgba(58, 230, 245, 0.13), rgba(43, 92, 240, 0.05) 60%), var(--bg-card);
  border-color: var(--accent-line);
}
.cell-grid-bg {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -1px -1px;
}
.cell h3 { font-size: 21px; font-weight: 700; margin-top: 18px; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(58, 230, 245, 0.16), rgba(43, 92, 240, 0.1));
  border: 1px solid var(--accent-line);
  position: relative;
}
.icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--accent);
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}
.i-tag { --icon: url("../assets/icons/tag.svg"); }
.i-search { --icon: url("../assets/icons/magnifying-glass.svg"); }
.i-users { --icon: url("../assets/icons/users-three.svg"); }
.i-sync { --icon: url("../assets/icons/arrows-clockwise.svg"); }
.i-globe { --icon: url("../assets/icons/globe-hemisphere-west.svg"); }
.i-list { --icon: url("../assets/icons/list-checks.svg"); }
.i-chat { --icon: url("../assets/icons/chat-circle-dots.svg"); }
.i-eye { --icon: url("../assets/icons/eye-slash.svg"); }
.i-pad { --icon: url("../assets/icons/game-controller.svg"); }
.cell-demo { margin-top: 22px; }
.cell-split { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cell-split p strong { color: var(--text); }

/* Discord right-click context menu (product-faithful, scoped) */
.ctx-demo { position: relative; width: 292px; height: 216px; }
.ctx-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2b2d31;
  border-radius: 8px;
  padding: 7px 14px 7px 9px;
  color: #dbdee1;
  font-size: 13.5px;
  font-weight: 600;
}
.ctx-menu, .ctx-submenu {
  background: #111214;
  border: 1px solid #26272b;
  border-radius: 8px;
  padding: 6px;
  width: 148px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.ctx-menu { position: absolute; left: 8px; top: 44px; }
.ctx-submenu { position: absolute; left: 138px; top: 158px; width: 156px; }
.ctx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #b5bac1;
  font-size: 13px;
  font-weight: 500;
}
.ctx-submenu .ctx-item { justify-content: flex-start; }
.ctx-submenu .ctx-item img { border-radius: 4px; }
.ctx-active { background: #4752c4; color: #fff; }
.ctx-sep { height: 1px; background: #2e2f34; margin: 4px 6px; }
.sale-chip {
  display: inline-block;
  background: var(--bg-raised);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-chip);
  padding: 10px 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.sale-chip strong { color: var(--text); }
.info-mini { margin: auto 0 0; padding-top: 24px; display: grid; gap: 10px; }
.info-mini div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-raised);
  border-radius: var(--r-chip);
  padding: 10px 14px;
}
.info-mini dt { color: var(--faint); font-size: 14px; }
.info-mini dd { margin: 0; font-size: 14.5px; font-weight: 600; }

/* ---------- how it works ---------- */
.howit { background: var(--bg); }
.howit-inner { max-width: 760px; margin: 0 auto; }
.steps {
  list-style: none;
  counter-reset: step;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 44px 74px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 17px; }

/* ---------- commands ---------- */
.cmd-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.cmd-picker { position: sticky; top: calc(var(--nav-h) + 28px); }
.dc-pick {
  background: #2b2d31;
  border: 1px solid #26282c;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(3, 8, 16, 0.5);
}
.dc-pick-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 8px;
  color: #949ba4;
  font-size: 12px;
  font-weight: 700;
}
.dc-pick-row { padding: 8px 12px; border-radius: 8px; display: flex; flex-direction: column; gap: 2px; }
.dc-pick-row.active { background: #404249; }
.dc-pick-name { color: #f2f3f5; font-weight: 600; font-size: 14.5px; }
.dc-pick-desc { color: #949ba4; font-size: 12.5px; }
.dc-inputbar {
  margin-top: 10px;
  background: #383a40;
  border-radius: 10px;
  padding: 13px 16px;
  color: #dbdee1;
  font-size: 15px;
  display: flex;
  align-items: center;
}
.dc-caret { width: 1.5px; height: 18px; background: #dbdee1; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .dc-caret { animation: caret-blink 1.1s steps(2) infinite; }
  @keyframes caret-blink { 50% { opacity: 0; } }
}
.cmd-picker-note { margin-top: 16px; color: var(--muted); font-size: 15px; }
.cmd-groups { display: grid; gap: 36px; }
.cmd-group h3 { font-size: 19px; font-weight: 700; color: var(--accent); }
.cmd-group dl { margin: 12px 0 0; display: grid; }
.cmd-group dl > div {
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 14px;
  margin: 0 -14px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.cmd-group dl > div:hover { background: var(--bg-card); }
.cmd-group dt { font-family: var(--font-mono); font-size: 14.5px; color: var(--text); font-weight: 600; }
.cmd-group dd { margin: 0; color: var(--muted); font-size: 15.5px; }
.cmd-note { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.cmd-note strong { color: var(--text); }

/* ---------- faq ---------- */
.faq {
  background:
    linear-gradient(rgba(56, 189, 248, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.022) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
  border-top: 1px solid var(--line-soft);
}
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 0 24px;
  transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: var(--accent-line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 36px 19px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; max-width: 65ch; }

/* ---------- outro ---------- */
.outro { padding: 130px 24px; text-align: center; position: relative; overflow: hidden; }
.outro::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -55%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.1), transparent 65%);
  pointer-events: none;
}
.outro-inner { position: relative; }
.outro-logo {
  display: block;
  margin: 0 auto 30px;
  width: 320px;
  height: auto;
  filter: drop-shadow(0 22px 70px rgba(56, 189, 248, 0.35));
}
@media (prefers-reduced-motion: no-preference) {
  .outro-logo { animation: logo-float 6s ease-in-out infinite alternate; }
  @keyframes logo-float {
    from { transform: translateY(6px); }
    to { transform: translateY(-8px); }
  }
}
.outro h2 { font-size: clamp(42px, 5.4vw, 72px); }
.outro p { margin: 18px 0 36px; color: var(--muted); font-size: 19px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-raised); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--text); }
.footer-fine { margin-left: auto; color: var(--faint); font-size: 13.5px; max-width: 420px; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.shown { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-joiner { opacity: 1; transform: none; }
}

/* ---------- fancy layer ---------- */
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hl {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-up { color: var(--accent); }

/* film grain, fixed + pointer-events-none so it never repaints on scroll */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-inner { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  /* poster wall drifts very slowly; transform-only so it stays on the compositor */
  .hero-wall { animation: wall-drift 70s ease-in-out infinite alternate; }
  @keyframes wall-drift {
    from { transform: rotate(-8deg) translate3d(0, 0, 0); }
    to { transform: rotate(-8deg) translate3d(-2.5%, -2%, 0); }
  }
}

/* primary CTA: hover lift + one sheen sweep */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.38) 50%, transparent 75%);
  transform: translateX(-101%);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary::before { transition: transform 0.55s ease; }
  .btn-primary:hover::before { transform: translateX(101%); }
}

/* nav link underline slide (desktop nav only) */
@media (min-width: 1024px) {
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-links a:hover::after { transform: scaleX(1); }
}

/* bento: cursor spotlight wash on hover-capable devices */
@media (hover: hover) and (pointer: fine) {
  .cell { position: relative; }
  .cell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.09), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }
  .cell:hover::after { opacity: 1; }
  .cell:hover { border-color: var(--accent-line); }
}

/* vote count pop when a new vote lands */
.dc-vote-count { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .dc-vote-count.pop { animation: vote-pop 0.45s ease; }
}
@keyframes vote-pop {
  35% { transform: scale(1.22); color: #f2f3f5; }
}

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance choreography */
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes card-in {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: none; }
  }
  .hero-copy h1 { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
  .hero-sub { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.17s both; }
  .hero-ctas { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.29s both; }
  .hero-visual { animation: card-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both; }

  /* platform logos stagger in with the strip */
  .platforms .platform-row li { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .platforms.shown .platform-row li { opacity: 1; transform: none; }
  .platforms.shown .platform-row li:nth-child(2) { transition-delay: 0.07s; }
  .platforms.shown .platform-row li:nth-child(3) { transition-delay: 0.14s; }
  .platforms.shown .platform-row li:nth-child(4) { transition-delay: 0.21s; }
  .platforms.shown .platform-row li:nth-child(5) { transition-delay: 0.28s; }

  /* game-night pipeline: nodes pop in sequence, arrows draw between them */
  .gn-flow .gn-node { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .gn-flow.shown .gn-node { opacity: 1; transform: none; }
  .gn-flow.shown > :nth-child(3) { transition-delay: 0.3s; }
  .gn-flow.shown > :nth-child(5) { transition-delay: 0.6s; }
  .gn-arrow path { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 0.7s ease; }
  .gn-flow.shown .gn-arrow path { stroke-dashoffset: 0; }
  .gn-flow.shown > :nth-child(2) path { transition-delay: 0.35s; }
  .gn-flow.shown > :nth-child(4) path { transition-delay: 0.65s; }

  /* the vertical connector between steps grows downward */
  .steps li::after { transform: scaleY(0); transform-origin: top; transition: transform 0.8s ease 0.35s; }
  .steps li.shown::after { transform: scaleY(1); }
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav-inner { gap: 14px; padding: 0 16px; }
  .btn-sm { padding: 9px 16px; font-size: 14px; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-raised); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-cta { margin-left: auto; }
  .nav-burger {
    display: grid;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px 4px;
    cursor: pointer;
  }
  .nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
  .gn-flow { flex-direction: column; align-items: center; }
  .gn-node { max-width: 460px; width: 100%; }
  .gn-card { min-height: 0; }
  .gn-arrow { transform: rotate(90deg); margin: 6px 0; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .hero-visual .dc-window { transform: none; max-width: 560px; }
  .split-inner { grid-template-columns: 1fr; gap: 44px; }
  .split-visual { order: 2; }
  .bento { grid-template-columns: 1fr; }
  .cell, .cell-wide, .cell-tall { grid-column: auto; grid-row: auto; }
  .cmd-layout { grid-template-columns: 1fr; gap: 40px; }
  .cell-split { grid-template-columns: 1fr; }
  .ctx-demo { margin: 4px auto 0; }
  .cmd-picker { position: static; }
  .cmd-group dl > div { grid-template-columns: 1fr; gap: 3px; }
  .hero-wall { background-size: 760px auto; }
  .section { padding: 72px 20px; }
  .footer-fine { margin-left: 0; }
}
