/* Chroma Clash website. Plain CSS, no build step. */

@font-face {
  font-family: "Jersey 10";
  src: url("fonts/jersey-10.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Pirata One";
  src: url("fonts/pirata-one.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0d0f17;
  --bg-alt: #11141f;
  --surface: #171b29;
  --surface-2: #1e2335;
  --line: #2a3048;
  --text: #e9ebf3;
  --muted: #a9afc4;
  --red: #e5484d;
  --green: #46a758;
  --blue: #3e8bff;
  --red-text: #ff8589;
  --green-text: #74d887;
  --blue-text: #85b5ff;
  --gold: #ffd54a;
  --radius: 14px;
  --head: "Jersey 10", ui-monospace, "Cascadia Mono", monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; }
a { color: var(--blue-text); }
a:hover { color: #b3d0ff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.65rem; margin-top: 1.1em; }
p { margin: 0 0 1em; }
code, pre {
  font-family: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88em;
}
code {
  background: #0a0c13;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
  overflow-wrap: anywhere;
}
pre {
  background: #0a0c13;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 0.9em 1.1em;
  overflow-x: auto;
  margin: 0 0 1em;
}
pre code { background: none; border: 0; padding: 0; font-size: 0.95em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* ---------- AI notice ---------- */
.ai-notice {
  background: var(--surface-2); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 0.88rem; line-height: 1.45; padding: 8px 0;
}
.ai-notice b { color: var(--gold); font-weight: 600; }
.ai-notice a { color: var(--text); white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 23, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--head); font-size: 1.75rem; line-height: 1;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.9rem;
  padding: 6px 8px; border-radius: 8px;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.nav-cta { color: #0b0d12; background: var(--gold); font-weight: 600; }
.nav a.nav-cta:hover { background: #ffe27a; }
.menu-btn {
  display: none; margin-left: auto;
  font: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 14px; cursor: pointer;
}
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: #0f121c; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 6px; font-size: 1rem; }
  .nav a.nav-cta { margin-top: 8px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(600px 380px at 85% 20%, rgba(62, 139, 255, 0.16), transparent 70%),
    radial-gradient(520px 360px at 70% 90%, rgba(70, 167, 88, 0.13), transparent 70%),
    radial-gradient(520px 380px at 8% 10%, rgba(229, 72, 77, 0.15), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(255, 213, 74, 0.4); border-radius: 999px; padding: 3px 12px;
}
.lead { font-size: 1.12rem; color: #d3d7e4; }
.g-red { color: var(--red-text); font-weight: 600; }
.g-green { color: var(--green-text); font-weight: 600; }
.g-blue { color: var(--blue-text); font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 26px; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--head); font-size: 1.45rem; line-height: 1;
  padding: 12px 22px 13px; border-radius: 10px;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 4px 0 #07080d;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 0 #07080d; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #07080d; }
.btn-primary { color: #0b0d12; background: var(--gold); border-color: #e9bd2e; }
.btn-primary:hover { color: #0b0d12; background: #ffe27a; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 14px; font-size: 0.92rem; color: var(--muted);
}
.facts b { color: var(--text); font-family: var(--head); font-size: 1.3rem; font-weight: 400; margin-right: 3px; }

/* ---------- Stages (animation frames) ---------- */
.stage {
  position: relative; margin: 0;
  background: linear-gradient(180deg, #121624, #0c0f18);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.stage canvas, .stage video { display: block; width: 100%; height: auto; border-radius: 9px; }
.stage video { aspect-ratio: 16 / 9; background: #161821; }
.stage figcaption { font-size: 0.88rem; color: var(--muted); padding: 10px 6px 2px; }
.stage.wide { margin: 8px 0 28px; }
.stage figcaption { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.play-btn {
  flex: none;
  font: inherit; font-size: 0.85rem; color: var(--text);
  background: rgba(13, 15, 23, 0.85); border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 12px; cursor: pointer;
}
.play-btn:hover { border-color: var(--gold); }

/* ---------- The "coming soon" sticker: on the corner of the hero's map, on a phone beside the heading ---------- */
.sticker {
  position: absolute; z-index: 2; top: -8px; right: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 168px; height: 168px; border-radius: 50%;
  text-decoration: none; text-align: center; color: #1a1205;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), transparent 42%),
    repeating-conic-gradient(from 0deg, #ffd54a 0 10deg, #ffc927 10deg 20deg);
  border: 5px solid #fff8e1;
  box-shadow: 0 0 0 2px #e0a915, 0 12px 26px rgba(0, 0, 0, 0.55);
  transform: rotate(9deg);
  transition: transform 0.2s ease;
}
.sticker:hover, .sticker:focus-visible { transform: rotate(3deg) scale(1.05); color: #1a1205; }
.sticker-top {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: #1a1205; color: #ffd54a; border-radius: 999px; padding: 2px 9px;
}
.sticker-big { font-family: var(--head); font-size: 2.35rem; line-height: 0.9; margin-top: 3px; }
.sticker-small { font-size: 0.74rem; font-weight: 700; font-style: italic; max-width: 120px; line-height: 1.15; }
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: sticker-wiggle 6s ease-in-out infinite; }
  .sticker:hover, .sticker:focus-visible { animation: none; }
}
@keyframes sticker-wiggle {
  0%, 88%, 100% { transform: rotate(9deg); }
  91% { transform: rotate(4deg) scale(1.04); }
  94% { transform: rotate(13deg) scale(1.04); }
  97% { transform: rotate(7deg); }
}

/* ---------- Spam protection callout ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start;
  margin: 28px 0 18px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-icon { flex: none; width: 44px; height: 44px; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 760px; color: #d3d7e4; font-size: 1.06rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col.reverse > figure { order: -1; }
.two-col > figure { position: sticky; top: 84px; }
.new {
  display: inline-block; vertical-align: 0.12em;
  font-family: var(--body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0b0d12; background: var(--gold); border-radius: 4px; padding: 1px 5px; line-height: 1.4;
}
h3 .new { font-size: 0.42em; vertical-align: 0.4em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.steps li {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 8px;
}
.steps li:nth-child(1) { border-top: 3px solid var(--red); }
.steps li:nth-child(2) { border-top: 3px solid var(--green); }
.steps li:nth-child(3) { border-top: 3px solid var(--blue); }
.steps li:nth-child(4) { border-top: 3px solid var(--gold); }
.steps h3 { margin-top: 0.5em; font-size: 1.55rem; }
.steps p { color: #c9cddb; font-size: 0.97rem; }
.step-n {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  font-family: var(--head); font-size: 1.5rem; line-height: 1;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 50%;
}

/* Lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.55em; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 10px; height: 10px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 2px;
}
.guild-list { list-style: none; padding: 0; margin: 0 0 1em; }
.guild-list li { display: flex; align-items: baseline; gap: 10px; margin-bottom: 0.4em; }
.dot { flex: none; width: 14px; height: 14px; border-radius: 50%; transform: translateY(2px); box-shadow: 0 0 0 3px rgba(255,255,255,0.08); }
.dot.red { background: var(--red); }
.dot.green { background: var(--green); }
.dot.blue { background: var(--blue); }

/* Hue wheel */
.hue-wheel { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 16px auto 6px; }
.hue-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      hsl(0 80% 55%), hsl(60 80% 50%), hsl(120 70% 45%), hsl(180 75% 45%),
      hsl(240 80% 60%), hsl(300 75% 55%), hsl(360 80% 55%));
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 63%, #000 85%, transparent 86%);
  mask: radial-gradient(closest-side, transparent 62%, #000 63%, #000 85%, transparent 86%);
}
.hue-wheel::before {
  /* Outer band: the guild that owns each slice of the wheel. */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--red) 0 60deg, var(--green) 60deg 180deg, var(--blue) 180deg 300deg, var(--red) 300deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 89%, #000 99%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 88%, #000 89%, #000 99%, transparent 100%);
}
.hue-wheel::after {
  /* Thin dividers at 60, 180 and 300 degrees. */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0 59deg, var(--bg-alt) 59deg 61deg, transparent 61deg 179deg,
    var(--bg-alt) 179deg 181deg, transparent 181deg 299deg, var(--bg-alt) 299deg 301deg, transparent 301deg);
}
.hue-labels { position: absolute; inset: 0; }
.hl {
  position: absolute; transform: translate(-50%, -50%);
  font-family: var(--head); font-size: 2rem; line-height: 1;
}
/* Label positions at the middle of each range, radius 30% from the centre. */
.hl-red { left: 50%; top: 30%; color: var(--red-text); }
.hl-green { left: 67.3%; top: 60%; color: var(--green-text); }
.hl-blue { left: 32.7%; top: 60%; color: var(--blue-text); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 8px 0 28px; }
.cards.five { grid-template-columns: repeat(6, 1fr); }
.cards.five > :nth-child(-n+3) { grid-column: span 2; }
.cards.five > :nth-child(n+4) { grid-column: span 3; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 6px;
}
.card h3 { margin-top: 0; }
.card p { font-size: 0.97rem; color: #cdd1df; }
.card .tag { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin: -0.2em 0 0.7em; }
.cards.roadmap { grid-template-columns: repeat(2, 1fr); }
.roadmap .tag { color: #9aa1b5; }
.road-now { border-color: rgba(255, 213, 74, 0.45); }
.road-now .tag { color: var(--gold); }
.road-tribute a { color: var(--gold); }
.road-later { margin-top: 16px; }
.road-now a { color: var(--gold); }
.playtest-cta { margin: 4px 0 18px; }
.playtest-steps { margin: 0 0 10px; padding-left: 1.3em; color: #cdd1df; }
.playtest-steps li { margin: 0.35em 0; }
.muted-note { color: #9aa1b5; font-size: 0.95rem; margin: 0 0 22px; }
.road-later .tag { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #9aa1b5; margin: -0.2em 0 0.7em; }
.card-god { border-color: rgba(255, 213, 74, 0.35); background: linear-gradient(180deg, rgba(255, 213, 74, 0.07), var(--surface) 60%); }

.split-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px 6px;
}
.panel h3 { margin-top: 0; }
.panel p, .panel li { font-size: 0.97rem; color: #cdd1df; }

/* Classes */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 12px; }
.class-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
  border-left: 4px solid var(--c);
}
.class-card h3 { margin: 0 0 0.25em; font-size: 1.6rem; }
.class-card h3 small { font-family: var(--body); font-size: 0.8rem; color: var(--muted); margin-left: 6px; vertical-align: 0.2em; }
.class-card p { margin: 0; font-size: 0.95rem; color: #cdd1df; }
.badge {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 8%, var(--c) 40%);
  border: 3px solid #1a1e26; box-shadow: 0 0 0 2px var(--c), 0 4px 10px rgba(0,0,0,0.4);
  padding: 7px;
}

/* God */
.god h3.sub { margin-top: 1.4em; }
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.skill {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.skill b { font-family: var(--head); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--gold); }
.skill > span { font-size: 0.92rem; color: #c9cddb; }

/* Themes */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 10px; }
.theme { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 4px; }
.theme h3 { margin-top: 0.6em; }
.theme p { font-size: 0.95rem; color: #cdd1df; }
.theme-demo {
  position: relative; height: 170px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, #2d3a52, #1a2234);
  display: flex; align-items: center; justify-content: space-around; padding: 0 12px;
}
.t-panel { padding: 10px 14px; min-width: 120px; }
.t-name { display: block; font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.t-bar { display: block; height: 10px; background: rgba(255,255,255,0.15); }
.t-bar i { display: block; height: 100%; width: 64%; background: var(--blue); }
.t-fighter {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  background: #1b1f2b; border: 5px solid var(--red);
  display: grid; place-items: center;
}
/* A stand-in emote: a simple smiling face. */
.t-fighter span {
  width: 44px; height: 44px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 40%, #222 0 8%, transparent 9%),
    radial-gradient(circle at 66% 40%, #222 0 8%, transparent 9%),
    linear-gradient(#ffcf5a 0 60%, transparent 60%),
    radial-gradient(ellipse 30% 18% at 50% 62%, #222 0 98%, transparent 100%),
    #ffcf5a;
}

/* Plain */
.theme-plain .t-panel { background: rgba(15, 18, 28, 0.85); border-radius: 10px; font-family: var(--body); }
.theme-plain .t-name { font-weight: 600; font-size: 0.95rem; }
.theme-plain .t-bar { border-radius: 5px; overflow: hidden; }

/* Pixel RPG */
.theme-pixel .theme-demo { background: #1d2a4a; image-rendering: pixelated; }
.theme-pixel .t-panel {
  font-family: "Jersey 10", monospace;
  background: #1a2a7a;
  border: 4px solid #e8ecff;
  box-shadow: 0 0 0 4px #0d1338, inset 0 0 0 4px #3550c8;
}
.theme-pixel .t-name { font-size: 1.5rem; line-height: 1; }
.theme-pixel .t-bar { height: 12px; background: #0d1338; border: 3px solid #0d1338; }
.theme-pixel .t-bar i { background: #6ce06c; }
.theme-pixel .t-fighter {
  border-radius: 0; border: 0;
  background: var(--red);
  clip-path: polygon(30% 0, 70% 0, 70% 6%, 85% 6%, 85% 15%, 94% 15%, 94% 30%, 100% 30%, 100% 70%, 94% 70%, 94% 85%, 85% 85%, 85% 94%, 70% 94%, 70% 100%, 30% 100%, 30% 94%, 15% 94%, 15% 85%, 6% 85%, 6% 70%, 0 70%, 0 30%, 6% 30%, 6% 15%, 15% 15%, 15% 6%, 30% 6%);
}
.theme-pixel .t-fighter span {
  width: 54px; height: 54px; border-radius: 0;
  clip-path: polygon(30% 0, 70% 0, 70% 8%, 86% 8%, 86% 16%, 92% 16%, 92% 30%, 100% 30%, 100% 70%, 92% 70%, 92% 84%, 86% 84%, 86% 92%, 70% 92%, 70% 100%, 30% 100%, 30% 92%, 14% 92%, 14% 84%, 8% 84%, 8% 70%, 0 70%, 0 30%, 8% 30%, 8% 16%, 14% 16%, 14% 8%, 30% 8%);
  background:
    linear-gradient(#222, #222) 30% 36% / 12% 14% no-repeat,
    linear-gradient(#222, #222) 70% 36% / 12% 14% no-repeat,
    linear-gradient(#222, #222) 50% 70% / 40% 10% no-repeat,
    #ffcf5a;
}
.theme-pixel .t-fighter { display: grid; place-items: center; }
.theme-pixel .t-fighter::before {
  /* The dark disc inside the pixel ring. */
  content: ""; position: absolute; inset: 6px; background: #1b1f2b;
  clip-path: inherit;
}
.theme-pixel .t-fighter span { position: relative; width: 46px; height: 46px; }

/* Dark Fantasy Comic */
.theme-comic .theme-demo {
  background:
    radial-gradient(circle, rgba(0,0,0,0.35) 22%, transparent 24%) 0 0 / 6px 6px,
    linear-gradient(160deg, #5a3a2c, #241813);
}
.theme-comic .t-panel {
  font-family: "Pirata One", serif;
  background: #1e1713;
  border: 3px solid #0b0807;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
  border-bottom: 3px solid #c8b48a;
}
.theme-comic .t-name { font-size: 1.45rem; line-height: 1; color: #f1e6cc; }
.theme-comic .t-bar { border: 2px solid #0b0807; background: #3a2f28; }
.theme-comic .t-bar i { background: #c94a3a; }
.theme-comic .t-fighter { border: 5px solid var(--red); box-shadow: 0 0 0 3px #0b0807, 6px 6px 0 3px rgba(0,0,0,0.5); }

.pills { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px; font-size: 0.92rem; }

/* Setup */
.setup { list-style: none; padding: 0; margin: 24px 0 8px; counter-reset: setup; display: grid; gap: 12px; max-width: 820px; }
.setup li {
  counter-increment: setup; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px 4px 72px;
}
.setup li::before {
  content: counter(setup);
  position: absolute; left: 18px; top: 16px;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--head); font-size: 1.6rem; line-height: 1; color: #0b0d12;
  background: var(--gold); border-radius: 10px;
}
.setup h3 { margin: 0.1em 0 0.3em; }
.setup p { color: #cdd1df; }

/* FAQ */
.faq details { max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style-position: inside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 12px 18px 2px; margin: 0 0 0.6em; color: #cdd1df; }

/* Footer */
.footer { padding: 32px 0 40px; color: var(--muted); font-size: 0.88rem; }
.footer p { margin: 0 0 0.4em; }

/* ---------- AI disclosure ---------- */
.ai-facts { max-width: 820px; margin: 8px 0 32px; border-left: 4px solid var(--gold); }
.satire-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; padding-top: 24px; border-top: 1px dashed var(--line); max-width: 820px; }
.satire-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.satire-tag {
  font-family: var(--head); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #000; background: var(--gold); padding: 2px 10px; border-radius: 6px; transform: rotate(-2deg);
}
.ai-meter { margin: 8px 0 28px; max-width: 820px; }
.ai-bar {
  display: flex; height: 38px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.ai-part { display: flex; align-items: center; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.ai-machine {
  padding-left: 16px; color: #0d1020;
  background: linear-gradient(90deg, var(--red), var(--gold) 50%, var(--green) 75%, var(--blue));
}
.ai-human { justify-content: center; color: var(--muted); font-size: 0.7rem; min-width: 28px; }
.ai-legend { color: var(--muted); font-size: 0.9rem; margin-top: 0.6em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col > figure { position: static; }
  .two-col.reverse > figure { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .class-grid { grid-template-columns: 1fr 1fr; }
  .skills { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: 1fr; max-width: 560px; }
  .split-notes { grid-template-columns: 1fr; }
  .cards.five { grid-template-columns: 1fr 1fr; }
  .cards.five > :nth-child(n) { grid-column: auto; }
  .cards.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 44px; }
  .section { padding: 52px 0; }
  .steps, .class-grid, .skills, .cards.five, .cards.three, .cards.roadmap { grid-template-columns: 1fr; }
  .setup li { padding-left: 62px; }
  .setup li::before { left: 14px; }
  .stage { padding: 6px; }
  .brand { font-size: 1.55rem; }
  .sticker { width: 112px; height: 112px; top: 34px; right: 8px; border-width: 4px; }
  .sticker-top { font-size: 0.52rem; padding: 1px 6px; }
  .sticker-big { font-size: 1.55rem; }
  .sticker-small { font-size: 0.58rem; max-width: 84px; }
  .callout { flex-direction: column; gap: 10px; padding: 16px; }
}
