/* willisellit — "Punch Tape" + Crafted Functional
   Off-white paper, brick-red ink, system fonts, mono chrome.
   Banner = industrial ribbon. Tool below = step calculator.
   Result = 6-block report. ExitBid placement is conditional. */

:root {
  --paper:        #F7F6F3;
  --paper-pure:   #FFFFFF;
  --paper-tape:   #F0EDE3;
  --ink:          #0A0A0A;
  --ink-soft:     #2B2B29;
  --ink-mute:     #6A6A68;
  --rule:         #DEDDD8;
  --rule-soft:    #EAE8E2;

  --brick:        #A12C2C;
  --brick-soft:   #B85544;
  --brick-tint:   rgba(161, 44, 44, 0.07);
  --brick-tint-2: rgba(161, 44, 44, 0.14);
  --signal:       #2D8F4E;
  --signal-soft:  #228040;
  --signal-tint:  rgba(45, 143, 78, 0.10);
  --amber:        #C28F3D;
  --amber-soft:   #A87826;
  --amber-tint:   rgba(194, 143, 61, 0.12);
  --cream:        #F4EFE2;

  --w-page:       760px;
  --w-narrow:     640px;

  --font:         system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-serif:   ui-serif, Georgia, "Times New Roman", serif;

  color-scheme: light;
}


/* ═══════════════════════════════════════════════════════════════ RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-mute);
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
a:hover { color: var(--brick); text-decoration-color: var(--brick); }

img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ═══════════════════════════════════════════════════════════════ PAGE + HEADER */
.page {
  max-width: var(--w-page);
  margin: 0 auto;
  /* top padding matches .ads-rail { top: 16px } so credentials line aligns
     with the top edge of the ad cards in left/right rails */
  padding: 16px 24px 96px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.brand {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.012em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 22px; height: 22px;
  vertical-align: middle;
  flex-shrink: 0;
  transform: rotate(-4deg);
}
.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.005em;
  padding: 4px 2px;
  position: relative;
}
.site-nav a:hover { color: var(--brick); }
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M 1 4 Q 22 1 44 3 T 88 3 L 99 2' stroke='%23A12C2C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
@media (max-width: 620px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav { gap: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════════ MASTHEAD (Punch Tape Banner) */
.masthead {
  margin: 0;
  font-family: var(--font-mono);
  position: relative;
}
.tape-rule {
  height: 0;
  border: 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  height: 5px;
  margin: 0;
}
.masthead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4px 14px;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.masthead-row .left { display: inline-flex; align-items: baseline; gap: 8px; }
.masthead-row .right { display: inline-flex; align-items: baseline; gap: 14px; }
.tape-bars {
  letter-spacing: -0.05em;
  color: var(--ink);
  font-weight: 700;
}
.tape-tag {
  color: var(--ink);
  font-weight: 600;
}
.tape-meta {
  color: var(--ink-mute);
}
.tape-build {
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.tape-meth {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
  padding-bottom: 1px;
  letter-spacing: 0.04em;
}
.tape-meth:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

/* RATING WIDGET — live aggregate stars in the masthead-row right side.
   Replaces the previous "upd date" slot. Each star uses an overlay-fill
   technique so we can show fractional values (e.g. 4.3 → 4 full + 30% next). */
.rating-widget {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--rule);
  padding-left: 14px;
  cursor: help;
  user-select: none;
}
.rw-stars {
  display: inline-flex;
  gap: 1px;
  font-size: 14px;
  line-height: 1;
}
.rw-star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  color: var(--rule);
}
.rw-star-bg, .rw-star-fill {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  line-height: 1;
}
.rw-star-bg { color: var(--rule); width: 100%; }
.rw-star-fill {
  color: var(--brick);
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
}
.rw-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* RATE MODAL — post-verdict feedback prompt */
.rate-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.42);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10100;
  animation: rmFadeIn 0.18s ease-out;
}
.rate-modal.show { display: flex; }
@keyframes rmFadeIn { from { opacity: 0; } to { opacity: 1; } }

.rate-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 26px 30px 22px;
  max-width: 420px;
  width: calc(100% - 32px);
  position: relative;
  box-shadow: 5px 5px 0 0 var(--ink);
  animation: rmRise 0.26s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes rmRise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.rate-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 10px;
}
.rate-tag::before { content: "$ "; color: var(--brick); font-weight: 700; }
.rate-card h3 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.rate-sub {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 18px;
  line-height: 1.5;
}
.rate-stars {
  display: flex;
  gap: 6px;
  font-size: 36px;
  line-height: 1;
  margin: 4px 0 18px;
}
.rs-star {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--rule);
  font-size: 36px;
  padding: 4px 2px;
  transition: color 0.12s ease-out, transform 0.12s ease-out;
}
.rs-star:hover { transform: translateY(-2px); }
.rs-star.hover, .rs-star.on { color: var(--brick); }
.rate-thanks {
  display: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--signal);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.rate-thanks.show { display: block; }
.rate-skip {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  padding: 2px 0;
  position: absolute;
  top: 14px;
  right: 18px;
}
.rate-skip:hover { color: var(--brick); text-decoration-color: var(--brick); }

@media (max-width: 540px) {
  .rating-widget { padding-left: 8px; gap: 4px; }
  .rw-stars { font-size: 12px; }
  .rw-meta { font-size: 10px; }
  .rate-card { padding: 22px 22px 18px; }
  .rate-card h3 { font-size: 18px; }
  .rate-stars { font-size: 30px; gap: 4px; }
  .rs-star { font-size: 30px; }
}


/* H1 — mascot lives INSIDE as the "?" character */
.masthead-h1 {
  font-family: var(--font);
  font-size: clamp(40px, 7.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 18px 0 18px;
  text-align: center;
}
.ink-it {
  color: var(--brick);
  font-weight: 700;
}

.mascot-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease;
  display: inline-flex;
  align-items: center;
  vertical-align: -0.18em;
  margin-left: 0.04em;
}
/* No hover transform — reactions ONLY on click. */
.mascot-btn:active { transform: scale(0.94); }
.mascot-big {
  width: auto;
  height: 1.35em;
  display: block;
  color: var(--brick);
  overflow: visible;
}

/* MASCOT EYES — idle blink. Pupil scales together with eye so the dot
   doesn't float when the lid closes. Right eye blinks slightly delayed
   so it feels human, not synchronized like a robot. */
.mascot-big .m-eye,
.mascot-big .m-pupil {
  transform-box: fill-box;
  transform-origin: center;
}
.mascot-big .m-eye-l,
.mascot-big .m-pupil-l {
  animation: m-blink 5.2s infinite step-end;
}
.mascot-big .m-eye-r,
.mascot-big .m-pupil-r {
  animation: m-blink 5.2s infinite step-end;
  animation-delay: 60ms;
}
@keyframes m-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  94%, 96%      { transform: scaleY(0.08); }
}

/* BROWS — transition for hover reactions. transform-origin keeps the
   pivot at brow center so it lifts/tilts cleanly. */
.mascot-big .m-brow {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* YES reaction — left brow up + tilted skeptically.
   "why are you selling if it's making money?" */
.mascot-big.reaction-yes .m-brow-l {
  transform: translateY(-3px) rotate(-12deg);
}

/* NO reaction — right eye winks once + right brow lifted reassuring.
   "you got this bro" */
.mascot-big.reaction-no .m-brow-r {
  transform: translateY(-2.5px) rotate(8deg);
}
.mascot-big.reaction-no .m-eye-r,
.mascot-big.reaction-no .m-pupil-r {
  animation: m-wink 380ms ease-out;
}
@keyframes m-wink {
  0%, 100% { transform: scaleY(1); }
  45%, 55% { transform: scaleY(0.08); }
}

/* ── 7 REACTIONS on red-CTA hover (eyes + brows only) ────────── */

/* react-1: WINK — right eye blinks */
.mascot-big.react-1 .m-eye-r,
.mascot-big.react-1 .m-pupil-r {
  animation: m-wink 460ms ease-out;
}

/* react-2: SURPRISE — brows up, pupils shrink */
.mascot-big.react-2 .m-brow-l { transform: translateY(-3px); }
.mascot-big.react-2 .m-brow-r { transform: translateY(-3px); }
.mascot-big.react-2 .m-pupil  { transform: scale(0.55); animation: none; }

/* react-3: ROLL EYES — pupils trace a small circle */
.mascot-big.react-3 .m-pupil-l,
.mascot-big.react-3 .m-pupil-r {
  animation: m-roll 1.2s ease-in-out;
}
@keyframes m-roll {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(2px, -2px); }
  50%  { transform: translate(2px, 2px); }
  75%  { transform: translate(-2px, 2px); }
  100% { transform: translate(0, 0); }
}

/* react-4: SLEEPY — brows down, eyes half-closed */
.mascot-big.react-4 .m-brow-l { transform: translateY(2.5px) rotate(10deg); }
.mascot-big.react-4 .m-brow-r { transform: translateY(2.5px) rotate(-10deg); }
.mascot-big.react-4 .m-eye,
.mascot-big.react-4 .m-pupil  { transform: scaleY(0.4); animation: none; }

/* react-5: EXCITED — pupils enlarge, brows lift slightly */
.mascot-big.react-5 .m-pupil  { transform: scale(1.5); animation: none; }
.mascot-big.react-5 .m-brow-l { transform: translateY(-1.5px); }
.mascot-big.react-5 .m-brow-r { transform: translateY(-1.5px); }

/* react-6: SIDE-EYE — pupils dart left then right */
.mascot-big.react-6 .m-pupil-l,
.mascot-big.react-6 .m-pupil-r {
  animation: m-side 1.2s ease-in-out;
}
@keyframes m-side {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-2.5px); }
  75%      { transform: translateX(2.5px); }
}

/* react-7: SUSPICIOUS — one brow up + one down, eyes narrow */
.mascot-big.react-7 .m-brow-l { transform: translateY(-2.5px) rotate(-15deg); }
.mascot-big.react-7 .m-brow-r { transform: translateY(2px) rotate(-8deg); }
.mascot-big.react-7 .m-eye,
.mascot-big.react-7 .m-pupil  { transform: scaleY(0.65); animation: none; }

@media (prefers-reduced-motion: reduce) {
  .mascot-big .m-eye,
  .mascot-big .m-pupil,
  .mascot-big .m-brow { animation: none !important; transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MASCOT WALKER — clone of mascot that lives its own life on the site.
   Walks slowly (8s per move = comical pace) — looks at things, returns home,
   waits a while, walks again. Loops indefinitely while tab is visible. */
.mascot-walker {
  position: fixed;
  /* Walker walks UNDER the tool card (z 100) but OVER ad rails (z 50). */
  z-index: 60;
  pointer-events: auto;
  cursor: pointer;
  /* Per-step transition — fast enough that each ~50px move feels like
     a discrete step, slow enough to read as walking, not flying. */
  transition: left 380ms ease-out, top 380ms ease-out;
  will-change: left, top;
}
/* CLICK feedback — quick recoil-then-bounce, runs on top of walking transform.
   Applied to either the walker (when wandering) or the original button. */
.mascot-walker.poked,
.mascot-btn.poked {
  animation: mascot-poke 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mascot-poke {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(3px) scale(0.86) rotate(-3deg); }
  60%  { transform: translateY(-3px) scale(1.06) rotate(2deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}
.mascot-walker .mascot-big {
  width: 100%;
  height: 100%;
  animation: walk-step 0.5s ease-in-out infinite alternate;
  transform-origin: 50% 90%;
}
/* Step gait — head bobs up + body rotates side-to-side per step */
@keyframes walk-step {
  0%   { transform: translateY(0)   rotate(-5deg); }
  50%  { transform: translateY(-3px) rotate(0); }
  100% { transform: translateY(0)   rotate(5deg); }
}
.mascot-walker.idle .mascot-big {
  animation: idle-sway 2.4s ease-in-out infinite alternate;
}
@keyframes idle-sway {
  0%   { transform: rotate(-2deg); }
  100% { transform: rotate(2deg); }
}
.mascot-original-faded { opacity: 0 !important; transition: opacity 200ms; }

/* ═══════════════════════════════════════════════════════════════
   COMIC SPEECH BUBBLE — easter egg after 20 mascot clicks.
   White bubble with rounded corners, brick "POP" entry, tail. */
.comic-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10, 10, 10, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 280ms ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.comic-bubble {
  position: relative;
  background: var(--paper-pure);
  border: 2.5px solid var(--ink);
  border-radius: 36px;
  padding: 32px 38px 28px;
  max-width: 360px;
  box-shadow: 6px 6px 0 0 var(--ink);
  animation: bubble-pop 380ms cubic-bezier(0.34, 1.7, 0.64, 1);
  text-align: center;
}
@keyframes bubble-pop {
  0%   { transform: scale(0.5) rotate(-8deg); opacity: 0; }
  60%  { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.comic-text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.comic-text em {
  color: var(--brick);
  font-style: normal;
}
.comic-close {
  display: inline-block;
  padding: 9px 22px;
  background: var(--brick);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  box-shadow: 3px 3px 0 0 var(--ink);
  transition: transform 100ms ease;
}
.comic-close:hover { transform: translate(-1px, -1px); }
.comic-close:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--ink); }
.comic-tail {
  position: absolute;
  bottom: -22px;
  left: 36px;
  width: 36px;
  height: 30px;
}

/* ═══════════════════════════════════════════════════════════════
   AD PLACEMENT WINDOW — opens after closing comic bubble.
   Placeholder content for now — real form will replace. */
.ap-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 280ms ease;
}
.ap-modal {
  background: var(--paper-pure);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 0 var(--ink);
  max-width: 480px;
  width: 100%;
  padding: 28px 28px 24px;
  animation: bubble-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ap-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brick);
  text-transform: uppercase;
  font-weight: 600;
}
.ap-modal h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 6px 0 10px;
  color: var(--ink);
  line-height: 1.1;
}
.ap-sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.ap-placeholder {
  background: var(--cream);
  padding: 16px 18px;
  border-left: 3px solid var(--brick);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 22px;
}
.ap-placeholder a { color: var(--brick); }
.ap-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Credentials row — simple slashes, not bracket-pattern */
.credentials {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  padding: 4px 4px 18px;
  line-height: 1.6;
}
.credentials .credential,
.credentials-inline .credential {
  color: var(--ink);
  font-weight: 500;
}
.credentials .sep,
.credentials-inline .sep {
  color: var(--brick);
  font-weight: 700;
  margin: 0 6px;
}

/* Inline credentials inside the masthead-row — replaces the old `|||` slot.
   Smaller weight, single line, but still scannable as the trust strip. */
.credentials-inline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  line-height: 1.5;
}
.credentials-inline .sep { margin: 0 5px; }

/* PROP FOR — asset coverage line under the H1 */
.prop-for {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 6px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.pc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 4px;
}
.prop-for .cs-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
.prop-for .cs-item svg {
  width: 18px;
  height: 18px;
  color: var(--ink);
  flex-shrink: 0;
}
.cs-sep {
  color: var(--rule);
  font-weight: 600;
  user-select: none;
}
.pc-more {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--brick);
  letter-spacing: 0.04em;
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .credentials-inline { font-size: 10.5px; }
  .credentials-inline .sep { margin: 0 4px; }
  .prop-for { font-size: 11px; gap: 4px 6px; }
  .prop-for .cs-item { font-size: 11px; gap: 4px; }
  .prop-for .cs-item svg { width: 16px; height: 16px; }
  .pc-more { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════ SCROLL CUE — bridges banner to tool */
.scroll-cue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: left;
  padding: 14px 4px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}


/* ═══════════════════════════════════════════════════════════════ TOOL — main interactive widget */
.tool {
  background: var(--paper-pure);
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  box-shadow: 5px 5px 0 0 var(--ink);
  margin: 16px 0 36px;
  position: relative;
  /* Sits ABOVE the wandering mascot (z 60) so the walker visibly
     passes BEHIND the tool card instead of over it. */
  z-index: 100;
  overflow: hidden;
}
.tool-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tool-bar .tag-progress { color: var(--paper); font-variant-numeric: tabular-nums; }
.tool-bar .status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 6px;
  vertical-align: middle;
}
.tool-bar.computing .status-dot {
  background: var(--amber);
  animation: pulse-status 1.2s ease-in-out infinite;
}
.tool-bar.computing #tool-status { color: var(--amber); }
.tool-bar.done .status-dot { background: var(--signal); animation: none; }
.tool-bar.done #tool-status { color: var(--signal); }
@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.tool-body {
  padding: 28px 28px 26px;
}

/* Step screens — only one is .active at a time */
.step { display: none; }
.step.active { display: block; animation: step-in 280ms ease both; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-q {
  margin-bottom: 22px;
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.step-tag::before { content: "$ "; color: var(--brick); font-weight: 700; }
.step-q h2 {
  font-family: var(--font);
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.step-helper {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* Step 0 (entry) — YES/NO stamp tiles */
.step-yesno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
@media (max-width: 540px) {
  .step-yesno { grid-template-columns: 1fr; }
}

.btn-yesno {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 22px 18px;
  background: var(--paper-pure);
  border: 2px solid var(--ink);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: transform 90ms ease, background 160ms ease, color 160ms ease;
  border-radius: 0;
}
.btn-yesno::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--ink-mute);
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 200ms ease, inset 200ms ease;
}
.btn-yesno:hover::before { opacity: 0.85; inset: 6px; }
.btn-yesno:hover { transform: translate(-1px, -1px); }
.btn-yesno:active { transform: translate(2px, 2px); }
.btn-yesno strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: var(--font);
  text-transform: uppercase;
}
.btn-yesno span {
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--font);
}
.btn-yesno.go {
  background: var(--signal);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-yesno.go span { color: rgba(247, 246, 243, 0.82); }
.btn-yesno.go::before { border-color: rgba(247, 246, 243, 0.42); }
.btn-yesno.go:hover { background: var(--signal-soft); }

.btn-yesno.caution {
  background: var(--brick);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-yesno.caution span { color: rgba(247, 246, 243, 0.82); }
.btn-yesno.caution::before { border-color: rgba(247, 246, 243, 0.42); }
.btn-yesno.caution:hover { background: #8E2424; }

/* OPTION LIST — two flavors:
   .options.icons — tile layout with custom hand-drawn icons (asset / projectType)
   .options.plain — list layout with bullet (other questions) */
.options {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

/* PLAIN — bulleted text rows */
.options.plain { display: flex; flex-direction: column; gap: 6px; }
.options.plain .option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.options.plain .option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  margin: 0;
}
.options.plain .option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px 11px 12px;
  width: 100%;
  cursor: pointer;
  border: 1.5px solid transparent;
  border-radius: 4px;
  transition: background 160ms ease, border-color 160ms ease;
}
.options.plain .option label:hover {
  background: var(--brick-tint);
}
.options.plain .option .opt-bullet {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ink-mute);
}
.options.plain .option:hover .opt-bullet { color: var(--brick); }
.options.plain .option input:checked ~ label {
  background: var(--brick-tint);
  border-color: var(--brick);
}
.options.plain .option input:checked ~ label .opt-bullet { color: var(--brick); }
.options.plain .option input:checked ~ label .opt-text .opt-label {
  font-weight: 700;
  color: var(--ink);
}
.opt-text {
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.opt-label {
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.4;
}
.opt-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ICONS — tile grid with custom drawn icons */
.options.icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 540px) {
  .options.icons { grid-template-columns: 1fr; }
}
.options.icons .option {
  position: relative;
}
.options.icons .option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  margin: 0;
}
.options.icons .option label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
  height: 100%;
}
.options.icons .option label:hover {
  border-color: var(--ink);
  background: var(--paper-pure);
}
.options.icons .option input:checked ~ label {
  border-color: var(--brick);
  background: var(--brick-tint);
}
.options.icons .opt-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--ink);
}
.options.icons .option input:checked ~ label .opt-icon { color: var(--brick); }
.options.icons .opt-text {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
}
.options.icons .opt-label {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
}
.options.icons .opt-hint {
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* Number input with quick-picks */
.amount-block { margin: 18px 0 8px; }
.amount-input-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
}
.amount-input-row .pre { color: var(--brick); }
.amount-input-row input {
  background: transparent;
  border: none;
  border-bottom: 1.5px dashed var(--ink);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  width: 160px;
  padding: 4px 4px;
  outline: none;
  caret-color: var(--brick);
  letter-spacing: -0.01em;
}
.amount-input-row input:focus {
  border-bottom-style: solid;
  border-bottom-color: var(--brick);
}
.amount-input-row .suf { color: var(--ink-mute); font-weight: 400; font-size: 16px; }

/* CHIP GRID — for industry / audience / stage / urgency */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.chip {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.chip input { appearance: none; -webkit-appearance: none; position: absolute; opacity: 0; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.chip:hover span {
  border-color: var(--ink);
  background: var(--paper-pure);
}
.chip input:checked ~ span {
  border-color: var(--brick);
  background: var(--brick-tint);
  color: var(--brick);
  font-weight: 600;
}

/* URGENCY chips — traffic-light colored */
.chip-grid.urgency .chip[data-urgency="norush"] input:checked ~ span {
  border-color: var(--signal); background: var(--signal-tint); color: var(--signal);
}
.chip-grid.urgency .chip[data-urgency="quick"] input:checked ~ span {
  border-color: var(--amber); background: var(--amber-tint); color: var(--amber-soft);
}
.chip-grid.urgency .chip[data-urgency="asap"] input:checked ~ span {
  border-color: var(--brick); background: var(--brick-tint); color: var(--brick);
}

/* MULTI-SELECT chips — checkbox style */
.chip-grid.multi .chip span {
  padding-left: 32px;
  position: relative;
}
.chip-grid.multi .chip span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--ink-mute);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: background 140ms ease, border-color 140ms ease;
}
.chip-grid.multi .chip:hover span::before { border-color: var(--brick); }
.chip-grid.multi .chip input:checked ~ span {
  border-color: var(--brick);
  background: var(--brick-tint);
  color: var(--brick);
  font-weight: 600;
}
.chip-grid.multi .chip input:checked ~ span::before {
  background: var(--brick);
  border-color: var(--brick);
}
.chip-grid.multi .chip input:checked ~ span::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 7px; height: 4px;
  border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translateY(-70%) rotate(-45deg);
}

/* COLLAPSIBLE chip-grid (industry show-more) */
.chip-grid.collapsible .chip.extra { display: none; }
.chip-grid.collapsible.expanded .chip.extra { display: inline-block; }

/* INDUSTRY CHIPS — postage-stamp aesthetic (only for collapsible+showMarks).
   Square corners, dashed perforated border, brick monogram badge in top-right.
   Visually distinct from generic pill chips (audience, stage, urgency). */
.chip-grid.collapsible .chip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px 9px 12px;
  border-radius: 0;
  border: 1.5px dashed var(--ink);
  background: var(--paper-pure);
  position: relative;
  padding-right: 26px;
}
.chip-grid.collapsible .chip:hover span {
  background: var(--paper);
  border-style: solid;
}
.chip-grid.collapsible .chip input:checked ~ span {
  background: var(--brick-tint);
  border-color: var(--brick);
  border-style: solid;
  color: var(--brick);
}
.chip-grid.collapsible .chip-mark {
  position: absolute;
  top: -7px;
  right: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 14px;
  padding: 0 4px;
  background: var(--brick);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  margin: 0;
  font-style: normal;
  transform: rotate(2deg);
}
.chip-grid.collapsible .chip:nth-child(2n) .chip-mark { transform: rotate(-2deg); }
.chip-grid.collapsible .chip:nth-child(3n) .chip-mark { transform: rotate(3deg); }

/* CHIP ICON — small inline SVG inside a chip (trend, traffic, growth) */
.chip-icon {
  width: 18px;
  height: 12px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
.chip-grid.icon-chip .chip span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

/* CHURN traffic-light chips — colored based on data-urgency mapped value */
.chip-grid.urgency .chip[data-urgency="norush"] input:checked ~ span,
.chip-grid.urgency .chip[data-urgency="quick"] input:checked ~ span,
.chip-grid.urgency .chip[data-urgency="asap"] input:checked ~ span {
  font-weight: 700;
}

/* TIER-OR-EXACT toggle (revenue) */
.tier-or-exact .hidden { display: none; }
.tier-or-exact .tier-grid { margin-top: 18px; }
.tier-or-exact .amount-block { margin-top: 18px; }
.tier-or-exact .dont-know { margin-top: 14px; }

/* DON'T KNOW — selected state */
.dont-know.selected {
  color: var(--brick);
  text-decoration-color: var(--brick);
  font-weight: 600;
}

/* ENGAGE ROW — sub-question under tier-grid in tier-engage step */
.engage-row {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.engage-row .engage-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brick);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
  display: block;
}
.engage-row .chip-grid {
  margin-top: 0;
  gap: 6px;
}
.engage-row .chip span {
  padding: 6px 12px;
  font-size: 13px;
}

/* "I don't know" escape link */
.dont-know {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 0;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink-mute);
  background: none;
  border: none;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  cursor: pointer;
  font-style: italic;
}
.dont-know:hover {
  color: var(--brick);
  text-decoration-color: var(--brick);
}

/* SHOW MORE button — under collapsible icon grid */
.options.icons.collapsible .option.extra { display: none; }
.options.icons.collapsible.expanded .option.extra { display: block; }
.show-more {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  background: none;
  border: 1px dashed var(--ink-mute);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color 140ms, border-color 140ms, border-style 140ms;
  letter-spacing: 0.02em;
}
.show-more:hover {
  color: var(--brick);
  border-color: var(--brick);
  border-style: solid;
}

.quick-picks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.quick-pick {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 10px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  color: var(--ink);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}
.quick-pick:hover {
  border-color: var(--brick);
  color: var(--brick);
  background: var(--brick-tint);
}

/* Step navigation (back / next) */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  gap: 12px;
}
.step-back {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.step-back:hover { color: var(--brick); }
.step-back:disabled { color: var(--rule); cursor: not-allowed; }
.step-back .arrow-svg { width: 18px; height: 9px; transform: scaleX(-1); }

/* STAMP BUTTON — primary CTA. Looks like a rubber-stamped impression.
   No drop shadow. Inner dashed line creates the "double-impression" feel
   on hover (like the stamp was pressed twice). */
.btn-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--paper-pure);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  text-decoration: none !important;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: transform 90ms ease, background 160ms ease, color 160ms ease;
}
.btn-stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--ink-mute);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, inset 200ms ease;
}
.btn-stamp:hover::before { opacity: 0.85; inset: 6px; }
.btn-stamp:hover { transform: translate(-1px, -1px); }
.btn-stamp:active { transform: translate(1px, 1px); }
.btn-stamp .arrow-svg {
  width: 22px;
  height: 11px;
  flex-shrink: 0;
}
.btn-stamp.brick {
  background: var(--brick);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-stamp.brick::before { border-color: rgba(247, 246, 243, 0.45); }
.btn-stamp.brick:hover {
  background: var(--brick-soft);
  color: var(--paper);
}
.btn-stamp:disabled {
  background: var(--rule);
  color: var(--ink-mute);
  border-color: var(--rule-soft);
  cursor: not-allowed;
}
.btn-stamp:disabled::before { display: none; }
.btn-stamp:disabled:hover { transform: none; }

/* PEN BUTTON — secondary/inline action. Just text + hand-drawn squiggle
   underline + brick arrow. Looks like a marked entry, not a UI button. */
.btn-pen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 2px 8px;
  position: relative;
  text-decoration: none !important;
  transition: color 160ms ease;
}
.btn-pen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;
  height: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M 1 4 Q 22 1 44 3 T 88 3 L 99 2' stroke='%23A12C2C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.7;
  transition: opacity 160ms ease;
}
.btn-pen:hover { color: var(--brick); }
.btn-pen:hover::after { opacity: 1; }
.btn-pen .arrow-svg {
  width: 18px;
  height: 9px;
  flex-shrink: 0;
}
.btn-pen:disabled { color: var(--ink-mute); cursor: not-allowed; }
.btn-pen:disabled::after { opacity: 0.3; }

/* ═══════════════════════════════════════════════════════════════ AD RAIL
   TrustMRR-inspired vertical sidebar stack of pastel cards.
   Rail spans full viewport height — slots distribute via flex
   so top card hugs top, bottom card hugs bottom. All slots rotate
   simultaneously with a staggered "deal-cards" effect. */
.ads-rail {
  position: fixed;
  top: 16px;
  bottom: 16px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}
.ads-rail.ads-left  { left: 18px; }
.ads-rail.ads-right { right: 18px; }

/* SLOT — flex-grow share to distribute across viewport */
.ad-slot {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  perspective: 600px;
}
.ad-card {
  display: block;
  position: absolute;
  inset: 0;
  padding: 18px 14px 12px;
  background-color: var(--ad-bg, var(--paper-pure));
  background-image:
    radial-gradient(circle at 22% 28%, rgba(0,0,0,0.025) 0.5px, transparent 1.2px),
    radial-gradient(circle at 78% 70%, rgba(0,0,0,0.02)  0.5px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  box-shadow: 3px 3px 0 0 var(--ink);
  text-decoration: none !important;
  color: var(--ink);
  /* CSS transition (NOT @keyframes) — native GPU compositor, smoother. */
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1), opacity 360ms ease;
  overflow: hidden;
  box-sizing: border-box;
  transform: translate3d(0,0,0) rotate(var(--tilt, 0deg));
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout paint;
}
.ad-card:hover {
  transform: translate3d(-1px, -1px, 0) rotate(var(--tilt, 0deg));
  color: var(--ink);
}

/* Per-slot tilt — handdrawn variety (alternating angles, different per rail) */
.ads-left  .ad-slot:nth-child(1) .ad-card { --tilt: -1deg; }
.ads-left  .ad-slot:nth-child(2) .ad-card { --tilt:  0.6deg; }
.ads-left  .ad-slot:nth-child(3) .ad-card { --tilt: -0.7deg; }
.ads-left  .ad-slot:nth-child(4) .ad-card { --tilt:  1.1deg; }
.ads-left  .ad-slot:nth-child(5) .ad-card { --tilt: -0.4deg; }
.ads-right .ad-slot:nth-child(1) .ad-card { --tilt:  0.8deg; }
.ads-right .ad-slot:nth-child(2) .ad-card { --tilt: -0.6deg; }
.ads-right .ad-slot:nth-child(3) .ad-card { --tilt:  1deg; }
.ads-right .ad-slot:nth-child(4) .ad-card { --tilt: -0.9deg; }
.ads-right .ad-slot:nth-child(5) .ad-card { --tilt:  0.5deg; }

/* TIER DECORATIONS — purely visual variety (no hierarchy). Cycle pin/tape/clip per slot. */
.ad-deco { position: absolute; pointer-events: none; }
.ad-deco-pin  { top: -10px; left: 14px; width: 18px; height: 22px; }
.ad-deco-tape { top: -2px; left: 0; right: 0; width: 100%; height: 14px; }
.ad-deco-clip { top: -10px; right: 16px; width: 16px; height: 26px; }

/* Tape tier shifts content down a bit so it doesn't sit under the strip */
.ad-card.tier-tape { padding-top: 22px; }

/* CHAOTIC BURST + ELASTIC DROP — each card explodes in a randomized direction
   per rotation (JS sets --burst-x/y/rot/scale), then new cards drop in from
   below with elastic overshoot. Direction varies, never quite the same twice. */

/* "Fading" — sharp accelerating exit */
.ad-slot.fading .ad-card {
  opacity: 0;
  transform: translate3d(var(--burst-x, 0), var(--burst-y, -16px), 0)
             rotate(var(--burst-rot, 0deg))
             scale(var(--burst-scale, 0.88));
  transition: transform 420ms cubic-bezier(0.55, 0, 0.85, 0.3),
              opacity 380ms ease-in;
}

/* "Entering" — instant snap to start position (below + tilted) BEFORE bounce-back */
.ad-slot.entering .ad-card {
  opacity: 0;
  transform: translate3d(0, 26px, 0)
             rotate(calc(var(--tilt, 0deg) + 5deg))
             scale(0.85);
  transition: none;
}

/* Default base transition gets elastic overshoot for the enter phase */
.ad-card {
  transition: transform 460ms cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 320ms ease-out;
}

.ad-thumb {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.ad-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.ad-desc {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ads-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  text-align: center;
  margin: 4px 0 0;
  letter-spacing: 0.06em;
}
.ads-meta a {
  color: var(--brick);
  text-decoration: underline;
  text-decoration-color: var(--brick);
  text-underline-offset: 2px;
}

/* X-icon in share button */
.x-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: -1px;
  margin-right: 2px;
}

/* Hide rails on narrow viewports — would cover content (need ~1280px for 218 + 760 + 218 + margins) */
@media (max-width: 1280px) {
  .ads-rail { display: none; }
}

/* Compact card layout on short viewports — text shortens, padding tightens */
@media (max-height: 760px) {
  .ad-card { padding: 10px 12px 9px; }
  .ad-thumb { width: 26px; height: 26px; margin-bottom: 6px; font-size: 12px; }
  .ad-title { font-size: 12px; margin-bottom: 2px; }
  .ad-desc  { font-size: 11px; -webkit-line-clamp: 2; line-height: 1.35; }
}
@media (max-height: 600px) {
  .ad-card { padding: 8px 10px 7px; }
  .ad-thumb { display: none; }
  .ad-title { font-size: 11.5px; }
  .ad-desc  { -webkit-line-clamp: 2; font-size: 10.5px; }
}

/* ═══════════════════════════════════════════════════════════════ LOADER OVERLAY
   Single-line typewriter. Joke is typed smoothly, then fades. */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--paper);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity 320ms ease;
}
.loader.show { display: flex; opacity: 1; }
.loader.fade { opacity: 0; }
.loader-box {
  max-width: 620px;
  width: 100%;
}
.loader-prompt {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-align: left;
  margin: 0;
}
.prompt-mark {
  color: var(--brick);
  font-weight: 700;
  margin-right: 6px;
}
.loader-cursor {
  display: inline-block;
  margin-left: 1px;
  color: var(--brick);
  font-weight: 700;
  animation: cursor-blink 1s infinite step-end;
  vertical-align: baseline;
}
@keyframes cursor-blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════ RESULT — 6 blocks */
.result-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--rule);
}
.result-block:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.result-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.result-tag::before { content: "$ "; color: var(--brick); font-weight: 700; }

/* Verdict — color reflects traffic light tier (go/caution/stop) */
.verdict-headline {
  font-family: var(--font);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
  border-left: 4px solid var(--ink-mute);
  padding-left: 14px;
}
.verdict-headline.t-go      { color: var(--signal); border-left-color: var(--signal); }
.verdict-headline.t-caution { color: var(--amber);  border-left-color: var(--amber); }
.verdict-headline.t-stop    { color: var(--brick);  border-left-color: var(--brick); }
.verdict-explain {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Price range */
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  text-align: center;
  margin: 14px 0 10px;
  padding: 18px 8px 16px;
  background: var(--rule-soft);
  border-top: 1.5px dashed var(--ink);
  border-bottom: 1.5px dashed var(--ink);
  font-family: var(--font-mono);
  align-items: end;
}
.price-col .num {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-col.mid .num {
  font-size: 32px;
  color: var(--brick);
}
.price-col.mid .num.t-go      { color: var(--signal); }
.price-col.mid .num.t-caution { color: var(--amber); }
.price-col.mid .num.t-stop    { color: var(--brick); }

/* VERDICT WRAP — cream card with seal in upper-right, prominent */
.result-block.verdict-wrap {
  position: relative;
  padding: 28px 110px 26px 28px;
  background: var(--cream, #F4EFE2);
  border: 2px solid var(--ink);
  margin-top: 8px;
  margin-right: 4px;
}
.result-block.verdict-wrap::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed var(--ink-mute);
  pointer-events: none;
  opacity: 0.4;
}
.result-block.verdict-wrap .result-tag,
.result-block.verdict-wrap .verdict-headline,
.result-block.verdict-wrap .verdict-explain {
  position: relative;
}
.result-block.verdict-wrap .verdict-headline {
  border-left-width: 5px;
  padding-left: 16px;
  font-size: clamp(26px, 4.4vw, 36px);
  font-weight: 800;
}
.verdict-seal {
  position: absolute;
  top: -22px;
  right: -16px;
  width: 102px;
  height: 102px;
  transform: rotate(10deg);
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 600px) {
  .result-block.verdict-wrap { padding: 24px 24px 22px; padding-right: 24px; }
  .verdict-seal { width: 70px; height: 70px; top: -28px; right: -8px; }
}

/* RULER — handdrawn-feel range visualization (replaces price-row grid) */
.ruler {
  position: relative;
  margin: 22px 4px 14px;
  padding: 30px 0 18px;
}
.ruler-track {
  height: 2px;
  background: var(--ink);
  position: relative;
}
.ruler-track::before, .ruler-track::after {
  /* end stops — small tick marks */
  content: "";
  position: absolute;
  top: -7px;
  width: 2px;
  height: 16px;
  background: var(--ink);
}
.ruler-track::before { left: 0; }
.ruler-track::after  { right: 0; }
.ruler-mid {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  border: 2.5px solid var(--brick);
  background: var(--paper);
  box-sizing: border-box;
}
.ruler.t-go      .ruler-mid { border-color: var(--signal); }
.ruler.t-caution .ruler-mid { border-color: var(--amber); }
.ruler.t-stop    .ruler-mid { border-color: var(--brick); }
.ruler-marks {
  position: relative;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.ruler-mark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}
.ruler-mark.left  { text-align: left; }
.ruler-mark.mid   { text-align: center; }
.ruler-mark.right { text-align: right; }
.ruler-mark .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ruler-mark.mid .num { font-size: 30px; }
.ruler.t-go      .ruler-mark.mid .num { color: var(--signal); }
.ruler.t-caution .ruler-mark.mid .num { color: var(--amber); }
.ruler.t-stop    .ruler-mark.mid .num { color: var(--brick); }
.ruler-mark .label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 4px;
}
@media (max-width: 540px) {
  .ruler-mark .num { font-size: 17px; }
  .ruler-mark.mid .num { font-size: 22px; }
}
.price-col .label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 6px;
}
.price-explain {
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
  font-family: var(--font-mono);
  margin-top: 8px;
}

/* What helps / What to fix */
.factors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px 0 4px;
}
@media (max-width: 620px) {
  .factors-grid { grid-template-columns: 1fr; }
}
.factor-block {
  padding: 16px 16px 14px;
  border-radius: 5px;
  border-left: 3px solid var(--ink-mute);
  background: var(--paper);
}
.factor-block.helps {
  border-left-color: var(--signal);
}
.factor-block.fix {
  border-left-color: var(--brick);
}
.factor-block h4 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.factor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.factor-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}
/* Bullet-icon used inside helps / fix lists (SVG ✓ / ✗) */
.bullet-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}
.factor-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-left: 0;
}
.factor-list li::before { content: none; }
.factor-block.helps .bullet-icon { color: var(--signal); }
.factor-block.fix   .bullet-icon { color: var(--brick); }
.factor-block.helps h4 { color: var(--signal); display: flex; align-items: center; gap: 8px; }
.factor-block.fix h4   { color: var(--brick);  display: flex; align-items: center; gap: 8px; }
.factor-block h4 .bullet-icon { width: 16px; height: 16px; margin-top: 0; }
.factor-impact {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-left: 4px;
}

/* Where to list — platforms */
.platforms {
  display: flex;
  flex-direction: column;
  margin: 14px 0 4px;
}
.platform {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.platform:last-child { border-bottom: none; }
.platform-rank {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-mute);
}
.platform.t-go      .platform-rank { color: var(--signal); }
.platform.t-caution .platform-rank { color: var(--amber); }
.platform.t-stop    .platform-rank { color: var(--brick); }

.platform-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.platform-name::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex-shrink: 0;
}
.platform.t-go      .platform-name::before { background: var(--signal); }
.platform.t-caution .platform-name::before { background: var(--amber); }
.platform.t-stop    .platform-name::before { background: var(--brick); }
.platform-name .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  background: var(--ink-mute);
}
.platform.t-go      .badge { background: var(--signal); }
.platform.t-caution .badge { background: var(--amber); }
.platform.t-stop    .badge { background: var(--brick); }
.platform-desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-top: 3px;
  grid-column: 2 / 4;
}
.platform-link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.platform-link:hover { color: var(--brick); }

/* Universal advice */
.advice {
  list-style: none;
  counter-reset: a;
  margin: 12px 0 4px;
}
.advice li {
  counter-increment: a;
  padding: 10px 0 10px 38px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--rule);
}
.advice li:last-child { border-bottom: none; }
.advice li::before {
  content: "0" counter(a);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brick);
  font-weight: 700;
}
.advice li strong {
  color: var(--ink);
  font-weight: 600;
}

/* Result actions row (restart, share) */
.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════ BLOG SECTION */
.blog-section { margin: 48px 0 0; }
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-tag::before { content: "$ "; color: var(--brick); font-weight: 700; }

.section-h {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.blog-list { list-style: none; margin: 14px 0; }
.blog-list > li { border-top: 1px solid var(--rule); }
.blog-list > li:last-child { border-bottom: 1px solid var(--rule); }
.blog-list a {
  display: flex;
  gap: 18px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink);
  align-items: baseline;
}
.blog-list a:hover { background: var(--brick-tint); }
.blog-list a:hover .post-title { color: var(--brick); }
.post-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  flex-shrink: 0;
  width: 76px;
}
.post-title {
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 500;
}
.post-tag {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.all-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-mute);
  text-decoration: none;
  display: inline-block;
  margin-top: 14px;
}
.all-link:hover { color: var(--brick); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════ FOOTER */
.site-footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.site-footer a { color: var(--ink-mute); text-decoration-color: var(--rule); }
.site-footer a:hover { color: var(--brick); }

/* Footer nav (moved from removed header) */
.footer-nav {
  display: block;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--font);
  font-size: 14px;
  letter-spacing: -0.005em;
}
.footer-nav a {
  color: var(--ink) !important;
  font-weight: 500;
  text-decoration-color: var(--rule);
}
.footer-nav a:hover { color: var(--brick) !important; }

/* ═══════════════════════════════════════════════════════════════ MOBILE TWEAKS */
@media (max-width: 540px) {
  .tool-body { padding: 22px 18px 22px; }
  .price-row { padding: 16px 8px 14px; gap: 8px; }
  .price-col .num { font-size: 20px; }
  .price-col.mid .num { font-size: 26px; }
  .platform { grid-template-columns: 24px 1fr; gap: 10px; }
  .platform-link { grid-column: 2; padding-top: 4px; }
  .platform-desc { grid-column: 1 / 3; padding-left: 34px; }
  .credentials { font-size: 11px; gap: 8px 10px; }
  .masthead-row { font-size: 11px; }
  .loader { font-size: 11.5px; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESULT PAGE 2.0 — magazine cover, interactive checklist, copy
   buttons, platform cards, what-if, personalized advice
   ═══════════════════════════════════════════════════════════════ */

/* ─── BLOCK 1: VERDICT COVER ───────────────────────────────────── */
.verdict-cover {
  position: relative;
  margin-top: 8px;
  padding: 32px 36px 30px;
  background: var(--cream, #F4EFE2);
  border: 2px solid var(--ink);
  overflow: hidden;
}
.verdict-cover::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--ink-mute);
  pointer-events: none;
  opacity: 0.4;
}
.verdict-cover.t-go      { box-shadow: -6px 6px 0 -2px rgba(45, 143, 78, 0.18); }
.verdict-cover.t-caution { box-shadow: -6px 6px 0 -2px rgba(194, 143, 61, 0.20); }
.verdict-cover.t-stop    { box-shadow: -6px 6px 0 -2px rgba(161, 44, 44, 0.20); }

/* Inline mascot, top-right, reacting to the verdict */
.vc-mascot {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 56px;
  height: 74px;
  z-index: 3;
  pointer-events: none;
}
.vc-mascot.t-go      { color: var(--signal); }
.vc-mascot.t-caution { color: var(--amber); }
.vc-mascot.t-stop    { color: var(--brick); }
.vc-mascot-svg { width: 100%; height: 100%; }

/* Mood-specific micro-animations on the inline mascot */
.vc-mascot-svg[data-mood="excited"] {
  animation: vcBounce 1.6s ease-in-out infinite;
}
.vc-mascot-svg[data-mood="excited"] .im-brow-l { transform: translateY(-1.4px) rotate(-6deg); transform-origin: center; }
.vc-mascot-svg[data-mood="excited"] .im-brow-r { transform: translateY(-1.4px) rotate(6deg);  transform-origin: center; }
.vc-mascot-svg[data-mood="excited"] .im-mouth  { d: path("M 24 45 Q 30 51 36 45"); }

.vc-mascot-svg[data-mood="neutral"] .im-mouth { d: path("M 24 47 L 36 47"); }

.vc-mascot-svg[data-mood="sleepy"] {
  animation: vcSway 4s ease-in-out infinite;
}
.vc-mascot-svg[data-mood="sleepy"] .im-eye-l   { ry: 1.2; }
.vc-mascot-svg[data-mood="sleepy"] .im-eye-r   { ry: 1.4; }
.vc-mascot-svg[data-mood="sleepy"] .im-pupil-l,
.vc-mascot-svg[data-mood="sleepy"] .im-pupil-r { opacity: 0; }
.vc-mascot-svg[data-mood="sleepy"] .im-brow-l  { d: path("M 18 14 L 26 12"); }
.vc-mascot-svg[data-mood="sleepy"] .im-brow-r  { d: path("M 35 12 L 43 14"); }
.vc-mascot-svg[data-mood="sleepy"] .im-mouth   { d: path("M 24 49 Q 30 45 36 49"); }

@keyframes vcBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes vcSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

.vc-tag-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-right: 84px; /* leave room for the wax seal */
}
.vc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.vc-tag::before { content: "$ "; color: var(--brick); font-weight: 700; }
.vc-seal {
  position: absolute;
  top: -22px;
  right: -10px;
  width: 92px;
  height: 92px;
  transform: rotate(10deg);
  opacity: 0;
  animation: vcStamp 0.55s cubic-bezier(.26, 1.3, .55, 1) 0.95s both;
  pointer-events: none;
}
@keyframes vcStamp {
  0%   { opacity: 0; transform: rotate(40deg) scale(2); }
  60%  { opacity: 1; transform: rotate(7deg)  scale(0.92); }
  100% { opacity: 0.95; transform: rotate(10deg) scale(1); }
}

/* Headline — word-by-word reveal */
.vc-headline {
  position: relative;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  border-left: 5px solid var(--ink-mute);
  padding-left: 18px;
  margin-bottom: 16px;
  color: var(--ink);
}
.vc-headline.t-go      { color: var(--signal); border-left-color: var(--signal); }
.vc-headline.t-caution { color: var(--amber);  border-left-color: var(--amber); }
.vc-headline.t-stop    { color: var(--brick);  border-left-color: var(--brick); }

.vc-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: vcWord 0.5s cubic-bezier(.2, .9, .3, 1.1) var(--d, 0ms) forwards;
}
@keyframes vcWord {
  to { opacity: 1; transform: translateY(0); }
}

.vc-explain {
  position: relative;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 62ch;
}

/* Range row — three numbers with mid huge */
.vc-range {
  position: relative;
  margin: 22px 0 18px;
  padding: 22px 0 14px;
  border-top: 1.5px dashed var(--ink);
  border-bottom: 1.5px dashed var(--ink);
}
.vc-range-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: end;
  gap: 18px;
}
.vc-mark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
}
.vc-mark.vc-low  { text-align: left; }
.vc-mark.vc-mid  { text-align: center; }
.vc-mark.vc-high { text-align: right; }
.vc-mark .lab {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.vc-mark .num {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.vc-mark .num.big { font-size: clamp(36px, 6vw, 56px); font-weight: 800; }
.vc-mark .num[data-tier="go"]      { color: var(--signal); }
.vc-mark .num[data-tier="caution"] { color: var(--amber); }
.vc-mark .num[data-tier="stop"]    { color: var(--brick); }

.vc-bar {
  position: relative;
  height: 6px;
  margin: 18px 6px 0;
}
.vc-bar-track {
  position: absolute;
  inset: 0;
  background: var(--rule-soft);
  border-radius: 3px;
  border: 1px solid var(--rule);
}
.vc-bar-pin {
  position: absolute;
  top: -7px;
  left: var(--p, 50%);
  margin-left: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--brick);
  box-sizing: border-box;
}
.verdict-cover.t-go      .vc-bar-pin { border-color: var(--signal); }
.verdict-cover.t-caution .vc-bar-pin { border-color: var(--amber); }
.verdict-cover.t-stop    .vc-bar-pin { border-color: var(--brick); }

/* Comparison percentile — "better than X% of comps" */
.vc-pct {
  position: relative;
  margin-top: 16px;
}
.vc-pct-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.vc-pct-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.verdict-cover.t-go      .vc-pct-num { color: var(--signal); }
.verdict-cover.t-caution .vc-pct-num { color: var(--amber); }
.verdict-cover.t-stop    .vc-pct-num { color: var(--brick); }
.vc-pct-tail { color: var(--ink-mute); }
.vc-pct-bar {
  position: relative;
  height: 8px;
  background:
    repeating-linear-gradient(
      to right,
      var(--rule) 0 1px,
      transparent 1px 12px
    ),
    var(--rule-soft);
  border-radius: 4px;
  border: 1px solid var(--rule);
  overflow: visible;
}
.vc-pct-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--p, 50%);
  background: var(--ink);
  border-radius: 4px 0 0 4px;
  opacity: 0.18;
  animation: vcFill 1.1s cubic-bezier(.2, .9, .3, 1) both;
}
.verdict-cover.t-go      .vc-pct-fill { background: var(--signal); opacity: 0.28; }
.verdict-cover.t-caution .vc-pct-fill { background: var(--amber);  opacity: 0.28; }
.verdict-cover.t-stop    .vc-pct-fill { background: var(--brick);  opacity: 0.28; }
.vc-pct-tick {
  position: absolute;
  top: -4px;
  left: var(--p, 50%);
  margin-left: -1px;
  width: 2px;
  height: 16px;
  background: var(--ink);
}
@keyframes vcFill {
  from { width: 0; }
}

@media (max-width: 640px) {
  .verdict-cover { padding: 24px 20px 22px; }
  .vc-tag-row { padding-right: 54px; }
  .vc-mascot { width: 44px; height: 60px; top: 10px; right: 12px; }
  .vc-seal { display: none; }
  .vc-range-row { grid-template-columns: 1fr 1.4fr 1fr; gap: 10px; }
  .vc-mark .num { font-size: 19px; }
  .vc-mark .num.big { font-size: 30px; }
}

/* ─── BLOCK 2 + 3 — RESULT GRID (helps + fix in 2 cols) ──────── */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  border-top: 1px dashed var(--rule);
  padding-top: 22px;
}
@media (max-width: 720px) {
  .result-grid { grid-template-columns: 1fr; gap: 18px; }
}
.rg-col { min-width: 0; }
.rg-col .factor-list { margin-top: 10px; }

/* helps-list with copy buttons */
.helps-list li,
.fix-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.helps-list li:last-child,
.fix-list li:last-child { border-bottom: none; }
.helps-list .bullet-icon { color: var(--signal); margin-top: 4px; flex-shrink: 0; }
.fix-list .bullet-icon   { color: var(--brick);  margin-top: 4px; flex-shrink: 0; }

.fl-text {
  flex: 1;
  min-width: 0;
}

/* Copy button */
.copy-btn {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.15s ease-out;
  position: relative;
  white-space: nowrap;
}
.copy-btn .cb-done { display: none; color: var(--signal); }
.copy-btn:hover {
  color: var(--brick);
  border-color: var(--brick);
  background: var(--brick-tint);
}
.copy-btn.copied {
  border-color: var(--signal);
  background: rgba(45, 143, 78, 0.08);
}
.copy-btn.copied .cb-default { display: none; }
.copy-btn.copied .cb-done    { display: inline; }

/* Fix-list checkable items */
.fix-list .fl-item.checkable { align-items: center; }
.fix-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brick);
  border-radius: 3px;
  background: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: all 0.15s ease-out;
}
.fix-toggle:hover { background: var(--brick-tint); }
.fix-toggle:checked {
  background: var(--signal);
  border-color: var(--signal);
}
.fix-toggle:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.fix-list .fl-item.checkable .fl-text {
  cursor: pointer;
  user-select: none;
}
.fix-list .fl-item.checkable input:checked + .fl-text {
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: var(--rule);
}

/* Live mid pill — shows running estimate as user checks fixes */
.live-mid {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px dashed var(--ink);
  border-radius: 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.lm-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lm-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lm-num.t-go      { color: var(--signal); }
.lm-num.t-caution { color: var(--amber); }
.lm-num.t-stop    { color: var(--brick); }
.lm-delta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.lm-delta.positive {
  color: var(--signal);
  font-weight: 700;
}

/* ─── BLOCK 4 — WHAT-IF BANNER ───────────────────────────────── */
.whatif {
  background: var(--paper-pure, #FFFFFF);
  border: 1.5px dashed var(--brick);
  border-radius: 4px;
  padding: 18px 22px;
  margin-top: 26px !important;
  border-top: 1.5px dashed var(--brick);
}
.whatif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.whatif-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
  min-width: 240px;
}
.whatif-range {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brick);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.whatif-jump {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-mute);
  display: block;
  margin-top: 4px;
}
.whatif-foot {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
}
.whatif-foot em { font-style: italic; }
.whatif-foot em.t-go      { color: var(--signal); }
.whatif-foot em.t-caution { color: var(--amber); }
.whatif-foot em.t-stop    { color: var(--brick); }

/* ─── BLOCK 5 — PLATFORM CARDS WITH MATCH BARS ───────────────── */
.pl-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.pl-card {
  position: relative;
  display: block;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink-mute);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}
.pl-card:hover {
  transform: translate(-1px, -1px);
  background: var(--brick-tint);
}
.pl-card.t-go      { border-left-color: var(--signal); }
.pl-card.t-caution { border-left-color: var(--amber); }
.pl-card.t-stop    { border-left-color: var(--brick); }

.pl-head {
  display: grid;
  grid-template-columns: auto 36px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.pl-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
}
.pl-card.t-go      .pl-rank { color: var(--signal); }
.pl-card.t-caution .pl-rank { color: var(--amber); }
.pl-card.t-stop    .pl-rank { color: var(--brick); }

.pl-monogram {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  flex-shrink: 0;
}
.pl-card.t-go      .pl-monogram { background: var(--signal); }
.pl-card.t-caution .pl-monogram { background: var(--amber); }
.pl-card.t-stop    .pl-monogram { background: var(--brick); }

.pl-name-wrap { display: flex; flex-direction: column; min-width: 0; }
.pl-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.pl-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 4px;
  align-self: flex-start;
  background: var(--ink-mute);
}
.pl-card.t-go      .pl-badge { background: var(--signal); }
.pl-card.t-caution .pl-badge { background: var(--amber); }
.pl-card.t-stop    .pl-badge { background: var(--brick); }
/* Match-strength bars */
.pl-match {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mb-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mb-bars { display: inline-flex; gap: 3px; }
.mb-bar {
  width: 22px;
  height: 6px;
  background: var(--rule);
  border-radius: 1px;
}
.pl-card.t-go      .mb-bar.on { background: var(--signal); }
.pl-card.t-caution .mb-bar.on { background: var(--amber); }
.pl-card.t-stop    .mb-bar.on { background: var(--brick); }

/* Personalized pros/cons — 2-column grid inside platform card */
.pl-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-top: 10px;
}
@media (max-width: 620px) {
  .pl-reasons { grid-template-columns: 1fr; gap: 12px; }
}
.pl-rt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
  font-weight: 600;
}
.pl-pros .pl-rt { color: var(--signal); }
.pl-cons .pl-rt { color: var(--brick); }
.pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pl-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.pl-list .bullet-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}
.pl-pros .bullet-icon { color: var(--signal); }
.pl-cons .bullet-icon { color: var(--brick); }

/* Subtle hostname link at bottom — only shows on hover */
.pl-host {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dotted var(--rule);
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.15s ease-out, color 0.15s ease-out;
}
.pl-card:hover .pl-host {
  opacity: 1;
  color: var(--brick);
}

@media (max-width: 540px) {
  .pl-head { grid-template-columns: auto 32px 1fr; gap: 10px; }
  .pl-monogram { width: 32px; height: 32px; font-size: 12px; }
}

/* ─── WALKER VERDICT REACTION (confetti, popper, tear, sad) ──── */

/* Popper held in mascot's hand — appears just to the side */
.walker-popper {
  position: absolute;
  bottom: 14%;
  right: -22px;
  width: 38px;
  height: 44px;
  transform-origin: bottom left;
  animation: popperShake 0.18s ease-in-out 0s 4 alternate, popperRest 0.4s ease-out 0.8s both;
  pointer-events: none;
  z-index: 5;
}
.walker-popper svg { width: 100%; height: 100%; overflow: visible; }
@keyframes popperShake {
  from { transform: rotate(-12deg) translateY(0); }
  to   { transform: rotate(8deg)   translateY(-2px); }
}
@keyframes popperRest {
  from { transform: rotate(8deg); }
  to   { transform: rotate(-30deg); }
}

/* Confetti burst container — particles fly outward */
.walker-confetti {
  position: absolute;
  top: 30%;
  right: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 6;
}
.wc-p {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  opacity: 0;
  transform: translate(0, 0) rotate(0);
  animation: confettiFly 1.6s cubic-bezier(.18, .7, .35, 1) var(--cd, 0ms) forwards;
}
.wc-p.square {
  width: 8px;
  height: 8px;
  border-radius: 0;
}
@keyframes confettiFly {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx, 60px), calc(var(--cy, -100px) + 200px)) rotate(var(--cr, 360deg)); }
}

/* Sad face: eyes droop, mouth turns down */
.mascot-clone.mascot-sad .m-eye-l,
.mascot-clone.mascot-sad .m-eye-r {
  transform: translateY(1px);
  transform-origin: center;
}
.mascot-clone.mascot-sad .m-pupil-l,
.mascot-clone.mascot-sad .m-pupil-r {
  transform: translateY(2px);
}
.mascot-clone.mascot-sad .m-brow-l { transform: translateY(2px) rotate(-10deg); transform-origin: center; }
.mascot-clone.mascot-sad .m-brow-r { transform: translateY(2px) rotate(10deg);  transform-origin: center; }

/* Tear drop falling from one eye */
.walker-tear {
  position: absolute;
  top: 22%;
  left: 38%;
  width: 7px;
  height: 11px;
  background:
    radial-gradient(ellipse at 50% 30%, #87B7E8 0%, #5A8FCC 65%, #3F6FA8 100%);
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  transform-origin: top center;
  animation: tearFall 1.6s ease-in 0s 1 forwards;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}
@keyframes tearFall {
  0%   { opacity: 0; transform: translateY(0) scale(0.4); }
  20%  { opacity: 1; transform: translateY(2px) scale(1); }
  100% { opacity: 0; transform: translateY(28px) scale(0.85); }
}

/* Walking-away gait: slower, slumped */
.mascot-walker.walking-away .mascot-clone {
  transform: rotate(-2deg) translateY(2px);
  filter: grayscale(0.4) opacity(0.85);
  transition: transform 0.4s ease-out, filter 0.4s ease-out;
}

/* ─── PRINT / PDF EXPORT ─────────────────────────────────────── */
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .scroll-cue, .step-nav, .result-actions,
  .loader, .ads-rail, .blog-section, .tool-bar,
  .mascot-walker, .mascot-btn, .copy-btn, .vc-mascot, .vc-seal,
  #apply-all-btn, #pdf-btn, #copy-link-btn, #restart-btn { display: none !important; }
  .step:not(.active) { display: none; }
  .tool { box-shadow: none; border: none; padding: 0; }
  .tool-body { padding: 0; }
  .verdict-cover { box-shadow: none; border: 1.5px solid #000; padding: 24px; page-break-inside: avoid; background: #fff; }
  .vc-headline { color: #000 !important; border-left-color: #000 !important; }
  .vc-explain, .vc-pct-tail { color: #333; }
  .result-block { page-break-inside: avoid; margin-top: 24px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .pl-card { page-break-inside: avoid; box-shadow: none; }
  .vc-word { animation: none !important; opacity: 1 !important; transform: none !important; }
  .num.count { animation: none !important; }
  /* Print header marker */
  .verdict-cover::after {
    content: "willisellit.com / verdict report";
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    color: #888;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
}
