/* Unpunched Studio marketing site. Colours and type follow the app (public/styles.css). */

:root {
  --bg: #f6f6fa;
  --surface: #ffffff;
  --surface-2: #f1f1f7;
  --ink: #12142a;
  --ink-2: #3c3f58;
  --muted: #6c7088;
  --line: #e5e5ee;
  --accent: #6d5efc;
  --accent-hover: #5b4bf0;
  --accent-2: #b06cff;
  --accent-soft: #efedff;
  --accent-soft-ink: #4b3ed6;
  --ok: #10805b;
  --warm: #f59e0b;
  --warm-soft: #fff2db;
  --warm-ink: #8a4b00;
  --shadow: 0 1px 2px rgba(18, 20, 42, 0.04), 0 10px 30px -14px rgba(18, 20, 42, 0.16);
  --shadow-lg: 0 30px 80px -30px rgba(18, 20, 42, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e16;
    --surface: #141725;
    --surface-2: #1b1f30;
    --ink: #eceef8;
    --ink-2: #c3c7da;
    --muted: #9095ae;
    --line: #252a3e;
    --accent: #8a7dff;
    --accent-hover: #9d92ff;
    --accent-soft: #221e45;
    --accent-soft-ink: #c2bbff;
    --ok: #4bd39b;
    --warm-soft: #2d2312;
    --warm-ink: #f3b55c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 32px); }

/* --- Brand and buttons --------------------------------------------------------------------------- */

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
/* The logo's symbol ("Track Tile": a board track bent into the U of Unpunched, a token on the start space). */
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none; display: block;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='16%2016%20224%20224'%3E%3Cpath%20fill='%236d5efc'%20d='M16%2080%20A64%2064%200%200%201%2080%2016%20H176%20A64%2064%200%200%201%20240%2080%20V176%20A64%2064%200%200%201%20176%20240%20H80%20A64%2064%200%200%201%2016%20176%20Z'/%3E%3Cpath%20fill='%23ffffff'%20d='M46.00%2075.00%20A8.5%208.5%200%200%201%2054.50%2066.50%20H72.50%20A8.5%208.5%200%200%201%2081.00%2075.00%20V93.00%20A8.5%208.5%200%200%201%2072.50%20101.50%20H54.50%20A8.5%208.5%200%200%201%2046.00%2093.00%20Z%20M46.00%20118.00%20A8.5%208.5%200%200%201%2054.50%20109.50%20H72.50%20A8.5%208.5%200%200%201%2081.00%20118.00%20V136.00%20A8.5%208.5%200%200%201%2072.50%20144.50%20H54.50%20A8.5%208.5%200%200%201%2046.00%20136.00%20Z%20M46.00%20161.00%20A8.5%208.5%200%200%201%2054.50%20152.50%20H72.50%20A8.5%208.5%200%200%201%2081.00%20161.00%20V179.00%20A8.5%208.5%200%200%201%2072.50%20187.50%20H54.50%20A8.5%208.5%200%200%201%2046.00%20179.00%20Z%20M89.00%20161.00%20A8.5%208.5%200%200%201%2097.50%20152.50%20H115.50%20A8.5%208.5%200%200%201%20124.00%20161.00%20V179.00%20A8.5%208.5%200%200%201%20115.50%20187.50%20H97.50%20A8.5%208.5%200%200%201%2089.00%20179.00%20Z%20M132.00%20161.00%20A8.5%208.5%200%200%201%20140.50%20152.50%20H158.50%20A8.5%208.5%200%200%201%20167.00%20161.00%20V179.00%20A8.5%208.5%200%200%201%20158.50%20187.50%20H140.50%20A8.5%208.5%200%200%201%20132.00%20179.00%20Z%20M175.00%20161.00%20A8.5%208.5%200%200%201%20183.50%20152.50%20H201.50%20A8.5%208.5%200%200%201%20210.00%20161.00%20V179.00%20A8.5%208.5%200%200%201%20201.50%20187.50%20H183.50%20A8.5%208.5%200%200%201%20175.00%20179.00%20Z%20M175.00%20118.00%20A8.5%208.5%200%200%201%20183.50%20109.50%20H201.50%20A8.5%208.5%200%200%201%20210.00%20118.00%20V136.00%20A8.5%208.5%200%200%201%20201.50%20144.50%20H183.50%20A8.5%208.5%200%200%201%20175.00%20136.00%20Z%20M175.00%2075.00%20A8.5%208.5%200%200%201%20183.50%2066.50%20H201.50%20A8.5%208.5%200%200%201%20210.00%2075.00%20V93.00%20A8.5%208.5%200%200%201%20201.50%20101.50%20H183.50%20A8.5%208.5%200%200%201%20175.00%2093.00%20Z'/%3E%3Cpath%20fill='%236d5efc'%20d='M53.0%2084.0%20A10.5%2010.5%200%201%200%2074.0%2084.0%20A10.5%2010.5%200%201%200%2053.0%2084.0%20Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 600 15px/1.2 var(--font); white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; }
/* Book a demo: always in the sticky header, set apart from the plain buttons. */
.btn-demo { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.btn-demo:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.btn-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 16px; border-radius: 13px; }
.btn-light { background: #fff; border-color: #fff; color: #2a1f8f; }
.btn-light:hover { background: #f1efff; border-color: #f1efff; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* --- Navigation ---------------------------------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 66px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--ink-2); font-weight: 550; font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

@media (max-width: 880px) {
  .nav-links {
    display: none; position: absolute; left: 16px; right: 16px; top: 70px; flex-direction: column; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding-inline: 12px; }
}
@media (max-width: 400px) {
  .nav-inner { gap: 10px; }
  .nav-cta .btn { padding-inline: 10px; font-size: 14px; }
  .nav-cta .btn-demo .btn-icon { display: none; }
  .brand span:last-child { display: none; }
}

/* Chat launcher: stands in for Crisp's own button until someone clicks it (then Crisp loads and takes over). */
.chat-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: 650 15px/1 var(--font);
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform 0.15s, background 0.15s;
}
.chat-launch:hover { background: var(--accent-hover); transform: translateY(-2px); }
.chat-launch svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-launch.loading { opacity: 0.75; cursor: progress; }
.chat-launch[hidden] { display: none; }
@media (max-width: 520px) {
  .chat-launch { right: 14px; bottom: 14px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .chat-launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* The staging copy (SITE_ENV=staging). */
.env-banner { padding: 7px 16px; background: #f59f00; color: #1f1400; font-size: 13px; line-height: 1.4; text-align: center; }

/* Cookie consent (Google Analytics): bottom left, clear of the chat button. */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 61; max-width: 400px; padding: 16px 18px; display: grid; gap: 12px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent-actions { display: flex; justify-content: flex-end; gap: 8px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  /* The banner covers the chat corner on phones: the chat button waits until it's answered. */
  .consent:not([hidden]) ~ .chat-launch { display: none; }
}

/* --- Hero ---------------------------------------------------------------------------------------- */

.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(35% 45% at 72% 22%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, color-mix(in srgb, var(--warm) 12%, transparent), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; box-shadow: var(--shadow);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; max-width: 15ch; margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2) 60%, #e2499f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 680px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-note { color: var(--muted); font-size: 14px; margin: 16px auto 0; max-width: 560px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 18px auto 0; padding: 0; font-weight: 650; font-size: 15px; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.art-band .section-head p { max-width: 720px; }
.art-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--ink-2); font-size: 16px; }
.art-note strong { color: var(--ink); }

.stage { position: relative; margin-top: 56px; padding-bottom: 60px; }
.window { margin: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12.5px; color: var(--muted); background: var(--surface); padding: 3px 14px; border-radius: 7px; border: 1px solid var(--line); }
.window-main { width: 88%; }
.window-float { position: absolute; right: 0; bottom: 0; width: 46%; transform: rotate(1.2deg); }
@media (max-width: 760px) {
  .stage { padding-bottom: 0; }
  .window-main { width: 100%; }
  .window-float { position: relative; width: 92%; margin: -40px 0 0 auto; }
  .window-bar span { display: none; }
}

/* --- Sections ------------------------------------------------------------------------------------ */

.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 780; letter-spacing: -0.03em; }
.section-head p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.kicker, .section-head .kicker { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px !important; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; right: -17px; width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: 0.5;
}
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 750;
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.reverse .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 760; letter-spacing: -0.025em; margin: 14px 0 14px; }
.feature p { color: var(--ink-2); font-size: 17px; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.shot img { width: 100%; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-soft-ink); font-size: 13px; font-weight: 700; }
.badge-addon { background: var(--warm-soft); color: var(--warm-ink); }

.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in srgb, var(--ok) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310805b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Who it's for */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { color: var(--ink-2); margin: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .cards3 { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 30px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.plan h3 { font-size: 24px; }
.plan-tag { color: var(--muted); margin: 6px 0 4px; }
.plan-featured { background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--accent) 70%, transparent); }
.plan-flag { position: absolute; top: -13px; left: 28px; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; }
.addon {
  margin-top: 20px; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 26px 28px;
  border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--warm) 60%, var(--line)); background: color-mix(in srgb, var(--warm-soft) 60%, var(--bg));
}
.addon h3 { font-size: 20px; margin: 10px 0 6px; }
.addon p { color: var(--ink-2); margin: 0; }
.plan-price { margin: 16px 0 2px; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; min-height: 42px; }
.plan-price small { font-size: 15px; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-credits { margin: 6px 0 18px; color: var(--ink-2); font-size: 15px; min-height: 24px; }
.plan-credits strong { color: var(--ink); }
.btn-block { display: flex; width: 100%; justify-content: center; }
.plan-group { margin: 22px 0 0; font-size: 12.5px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.plan .ticks { margin-top: 10px; font-size: 15px; }
.plans-vat { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.addons { display: grid; gap: 20px; margin-top: 28px; }
.addons .addon { margin-top: 0; align-items: flex-end; }
.addon .ticks { font-size: 15px; margin-top: 12px; }
.addon-price { font-size: 16px; font-weight: 650; color: var(--warm-ink); margin-left: 6px; white-space: nowrap; }
.muted { color: var(--muted); }

/* What credits buy, and the credit packs */
.credit-guide { margin-top: 28px; display: grid; grid-template-columns: 3fr 2fr; gap: 20px; }
.credit-guide > div { padding: 26px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.credit-guide h3 { font-size: 20px; margin: 0 0 6px; }
.credit-guide p { color: var(--ink-2); margin: 0; }
.credit-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.credit-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.credit-table td + td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; color: var(--ink); font-weight: 600; }
.credit-table tr.credit-total td { font-weight: 750; color: var(--accent-soft-ink); }
.credit-free { font-size: 14px; }
.credit-packs ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.credit-packs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.credit-packs li strong { font-size: 16px; }
.credit-packs li span { color: var(--muted); font-size: 13.5px; display: block; }
.credit-packs li b { font-size: 17px; white-space: nowrap; }

/* Compare plans */
.compare-wrap { margin-top: 28px; }
.compare-wrap h3 { font-size: 20px; margin: 0 0 12px; text-align: center; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 16px; }
.compare td:not(:first-child) { color: var(--ok); font-weight: 700; white-space: nowrap; }
.compare td.no { color: var(--muted); font-weight: 400; }
.compare td.addon-cell { color: var(--warm-ink); font-weight: 600; font-size: 14px; }
.promises { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--ink-2); font-size: 14.5px; }
.promises li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .addon, .addons .addon { flex-direction: column; align-items: flex-start; }
  .credit-guide { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .credit-guide > div, .addon { padding: 22px 18px; }
  .plan { padding: 28px 20px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 17px; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* Final call to action */
.cta-band { padding: 88px 0; text-align: center; color: #fff; background: linear-gradient(120deg, #4b3ed6, #6d5efc 45%, #b06cff); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 18px; margin-top: 16px; }

/* Footer */
.footer { padding: 56px 0 28px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.footer-links a { color: var(--ink-2); font-size: 15px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-inner > div:first-child { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
.notfound p { color: var(--ink-2); font-size: 18px; margin: 14px 0 26px; }

/* --- Playtest analytics spotlight (dark in both themes: the page's main moment) ---------------- */

.spotlight {
  position: relative; overflow: hidden; padding: 104px 0; color: #e7e8f5;
  background:
    radial-gradient(50% 40% at 15% 0%, rgba(109, 94, 252, 0.35), transparent 70%),
    radial-gradient(40% 35% at 90% 10%, rgba(176, 108, 255, 0.28), transparent 70%),
    radial-gradient(45% 30% at 50% 100%, rgba(245, 158, 11, 0.14), transparent 70%),
    #0d0f1c;
}
.spotlight h2, .spotlight h3 { color: #fff; }
.spotlight .section-head p { color: #b9bdd6; }
.spotlight .kicker, .spotlight .section-head .kicker { color: #fbbf24; }
.grad-light { background: linear-gradient(100deg, #fbbf24, #f472b6 55%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pt-flow { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-flow li { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.pt-flow-num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fbbf24; color: #1f1300; font-weight: 800; }
.pt-flow h3 { font-size: 17px; margin: 4px 0 6px; }
.pt-flow p { margin: 0; color: #b9bdd6; font-size: 15px; }
@media (max-width: 860px) { .pt-flow { grid-template-columns: 1fr; } }

.pt-hero-shot { margin: 0 auto; max-width: 1000px; }
.pt-hero-shot img { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.04); }
.pt-hero-shot figcaption { text-align: center; color: #b9bdd6; max-width: 680px; margin: 22px auto 0; font-size: 15.5px; }
.pt-hero-shot figcaption strong { color: #fff; }

.pt-questions { display: grid; gap: 20px; }
.pt-group { margin: 80px 0 24px; max-width: 720px; }
.pt-group-title { font-size: 26px; margin: 0 0 6px; }
.pt-group-lead { margin: 0; color: #b9bdd6; }
.pt-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pt-way { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.pt-way .badge { align-self: flex-start; }
.pt-way h3 { font-size: 22px; margin: 0; }
.pt-way p { margin: 0; color: #b9bdd6; }
.pt-way figure { margin: auto 0 0; padding-top: 8px; }
.pt-way img { border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: #fff; }
.pt-way-wide { grid-column: 1 / -1; }
.pt-way-wide p { max-width: 760px; }
.pt-way-wide p strong { color: #fff; }
.pt-way-pair { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; align-items: start; margin-top: auto; padding-top: 8px; }
.pt-way-pair figure { margin: 0; padding: 0; }
@media (max-width: 860px) { .pt-ways { grid-template-columns: 1fr; } .pt-way { padding: 22px; } .pt-group { margin-top: 56px; } .pt-way-pair { grid-template-columns: 1fr; } }
.pt-q { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.pt-q h3 { font-size: 22px; margin-bottom: 8px; }
.pt-q p { margin: 0; color: #b9bdd6; }
.pt-q figure { margin: 0; }
.pt-q img { border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: #fff; }
.pt-q-tall figure { max-width: 620px; }
/* What players said: the card players see, beside what the designer sees. */
.pt-q-feedback { grid-template-columns: 1fr; }
.pt-q-feedback .pt-q-text { max-width: 720px; }
.pt-q-pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px; align-items: center; }
.pt-q-card img { background: transparent; border: 0; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7); }
@media (max-width: 860px) { .pt-q-pair { grid-template-columns: 1fr; } .pt-q-card { max-width: 340px; margin: 0 auto !important; } }
@media (max-width: 860px) { .pt-q { grid-template-columns: 1fr; gap: 18px; padding: 22px; } }

.pt-cta {
  margin-top: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 26px 28px;
  border-radius: var(--radius); background: linear-gradient(120deg, rgba(109, 94, 252, 0.35), rgba(176, 108, 255, 0.25)); border: 1px solid rgba(255, 255, 255, 0.16);
}
.pt-cta p { margin: 10px 0 0; color: #e7e8f5; max-width: 60ch; }
.pt-cta .badge-addon { background: #fbbf24; color: #1f1300; }
@media (max-width: 760px) { .pt-cta { flex-direction: column; align-items: flex-start; } }

/* --- Board Game Arena section ------------------------------------------------------------------- */

.bga { background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--accent-soft) 55%, var(--bg))); }
.bga-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.bga-steps { list-style: none; margin: 0; padding: 0; counter-reset: bga; display: grid; gap: 6px; }
.bga-steps li { counter-increment: bga; position: relative; padding: 4px 0 22px 56px; }
.bga-steps li::before {
  content: counter(bga); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); font-weight: 800;
}
.bga-steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 2px; width: 2px; background: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.bga-steps h3 { font-size: 18px; margin: 6px 0 6px; }
.bga-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.bga-steps code, .zip code { font: 0.9em ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; }
.bga-visual { position: relative; }
.zip {
  position: relative; margin: -60px 24px 0 auto; width: min(420px, 92%); padding: 14px 16px 10px; border-radius: 14px;
  background: #11131f; color: #e7e8f5; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.08);
}
.zip-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.zip-icon { width: 18px; height: 22px; border-radius: 3px; background: repeating-linear-gradient(180deg, #fbbf24 0 3px, #b45309 3px 6px); }
.zip ul { list-style: none; margin: 8px 0 0; padding: 0; }
.zip li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; color: #c7cae0; }
.zip li code { color: #a5b4fc; }
.zip li span { color: #8a8fa8; text-align: right; }
.bga-note { margin: 40px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 14.5px; }
.plans-footnote { margin: 24px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) {
  .bga-grid { grid-template-columns: 1fr; }
  .zip { margin: -40px auto 0; }
}

a.eyebrow:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--ink); }
@media (max-width: 520px) { .eyebrow { font-size: 13px; text-align: left; } }

.spotlight .badge-new { background: #34d399; color: #052e1f; margin-bottom: 10px; }
