/* HalfTri — test web (halftri.com/start). Usa los tokens de /style.css y la
   paleta de la home (tinta, azul marino, verde azulado y naranja). */

:root {
  --ink: #06141d;
  --navy-2: #0a2638;
  --teal: #2fb8a6;
  --teal-ink: #0b6f62;
  --blue: #3d82f6;
  --orange: #f4a043;
  --red: #e5604d;
  --swim: #3d82f6;
  --bike: #f4a043;
  --run: #2fb8a6;
  --strength: #9b7cf0;
  --tile: var(--card);
  --tile-on: color-mix(in srgb, var(--teal) 14%, var(--card));
  --shadow: 0 1px 2px rgba(6, 20, 29, .06), 0 8px 24px rgba(6, 20, 29, .06);
  --bar-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root { --teal-ink: #6fe0cf; --tile-on: color-mix(in srgb, var(--teal) 22%, var(--card)); --shadow: none; }
}

body.quiz { min-height: 100dvh; display: flex; flex-direction: column; }
.quiz [hidden] { display: none !important; }
:where(.quiz) button { font: inherit; color: inherit; }
.quiz :focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ── Barra superior ───────────────────────────────────── */
.q-top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.q-top-in { max-width: 1040px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.q-top .brand { font-size: 1rem; }
.q-top .brand img { width: 28px; height: 28px; }
.q-back {
  border: 0; background: var(--card); width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 1px solid var(--border); flex: none;
}
.q-back[disabled] { visibility: hidden; }
.q-progress { flex: 1; min-width: 0; }
.q-progress-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.q-progress-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.q-progress-meta .q-count { flex: none; }
.q-progress-meta .q-eyebrow { color: var(--teal-ink); text-transform: uppercase; letter-spacing: .08em; }
.q-track { height: 6px; border-radius: 99px; background: var(--border); margin-top: 5px; overflow: hidden; }
.q-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); transition: width .35s ease; }
.q-lang { display: inline-flex; gap: 2px; padding: 2px; border-radius: 99px; border: 1px solid var(--border); background: var(--card); flex: none; }
.q-lang a { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; color: var(--text-2); }
.q-lang a[aria-current] { background: var(--teal); color: var(--ink); }
.q-lang a:hover { text-decoration: none; }

/* ── Columnas: pregunta + resumen en vivo (≥ 1000 px) ─── */
.q-main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 20px 16px calc(var(--bar-h) + 40px); display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .q-main.with-aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .q-main { padding-bottom: 64px; }
}
.q-stage { max-width: 580px; width: 100%; margin: 0 auto; }

/* ── Pregunta ─────────────────────────────────────────── */
.q-screen { animation: q-in .28s ease both; }
@keyframes q-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q-screen, .q-fill { animation: none; transition: none; } }
.q-screen h1, .q-screen h2.q-title { font-size: clamp(1.5rem, 5.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 8px; }
.q-sub { color: var(--text-2); font-size: 1rem; margin-bottom: 18px; }
.q-group + .q-group { margin-top: 22px; }
.q-group > h3 { font-size: .95rem; margin-bottom: 10px; color: var(--text); }
.q-group > h3 small { color: var(--muted); font-weight: 500; }

.q-options { display: grid; gap: 10px; }
.q-options.cols-2 { grid-template-columns: 1fr 1fr; }
.q-options.days { grid-template-columns: repeat(7, 1fr); gap: 6px; }
.q-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 16px; background: var(--tile); border: 1.5px solid var(--border);
  cursor: pointer; box-shadow: var(--shadow); transition: border-color .15s, background .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.q-opt:active { transform: scale(.985); }
.q-opt[aria-pressed="true"], .q-opt[aria-checked="true"] { border-color: var(--teal); background: var(--tile-on); }
.q-opt .ic { font-size: 1.35rem; width: 30px; text-align: center; flex: none; }
.q-opt .tx { display: flex; flex-direction: column; min-width: 0; }
.q-opt .tx b { font-size: 1rem; font-weight: 650; line-height: 1.25; }
.q-opt .tx span { color: var(--text-2); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.q-opt .tick { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); flex: none; display: grid; place-items: center; font-size: .75rem; }
.q-opt[aria-pressed="true"] .tick, .q-opt[aria-checked="true"] .tick { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.q-options.days .q-opt { flex-direction: column; justify-content: center; gap: 2px; padding: 12px 0; text-align: center; border-radius: 14px; }
.q-options.days .q-opt b { font-size: .9rem; }
.q-options.days .q-opt small { font-size: .7rem; color: var(--muted); }

.q-field { display: grid; gap: 6px; margin-top: 4px; }
.q-field label { font-weight: 600; font-size: .92rem; }
.q-input {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--card); color: var(--text); font: inherit; font-size: 1.05rem;
}
.q-input:focus { border-color: var(--teal); outline: none; }
.q-hint { color: var(--muted); font-size: .86rem; }

.q-search-list { display: grid; gap: 8px; margin-top: 10px; max-height: 340px; overflow: auto; padding: 2px; }
.q-race { display: flex; gap: 12px; align-items: center; }
.q-race .when { flex: none; width: 52px; text-align: center; border-radius: 12px; background: var(--accent-soft); color: var(--teal-ink); padding: 6px 0; line-height: 1.1; }
.q-race .when b { display: block; font-size: 1.1rem; }
.q-race .when small { font-size: .68rem; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.q-race .est { color: var(--orange); font-weight: 600; }

/* La nota de una línea tras contestar. */
.q-note {
  margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--text);
  font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; animation: q-in .25s ease both;
}
.q-note::before { content: "✓"; color: var(--teal-ink); font-weight: 800; }
.q-note.warn { background: color-mix(in srgb, var(--orange) 16%, transparent); }
.q-note.warn::before { content: "!"; color: var(--orange); }

.q-actions { margin-top: 22px; display: grid; gap: 10px; }
.btn-go {
  display: block; width: 100%; padding: 16px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.05rem; text-align: center;
  box-shadow: 0 10px 24px rgba(15, 51, 77, .22);
}
@media (prefers-color-scheme: dark) { .btn-go { background: var(--teal); color: var(--ink); box-shadow: none; } }
.btn-go:hover { text-decoration: none; opacity: .94; }
.btn-go[disabled] { opacity: .4; cursor: default; }
.btn-go.big { font-size: 1.12rem; padding: 18px 22px; }
.btn-ghost {
  display: block; width: 100%; padding: 13px 20px; border-radius: 999px; cursor: pointer; text-align: center;
  background: transparent; border: 1.5px solid var(--border); color: var(--text); font-weight: 600;
}
.btn-ghost:hover { text-decoration: none; border-color: var(--teal); }
.btn-link { border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ── Resumen en vivo ──────────────────────────────────── */
.live { display: none; }
@media (min-width: 1000px) {
  .live.on { display: block; position: sticky; top: 84px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
}
.live h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.live .live-head { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.live ul { list-style: none; display: grid; gap: 8px; }
.live li { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; animation: q-in .25s ease both; }
.live li .k { color: var(--muted); flex: none; width: 92px; font-size: .8rem; }
.live li .v { font-weight: 600; }
.live .live-empty { color: var(--muted); font-size: .9rem; }

/* En el móvil: barra fija abajo que crece con cada respuesta; al tocarla se abre. */
.livebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(6, 20, 29, .08);
}
@media (min-width: 1000px) { .livebar { display: none !important; } }
.livebar-btn { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; padding: 0; }
.livebar .chips { display: flex; gap: 6px; overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.livebar .chip { flex: none; font-size: .8rem; font-weight: 650; padding: 5px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--teal-ink); white-space: nowrap; animation: q-in .25s ease both; }
.livebar .count { flex: none; font-size: .75rem; color: var(--muted); font-weight: 700; }
.livebar .caret { flex: none; transition: transform .2s; }
.livebar.open .caret { transform: rotate(180deg); }
.livebar .sheet { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.livebar.open .sheet { max-height: 60vh; overflow: auto; }
.livebar .sheet ul { list-style: none; display: grid; gap: 8px; padding: 14px 2px 4px; }
.livebar .sheet li { display: flex; gap: 10px; font-size: .92rem; }
.livebar .sheet li .k { color: var(--muted); width: 104px; flex: none; font-size: .82rem; }
.livebar .sheet li .v { font-weight: 600; }
.livebar .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; display: block; }

/* ── Portada ──────────────────────────────────────────── */
.q-hero {
  color: #fff; border-radius: 28px; padding: 32px 22px 26px; position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(47,184,166,.45), transparent 70%),
    radial-gradient(50% 45% at 100% 10%, rgba(61,130,246,.40), transparent 70%),
    radial-gradient(60% 60% at 50% 120%, rgba(244,160,67,.25), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy) 100%);
}
.q-hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.7rem); line-height: 1.08; letter-spacing: -.025em; margin: 10px 0 12px; }
.q-hero p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.q-hero .kick { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9ff0d6; }
.q-hero ul { list-style: none; display: grid; gap: 8px; margin: 20px 0 22px; }
.q-hero li { display: flex; gap: 10px; align-items: center; font-size: .98rem; }
.q-hero li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.q-hero .btn-go { background: #fff; color: var(--ink); box-shadow: none; }
.q-hero .fine { color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 12px; text-align: center; }
.q-hero .fine a { color: #9ff0d6; }
.q-preview { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 16px; }
.q-preview p { color: var(--text-2); font-size: .92rem; }
.q-preview b { color: var(--text); }

/* ── Plan listo ───────────────────────────────────────── */
.ready-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.ready-big { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.ready-big b { font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; }
.ready-big span { color: var(--text-2); font-weight: 600; }
.ready-lines { list-style: none; display: grid; gap: 8px; margin: 16px 0 4px; }
.ready-lines li { display: flex; gap: 10px; font-size: .96rem; }
.ready-lines li::before { content: "→"; color: var(--teal-ink); font-weight: 800; }

/* Barra de fases (bloques del plan de la app). */
.phasebar { display: flex; gap: 3px; height: 34px; margin: 14px 0 8px; border-radius: 10px; overflow: hidden; }
.phasebar > div { display: grid; place-items: center; min-width: 4px; color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; }
.ph-adaptation { background: #7d8a94; }
.ph-base { background: var(--blue); }
.ph-build { background: var(--teal); }
.ph-specific { background: var(--orange); }
.ph-taper { background: var(--strength); }
.ph-raceWeek { background: var(--red); }
.phase-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--text-2); }
.phase-legend span { display: inline-flex; align-items: center; gap: 6px; }
.phase-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ── Resultado ────────────────────────────────────────── */
.res-head { text-align: center; padding: 6px 0 4px; }
.res-head h1 { font-size: clamp(1.45rem, 5.4vw, 1.9rem); line-height: 1.18; letter-spacing: -.02em; margin: 4px 0 6px; }
.score { position: relative; width: 188px; height: 188px; margin: 16px auto 8px; }
.score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 10; }
.score .bg { stroke: var(--border); }
.score .fg { stroke: url(#scoreGrad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.7,.2,1); }
.score .in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score .in b { font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; }
.score .in small { color: var(--muted); font-weight: 600; }
.band { display: inline-block; font-weight: 700; padding: 6px 14px; border-radius: 99px; background: var(--accent-soft); color: var(--teal-ink); }
.score-means { font-size: .92rem; color: var(--text-2); margin: 10px auto 0; max-width: 34ch; }
.res-how { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.tile-sub { display: block; margin-top: 5px; font-size: .84rem; line-height: 1.35; color: var(--text-2); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 14px; }
.tile small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tile b { display: block; font-size: 1.02rem; line-height: 1.25; margin-top: 4px; }

.block { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 20px; margin-top: 16px; box-shadow: var(--shadow); }
.block > h2 { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 6px; }
.block > p { color: var(--text-2); }
.block .kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-ink); font-weight: 800; }

.bars { display: grid; gap: 12px; margin-top: 12px; }
.bar-row { display: grid; grid-template-columns: 92px 1fr 40px; gap: 10px; align-items: center; font-size: .92rem; }
.bar-row .t { height: 10px; border-radius: 99px; background: var(--border); overflow: hidden; }
.bar-row .t i { display: block; height: 100%; border-radius: inherit; width: 0; transition: width 1s ease; }
.bar-row b { text-align: right; }

.match { border-left: 4px solid var(--teal); }
.match.miss { border-left-color: var(--orange); }
.match h2 { display: flex; gap: 8px; align-items: center; }
.obs { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.obs li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: .95rem; color: var(--text-2); }
.obs li b { color: var(--text); }
.obs li .n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--teal-ink); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }

/* Semana 1 */
.week { display: grid; gap: 10px; margin-top: 14px; }
.sess { border: 1px solid var(--border); border-radius: 16px; padding: 14px; position: relative; background: var(--bg); }
.sess .day { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--muted); }
.sess h3 { font-size: 1rem; margin: 2px 0 6px; }
.sess .parts { display: flex; flex-wrap: wrap; gap: 6px; }
.sess .part { font-size: .8rem; font-weight: 650; padding: 4px 9px; border-radius: 99px; background: var(--card); border: 1px solid var(--border); }
.sess .part i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.sess .detail { color: var(--text-2); font-size: .88rem; margin-top: 8px; }
.sess.free { border-color: var(--teal); background: var(--tile-on); }
.sess .free-tag { position: absolute; top: 12px; right: 12px; font-size: .72rem; font-weight: 800; color: var(--ink); background: var(--teal); padding: 3px 8px; border-radius: 99px; }
.sess.locked .detail { filter: blur(4px); user-select: none; }
.sess.locked .lock { position: absolute; top: 12px; right: 12px; font-size: .9rem; }
.week-note { margin-top: 12px; font-size: .9rem; color: var(--text-2); }

/* Línea de fases bloqueada */
.timeline { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.timeline li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: .94rem; }
.timeline li i { width: 12px; height: 12px; border-radius: 4px; }
.timeline li small { color: var(--muted); font-weight: 600; }
.timeline li.locked { color: var(--muted); }

/* ── Muro de pago ─────────────────────────────────────── */
.paywall { border: 2px solid var(--teal); }
.plans { display: grid; gap: 10px; margin-top: 14px; }
.plan {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 16px; border-radius: 18px; border: 1.5px solid var(--border); background: var(--card); cursor: pointer; position: relative;
}
.plan[aria-checked="true"] { border-color: var(--teal); background: var(--tile-on); }
.plan .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; }
.plan[aria-checked="true"] .radio { border-color: var(--teal); }
.plan[aria-checked="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.plan .nm b { display: block; font-size: 1.02rem; }
.plan .nm span { color: var(--text-2); font-size: .86rem; }
.plan .pr { text-align: right; }
.plan .pr b { display: block; font-size: 1.05rem; }
.plan .pr span { color: var(--muted); font-size: .8rem; }
.plan .tag { position: absolute; top: -10px; left: 16px; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--teal); color: var(--ink); letter-spacing: .02em; }
.to-race { margin-top: 14px; border-radius: 16px; background: var(--bg); padding: 12px 14px; font-size: .9rem; }
.to-race table { width: 100%; border-collapse: collapse; }
.to-race td { padding: 4px 0; }
.to-race td:last-child { text-align: right; font-weight: 700; }
.to-race caption { text-align: left; font-weight: 700; padding-bottom: 4px; }
.terms { color: var(--muted); font-size: .8rem; margin-top: 12px; line-height: 1.5; }
.terms a { color: var(--text-2); text-decoration: underline; }
.heard { margin-top: 16px; }
.heard h3 { font-size: .95rem; margin-bottom: 8px; }
.heard .q-options { grid-template-columns: 1fr 1fr; gap: 8px; }
.heard .q-opt { padding: 10px 12px; border-radius: 12px; box-shadow: none; }
.heard .q-opt .tx b { font-size: .9rem; }
.pay-msg { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: .92rem; background: color-mix(in srgb, var(--orange) 14%, transparent); }
.pay-msg.ok { background: var(--accent-soft); }

.compare { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .9rem; }
.compare th, .compare td { padding: 9px 6px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 70px; }
.compare thead th { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.yes { color: var(--teal-ink); font-weight: 800; }
.no { color: var(--muted); }

details.faq { border-top: 1px solid var(--border); padding: 12px 0; }
details.faq:first-of-type { border-top: 0; }
details.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--muted); font-weight: 800; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--text-2); margin-top: 8px; font-size: .94rem; }

.answers { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.answers li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.answers li span:first-child { color: var(--muted); }
.answers li span:last-child { font-weight: 600; text-align: right; }

/* Hecho: después de pagar */
.done-steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin-top: 14px; }
.done-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.done-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
.done-steps h3 { font-size: 1rem; margin-bottom: 6px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.stores a { flex: 1; min-width: 140px; }
.stores .paste-hint { flex-basis: 100%; margin: 2px 0 0; }
.qr-box { background: #fff; border-radius: 12px; padding: 8px; width: 216px; max-width: 100%; margin-top: 8px; }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-box.qr-big { width: 320px; }
.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; word-break: break-all; background: var(--bg); border: 1px dashed var(--border); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }

.foot-note { color: var(--muted); font-size: .82rem; text-align: center; margin-top: 22px; }
.foot-note a { color: var(--text-2); text-decoration: underline; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 94%, transparent); border-top: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.on { transform: none; }
.sticky-cta .btn-go { max-width: 580px; margin: 0 auto; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
  body.in-quiz .q-top .brand { display: none; }
  .q-progress-meta .q-eyebrow { letter-spacing: .04em; }
  .q-top .brand img { width: 26px; height: 26px; }
}

/* Hoy → el día de la carrera (estimación si sigues el plan) */
.proj { max-width: 300px; margin: 14px auto 0; }
.proj-row { display: flex; align-items: flex-end; justify-content: center; gap: 16px; }
.proj-row > span { display: grid; text-align: center; }
.proj-row small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.proj-row b { font-size: 1.55rem; line-height: 1.15; }
.proj-row .then b { color: var(--teal-ink); }
.proj-row .arr { font-size: 1.3rem; color: var(--muted); padding-bottom: 3px; }
.proj-bar { position: relative; height: 10px; border-radius: 99px; background: var(--border); margin-top: 10px; overflow: hidden; }
.proj-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #2fb8a6, #3d82f6); transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.proj-bar i.then { opacity: .32; transition-delay: .5s; }
.proj-note { display: block; margin-top: 6px; color: var(--muted); font-size: .8rem; }

/* Si no alcanzan las semanas */
.alt-opts { display: grid; gap: 10px; margin-top: 12px; }
.alt-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.alt-opt:hover, .alt-opt:focus-visible { border-color: var(--teal); }
.alt-opt .t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.alt-opt .t > span { color: var(--text-2); font-size: .88rem; }
.alt-opt .t .est { color: var(--teal-ink); font-weight: 700; }
.alt-opt .go { font-weight: 700; color: var(--teal-ink); white-space: nowrap; }

/* La primera sesión, gratis en la app: siempre dicho */
.first-free { display: inline-block; margin: 2px 0 8px; padding: 5px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--teal-ink); font-weight: 700; font-size: .9rem; }
