/* ========================================================================
   DEPLOY PATH: /css/teaser.cc94cb4a.css
   Tepuy Solutions — shared design system for the lead-gen teaser
   calculators (retirement-teaser.html, pvs-teaser.html).

   Deliberately NOT related to css/tepuy.css or the four full calculators'
   own CSS — distinct visual identity, distinct component set, distinct
   file. Only shared BETWEEN the two teasers.

   Theming: each page sets --accent / --accent-2 on :root inline (a few
   lines in the page's own <style>) to differentiate retirement (amber)
   from property-vs-shares (teal/terracotta) in the dark theme (default)
   below, and clay/moss vs. clay/sky in the light theme further down —
   while sharing every other token and component here.

   Light theme: opt in with <html data-theme="light">, read from a
   ?theme=light URL param (see js/teaser-common.js's readParams() and the
   inline script in each teaser HTML file that applies it before first
   paint). Anything other than exactly "light" — including no param at
   all — stays on the dark theme, so existing embeds without the param
   keep rendering exactly as before. Additive only: every rule under the
   original :root below is untouched; the light variant is a full second
   token set under :root[data-theme="light"], not an override of
   individual dark values.

   Responsive: container queries only, no viewport @media for layout —
   .teaser-app is the container (container-type: inline-size), so this
   reflows correctly at any embed size, matching the pattern already
   proven for the four full calculators this session.
   ======================================================================== */

:root {
  --bg:            #0a0e14;
  --bg-elevated:   #131924;
  --bg-track:      #1b2330;
  --text:          #f5f2ec;
  --text-muted:    #8b93a1;
  --border:        rgba(255,255,255,0.08);
  --accent:        #ffb74a;   /* overridden per-page */
  --accent-2:      #3ddbd9;   /* overridden per-page (second comparison value) */
  /* Dark-theme default: just aliases --accent — see the light theme's own
     --accent-text below for why light needs a darkened variant instead. */
  --accent-text:   var(--accent);
  --radius-lg:     20px;
  --radius-md:     12px;
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Brand palette, copied (not inherited — see the file banner above:
     teaser.css deliberately never loads css/tepuy.css) from that file's
     own :root. Keep these four in sync with css/tepuy.css's
     --ink/--clay/--moss/--bone if the brand palette ever changes; --sky is
     tepuy.css's approved-but-otherwise-unused secondary marketing tint,
     used here as the PvS light theme's second accent. Available
     regardless of theme; only actually consumed by the light theme below
     and by each page's own light accent override. */
  --ink:  #0E1512;
  --clay: #C97A3A;
  --moss: #4C7A5B;
  --bone: #F3F1E7;
  --sky:  #8FADC2;
}

/* ── Light theme (?theme=light) ──────────────────────────────────────────
   A deliberate light design built on the brand's clay/moss/ink/bone
   palette — not an inverted negative of the dark recipe above. --bg-track/
   --text-muted/--border are derived via color-mix off --ink/--bone rather
   than given their own flat hex, so they stay visually related to --text/
   --bg the same way the dark theme's flat greys do.

   --text-muted: round-7 accessibility audit (axe-core) found the original
   55% mix landed at #7a7e7d on white — 4.11:1, fails WCAG AA's 4.5:1 for
   normal-weight text at the sizes it's actually used at (field labels,
   disclaimer, bar names — none of them qualify as "large text"). Bumped to
   60% ink — 60% is the minimum that clears 4.5:1 with margin (58% is the
   exact threshold); computed with the same relative-luminance/contrast-
   ratio math this file's own applyAccentOverride() already uses. */
:root[data-theme="light"] {
  --bg:            var(--bone);
  --bg-elevated:   #ffffff;
  --bg-track:      color-mix(in srgb, var(--ink) 8%, var(--bone));
  --text:          var(--ink);
  --text-muted:    color-mix(in srgb, var(--ink) 60%, transparent);
  --border:        color-mix(in srgb, var(--ink) 10%, transparent);
  /* --accent-text: round-7 fix for the same reason — raw --accent (clay,
     #C97A3A) on white is only 3.32:1 at the small/bold sizes .teaser-kicker
     and .teaser-field-value span use it at. Mixed 75% toward --ink clears
     4.5:1 (80% is the exact threshold) while still reading as clay, not
     ink. Uses var(--accent) rather than a fixed hex so it stays correct if
     an adviser overrides the accent via ?accent=#hex (applyAccentOverride
     rewrites --accent, and this recomputes from it automatically) — not a
     new formal contrast guard for arbitrary custom accents, just a fix
     that happens to generalise. Only in the light theme: the dark theme's
     accents were designed against a near-black background, where this
     problem doesn't occur (see the color-contrast audit — dark theme
     wasn't flagged), so --accent-text there just aliases --accent. */
  --accent-text:   color-mix(in srgb, var(--accent) 75%, var(--ink));
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── App shell — the container-query root ────────────────────────────── */
.teaser-app {
  container-type: inline-size;
  container-name: teaser;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 55%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 50%),
    var(--bg);
  padding: 14px 16px 10px;
}
/* Light theme needs its own, lighter-touch recipe here, not a shared rule:
   the dark recipe above mixes each accent toward transparent, which reads
   as a soft glow sitting on near-black (--bg) but turns into a muddy
   smudge sitting on --bone — transparent-mixed saturated accent colors
   read very differently depending on what's underneath. Mixing toward
   --bg instead (so the gradient fades to the page color, not to nothing)
   plus lower percentages (8%/6% vs. 14%/10%) keeps it a subtle tint. */
:root[data-theme="light"] .teaser-app {
  background:
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--accent) 8%, var(--bg)), var(--bg) 55%),
    radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--accent-2) 6%, var(--bg)), var(--bg) 50%),
    var(--bg);
}

.teaser-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

/* ── Eyebrow / kicker ─────────────────────────────────────────────────── */
.teaser-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.teaser-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 1px var(--accent);
}

.teaser-title {
  font-size: clamp(1.1rem, 5.5cqi, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}
.teaser-title em {
  font-style: normal;
  color: var(--accent);
}

/* ── Inputs (sliders) ─────────────────────────────────────────────────── */
.teaser-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 14px 13px;
}

.teaser-field { display: flex; flex-direction: column; gap: 3px; }

.teaser-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.teaser-field-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}
.teaser-field-value {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.teaser-field-value span { color: var(--accent-text); }

/* The input's box is as tall as the thumb (26px, below), and the 6px track is
   drawn inside it by the track pseudo-elements, so the thumb sits inside its
   own field. Before, the box was the 6px track itself and the 26px thumb hung
   10px out of it on each side: it covered the label row above by 5px (7px in
   the narrow tier) on every slider of every widget, and the next field's label
   by up to 3px (measured, 11 Nov 2026, test/tools/teaser-slider-clearance.js).
   The track looks the same: same height, radius and colour, centred where the
   thumb is. The negative bottom margin gives back part of the 8px gap the old
   thumb already hung into: 3px clear above (the field's own gap) and 3px clear
   below (8px - 5px), so each slider field grows by 11px, not 16px. Every
   slider is the last thing in its field (125 of 125), so nothing in the field
   is pulled onto the thumb. */
input[type="range"].teaser-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  outline: none;
  margin: 0 0 -5px;
}
input[type="range"].teaser-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: var(--bg-track);
}
/* Thumb size: round-7 a11y audit measured the REAL interactive hit area
   (not just the visible circle — Playwright click-testing at increasing
   vertical offsets from track center to find where hit-testing actually
   stops) at ~22px, matching the old 22px width/height here almost exactly
   — meaning the thumb's own box IS the real touch target, with the 6px
   track contributing nothing extra. 22px sits just under the 24px
   absolute-floor touch-target guidance. Bumped to 26px: clears the floor
   with a few px of real margin without ballooning to 44px, which would
   look oversized against this widget's compact, single-screen layout —
   a deliberate proportionality call, not the ideal-but-heavier option. */
input[type="range"].teaser-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent);
  cursor: pointer;
  transition: transform 0.12s ease;
  /* With a styled runnable track, WebKit puts the thumb's top on the track's
     top: (6px track - 26px thumb) / 2 centres it again. */
  margin-top: -10px;
}
input[type="range"].teaser-slider::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type="range"].teaser-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  cursor: pointer;
}
input[type="range"].teaser-slider::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: var(--bg-track);
}
/* Keyboard focus (round 11 QA). The slider sets `outline: none` above and
   nothing replaced it, so a keyboard user could not see which slider had
   focus on ANY widget or teaser — measured: outline none, no box-shadow,
   on all 48 round 11 controls while :focus-visible matched. WCAG 2.4.7.
   A ring on the thumb, only for keyboard focus (:focus-visible), in the
   theme's text colour so it clears 3:1 against the card in both themes;
   mouse and touch rendering are unchanged. */
input[type="range"].teaser-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--bg-elevated), 0 0 0 6px var(--text);
}
input[type="range"].teaser-slider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px var(--bg-elevated), 0 0 0 6px var(--text);
}

/* Native <select> styled to match the slider fields — added for the
   widget-suite draft preview (state pickers etc.), additive only. */
select.teaser-select {
  width: 100%;
  padding: 8px 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--bg-track);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}
select.teaser-select:focus-visible {
  border-color: var(--accent);
}

/* Native date input, styled to match .teaser-select above — same origin/
   scope, added for the CGT widget's sale-date field. */
input[type="date"].teaser-date {
  width: 100%;
  padding: 8px 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--bg-track);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  color-scheme: light dark;
}
input[type="date"].teaser-date:focus-visible {
  border-color: var(--accent);
}

/* Checkbox toggle row — same origin/scope as .teaser-select above. */
.teaser-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.teaser-toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.teaser-toggle-row label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

/* Round 13 — additive only; no existing widget uses these classes. */
/* Exact-figure entry (a year-to-date income is a number off a payslip, not
   a slider position). Same box as .teaser-select / .teaser-date. */
input[type="number"].teaser-number {
  width: 100%;
  padding: 8px 10px;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--bg-track);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-variant-numeric: tabular-nums;
}
input[type="number"].teaser-number:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
/* The table a result was computed from (income tax brackets). */
.teaser-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.teaser-table caption {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 4px;
}
.teaser-table th, .teaser-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border);
  text-align: right;
}
.teaser-table th:first-child, .teaser-table td:first-child { text-align: left; }
.teaser-table thead th { color: var(--text-muted); font-weight: 600; }
.teaser-table tr.is-current td { font-weight: 700; color: var(--accent-text); }
/* A statement the law says must accompany a figure (the comparison rate
   warning, NCCP Regulations reg 99/71). Readable size, directly under the
   figure — deliberately NOT the 0.6rem footer disclaimer. */
.teaser-warning {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg-track);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 0;
}

/* ── Result block ─────────────────────────────────────────────────────── */
.teaser-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 0;
}
.teaser-result-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.teaser-result-figure {
  font-size: clamp(1.9rem, 12cqi, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.teaser-result-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.35;
}
.teaser-result-sub strong { color: var(--text); font-weight: 600; }

/* ── Comparison bars — the visual IS the result ──────────────────────── */
.teaser-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}
.teaser-bar-row { display: flex; flex-direction: column; gap: 3px; }
.teaser-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  /* round 12: without a gap a long name ran straight into its value
     ("Compounded annually$16,289"); only matters when a row is full. */
  gap: 10px;
  font-size: 0.74rem;
}
.teaser-bar-name { font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.teaser-bar-name::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--dot, var(--accent));
  flex-shrink: 0;
}
.teaser-bar-val { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }

.teaser-bar-track {
  position: relative;
  height: 11px;
  border-radius: 99px;
  background: var(--bg-track);
  overflow: hidden;
}
.teaser-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 99px;
  background: var(--fill, var(--accent));
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.teaser-bar-row--a .teaser-bar-fill,
.teaser-bar-row--a .teaser-bar-name::before { --fill: var(--accent); --dot: var(--accent); }
.teaser-bar-row--b .teaser-bar-fill,
.teaser-bar-row--b .teaser-bar-name::before { --fill: var(--accent-2); --dot: var(--accent-2); }
/* A row that reports a figure rather than a slice or a bar series (round
   11): no colour key, because a key implies a share of the ring or bars
   above that the figure does not have. Additive — no existing row uses it. */
.teaser-bar-row--plain .teaser-bar-name::before { display: none; }
/* A one-line note under the inputs, e.g. "starting values are examples"
   (round 11). */
.teaser-note { font-size: 0.72rem; color: var(--text-muted); margin: 2px 0 0; }

/* ── Proportion ring — for the handful of widgets (round 4) where the
   result is genuinely a split of one whole (mortgage principal/interest,
   super cap usage) rather than a head-to-head comparison — see
   TeaserCommon.setRing() in teaser-common.js. Pure inline SVG, no chart
   library, no new request. Additive only: every widget/teaser that
   doesn't include this markup is completely unaffected. Reuses
   .teaser-bar-head/.teaser-bar-name/.teaser-bar-val (just above, without
   .teaser-bar-track) as its legend rows, so the only new rules needed
   here are for the ring itself. */
.teaser-ring-wrap {
  display: flex;
  justify-content: center;
  padding: 2px 0 4px;
}
.teaser-ring {
  width: 148px;
  height: 148px;
  position: relative;
  flex-shrink: 0;
}
.teaser-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* first arc starts at 12 o'clock, draws clockwise */
}
.teaser-ring .ring-track { fill: none; stroke: var(--bg-track); stroke-width: 10; }
.teaser-ring .ring-arc {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dasharray 0.7s cubic-bezier(0.22, 1, 0.36, 1), stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.teaser-ring .ring-arc-a { stroke: var(--accent); }
.teaser-ring .ring-arc-b { stroke: var(--accent-2); }
.teaser-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.teaser-ring-label-figure {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.teaser-ring-label-sub {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
  max-width: 9ch;
}
.teaser-ring-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 220px;
  margin: 0 auto;
}

/* ── Eligibility checklist — for widgets whose result is a rules/pass-fail
   check (First Home Guarantee) rather than a number or a proportion, so
   neither the bar comparison nor the proportion ring above fits. Added
   round 4 for widgets/first-home-guarantee.html. */
.teaser-check-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.teaser-check-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.teaser-check-icon { font-size: 0.95rem; line-height: 1.3; flex-shrink: 0; }
.teaser-check-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.teaser-check-scheme { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.teaser-check-note { font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; }

/* Narrow container-query tier — shrink the ring a touch to match the same
   tight-embed allowance .teaser-inputs/.teaser-result-figure already get. */
@container teaser (max-width: 340px) {
  .teaser-ring { width: 120px; height: 120px; }
  .teaser-ring-label-figure { font-size: 1.3rem; }
}

/* ── CTA ──────────────────────────────────────────────────────────────── */
.teaser-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.teaser-cta-wrap.visible { opacity: 1; transform: translateY(0); }

.teaser-cta-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 12px 20px;
  border-radius: 99px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0a0e14;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.teaser-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.teaser-cta-btn:active { transform: translateY(0); }
.teaser-cta-btn svg { flex-shrink: 0; }

/* Light theme: #0a0e14 above is a dark-theme-only assumption (it happens
   to read fine on both dark-theme accent pairs, but was never checked
   against the light ones). Checked here against WCAG AA (4.5:1, since
   0.92rem/700 doesn't clear the "large text" bold threshold of 14pt):
   var(--ink) directly on plain --accent/--accent-2 passes for both teasers
   EXCEPT retirement's --moss end (3.74:1 — fails). Lightening both
   gradient stops 85%-toward-white fixes that (moss end -> 5.02:1) and
   still comfortably passes every other stop/combination checked (clay
   6.80:1, sky 9.07:1, both gradient midpoints >5.5:1) — applied to both
   stops uniformly, not just retirement's, so the two teasers' buttons
   stay visually consistent with each other. */
:root[data-theme="light"] .teaser-cta-btn {
  color: var(--ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, white), color-mix(in srgb, var(--accent-2) 85%, white));
}

/* ── Disclaimer + attribution — always visible, never scrolled-to ──────
   Deliberately small but NOT hidden or collapsed; sits directly under the
   CTA so it's on-screen at any reasonable embed height. */
.teaser-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.teaser-disclaimer {
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--text-muted);
  opacity: 0.85;
}
.teaser-attribution {
  font-size: 0.64rem;
  color: var(--text-muted);
}
.teaser-attribution a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.teaser-attribution a:hover { text-decoration: underline; }

/* ── Container query tiers ──────────────────────────────────────────────
   Narrow: tight ad-slot-style embeds (e.g. 300x600 style placements). */
@container teaser (max-width: 340px) {
  .teaser-app { padding: 8px 10px 6px; }
  .teaser-inner { gap: 6px; }
  .teaser-kicker { margin-bottom: 0; }
  .teaser-inputs { padding: 8px 12px 9px; gap: 5px; }
  .teaser-field { gap: 1px; }
  input[type="range"].teaser-slider { margin-bottom: -4px; }   /* 1px clear above and below in the 5px gap */
  .teaser-result-figure { font-size: clamp(1.5rem, 14cqi, 2.1rem); }
  .teaser-result-sub { font-size: 0.72rem; }
  .teaser-bars { gap: 4px; }
  .teaser-cta-btn { padding: 9px 16px; font-size: 0.83rem; }
  .teaser-foot { padding-top: 5px; }
}

/* Wide: comfortable desktop-preview embeds get a bit more breathing room */
@container teaser (min-width: 480px) {
  .teaser-inner { max-width: 480px; gap: 16px; }
  .teaser-result-figure { font-size: clamp(2.4rem, 8cqi, 3.6rem); }
}
