/* Palette: butter, tomato, cobalt, mint, ink, paper. Fonts: Bricolage Grotesque / DM Sans / Space Mono. */
:root {
  --butter: #FFF3C4;
  --butter-d: #FFE48A;
  --tomato: #F2462E;
  --tomato-d: #C9301B;
  --cobalt: #2F4BDB;
  --mint: #A8EBCB;
  --mint-d: #1FA971;
  --sky: #BFD8FF;
  --pink: #FFC2D9;
  --ink: #1E1C1A;
  --paper: #FFFDF7;
  --muted: #5d5a54;
  --wa: #25D366;
  --r: 18px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--butter);
  color: var(--ink);
  font: 17px/1.45 var(--body);
  overflow-x: clip;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
mark { background: none; color: var(--tomato); }
h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 800; margin-bottom: 1.4rem; }
h2 mark { position: relative; }
.lead { font-size: 1.15rem; margin: -0.6rem 0 1.6rem; max-width: 34ch; }
.tiny { font-size: 0.8rem; color: var(--muted); margin: 0.6rem 0 0; }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 0.75em 1.35em; font-weight: 700; text-decoration: none; color: var(--ink);
  background: var(--paper); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-red { background: var(--tomato); color: #fff; }
.btn-ink { background: var(--ink); color: var(--butter); }
.btn-ghost { background: var(--paper); }
.btn-wa { background: var(--wa); }
.btn-sm { padding: 0.5em 1em; font-size: 0.92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-lg { font-size: 1.1rem; padding: 0.85em 1.6em; }
.btn-xl { font-size: clamp(1.25rem, 4vw, 1.7rem); padding: 0.9em 1.8em; flex-direction: column; gap: 0.1em; box-shadow: var(--shadow-lg); }
.btn-xl .soon { font-size: 0.55em; font-weight: 500; opacity: 0.9; }
.btn:focus-visible, .chip:focus-visible, .flip:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--butter) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2.5px solid var(--ink);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; min-width: 0; }
.logo span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-box { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tomato); color: var(--butter); border: 2.5px solid var(--ink); font-size: 1.1rem; transform: rotate(-6deg); }
.top-right { display: flex; gap: 10px; align-items: center; flex: none; }
.lang { display: flex; border: 2.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper); }
.lang button { border: 0; background: none; padding: 6px 11px; font-weight: 700; font-size: 0.85rem; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--butter); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 70px); align-items: center;
  max-width: 1160px; margin: 0 auto; padding: clamp(36px, 7vw, 90px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 70px);
}
.sticker {
  display: inline-block; background: var(--cobalt); color: #fff; font-weight: 700; font-size: 0.9rem;
  padding: 6px 14px; border-radius: 8px; border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 1.1rem;
}
.tilt-l { transform: rotate(-3deg); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 mark { display: inline; background: linear-gradient(transparent 62%, var(--butter-d) 62%); color: var(--tomato); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 500; margin: 1rem 0 1.2rem; max-width: 36ch; }
.hero-sub b, .hero-ask b { font-weight: 700; }
.hero-ask { font-size: clamp(1.15rem, 2.3vw, 1.45rem); margin: 1.3rem 0 1.4rem; max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.ticker { margin-top: 1.6rem; font-family: var(--mono); font-size: 0.95rem; display: inline-flex; gap: 10px; align-items: baseline; flex-wrap: wrap; background: var(--ink); color: var(--butter); padding: 8px 14px; border-radius: 10px; }
.ticker strong { color: #fff; font-size: 1.15rem; min-width: 8ch; }

/* receipt */
.hero-ticket-wrap { display: flex; justify-content: center; }
.ticket {
  width: min(360px, 100%); position: relative;
  transform: rotate(2.5deg); filter: drop-shadow(8px 10px 0 rgba(30,28,26,.9));
  animation: print 1.4s cubic-bezier(.2,.9,.3,1) both;
  clip-path: inset(0 0 0 0);
}
.ticket-inner {
  background: var(--paper); padding: 26px 24px 30px; font-family: var(--mono); font-size: 0.86rem;
  --zz: 10px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2*var(--zz)) 100%, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2*var(--zz)) 100%;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  padding-top: 30px;
}
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: rotate(2.5deg) translateY(-30px); } to { clip-path: inset(0 0 0 0); transform: rotate(2.5deg); } }
.t-head { text-align: center; font-weight: 700; letter-spacing: .2em; margin: 0; font-size: 1rem; }
.t-sub, .t-issuers, .t-thanks { text-align: center; margin: 4px 0; font-size: 0.75rem; color: var(--muted); }
.t-issuers { color: var(--ink); font-weight: 700; letter-spacing: .08em; }
.ticket hr { border: 0; border-top: 2px dashed var(--ink); margin: 14px 0; }
.t-lines { list-style: none; padding: 0; margin: 0; }
.t-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; opacity: 0; animation: lineIn .35s ease forwards; }
.t-lines li b { color: var(--tomato); }
.t-lines li:nth-child(1) { animation-delay: .9s } .t-lines li:nth-child(2) { animation-delay: 1.1s } .t-lines li:nth-child(3) { animation-delay: 1.3s } .t-lines li:nth-child(4) { animation-delay: 1.5s } .t-lines li:nth-child(5) { animation-delay: 1.7s }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.t-total { margin: 0; font-weight: 700; }
.t-big { margin: 2px 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5.2vw, 2.6rem); letter-spacing: -0.03em; color: var(--tomato); white-space: nowrap; }
.t-range, .t-per { margin: 0; }
.t-per { font-weight: 700; margin-top: 4px; background: var(--butter-d); display: inline-block; padding: 1px 6px; }
.barcode { height: 44px; margin: 16px 0 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }

/* marquee */
.marquee { background: var(--mint); color: var(--ink); border-block: 2.5px solid var(--ink); overflow: hidden; transform: rotate(-1.2deg); margin: 10px -10px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 2rem); padding: 12px 0; white-space: pre; }
.marquee span::after { content: " "; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- blocks ---------- */
.block { max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 40px); }

/* route */
.switch { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); padding: 4px; gap: 4px; box-shadow: var(--shadow); margin-bottom: 28px; }
.switch button { border: 0; background: none; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 1.05rem; transition: background .2s; }
.switch button.is-on { background: var(--ink); color: var(--butter); }
.switch-sm { box-shadow: none; margin: 14px 0 8px; }
.switch-sm button { padding: 7px 14px; font-size: 0.95rem; }
.lane { display: flex; align-items: center; padding: 30px 18px 22px; border: 2.5px solid var(--ink); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-lg); }
.stop { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: 0.85rem; width: 86px; padding: 10px 6px; border-radius: 14px; border: 2.5px solid var(--ink); background: var(--butter); transition: transform .25s, background .25s; text-align: center; line-height: 1.1; }
.stop .ico { font-size: 1.9rem; line-height: 1; }
.link { flex: 1 1 0; min-width: 100px; position: relative; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 13px); display: flex; justify-content: center; align-items: center; }
.link::after { content: ""; position: absolute; right: -2px; top: 50%; border: 6px solid transparent; border-left: 8px solid var(--ink); transform: translateY(-50%); }
.toll { position: absolute; bottom: 10px; white-space: nowrap; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--tomato); color: #fff; border: 2px solid var(--ink); transform: rotate(-4deg); transition: transform .2s, background .2s; }
.toll-ok { background: var(--mint); color: var(--ink); transform: none; }
.lane .stop.lit { background: var(--butter-d); transform: translateY(-5px) scale(1.07); }
.lane .link.lit { background: repeating-linear-gradient(90deg, var(--tomato) 0 8px, transparent 8px 13px); }
.lane .link.lit .toll { transform: rotate(4deg) scale(1.2); background: var(--tomato-d); }
.lane .link.lit .toll-ok { background: var(--mint-d); color: #fff; }
.route { position: relative; }
button.stop, button.toll { font-family: inherit; color: var(--ink); cursor: help; }
button.toll { color: #fff; font-family: var(--mono); }
button.toll-ok { color: var(--ink); }
.stop:hover, .stop.tip-on { background: var(--butter-d); transform: translateY(-4px); }
.toll:hover, .toll.tip-on { transform: rotate(0) scale(1.15); z-index: 2; }
.tip { position: absolute; z-index: 15; width: max-content; max-width: min(300px, calc(100% - 16px)); background: var(--ink); color: var(--butter); border-radius: 12px; padding: 10px 14px; font-weight: 500; font-size: 0.95rem; line-height: 1.35; box-shadow: 4px 4px 0 var(--tomato); pointer-events: none; animation: tipIn .15s ease; }
.tip::after { content: ""; position: absolute; left: var(--ax, 50%); bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.tip.below::after { bottom: auto; top: -8px; border-top: 0; border-bottom: 8px solid var(--ink); }
@keyframes tipIn { from { opacity: 0; transform: translateY(4px); } }
.route-cap { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 22px 0 0; }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { border: 2.5px solid var(--ink); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); transition: transform .2s; }
.who-card:hover { transform: rotate(-1.5deg) translateY(-4px); }
.who-card:nth-child(even):hover { transform: rotate(1.5deg) translateY(-4px); }
.who-ico { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.who-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.who-card p { margin: 0; font-weight: 500; }
.who-card h3::after { content: " ✓"; color: var(--mint-d); }
.c-mint { background: var(--mint); } .c-butter { background: var(--butter-d); } .c-sky { background: var(--sky); } .c-pink { background: var(--pink); }


/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2.5px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 0.95rem; transition: transform .12s, background .15s; -webkit-tap-highlight-color: transparent; }
.chip:hover { transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--butter); }
.chips-role { margin-bottom: 18px; }

input[type="range"] { width: 100%; margin: 18px 0 8px; accent-color: var(--tomato); height: 34px; }

/* frustration wall */
.block { scroll-margin-top: 80px; }
.err { color: var(--tomato-d); font-weight: 700; margin: 10px 0 0; }
.frust-form { border: 2.5px solid var(--ink); border-radius: var(--r); background: var(--paper); padding: clamp(16px, 3.5vw, 28px); box-shadow: var(--shadow-lg); max-width: 760px; }
.frust-box { position: relative; }
.frust-box textarea { width: 100%; min-height: 110px; border: 2.5px solid var(--ink); border-radius: 14px; padding: 14px 16px 26px; font: 500 1.15rem/1.4 var(--body); background: var(--butter); resize: vertical; }
.frust-box textarea::placeholder { color: #8b8476; font-style: italic; }
.frust-box textarea:focus { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.frust-count { position: absolute; right: 12px; bottom: 10px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.frust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.frust-row .switch { margin: 0; }
.frust-row input[type="text"] { flex: 1 1 160px; min-width: 0; border: 2.5px solid var(--ink); border-radius: 12px; padding: 9px 12px; font: inherit; background: var(--butter); }
.frust-row .btn { margin-left: auto; }
.wall-head { display: flex; justify-content: flex-end; margin: 34px 0 14px; }
.wall { columns: 3 250px; column-gap: 16px; }
.note { position: relative; break-inside: avoid; margin: 0 0 16px; padding: 16px 16px 12px; border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); font-weight: 500; }
.note:nth-child(4n+1) { background: var(--butter-d); transform: rotate(-1.2deg); }
.note:nth-child(4n+2) { background: var(--mint); transform: rotate(1deg); }
.note:nth-child(4n+3) { background: var(--pink); transform: rotate(-.6deg); }
.note:nth-child(4n) { background: var(--sky); transform: rotate(1.3deg); }
.note-new { animation: noteIn .5s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes noteIn { from { opacity: 0; transform: scale(.6) rotate(-6deg); } }
.note q { display: block; font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; overflow-wrap: anywhere; }
.note-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-bottom: 10px; }
.note small { font-family: var(--mono); font-size: 0.75rem; }
.vote { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); padding: 5px 12px; font-weight: 700; font-size: 0.9rem; box-shadow: 2px 2px 0 var(--ink); transition: transform .12s, background .15s; }
.vote:hover { transform: translateY(-2px); }
.vote b { font-family: var(--mono); }
.vote.is-on { background: var(--ink); color: var(--butter); }
.vote.pop { animation: votePop .35s ease; }
@keyframes votePop { 50% { transform: scale(1.25) rotate(-4deg); } }
.vote:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.empty-cta { margin-top: 16px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; }
.empty-cta a { color: var(--tomato); }
.local-note { margin-top: 20px; }

/* flip facts */
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flip { position: relative; aspect-ratio: 1 / 0.8; border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 0; perspective: 800px; background: transparent; }
.flip .front, .flip .back { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; border-radius: calc(var(--r) - 3px); backface-visibility: hidden; transition: transform .55s cubic-bezier(.4,1.4,.5,1); text-align: center; }
.flip .front { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.05; text-wrap: balance; letter-spacing: -0.03em; color: #fff; }
.flip .front::after { content: "↻"; position: absolute; right: 12px; bottom: 8px; font-size: 1.1rem; opacity: .7; }
.flip .back { transform: rotateY(180deg); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.flip.is-flipped .front { transform: rotateY(-180deg); }
.flip.is-flipped .back { transform: rotateY(0); }
.c-red .front { background: var(--tomato); } .c-cobalt .front { background: var(--cobalt); } .c-mintd .front { background: var(--mint-d); } .c-ink .front { background: var(--ink); color: var(--butter); }

/* sign */
.sign { text-align: center; }
.sign h2 { max-width: 16ch; margin-inline: auto; }
.sign-min { font-weight: 700; margin: 0 0 12px; }
.regions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 auto 22px; }
.region { display: flex; flex-direction: column; align-items: center; min-width: 120px; padding: 12px 16px; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; transform: rotate(-2deg); }
.region:nth-child(2) { transform: rotate(1.5deg); }
.region b { font-family: var(--display); font-size: 1.9rem; line-height: 1.05; }
.r-vl { background: var(--butter-d); } .r-wa { background: var(--pink); } .r-bx { background: var(--sky); }
.sign-how { font-weight: 500; margin: 0 0 26px; }
.share { margin-top: 48px; }
.share-h { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin: 0 0 14px; }
.share-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.share-row [hidden] { display: none; }


/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 200%); visibility: hidden; background: var(--ink); color: var(--butter); padding: 10px 18px; border-radius: 99px; font-weight: 700; transition: transform .3s ease; z-index: 50; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .lane { flex-direction: column; align-items: stretch; padding: 16px; }
  .stop { width: auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 8px 12px; }
  .stop .ico { font-size: 1.5rem; }
  .link { flex: none; min-width: 0; height: 34px; width: 4px; align-self: flex-start; margin-left: 30px; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 10px); }
  .lane .link.lit { background: repeating-linear-gradient(180deg, var(--tomato) 0 6px, transparent 6px 10px); }
  .link::after { right: auto; top: auto; bottom: -4px; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top: 8px solid var(--ink); }
  .toll { bottom: auto; left: 20px; }
  button.stop { width: 100%; }
  .lane { max-width: 520px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .who-grid, .flip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo span:last-child { display: none; }
  .hero { padding-top: 28px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .ticket { transform: rotate(1.5deg); }
  .who-grid { grid-template-columns: 1fr; gap: 12px; }
  .who-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .who-ico { grid-row: span 2; margin: 0; font-size: 2.2rem; }
  .who-card h3 { font-size: 1.3rem; margin-bottom: 2px; }
  .empty-cta { font-size: 1.25rem; }
  .frust-row .btn { width: 100%; margin-left: 0; }
  .frust-box textarea { font-size: 1.05rem; }
  .flip .front { font-size: 1.4rem; }
  .region { min-width: 0; flex: 1; padding: 10px 6px; font-size: 0.85rem; }
  .region b { font-size: 1.4rem; }
  .regions { gap: 8px; flex-wrap: nowrap; }
  .flip { aspect-ratio: 1 / 1; }
  .flip .back { font-size: 0.86rem; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

.hero-ask { font-family: var(--display); font-weight: 600; line-height: 1.25; }
.hero-ask b { display: block; font-weight: 800; }
.ask-label { display: block; font-family: var(--mono, monospace); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; opacity: 0.7; }
.hero .hero-ask { font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin: 1.4rem 0 1.6rem; max-width: 30ch; }
.hero .ask-label { font-size: 0.85rem; color: var(--tomato, #F2462E); opacity: 1; }

.nerds { text-align: center; padding: 48px 16px 56px; }
.nerds h2 { font-family: var(--display); font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 0 0 18px; }
.nerd-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* quiz */
.quiz-card { max-width: 760px; border: 2.5px solid var(--ink); border-radius: var(--r); background: var(--paper); padding: clamp(18px, 4vw, 34px); box-shadow: var(--shadow-lg); }
.quiz-step { margin: 0; font-family: var(--mono); font-weight: 700; color: var(--muted); }
.quiz-q { margin: 8px 0 20px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; }
.quiz-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.quiz-btns .btn:disabled { opacity: .5; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.quiz-res { margin-top: 20px; }
.quiz-verdict { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--mint-d); }
.quiz-verdict.is-wrong { color: var(--tomato); }
.quiz-why { margin: 4px 0 14px; font-weight: 700; font-size: 1.1rem; }
.quiz-score { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: -0.03em; color: var(--tomato); line-height: 1.05; }

.plan { text-align: center; }
.plan h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.plan-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.plan-step { background: var(--paper, #FFFDF7); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 16px; font-weight: 700; }
.plan-arrow { font-size: 1.6rem; font-weight: 800; }
.plan { text-align: left; }
.plan h2 { margin-left: 0; }
.plan-steps { justify-content: flex-start; }
@media (max-width: 520px) {
  .plan-steps { flex-wrap: nowrap; gap: 5px; }
  .plan-step { padding: 8px 9px; font-size: 0.88rem; white-space: nowrap; }
  .plan-arrow { font-size: 1.1rem; }
}
.plan-sub { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin: -0.4rem 0 0; }
