/* ==========================================================================
 * calc-typeform.css — zero-friction one-question-at-a-time shell
 *
 * Typeform-inspired UX for /calculators/*. Each calculator becomes a
 * conversational survey: one question per screen, big tactile options,
 * auto-advance on selection, smooth slide transitions, keyboard hotkeys.
 *
 * Loaded BEFORE calc-framework.css so framework styles can override here
 * (the email-gate modal styles live in calc-framework.css and are shared).
 *
 * Mobile-first. Brand-colored. Uses brand fonts (Fraunces + JetBrains Mono
 * + Inter) inherited from master-common.css.
 *
 * Design notes:
 *   - Section min-height 88vh on desktop (74vh mobile) so each step fills the
 *     viewport once the user scrolls into it
 *   - Each step is absolutely positioned inside the relative container so
 *     they stack and we cross-fade / slide between them
 *   - Big single-column layout — no two-column form/result split anymore.
 *     The result is the FINAL step.
 *   - Brand-blue primary, charcoal secondary, paper-cream background
 * ========================================================================== */

/* =========================================================
 * Section wrapper
 * ========================================================= */
#abt .tf-section {
  position: relative;
  background: linear-gradient(180deg, #fcfaf6 0%, #f4f0e8 100%);
  border-top: 1px solid #d4cdc0;
  border-bottom: 1px solid #d4cdc0;
  min-height: 88vh;
  padding: 1.5rem 0 0;
  overflow: hidden;
}
@media (max-width: 720px) {
  #abt .tf-section { min-height: 74vh; padding: 1rem 0 0; }
}

/* =========================================================
 * Top bar — progress + back button
 * ========================================================= */
#abt .tf-topbar {
  position: relative;
  z-index: 10;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#abt .tf-back {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: 1px solid #d4cdc0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #565658;
  transition: all 0.18s ease;
  padding: 0;
}
#abt .tf-back:hover { border-color: #026DBF; color: #026DBF; transform: translateX(-2px); }
#abt .tf-back:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
#abt .tf-back svg { width: 16px; height: 16px; }

#abt .tf-progress {
  flex: 1;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
#abt .tf-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #026DBF 0%, #3B9DEB 100%);
  width: 0%;
  border-radius: 999px;
  transition: width 0.42s cubic-bezier(.22,.61,.36,1);
}
#abt .tf-step-counter {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #565658;
  letter-spacing: 0.06em;
  min-width: 64px;
  text-align: right;
}
#abt .tf-step-counter strong { color: #026DBF; font-weight: 700; }

/* =========================================================
 * Step container — absolute-positioned children, cross-fade
 * ========================================================= */
#abt .tf-stage {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  min-height: 64vh;
}

#abt .tf-step {
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: opacity 0.36s ease, transform 0.42s cubic-bezier(.22,.61,.36,1);
}
#abt .tf-step.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  left: 0; right: 0;
}
#abt .tf-step.exiting {
  opacity: 0;
  transform: translateX(-40px);
}

/* Question header */
#abt .tf-q-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #026DBF;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
#abt .tf-q-num .arrow {
  display: inline-block;
  transform: rotate(90deg);
  font-size: 0.6rem;
  opacity: 0.7;
}

#abt .tf-q-h {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.18;
  color: #0a0a0c;
  margin: 0 0 0.7rem;
}
#abt .tf-q-h em { color: #026DBF; font-style: italic; font-weight: 700; }

#abt .tf-q-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: #565658;
  max-width: 56ch;
  margin: 0 0 1.8rem;
}
#abt .tf-q-sub strong { color: #0a0a0c; font-weight: 600; }

/* =========================================================
 * Option cards — radio buttons, auto-advance on click
 * ========================================================= */
#abt .tf-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 640px;
}

#abt .tf-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1.5px solid #d4cdc0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: #0a0a0c;
  line-height: 1.4;
}
#abt .tf-opt:hover {
  border-color: #026DBF;
  background: #f4f9fd;
  transform: translateX(2px);
  box-shadow: 0 2px 8px -2px rgba(2,109,191,0.18);
}
#abt .tf-opt:focus-visible {
  outline: none;
  border-color: #026DBF;
  background: #f4f9fd;
  box-shadow: 0 0 0 3px rgba(2,109,191,0.18);
}
#abt .tf-opt.selected {
  border-color: #026DBF;
  background: #e8f3fc;
  box-shadow: inset 0 0 0 1px #026DBF;
}

/* Hotkey badge — letter on the left of each option (A, B, C, ...) */
#abt .tf-opt-key {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1.5px solid #d4cdc0;
  border-radius: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #565658;
  transition: all 0.16s ease;
}
#abt .tf-opt:hover .tf-opt-key,
#abt .tf-opt.selected .tf-opt-key {
  background: #026DBF;
  border-color: #026DBF;
  color: #fff;
}

#abt .tf-opt-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
#abt .tf-opt-text .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #565658;
  font-weight: 500;
}

/* Checkmark on right when selected */
#abt .tf-opt-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  color: #026DBF;
  opacity: 0;
  transition: opacity 0.16s ease;
}
#abt .tf-opt.selected .tf-opt-check { opacity: 1; }
#abt .tf-opt-check svg { width: 18px; height: 18px; }

/* =========================================================
 * Multi-select (checkbox grid) — same visual but no auto-advance
 * ========================================================= */
#abt .tf-multi { max-width: 720px; }
#abt .tf-multi .tf-opt-key { border-radius: 3px; } /* square corners hint at "checkbox" not "radio" */

/* =========================================================
 * Number input + slider
 * ========================================================= */
#abt .tf-input-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 520px;
}
#abt .tf-input {
  flex: 1;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #0a0a0c;
  background: #fff;
  border: 1.5px solid #d4cdc0;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.16s ease;
  width: 100%;
  -moz-appearance: textfield;
}
#abt .tf-input::-webkit-outer-spin-button,
#abt .tf-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#abt .tf-input:focus { border-color: #026DBF; box-shadow: 0 0 0 3px rgba(2,109,191,0.18); }
#abt .tf-input-suffix {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #565658;
  font-weight: 600;
  white-space: nowrap;
}

/* Slider */
#abt .tf-slider-wrap { max-width: 640px; }
#abt .tf-slider-readout {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  color: #026DBF;
  margin-bottom: 0.4rem;
}
#abt .tf-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  outline: none;
  margin: 0.6rem 0;
}
#abt .tf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: #026DBF;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2,109,191,0.35);
  transition: transform 0.12s ease;
}
#abt .tf-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
#abt .tf-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: #026DBF;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(2,109,191,0.35);
}
#abt .tf-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #565658;
  margin-top: 0.3rem;
}

/* =========================================================
 * Footer — Continue button + keyboard hint
 * ========================================================= */
#abt .tf-foot {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#abt .tf-continue {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #026DBF;
  color: #fff;
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 12px -4px rgba(2,109,191,0.5);
}
#abt .tf-continue:hover { background: #024a85; box-shadow: 0 6px 16px -4px rgba(2,109,191,0.6); transform: translateY(-1px); }
#abt .tf-continue:disabled { background: #b8b3a8; cursor: not-allowed; box-shadow: none; transform: none; }
#abt .tf-continue .arrow { transition: transform 0.18s ease; }
#abt .tf-continue:hover .arrow { transform: translateX(3px); }

#abt .tf-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #565658;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
#abt .tf-hint kbd {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  background: #fff;
  border: 1px solid #d4cdc0;
  border-bottom-width: 2px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.72rem;
  color: #0a0a0c;
  font-weight: 700;
}

/* =========================================================
 * Welcome screen (step 0)
 * ========================================================= */
#abt .tf-welcome { max-width: 700px; }
#abt .tf-welcome .tf-q-h { font-size: clamp(1.8rem, 5vw, 2.8rem); }
#abt .tf-welcome .tf-meta-row {
  display: flex;
  gap: 1.6rem;
  margin: 1.2rem 0 1.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #565658;
  flex-wrap: wrap;
}
#abt .tf-welcome .tf-meta-row .item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
#abt .tf-welcome .tf-meta-row .item strong { color: #026DBF; font-weight: 700; }
#abt .tf-welcome .tf-meta-row svg { width: 16px; height: 16px; color: #026DBF; }

/* =========================================================
 * RESULT screen — final step. Big reveal + teaser + email gate.
 * ========================================================= */
#abt .tf-result {
  max-width: 820px;
  animation: tfResultFadeIn 0.6s ease 0.1s both;
}
@keyframes tfResultFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

#abt .tf-result-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: #026DBF;
  padding: 0.32rem 0.7rem;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#abt .tf-result-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: #0a0a0c;
  margin: 0.2rem 0 0.4rem;
}
#abt .tf-result-headline .unit {
  font-size: 0.5em;
  color: #565658;
  font-weight: 600;
  margin-left: 0.2em;
  vertical-align: 0.18em;
  letter-spacing: -0.01em;
}
#abt .tf-result-headline .accent { color: #026DBF; }

#abt .tf-result-subhead {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #565658;
  max-width: 60ch;
  margin: 0 0 2rem;
}
#abt .tf-result-subhead strong { color: #0a0a0c; }

/* Risk-tier chip on the headline row */
#abt .tf-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.6rem;
  padding: 0.32rem 0.7rem;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.55em;
}
#abt .tf-tier.low      { background: #d6f0db; color: #1d6f3a; }
#abt .tf-tier.medium   { background: #fde9c5; color: #8a5908; }
#abt .tf-tier.high     { background: #fbd5cf; color: #a23316; }
#abt .tf-tier.critical { background: #f8c0c0; color: #7a1010; }

/* 4-up supporting metrics */
#abt .tf-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.2rem 0;
  border-top: 1px dashed #d4cdc0;
  border-bottom: 1px dashed #d4cdc0;
}
#abt .tf-metric .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #565658;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
#abt .tf-metric .val {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a0a0c;
  line-height: 1.1;
}
#abt .tf-metric .val .small { font-size: 0.7em; color: #565658; font-weight: 600; }

/* "What this means" interpretation */
#abt .tf-interp {
  background: #fff;
  border: 1px solid #e7e2d9;
  border-left: 4px solid #026DBF;
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  margin: 0 0 2rem;
}
#abt .tf-interp h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #026DBF;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
#abt .tf-interp p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #0a0a0c;
  margin: 0;
}
#abt .tf-interp p strong { color: #026DBF; }

/* Top gaps list */
#abt .tf-gaps {
  margin: 0 0 2.2rem;
}
#abt .tf-gaps-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #565658;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
#abt .tf-gaps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gap-counter;
}
#abt .tf-gaps li {
  counter-increment: gap-counter;
  display: flex;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed #e7e2d9;
  font-size: 0.94rem;
  line-height: 1.5;
  color: #0a0a0c;
}
#abt .tf-gaps li:last-child { border-bottom: none; }
#abt .tf-gaps li::before {
  content: counter(gap-counter, decimal-leading-zero);
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #026DBF;
  width: 28px;
}

/* "What's in the full report" teaser — the conversion-driver */
#abt .tf-teaser {
  background: linear-gradient(135deg, #0a0a0c 0%, #1a1a1f 100%);
  color: #fafaf9;
  border-radius: 8px;
  padding: 1.8rem 1.8rem 1.6rem;
  margin: 0 0 1.6rem;
  position: relative;
  overflow: hidden;
}
#abt .tf-teaser::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(2,109,191,0.35) 0%, transparent 70%);
  pointer-events: none;
}
#abt .tf-teaser-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7fbef0;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
#abt .tf-teaser h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 1rem;
}
#abt .tf-teaser h3 em { color: #7fbef0; font-style: italic; font-weight: 700; }
#abt .tf-teaser-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  #abt .tf-teaser-list { grid-template-columns: repeat(2, 1fr); column-gap: 1.6rem; }
}
#abt .tf-teaser-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #d6d3d1;
}
#abt .tf-teaser-list li::before {
  content: '+';
  flex-shrink: 0;
  color: #7fbef0;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

#abt .tf-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0a0a0c;
  border: none;
  padding: 0.95rem 1.6rem;
  border-radius: 5px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}
#abt .tf-teaser-cta:hover {
  background: #7fbef0;
  color: #0a0a0c;
  transform: translateY(-1px);
}
#abt .tf-teaser-cta .arrow { transition: transform 0.18s ease; }
#abt .tf-teaser-cta:hover .arrow { transform: translateX(3px); }
#abt .tf-teaser-foot {
  margin-top: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #a8a29e;
  letter-spacing: 0.04em;
}

/* Disclaimer — system-generated caveat + nudge to book a call */
#abt .tf-disclaimer {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  background: rgba(86,86,88,0.06);
  border-left: 3px solid #a8a29e;
  border-radius: 3px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #565658;
}
#abt .tf-disclaimer strong {
  color: #0a0a0c;
  font-weight: 700;
}
#abt .tf-disclaimer a {
  color: #026DBF;
  text-decoration: underline;
  text-decoration-color: rgba(2,109,191,0.4);
  text-underline-offset: 2px;
  font-weight: 600;
  transition: text-decoration-color 0.18s ease;
}
#abt .tf-disclaimer a:hover {
  text-decoration-color: #026DBF;
}

/* Secondary action — "restart" or "see all calculators" */
#abt .tf-secondary-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
}
#abt .tf-secondary-row a {
  color: #565658;
  text-decoration: none;
  border-bottom: 1px dashed #565658;
  transition: color 0.16s ease;
  cursor: pointer;
}
#abt .tf-secondary-row a:hover { color: #026DBF; border-color: #026DBF; }

/* =========================================================
 * Welcome / Hero — replaces the old .calc-hero on tf-enabled pages
 * ========================================================= */
#abt .tf-hero {
  background: #0a0a0c;
  color: #fafaf9;
  padding: 3rem 0 2.4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#abt .tf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(2,109,191,0.32) 0%, transparent 60%);
  pointer-events: none;
}
#abt .tf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
#abt .tf-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7fbef0;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
#abt .tf-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 0.7rem;
}
#abt .tf-hero-title em { color: #7fbef0; font-style: italic; font-weight: 700; }
#abt .tf-hero-lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d6d3d1;
  max-width: 60ch;
  margin: 0 0 1.4rem;
}
#abt .tf-hero-meta {
  display: flex;
  gap: 1.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  color: #a8a29e;
  flex-wrap: wrap;
}
#abt .tf-hero-meta .item { display: inline-flex; align-items: center; gap: 0.4rem; }
#abt .tf-hero-meta strong { color: #7fbef0; font-weight: 700; }

/* =========================================================
 * Reduced motion — kill slide transitions, just fade
 * ========================================================= */
@media (prefers-reduced-motion: reduce) {
  #abt .tf-step { transition: opacity 0.2s ease; transform: none; }
  #abt .tf-step.exiting { transform: none; }
  #abt .tf-progress-fill { transition: width 0.2s linear; }
  #abt .tf-result { animation: none; }
}

/* =========================================================
 * Mobile tightening
 * ========================================================= */
@media (max-width: 720px) {
  #abt .tf-topbar { padding: 0 1rem 1.1rem; }
  #abt .tf-stage { padding: 0 1rem 3rem; min-height: 58vh; }
  #abt .tf-step { left: 1rem; right: 1rem; }
  #abt .tf-q-h { font-size: 1.4rem; }
  #abt .tf-q-sub { font-size: 0.95rem; margin-bottom: 1.4rem; }
  #abt .tf-opt { padding: 0.75rem 0.9rem; font-size: 0.95rem; }
  #abt .tf-opt-key { width: 26px; height: 26px; font-size: 0.72rem; }
  #abt .tf-foot { gap: 0.7rem; }
  #abt .tf-continue { padding: 0.78rem 1.3rem; font-size: 0.92rem; }
  #abt .tf-hint { font-size: 0.68rem; }
  #abt .tf-result-headline { font-size: 2.4rem; }
  #abt .tf-tier { display: block; margin-left: 0; margin-top: 0.4rem; vertical-align: baseline; }
  #abt .tf-teaser { padding: 1.4rem 1.2rem 1.2rem; }
  #abt .tf-teaser-list { grid-template-columns: 1fr; }
}
