/* Llamazo: one stylesheet for every page. Light only. */

:root {
  color-scheme: light;
  --bg: #fff8f0;
  --bg-glow: #ffe6d3;
  --surface: #ffffff;
  --surface-2: #fff1e4;
  --ink: #1a1523;
  --muted: #5f5868;
  --line: #eadfd2;
  --line-strong: #d9c8b5;
  --brand: #d63c17;
  --on-brand: #ffffff;
  --brand-text: #c93512;
  --brand-soft: #ffe2d6;
  --accent: #ffc83d;
  --on-accent: #1a1523;
  --wa: #d9fdd3;
  --wa-ink: #10301a;
  --ok: #1f7a45;
  --ok-soft: #e1f5e8;
  --err: #b42318;
  --err-soft: #fde7e5;
  --focus: #2f6bff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(40, 20, 10, .05), 0 10px 30px -10px rgba(40, 20, 10, .14);
  --shadow-lg: 0 30px 60px -20px rgba(60, 20, 0, .28);
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Base ---------------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--brand-text); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow, .narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }

/* Header -------------------------------------------------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.top nav { display: flex; align-items: center; gap: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: var(--on-brand);
  display: grid; place-items: center; transform: rotate(-8deg); box-shadow: 0 6px 16px -6px var(--brand); flex: none;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo .tag { font: 600 .75rem/1 var(--body); color: var(--muted); letter-spacing: 0; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; }

/* Buttons ------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  background: var(--brand); color: var(--on-brand); border: 0; border-radius: 999px;
  padding: 14px 26px; font: 700 1rem/1.1 var(--body); cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: 0 10px 24px -12px var(--brand);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--on-brand); filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover { color: var(--ink); background: var(--surface); }
.btn.sm { min-height: 42px; padding: 10px 18px; font-size: .95rem; }
.btn.lg { min-height: 56px; padding: 16px 30px; font-size: 1.08rem; }
.btn.block { width: 100%; }
.btn .price-label { font-variant-numeric: tabular-nums; }

/* Hero ---------------------------------------------------------------------------------- */
.hero-bg {
  background:
    radial-gradient(60% 60% at 85% 20%, var(--bg-glow), transparent 70%),
    radial-gradient(45% 45% at 5% 45%, var(--bg-glow), transparent 70%);
}
.hero { padding: 28px 0 64px; display: grid; gap: 40px; grid-template-columns: 1.15fr .85fr; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem;
  background: var(--surface); border: 1px solid var(--line); padding: 6px 12px 6px 8px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.hero h1 { isolation: isolate; }
.hero h1 em { font-style: normal; color: var(--brand-text); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em; z-index: -1;
  background: var(--accent); border-radius: 4px; opacity: .55; transform: rotate(-1.5deg);
}
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 32em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Phone mockup */
.phone {
  position: relative; margin: 0 auto; width: min(100%, 340px); background: #15111c; border-radius: 44px; padding: 12px;
  border: 1px solid #3a3346;
  box-shadow: var(--shadow-lg); transform: rotate(2.5deg);
}
.phone-screen { background: var(--surface); border-radius: 34px; padding: 18px 14px 16px; overflow: hidden; }
.call-head { text-align: center; padding: 6px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.call-head .avatar { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: var(--surface-2); }
.call-head .who { font-weight: 800; font-family: var(--head); font-size: 1.05rem; line-height: 1.2; }
.call-head .meta { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.call-head .meta .rec { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: blink 1.6s infinite; }
.phone .bubble { font-size: .86rem; }
.wa {
  display: flex; gap: 10px; align-items: flex-start; background: var(--wa); color: var(--wa-ink);
  border-radius: 16px; padding: 10px 12px; font-size: .84rem; line-height: 1.4; margin-top: 12px;
}
.wa .wa-icon { width: 26px; height: 26px; border-radius: 8px; background: #25d366; color: #fff; display: grid; place-items: center; flex: none; }
.wa .wa-icon svg { width: 16px; height: 16px; }
.float-badge {
  position: absolute; right: -18px; top: -16px; z-index: 2; background: var(--accent); color: var(--on-accent);
  font: 800 .85rem/1.1 var(--head); padding: 10px 14px; border-radius: 14px; transform: rotate(-6deg); box-shadow: var(--shadow);
}
.anim > * { opacity: 0; animation: pop .5s ease forwards; }
.anim > :nth-child(1) { animation-delay: .2s; }
.anim > :nth-child(2) { animation-delay: 1s; }
.anim > :nth-child(3) { animation-delay: 1.8s; }
.anim > :nth-child(4) { animation-delay: 2.6s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .3; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 8px 0 48px; }
  .phone { transform: none; width: min(100%, 320px); }
  .float-badge { right: -6px; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .phone .bubble:nth-of-type(3) { display: none; }
}

/* Sections ------------------------------------------------------------------------------ */
.section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.kicker { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: var(--brand-soft); color: var(--brand-text); font: 800 1.15rem/1 var(--head);
}
.step p { margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 16px; }
  .step .n { grid-row: span 2; margin: 0; }
  .step h3 { margin-bottom: 4px; }
}

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature { background: var(--surface-2); border-radius: var(--radius); padding: 18px; }
.feature .ico { font-size: 1.5rem; line-height: 1; margin-bottom: 10px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .feature { padding: 14px; } .feature p { font-size: .84rem; } }

/* Form ---------------------------------------------------------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 40px; }
@media (max-width: 560px) { .panel { padding: 18px 16px; border-radius: 22px; } }
.form-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.form-head h2 { margin: 0; }
.form-head p { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; }
legend .num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-size: 1rem; flex: none;
}

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card { position: relative; display: block; cursor: pointer; min-width: 0; }
.card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card .body {
  position: relative; height: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface);
  transition: border-color .12s, background .12s, transform .12s, box-shadow .12s;
}
.card:hover .body { border-color: var(--line-strong); transform: translateY(-1px); }
.card input:checked + .body { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.card input:focus-visible + .body { outline: 3px solid var(--focus); outline-offset: 2px; }
.card .tick {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--surface);
}
.card .tick svg { width: 13px; height: 13px; }
.card input:checked + .body .tick { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.card .emoji { font-size: 1.8rem; line-height: 1; }
.card .title { font-weight: 800; margin: 8px 0 3px; line-height: 1.25; padding-right: 18px; }
.card .desc { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.cards.voices { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* "Escribe tu broma": the featured option, with the idea box and inspiration chips inside. */
.featured {
  border: 2px solid var(--accent); border-radius: 20px; background: linear-gradient(135deg, #fff5d6, var(--brand-soft));
  transition: border-color .12s, box-shadow .12s;
}
.featured.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.featured .card .body,
.featured .card input:checked + .body {
  border: 0; background: transparent; box-shadow: none; padding: 18px 20px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
}
.featured .card:hover .body { transform: none; }
.featured .card .emoji {
  grid-column: 1; grid-row: 1 / span 3; width: 64px; height: 64px; border-radius: 18px; font-size: 2.2rem;
  display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow);
}
.featured .card .title { grid-column: 2; font: 800 1.35rem/1.15 var(--head); letter-spacing: -.01em; margin: 6px 0 4px; }
.featured .card .desc { grid-column: 2; font-size: .95rem; color: var(--ink); opacity: .8; }
.badge {
  grid-column: 2; grid-row: 1; justify-self: start; background: var(--ink); color: var(--bg);
  font: 800 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; border-radius: 999px;
}
.premise { padding: 0 20px 20px; }
.premise label.field { margin-bottom: 12px; }
.premise textarea { min-height: 112px; }
.ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.idea {
  min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font: 600 .9rem/1.2 var(--body); color: var(--ink); cursor: pointer;
}
.idea:hover { border-color: var(--brand); color: var(--brand-text); }
.premise > small { display: block; }
.or { display: flex; align-items: center; gap: 12px; margin: 24px 0 12px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line-strong); }

/* Voice cards with a preview button (only when the clip exists). */
.voice { position: relative; min-width: 0; }
.voice .card { height: 100%; }
.voice:has(.play) .card .desc { padding-right: 40px; }
.play {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.play:hover { background: var(--brand); }
.play svg { width: 16px; height: 16px; }
.play .i-play { margin-left: 2px; }
.play .i-stop, .play.playing .i-play { display: none; }
.play.playing .i-stop { display: block; }
.play.playing { background: var(--brand); animation: pulse 1.4s infinite; }

/* Banner when the victim comes to return the prank. */
.revenge {
  display: flex; gap: 14px; align-items: center; margin: -8px 0 24px; padding: 14px 18px;
  background: #fff5d6; border: 2px solid var(--accent); border-radius: 18px;
}
.revenge .ico { font-size: 1.8rem; line-height: 1; }
.revenge h3 { margin: 0 0 2px; }
.revenge p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 560px) {
  .cards, .cards.voices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .card .body { padding: 11px 11px 12px; border-radius: 14px; }
  .card .emoji { font-size: 1.4rem; }
  .card .title { font-size: .92rem; margin: 6px 0 2px; }
  .card .desc { font-size: .78rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card .tick { top: 8px; right: 8px; width: 20px; height: 20px; }
  .featured .card .body, .featured .card input:checked + .body { padding: 14px 14px 12px; column-gap: 12px; }
  .featured .card .emoji { width: 52px; height: 52px; font-size: 1.8rem; border-radius: 14px; }
  .featured .card .title { font-size: 1.15rem; padding-right: 22px; }
  .featured .card .desc { grid-column: 1 / -1; margin-top: 8px; font-size: .88rem; display: block; -webkit-line-clamp: unset; }
  .premise { padding: 0 14px 14px; }
  .idea { font-size: .85rem; padding: 8px 12px; }
  .voice:has(.play) .card .desc { padding-right: 0; }
  .voice:has(.play) .card .body { padding-bottom: 50px; }
  .play { width: 36px; height: 36px; right: 8px; bottom: 8px; }
}

label.field { display: block; margin-bottom: 18px; }
label.field > span { display: block; font-weight: 700; margin-bottom: 6px; }
label.field small { display: block; color: var(--muted); margin-top: 6px; font-size: .84rem; line-height: 1.45; }
input[type=text], input[type=tel], input[type=email], input[type=datetime-local], textarea, select {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px;
  font: inherit; color: inherit; background: var(--surface);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.label { display: block; font-weight: 700; margin-bottom: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; cursor: pointer; line-height: 1.5; }
.check input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.check.boxed { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pill {
  border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; cursor: pointer; min-height: 44px;
  display: inline-flex; gap: 8px; align-items: center; font-weight: 600;
}
.pill:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pill:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pill input { accent-color: var(--brand); margin: 0; }
@media (max-width: 420px) {
  .radios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pill { justify-content: center; padding: 10px 12px; font-size: .95rem; }
}

.preview { background: var(--surface-2); border-radius: 16px; padding: 16px 18px; border-left: 4px solid var(--accent); }
.preview b { display: flex; align-items: center; gap: 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.preview #preview-text { font-size: 1.02rem; }

.consents { margin-top: 20px; }
.checkout {
  position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 12px -32px -32px; padding: 18px 32px; border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 0 0 28px 28px;
}
.total { font-family: var(--head); font-size: 2rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.total small { font: 400 .8rem/1.4 var(--body); color: var(--muted); display: block; max-width: 30em; }
@media (max-width: 560px) {
  .checkout { margin: 12px -16px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; border-radius: 0 0 22px 22px; }
  .total { font-size: 1.5rem; }
  .total small { display: none; }
  .checkout .btn { flex: 1; padding: 14px 16px; min-height: 52px; font-size: 1rem; }
}

.alert { border-radius: 14px; padding: 12px 16px; margin: 14px 0; font-weight: 600; }
.alert.err { background: var(--err-soft); color: var(--err); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }

/* FAQ ----------------------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; padding: 16px 48px 16px 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 700 1.4rem/1 var(--head); color: var(--brand-text); transition: transform .15s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* CTA band + footer ---------------------------------------------------------------------- */
.cta-band {
  background: var(--ink); color: var(--bg); border-radius: 28px; padding: 40px 32px; margin: 24px 0 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .8; }
footer { padding: 32px 0 48px; color: var(--muted); font-size: .875rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Status / reveal pages ----------------------------------------------------------------- */
.page-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin: 0; }
.big-emoji {
  font-size: 2.6rem; line-height: 1; width: 72px; height: 72px; border-radius: 20px; background: var(--surface-2);
  display: grid; place-items: center; flex: none;
}
.big-emoji.xl { width: 96px; height: 96px; font-size: 3.4rem; border-radius: 28px; margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; margin: 20px 0; position: relative; }
.timeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; color: var(--muted); }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 36px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::before { background: var(--ok); }
.timeline li .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--surface); }
.timeline li > span:last-child { padding-top: 2px; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.timeline li.now { color: var(--ink); font-weight: 700; }
.timeline li.now .dot { border-color: var(--brand); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--brand-soft); } 50% { box-shadow: 0 0 0 8px var(--brand-soft); } }
.bubble { background: var(--surface-2); border-radius: 16px 16px 16px 4px; padding: 10px 14px; margin: 8px 0; font-size: .95rem; line-height: 1.45; max-width: 92%; }
.bubble.me, .bubble.persona { background: var(--brand-soft); margin-left: auto; border-radius: 16px 16px 4px 16px; }
.bubble b { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.transcript { display: flex; flex-direction: column; gap: 2px; margin: 16px 0; }
.transcript .bubble { max-width: 85%; margin: 4px 0; }
.transcript .persona { align-self: flex-end; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; margin: 0 0 8px; padding: 16px; background: var(--surface-2); border-radius: 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
audio { width: 100%; margin: 8px 0 16px; }
hr.dash { border: 0; border-top: 1px dashed var(--line-strong); margin: 28px 0; }
/* Victim page: the "return it" call to action, right under the reveal. */
.payback {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  margin: 22px 0 28px; padding: 22px 24px; border-radius: 22px; background: var(--accent); color: var(--on-accent);
  box-shadow: 0 14px 30px -18px rgba(120, 70, 0, .6); transform: rotate(-.6deg);
}
.payback h2 { font-size: clamp(1.35rem, 4.5vw, 1.7rem); margin: 0 0 4px; }
.payback p { margin: 0; max-width: 30em; }
@media (max-width: 560px) {
  .payback { padding: 18px 16px; transform: none; }
  .payback .btn { width: 100%; }
}
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legal --------------------------------------------------------------------------------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p { color: var(--muted); }

/* Chat simulator ------------------------------------------------------------------------ */
.chat { height: 50vh; min-height: 280px; overflow-y: auto; background: var(--surface-2); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.chat .bubble { background: var(--surface); }
.chat .bubble.persona { background: var(--brand-soft); }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .anim > * { opacity: 1; }
}

/* Owner's payment-skip code: a quiet link under the consents. */
.skip-code { margin-top: 12px; }
.skip-code .field { margin: 8px 0 0; max-width: 220px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
