/* ---- Webflow parity ---- */
.w-embed { display: contents; }
h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.17em; }
h4 { font-size: 1em; } h5 { font-size: 0.83em; } h6 { font-size: 0.67em; }
h1, h2, h3, h4, h5, h6 { line-height: inherit; font-weight: bold; margin: 0; }
label { display: inline; margin-bottom: 0; font-weight: inherit; }
blockquote { border-left: 0; padding: 0; font-size: inherit; line-height: inherit; }
img { vertical-align: baseline; }

/*
 * XLeads — page base: the Webflow site's global styles, as reference
 * (SPEC v2 §3, "Quiet frame, loud product").
 *
 * Every section's own CSS (page/<id>.css) builds on this. Islands (React in
 * shadow roots) read the same `--xleads-*` variables, so retheming here
 * retheme them too. src/runtime/tokens.test.ts fails if a value below drifts
 * from src/runtime/tokens.css.ts or motion.ts, if a weight other than
 * 400 / 500 / 600 appears, or a font-size outside the §3.3 scale.
 *
 * Three variable families:
 *   --xleads-*  Webflow variables: colour, type, radii, shadows, spacing, layout.
 *   --ground-*  "the colour for this ground", set by .sec-dark / .sec-stage /
 *               .sec-paper. Components below (and islands) use these, so a
 *               button or chip is right on any ground without a variant.
 *   --xl-*      motion tokens (SPEC v2 §8), identical to src/runtime/motion.ts.
 *
 * Breakpoints are Webflow's: ≥1280 (design) · 992–1279 · 768–991 · ≤767
 * (480–767 and ≤479).
 *
 * The red budget (§3.2): outside a product frame red is only "One login.",
 * the filled buy button (one per viewport), the XPlan card's border / glow /
 * ribbon / Save chip, and the hub hotspot ring. Nothing here adds another.
 *
 * Deprecated aliases kept until the lanes that still read them move off
 * (listed in tokens.css.ts): the v1 colour / radius / shadow names, and the
 * classes .eyebrow (now a quiet sentence-case micro line), .mono, .seal (now
 * a quiet lock line), .tray (now no box), .btn-secondary (= .btn-ghost),
 * .btn-small (= .btn-sm), .sec-surface (= .sec-stage), .statement (= H2),
 * .chip.
 */

/* Type is Poppins only (owner decision 3: the face xleads.com uses), loaded
   from Google Fonts at 400 / 500 / 600. Until it arrives, text sets in
   "Poppins Fallback": local Arial (Liberation Sans on Linux) scaled to
   Poppins' width and given Poppins' vertical metrics (ascent 1050, descent
   350, line gap 100 per 1000), so the swap moves nothing (CLS ≤ 0.05).
   size-adjust is the measured Poppins ÷ Arial width of this page's own copy:
   1.07 for regular text, 1.055 for the 600 headings against Arial Bold.
   Each override = Poppins' metric ÷ size-adjust. */
@font-face {
  font-family: "Poppins Fallback";
  font-weight: 100 549;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 98.13%;
  descent-override: 32.71%;
  line-gap-override: 9.35%;
}
@font-face {
  font-family: "Poppins Fallback";
  font-weight: 550 900;
  src:
    local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"),
    local("LiberationSans-Bold"), local("Helvetica Bold");
  size-adjust: 105.5%;
  ascent-override: 99.53%;
  descent-override: 33.18%;
  line-gap-override: 9.48%;
}

:root {
  /* §3.1 colour */
  --xleads-bg: #08080a;
  --xleads-stage: #08080a;
  --xleads-raised: #111113;
  --xleads-paper: #fafaf7;
  --xleads-card: #ffffff;
  --xleads-ink: #0a0a0b;
  --xleads-text: #fafafa;
  --xleads-muted: #b4b4bd;
  --xleads-faint: #6b6b76;
  --xleads-ink-muted: #55555f;
  --xleads-line: rgba(255, 255, 255, 0.08);
  --xleads-line-strong: rgba(255, 255, 255, 0.14);
  --xleads-line-paper: rgba(10, 10, 11, 0.08);
  --xleads-line-paper-strong: rgba(10, 10, 11, 0.14);
  --xleads-red: #f82032;
  --xleads-red-solid: #e21224;
  --xleads-red-hover: #c90f1f;
  --xleads-red-ink: #be0918;
  --xleads-focus: #ff5a66;
  --xleads-amber: #f5a524;
  --xleads-green: #22c55e;
  --xleads-glass: rgba(8, 8, 10, 0.8);
  /* aliases (v1 names; see the header) */
  --xleads-surface: #0e0e10;
  --xleads-surface-2: #151517;
  --xleads-surface-3: #1d1d20;
  --xleads-red-hot: #ff5a66;
  --xleads-red-soft: rgba(248, 32, 50, 0.14);
  --xleads-amber-ink: #8a5a00;
  --xleads-green-soft: rgba(34, 197, 94, 0.12);
  --xleads-green-ink: #137a38;
  --xleads-real: #ffffff;
  --xleads-unlit: #2a2a30;

  /* §3.3 type: one family, three weights. --xleads-font-mono is an alias of
     the same stack (there is no mono type). */
  --xleads-font-sans: Poppins, "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --xleads-font-mono: Poppins, "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* §3.5 radii + the three shadows */
  --xleads-r-chip: 6px;
  --xleads-r-control: 6px;
  --xleads-r-vignette: 12px;
  --xleads-r-frame: 12px;
  --xleads-shadow-frame: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --xleads-shadow-card: 0 0 0 1px rgba(10, 10, 11, 0.14);
  --xleads-shadow-xplan: 0 0 0 1px #0a0a0b;
  /* aliases (v1 names; see the header) */
  --xleads-r-input: 6px;
  --xleads-r-card: 12px;
  --xleads-r-tray: 12px;
  --xleads-r-pill: 6px;
  --xleads-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --xleads-underglow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  --xleads-glow: 0 0 0 1px #0a0a0b;
  --xleads-shadow-paper: 0 0 0 1px rgba(10, 10, 11, 0.14);
  --xleads-shadow-primary: 0 0 0 0 transparent;
  --xleads-ring-primary: 0 0 0 0 transparent;

  /* §3.4 spacing: the only steps page layout uses */
  --xleads-sp-4: 4px;
  --xleads-sp-8: 8px;
  --xleads-sp-12: 12px;
  --xleads-sp-16: 16px;
  --xleads-sp-24: 24px;
  --xleads-sp-32: 32px;
  --xleads-sp-48: 48px;
  --xleads-sp-64: 64px;
  --xleads-sp-96: 96px;
  --xleads-sp-128: 128px;
  --xleads-sp-160: 160px;

  /* §3.4 layout (responsive values below, under breakpoints) */
  --xleads-max: 1200px;
  --xleads-max-wide: 1200px;
  --xleads-gutter: 40px;
  --xleads-sec-pad: 96px;
  --xleads-nav-h: 64px;

  /* §8 motion */
  --xl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --xl-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --xl-ease-stamp: cubic-bezier(0.34, 1.56, 0.64, 1);
  --xl-dur-micro: 120ms;
  --xl-dur-ui: 200ms;
  --xl-dur-panel: 320ms;
  --xl-dur-reveal: 500ms;
  --xl-dur-count: 900ms;
  --xl-dur-draw: 600ms;
  --xl-dur-flip: 400ms;
  --xl-dur-coin: 400ms;
  --xl-dur-scan: 420ms;
  --xl-dur-stamp: 250ms;
  --xl-dur-pulse: 600ms;
  --xl-stagger-cards: 120ms;
  --xl-stagger-rows: 70ms;
  --xl-reveal-distance: 16px;
}

/* ------------------------------------------------------------- grounds -- */

/* Two grounds and one stage (§3.1, V2-D5): dark (nav → AI) → paper (support,
   pricing, FAQ) → dark (final CTA, footer). The hub band is the stage. */
:root,
.sec-dark,
.sec-stage,
.sec-surface,
.ground-dark {
  --ground-fg: var(--xleads-text);
  --ground-muted: var(--xleads-muted);
  --ground-accent: var(--xleads-red);
  --ground-seal: var(--xleads-muted);
  --ground-ok: var(--xleads-green);
  --ground-demo: var(--xleads-amber);
  --ground-line: var(--xleads-line);
  --ground-line-strong: var(--xleads-line-strong);
  --ground-focus: var(--xleads-focus);
  --ground-frame-shadow: var(--xleads-shadow-frame);
  --ground-ghost-fill: transparent;
  --ground-ghost-border: var(--xleads-line-strong);
  --ground-ghost-hover: rgba(255, 255, 255, 0.04);
}
.sec-paper,
.ground-paper {
  --ground-fg: var(--xleads-ink);
  --ground-muted: var(--xleads-ink-muted);
  --ground-accent: var(--xleads-red-ink);
  --ground-seal: var(--xleads-ink-muted);
  --ground-ok: var(--xleads-green-ink);
  --ground-demo: var(--xleads-amber-ink);
  --ground-line: var(--xleads-line-paper);
  --ground-line-strong: var(--xleads-line-paper-strong);
  /* #FF5A66 is under 3:1 on paper; the ring turns red-ink there. */
  --ground-focus: var(--xleads-red-ink);
  --ground-frame-shadow: var(--xleads-shadow-card);
  --ground-ghost-fill: transparent;
  --ground-ghost-border: var(--xleads-line-paper-strong);
  --ground-ghost-hover: rgba(10, 10, 11, 0.04);
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anchor jumps and scrollIntoView land under the sticky nav, not behind it. */
  scroll-padding-top: var(--xleads-nav-h);
  background: var(--xleads-bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--xleads-bg);
  color: var(--ground-fg);
  font-family: var(--xleads-font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul[role="list"],
ol[role="list"] {
  padding: 0;
  list-style: none;
}
img,
svg,
video,
picture,
canvas {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
a {
  color: inherit;
}
b,
strong {
  font-weight: 600;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: rgba(250, 250, 250, 0.22);
  color: #ffffff;
}
.sec-paper ::selection {
  background: rgba(10, 10, 11, 0.12);
  color: var(--xleads-ink);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--ground-focus);
  outline-offset: 2px;
}

/* Screen-reader only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--xleads-r-control);
  background: var(--xleads-text);
  color: var(--xleads-ink);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible {
  transform: none;
}

/* Custom elements are inline until defined; every xl-* wrapper is a block. */
xl-nav,
xl-hero,
xl-what,
xl-see-it-work,
xl-ai-agents,
xl-support,
xl-pricing,
xl-faq,
xl-final-cta,
xl-footer {
  display: block;
}

/* ---------------------------------------------------------- containers -- */

/* 1200 px for every section, the hub included (§3.4). At 1440 the first
   column starts at x = 120. */
.container {
  width: 100%;
  max-width: calc(var(--xleads-max) + 2 * var(--xleads-gutter));
  margin-inline: auto;
  padding-inline: var(--xleads-gutter);
}
/* Alias: the 1280 hub width is retired; it is the 1200 container now. */
.container-wide {
  max-width: calc(var(--xleads-max-wide) + 2 * var(--xleads-gutter));
}
/* 12 × 24 desktop, 8 × 24 tablet, 4 × 16 phone. */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* ------------------------------------------------------------- sections -- */

.sec {
  position: relative;
  display: block;
  padding-block: var(--xleads-sec-pad);
}
.sec-dark {
  background: var(--xleads-bg);
  color: var(--ground-fg);
}
/* The hub band (full bleed, no border): a stage, not a ground change. */
.sec-stage,
.sec-surface {
  background: var(--xleads-stage);
  color: var(--ground-fg);
}
.sec-paper {
  background: var(--xleads-paper);
  color: var(--ground-fg);
}
/* Rhythm: sections are parted by space, three steps of it (160 / 96 / 64),
   and at most one hairline (.sec-rule), never by a card. */
.sec-xl {
  padding-block: var(--xleads-sp-160);
}
.sec-sm {
  padding-block: var(--xleads-sp-64);
}
.sec-rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--xleads-gutter);
  right: var(--xleads-gutter);
  max-width: var(--xleads-max);
  margin-inline: auto;
  height: 1px;
  background: var(--ground-line-strong);
}
/* A section's heading block: H2 → 24 → lede, then 64 to the content. */
.sec-head {
  display: grid;
  gap: 24px;
  max-width: 996px;
  margin-bottom: 64px;
}
.sec-head-center {
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

/* ----------------------------------------------------------------- type -- */

/*
 * The closed type scale (design pass, Nov 11, 2026: editorial black):
 * 14 / 18 / 24 / 40 / 72, with 96 for the hero H1 and bare numerals and 20
 * for row titles. 12 is the frame caption only (.t-cap). Poppins 600 for
 * headlines and numerals, 400 for text. Every price and count is tabular.
 * The v1 class names (.h1 .h2 .h3 .lede .body .small .micro .price,
 * .statement = H2) are the same roles.
 */
.t-display,
.h1,
.t-h2,
.h2,
.statement,
.t-h3,
.h3,
.t-title,
.t-plan,
.t-price,
.price,
.t-num {
  font-family: var(--xleads-font-sans);
  font-weight: 600;
  color: var(--ground-fg);
  text-wrap: balance;
}
.t-display,
.h1 {
  font-size: 96px;
  line-height: 96px;
  letter-spacing: -0.045em;
}
.t-h2,
.h2,
.statement {
  font-size: 72px;
  line-height: 76px;
  letter-spacing: -0.04em;
}
/* The quiet H2 of a side column (FAQ, support). */
.t-h2s {
  font-family: var(--xleads-font-sans);
  font-weight: 600;
  color: var(--ground-fg);
  text-wrap: balance;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.03em;
}
.t-h3,
.h3 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
}
/* Row titles, FAQ questions. */
.t-title {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.01em;
}
.t-plan {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
}
.t-price,
.price {
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* A bare numeral: the figure is the picture. */
.t-num {
  font-size: 96px;
  line-height: 96px;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.t-lede,
.lede {
  max-width: 44ch;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--ground-muted);
  text-wrap: pretty;
}
.t-body,
.body {
  max-width: 60ch;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  text-wrap: pretty;
}
.t-ui {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
/* Footnotes, disclosures, labels: the 14 px floor. */
.t-small,
.small,
.t-micro,
.micro {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
.t-micro,
.micro {
  color: var(--ground-muted);
}
/* The one caption under a product frame ("Sample data"): the only 12. */
.t-cap {
  margin-top: 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--ground-muted);
}
.num {
  font-variant-numeric: tabular-nums;
}
/* Beta products (src/data/beta.ts): a small red "*beta" right after the
   name, held to it so it never wraps away, and the note the asterisk points
   to. Red on dark, red-ink on paper (the ground's own accent). */
.xl-beta-w {
  white-space: nowrap;
}
/* Smaller and quieter (owner, Nov 27, 2026: "make *beta in less big it looks
   off"): about 0.62 of the line's size, medium weight, lowercase, a light
   superscript that never moves the line height (line-height 0), 1px after
   the name and nothing after it, so a comma or period sits right after the
   mark. */
.xl-beta {
  position: static;
  margin: 0 0 0 1px;
  padding: 0;
  font-size: 0.62em;
  line-height: 0;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
  text-transform: lowercase;
  vertical-align: super;
  color: var(--ground-accent, #f82032);
}
/* Beside a logo picture: by the top of its plate. */
.b-logo-plate + .xl-beta {
  margin-left: 6px;
  font-size: 14px;
  line-height: 1;
  vertical-align: top;
}
.xl-beta-note {
  max-width: 68ch;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--ground-muted);
  text-wrap: pretty;
}
.xl-beta-star {
  font-weight: 600;
  color: var(--ground-accent, #f82032);
}

/* The one data highlight in a viewport: red text on dark, red-ink on paper. */
.accent {
  color: var(--ground-accent);
}
.muted {
  color: var(--ground-muted);
}
/* Alias: Poppins too (there is no mono type). */
.mono {
  font-family: var(--xleads-font-sans);
}
/* Deprecated: no eyebrows. Left as a quiet line for a fragment that still
   carries one. */
.eyebrow {
  font-family: var(--xleads-font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ground-muted);
}

/* -------------------------------------------------------------- buttons -- */

/*
 * §3.6 one component per job. Heights: 36 nav (.btn-sm) · 40 hub controls
 * (.btn-md) · 44 default · 52 hero, plan cards, plan sheet (.btn-lg) · 56
 * final CTA (.btn-xl). Padding 0 20 (24 for 52 / 56), radius 10, sentence
 * case. No glow: the red button's hover is a darker red.
 */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--xleads-r-control);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ground-fg);
  font-family: var(--xleads-font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    transform var(--xl-dur-micro) var(--xl-ease-out),
    background-color var(--xl-dur-ui) var(--xl-ease-out),
    border-color var(--xl-dur-ui) var(--xl-ease-out),
    color var(--xl-dur-ui) var(--xl-ease-out);
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  outline: 2px solid var(--ground-focus);
  outline-offset: 2px;
}
.btn-sm,
.btn-small {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-md {
  height: 40px;
}
.btn-lg {
  height: 52px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-xl {
  height: 56px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
/* Red primary: the buy button. At most one filled red button per viewport. */
.btn-primary {
  background: var(--xleads-red-solid);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--xleads-red-hover);
}
/* Neutral solid on dark: the nav CTA, hub Next. */
.btn-neutral {
  background: var(--xleads-text);
  color: var(--xleads-ink);
}
.btn-neutral:hover {
  background: #e4e4e7;
}
/* Ink solid on paper: Basic's buttons. */
.btn-ink {
  background: var(--xleads-ink);
  color: #ffffff;
}
.btn-ink:hover {
  background: #26262b;
}
/* Ghost: transparent with a strong hairline ("See it work", hub Back). */
.btn-ghost,
.btn-secondary {
  background: var(--ground-ghost-fill);
  border-color: var(--ground-ghost-border);
  color: var(--ground-fg);
}
.btn-ghost:hover,
.btn-secondary:hover {
  background: var(--ground-ghost-hover);
  border-color: rgba(255, 255, 255, 0.28);
}
.sec-paper .btn-ghost:hover,
.sec-paper .btn-secondary:hover {
  border-color: rgba(10, 10, 11, 0.28);
}
/* Text link: 15/500 with a trailing →; the arrow moves 2 px on hover and a
   1 px underline appears at offset 4. */
.btn-text,
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ground-fg);
  font-family: var(--xleads-font-sans);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: text-decoration-color var(--xl-dur-ui) var(--xl-ease-out);
}
.btn-text:hover,
.link:hover {
  text-decoration-color: currentColor;
}
/* The trailing arrow (a text "→" or a 16 px icon). */
.btn-arrow,
.link-arrow {
  display: inline-block;
  flex: none;
  text-decoration: none;
  transition: transform var(--xl-dur-ui) var(--xl-ease-out);
}
.btn:hover .btn-arrow,
.link:hover .link-arrow,
.btn-text:hover .link-arrow {
  transform: translateX(2px);
}

/* ---------------------------------------------------------------- labels -- */

/* There are no chips or pills (design pass, Nov 11, 2026). A frame's sample
   label is the plain .t-cap caption under it. */

/* Deprecated: the v1 XPlan seal, now the quiet lock line (§3.6: lock icon +
   the word "XPlan", never colour alone). */
.seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ground-muted);
  font-family: var(--xleads-font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  white-space: nowrap;
  vertical-align: middle;
}
.seal svg {
  flex: none;
  width: 16px;
  height: 16px;
}

/* Deprecated: the v1 CTA tray is no box now (never a card around buttons). */
.tray {
  display: grid;
  gap: 12px;
}
.tray-note {
  font-size: 14px;
  line-height: 22px;
  color: var(--ground-muted);
}

/* --------------------------------------------------------------- reveal -- */

/* The one frame fade-up (§8 c): opacity 0→1, y 16→0, 500 ms, once. Wired by
   the bundle (runtime/routes.ts): only frames below the fold get
   .reveal-armed, so without JS, above the fold or under reduced motion
   nothing is hidden. Put .reveal on product frames only, never on text. */
.reveal-armed {
  transition:
    opacity var(--xl-dur-reveal) var(--xl-ease-out) var(--xl-reveal-delay, 0ms),
    transform var(--xl-dur-reveal) var(--xl-ease-out) var(--xl-reveal-delay, 0ms);
}
.reveal-armed:not(.is-in) {
  opacity: 0;
  transform: translateY(var(--xl-reveal-distance));
}

/* ---------------------------------------------------------- breakpoints -- */

@media (max-width: 1279px) {
  :root {
    --xleads-gutter: 32px;
  }
  .t-display,
  .h1 {
    font-size: 72px;
    line-height: 76px;
    letter-spacing: -0.04em;
  }
}
@media (max-width: 991px) {
  :root {
    --xleads-nav-h: 56px;
  }
  .grid-12 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .t-h2,
  .h2,
  .statement {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.03em;
  }
  .t-num {
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -0.04em;
  }
}
@media (max-width: 767px) {
  :root {
    --xleads-gutter: 24px;
    --xleads-sec-pad: 64px;
    --xleads-sp-160: 96px;
  }
  .sec-sm {
    padding-block: var(--xleads-sp-48);
  }
  .grid-12 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
  }
  .sec-head {
    gap: 16px;
    margin-bottom: 40px;
  }
  .t-display,
  .h1 {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.03em;
  }
  .t-price,
  .price {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.03em;
  }
}
@media (max-width: 479px) {
  :root {
    --xleads-gutter: 16px;
  }
}

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .reveal-armed:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .reveal-armed:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}

/* Island box reservations: each island holds its box before the bundle
         runs. A section's own CSS may refine its island's. */
      xl-demo-hub {
        display: block;
        min-height: 760px;
      }
      xl-ai-film {
        display: block;
        min-height: 520px;
      }
      xl-sticky-buy {
        display: block;
      }

/* ---- nav ---- */
/* NAV (SPEC v2 §4.1): a quiet 64 px bar on the 1200 container. Transparent
   over the hero; after 8 px of scroll the glass fades in (200 ms) with a
   1 px hairline. ≤991 px: a 56 px bar (wordmark + Menu) and a full-height
   ink sheet. States come from the xl-nav enhancer (data-scrolled,
   data-active, data-sheet-open). */

xl-nav.sec-nav {
  --nav-bar-h: var(--xleads-nav-h);
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  pointer-events: none;
}
xl-nav a,
xl-nav button,
xl-nav .nav-sheet[data-open] {
  pointer-events: auto;
}

/* ---------------------------------------------------------------- bar -- */

xl-nav .nav-shell {
  position: relative;
  height: var(--nav-bar-h);
}
/* The glass: transparent over the hero, glass + hairline once scrolled. */
xl-nav .nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  pointer-events: auto;
  transition:
    background-color var(--xl-dur-ui) var(--xl-ease-out),
    border-color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-nav[data-scrolled] .nav-shell::before {
  background: var(--xleads-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--xleads-line);
}
xl-nav .nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-bar-h);
}

/* The wordmark: the official logo without its tagline (owner, Nov 12, 2026),
   44 px tall in the bar and 40 px on phones, where it fits the 56 px bar. */
xl-nav .nav-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  height: 48px;
  color: var(--xleads-text);
  text-decoration: none;
}
xl-nav .nav-logo {
  display: block;
  flex: none;
  width: 161px;
  height: 44px;
}
@media (max-width: 767px) {
  xl-nav .nav-logo {
    width: 147px;
    height: 40px;
  }
}

/* Centre links: 15/500 muted, 32 apart; hover and the section in view turn
   white, and the section in view carries a 1 px underline at offset 8. */
xl-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
xl-nav .nav-link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  color: var(--xleads-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  white-space: nowrap;
  transition:
    color var(--xl-dur-micro) var(--xl-ease-out),
    text-decoration-color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-nav .nav-link:hover,
xl-nav .nav-link[data-active] {
  color: var(--xleads-text);
}
xl-nav .nav-link[data-active] {
  text-decoration-color: currentColor;
}

/* Right: Log in, then the solid red 36 px "Get XPlan". */
xl-nav .nav-right {
  display: flex;
  flex: none;
  align-items: center;
  gap: 24px;
}
xl-nav .nav-login {
  display: inline-flex;
  align-items: center;
  height: 44px;
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-nav .nav-login:hover {
  text-decoration-color: currentColor;
}
/* 36 px to see, 44 px to tap. */
xl-nav .nav-cta::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}

/* Menu (≤991 px): a link to the sheet without JS, a button with it. */
xl-nav .nav-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin-right: -12px;
  padding: 0 12px;
  border-radius: var(--xleads-r-control);
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}
xl-nav .nav-menu-btn svg {
  flex: none;
}

/* --------------------------------------------------------- phone sheet -- */

xl-nav .nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  transition: visibility 0s linear var(--xl-dur-panel);
}
xl-nav .nav-sheet[data-open],
xl-nav:not([data-xl-ready]) .nav-sheet:target {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
/* Dark enough that nothing behind it (the hero's red button) still reads. */
xl-nav .nav-sheet-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.88);
  opacity: 0;
  transition: opacity var(--xl-dur-panel) var(--xl-ease-out);
}
xl-nav .nav-sheet[data-open] .nav-sheet-scrim,
xl-nav:not([data-xl-ready]) .nav-sheet:target .nav-sheet-scrim {
  opacity: 1;
}
/* Full height, ink. On phones it covers the screen; on tablets it is a
   400 px panel over the scrim. */
xl-nav .nav-sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(400px, 100%);
  padding: 0 var(--xleads-gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--xleads-ink);
  border-left: 1px solid var(--xleads-line);
  transform: translateX(100%);
  transition: transform var(--xl-dur-panel) var(--xl-ease-out);
}
xl-nav .nav-sheet[data-open] .nav-sheet-panel,
xl-nav:not([data-xl-ready]) .nav-sheet:target .nav-sheet-panel {
  transform: none;
}
xl-nav .nav-sheet-top {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  margin-bottom: 16px;
}
xl-nav .nav-sheet-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  border-radius: var(--xleads-r-control);
  color: var(--xleads-text);
}
xl-nav .nav-sheet-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--xleads-line);
}
xl-nav .nav-sheet-links > li {
  border-bottom: 1px solid var(--xleads-line);
}
xl-nav .nav-sheet-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  color: var(--xleads-text);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
xl-nav .nav-sheet-actions {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
xl-nav .nav-sheet-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}

/* --------------------------------------------------------- breakpoints -- */

/* 992–1279: the links tighten so the bar holds wordmark, five links, Log in
   and the CTA on one row at 992. */
@media (max-width: 1279px) {
  xl-nav .nav-bar,
  xl-nav .nav-links {
    gap: 24px;
  }
}
@media (max-width: 1099px) {
  xl-nav .nav-links {
    gap: 16px;
  }
  xl-nav .nav-right {
    gap: 16px;
  }
}
@media (max-width: 991px) {
  xl-nav .nav-links,
  xl-nav .nav-login,
  xl-nav .nav-cta {
    display: none;
  }
  xl-nav .nav-right {
    margin-left: auto;
  }
  xl-nav .nav-menu-btn {
    display: inline-flex;
  }
}
@media (max-width: 767px) {
  xl-nav .nav-sheet-panel {
    width: 100%;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  xl-nav .nav-shell::before,
  xl-nav .nav-sheet,
  xl-nav .nav-sheet-scrim,
  xl-nav .nav-sheet-panel {
    transition: none;
  }
}

/* ---- b-kit ---- */
/* VARIANT B · shared pieces (no fragment of its own; page/order-b.json brings
   it in with the nav). B's wrappers, the kicker line, and the demo stage:
   the card a demo waits behind and the full-screen sheet it opens in
   (<xl-b-stage>, src/b/stage.ts). Type is the §3.3 scale and the weights
   are 400 / 500 / 600, as everywhere on the site; nothing here adds red. */

xl-b-journey,
xl-b-more,
xl-b-compare,
xl-b-stage,
xl-b-rail,
xl-offer-mode,
xl-land-mode {
  display: block;
}

/* One quiet line over a heading: which move this is and what it is made of. */
.b-kicker {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ground-muted);
}

/* A product's logo slot (src/data/product-logos.ts, src/b/render.ts). The
   artwork is drawn on solid black, so it always sits on a black plate; with
   no file yet the slot is the product's name in the type around it. */
.b-logo-row {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--ground-fg);
}
.b-logo-plate {
  display: inline-block;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: #000;
  line-height: 0;
  vertical-align: middle;
}
.b-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 72px;
}
.b-logo-plate[data-logo="dialer"] .b-logo-img {
  height: 104px;
}
/* In a heading (LandX, BuyBox) the picture follows the heading's own size. */
h2 > .b-logo-plate .b-logo-img,
h3 > .b-logo-plate .b-logo-img {
  height: 2em;
}
@media (max-width: 767px) {
  .b-logo-img {
    height: 56px;
  }
  .b-logo-plate[data-logo="dialer"] .b-logo-img {
    height: 84px;
  }
}

/* ------------------------------------------------------------- stage -- */
/* The demo waits (not rendered) wherever its card shows. */
xl-b-stage[mode="always"] > .bs-body {
  display: none;
}
xl-b-stage[mode="phone"] > .bs-card {
  display: none;
}
@media (max-width: 767px) {
  xl-b-stage[mode="phone"] > .bs-body {
    display: none;
  }
  xl-b-stage[mode="phone"] > .bs-card {
    display: grid;
  }
}

/* The card: a capture of the demo, what it is, one button. */
.bs-card {
  display: grid;
  gap: 0;
}
.bs-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--xleads-r-frame) var(--xleads-r-frame) 0 0;
  background: var(--xleads-raised);
}
.bs-meta {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
}
.bs-kind {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ground-muted);
}
.bs-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ground-fg);
}
.bs-line,
.bs-fine {
  font-size: 16px;
  line-height: 24px;
  color: var(--ground-muted);
  text-wrap: pretty;
}
.bs-fine {
  font-size: 14px;
  line-height: 22px;
}
.bs-open {
  justify-self: start;
  max-width: 100%;
  margin-top: 16px;
}
/* A long label wraps inside a narrow card instead of pushing the page wide. */
.bs-meta .bs-open {
  height: auto;
  min-height: 40px;
  padding-block: 8px;
  white-space: normal;
  text-align: center;
}

/* The sheet: a modal dialog that fills the screen on a phone and sits as a
   large window on wider screens. The browser holds focus inside it. */
.bs-dialog {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--xleads-bg);
  color: var(--xleads-text);
  overflow: hidden;
}
.bs-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: bs-in var(--xl-dur-panel) var(--xl-ease-out);
}
.bs-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}
@keyframes bs-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.bs-bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding-inline: 16px 8px;
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: inset 0 -1px 0 var(--xleads-line-strong);
  background: var(--xleads-bg);
}
.bs-bar-title {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bs-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--xleads-r-control);
  background: transparent;
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
}
.bs-close:hover {
  background: rgba(255, 255, 255, 0.06);
}
.bs-close:focus-visible {
  outline: 2px solid var(--xleads-focus);
  outline-offset: -2px;
}
.bs-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* In a sheet a section is not a page band: no band padding, no top rule. */
.bs-scroll .sec {
  padding-block: 32px 48px;
}
.bs-scroll .sec-rule::before {
  display: none;
}
@media (min-width: 768px) {
  .bs-dialog {
    width: min(1440px, calc(100vw - 48px));
    max-width: none;
    height: calc(100dvh - 48px);
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 0 0 1px var(--xleads-line-strong);
  }
  .bs-bar {
    padding-inline: 24px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bs-dialog[open] {
    animation: none;
  }
}

/* "… See the plans →": the quiet line under a demo. */
.b-plans {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--ground-muted);
}

/* ---- b-nav ---- */
/* VARIANT B · nav: variant A's bar (page/nav.css) with nothing changed but
   the words. (The file exists so the section has a stylesheet of its own to
   grow into; today it adds no rule.) */

/* ---- c-kit ---- */
/* VARIANT C · KIT: the pieces only this variant has. Everything else is
   base.css, variant B's kit and the shared sections' own styles. */

/* A small label over a heading. */
.c-eyebrow {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ground-muted);
}

/* The red block behind one phrase of a heading. It is whole in the markup;
   src/c/motion.ts arms the ones below the first screen and lets each wipe
   in once, left to right, when it is first seen. Scale only: the words
   never move. */
.c-hl {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.14em;
  margin: 0 -0.04em;
  background: none;
  color: #ffffff;
  white-space: nowrap;
}
.c-hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.08em 0 0.04em;
  border-radius: 6px;
  background: var(--xleads-red-solid);
  transform-origin: left center;
}
.c-hl[data-c-wipe="armed"]::before {
  transform: scaleX(0);
}
.c-hl-now::before,
.c-hl[data-c-wipe="go"]::before {
  animation: c-wipe 400ms var(--xl-ease-out) both;
}
.c-hl-now::before {
  animation-delay: 250ms;
}
@keyframes c-wipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* A product panel's frame: a hairline box with four crop marks standing
   just outside its corners (the top-left one red). */
.c-frame {
  position: relative;
  border: 1px solid var(--ground-line-strong);
  background: var(--xleads-surface);
}
.c-crop {
  position: absolute;
  inset: -13px;
  pointer-events: none;
  --m: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(var(--xleads-red), var(--xleads-red)) left top / 9px 1px,
    linear-gradient(var(--xleads-red), var(--xleads-red)) left top / 1px 9px,
    linear-gradient(var(--m), var(--m)) right top / 9px 1px,
    linear-gradient(var(--m), var(--m)) right top / 1px 9px,
    linear-gradient(var(--m), var(--m)) left bottom / 9px 1px,
    linear-gradient(var(--m), var(--m)) left bottom / 1px 9px,
    linear-gradient(var(--m), var(--m)) right bottom / 9px 1px,
    linear-gradient(var(--m), var(--m)) right bottom / 1px 9px;
  background-repeat: no-repeat;
}

/* The Black Friday bar's light sweep (the editors' composition, in CSS: one
   skewed band of red, 30 % at its brightest, crossing once in a 4 s loop).
   Decoration under the bar's words; off under reduced motion. */
.xl-promo-bar {
  overflow: hidden;
}
.xl-promo-bar::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40px;
  left: 0;
  width: 420px;
  height: 176px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(248, 32, 50, 0) 0%,
    rgba(248, 32, 50, 0.3) 50%,
    rgba(248, 32, 50, 0) 100%
  );
  transform: translateX(-640px) skewX(-24deg);
  animation: c-sweep 4s ease-in-out infinite;
}
.xl-promo-line,
.xl-promo-close {
  z-index: 1;
}
.xl-promo-line {
  position: relative;
}
@keyframes c-sweep {
  0%,
  15% {
    transform: translateX(-640px) skewX(-24deg);
  }
  85%,
  100% {
    transform: translateX(max(2140px, 110vw)) skewX(-24deg);
  }
}

/* The "Connect your AI" card plays the demo itself (src/c/ai-loop.ts): the
   island stands where variant B's capture stands, on phones too. */
xl-b-ai xl-ai-film.ba-live {
  display: block;
  min-width: 0;
}

/* The floating "See plans" pill (desktop only; src/c/pill.ts shows it once
   the hero's button has scrolled away and hides it over pricing, the final
   call, the footer, any open sheet and any demo it would sit on). */
xl-c-pill {
  display: none;
}
@media (min-width: 992px) {
  xl-c-pill {
    position: fixed;
    z-index: 40;
    right: 24px;
    bottom: 24px;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity var(--xl-dur-ui) var(--xl-ease-out),
      transform var(--xl-dur-ui) var(--xl-ease-out),
      visibility 0s linear var(--xl-dur-ui);
  }
  xl-c-pill[data-show] {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}
.cp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--xleads-ink);
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.cp::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xleads-red);
}
.cp:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.cp:focus-visible {
  outline: 2px solid var(--xleads-focus);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .c-hl::before {
    animation: none !important;
    transform: none !important;
  }
  .xl-promo-bar::before {
    display: none;
  }
  xl-c-pill {
    transition: none;
  }
}
@media print {
  xl-c-pill {
    display: none;
  }
}

/* ---- film-spot ---- */
/* A demo film (src/data/demo-films.ts): its box is the film's own shape
   before anything loads. */
.cf-spot {
  margin-top: 96px;
}
.cf-eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cf-h2 {
  margin: 0 0 12px;
}
.cf-line {
  margin: 0 0 32px;
  color: var(--ground-muted);
}
.cfm {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ground-line-strong);
  background: #000000;
}
.cfm-embed {
  position: relative;
  overflow: hidden;
}
.cfm-play,
.cfm-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.cfm-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cfm-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--xleads-text);
  color: var(--xleads-ink);
}
.cfm-play picture {
  display: block;
  width: 100%;
  height: 100%;
}
/* The film's length, bottom right of its poster. */
.cfm-runs {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 8, 10, 0.86);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 20px;
}
.cfm-play:hover .cfm-btn {
  transform: scale(1.06);
}
.cfm-btn {
  transition: transform 0.15s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .cfm-btn {
    transition: none;
  }
}
.cfm-play:focus-visible {
  outline: 2px solid var(--ground-focus);
  outline-offset: -4px;
}
.cf-tall,
.cf-phone-only {
  display: none;
}
@media (max-width: 767px) {
  .cf-spot {
    margin-top: 64px;
  }
  .cf-not-phone {
    display: none;
  }
  .cf-phone-only {
    display: block;
  }
  /* The vertical film at its own shape, never wider than the phone. */
  .cf-tall {
    display: block;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* The spot is its own section after the hero (variants B and C). */
.bf-sec {
  display: block;
  padding-block: 0 var(--xleads-sec-pad);
  background: var(--xleads-bg);
  color: var(--xleads-text);
}
.bf-sec:empty {
  display: none;
}
.bf-sec .cf-spot {
  margin-top: 0;
}

/* ---- c-hero ---- */
/* VARIANT C · HERO: one claim, one button, the owner's film beside it. */
.ch {
  padding-block: 72px 96px;
}
.ch-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: 72px;
  align-items: center;
}
.ch-copy {
  display: grid;
  justify-items: start;
}
.ch-h1 {
  margin: 20px 0 0;
  font-family: var(--xleads-font-sans);
  font-weight: 600;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -0.04em;
  color: var(--ground-fg);
  text-wrap: balance;
}
.ch-sub {
  margin: 24px 0 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ground-fg);
  text-wrap: balance;
}
.ch-lede {
  margin-top: 12px;
  max-width: 40ch;
}
.ch-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 36px;
}
.ch-demo {
  color: var(--ground-fg);
}
.ch-trust {
  width: 100%;
  max-width: 440px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ground-line-strong);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--ground-fg);
}
.ch-micro {
  max-width: 440px;
  margin-top: 8px;
}
.ch-micro .hero-basic {
  display: block;
}

.ch-panel {
  min-width: 0;
  margin: 0;
}
.ch-frame {
  display: block;
}
/* The owner's film (src/c/render.ts renderHeroFilm): 16:9, its box held
   by the film's own aspect-ratio before anything loads. The frame draws
   the edge, so the film box drops its own. */
.ch-film .cfm {
  border: 0;
}
.ch-cap {
  margin-top: 16px;
}

@media (max-width: 1279px) {
  .ch-grid {
    column-gap: 48px;
  }
  .ch-h1 {
    font-size: 56px;
    line-height: 62px;
  }
}
@media (max-width: 991px) {
  .ch {
    padding-block: 48px 72px;
  }
  .ch-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }
}
@media (max-width: 767px) {
  .ch {
    padding-block: 32px 64px;
  }
  .ch-h1 {
    margin-top: 16px;
    font-size: 40px;
    line-height: 46px;
  }
  .ch-sub {
    margin-top: 16px;
    font-size: 20px;
    line-height: 28px;
  }
  .ch-cta {
    margin-top: 28px;
  }
  .ch-cta .btn {
    width: 100%;
  }
}
@media (max-width: 359px) {
  .ch-h1 {
    font-size: 34px;
    line-height: 40px;
  }
}

/* ---- demo-hub ---- */
/* DEMO HUB "See it work" (SPEC v2 §4.4, §6): the stage band, the native
   H2 + lede, and the island's light-DOM fallback drawn in the hub's own
   geometry — tab row 48 · 16 · frame · 12 · step bar 64 · 16 · footnote —
   so the island mounts without moving anything. Scoped under
   xl-see-it-work. Type is the §3.3 scale; nothing outside the frame is red. */

xl-see-it-work.hub-sec .hub-head {
  margin-bottom: 48px;
}
/* The hub is the page's widest object: 1360 px where the screen has it. */
xl-see-it-work.hub-sec .hub-wide {
  --xleads-max-wide: 1360px;
}
@media (max-width: 767px) {
  xl-see-it-work.hub-sec .hub-head {
    margin-bottom: 24px;
  }
}
xl-demo-hub .hub-fb-chip {
  font-size: 12px;
  line-height: 16px;
  color: var(--xleads-muted);
}

/* ------------------------------- the island box ------------------------------- */
/* The hub lays out by its own width (900 / 1110 px), like the island. */
xl-see-it-work xl-demo-hub {
  display: block;
  container: hub / inline-size;
}
/* Reserved at the hub's own height, so the swap from the fallback to the
   island (and the frame between) moves nothing (CLS 0):
   48 + 16 + frame + 12 + 64 + 16 + 20 = 176 + frame. */
xl-see-it-work xl-demo-hub {
  min-height: calc(176px + clamp(520px, calc(100vh - 220px), 760px));
  min-height: calc(176px + clamp(520px, calc(100svh - 220px), 760px));
}
@media (max-width: 1173px) {
  /* "View as" takes its own 44 px row. */
  xl-see-it-work xl-demo-hub {
    min-height: calc(220px + clamp(520px, calc(100vh - 220px), 760px));
    min-height: calc(220px + clamp(520px, calc(100svh - 220px), 760px));
  }
}
@media (max-width: 963px) {
  /* The phone layout: select bar, View as, a 4:3 frame, the step card. */
  xl-see-it-work xl-demo-hub {
    min-height: calc(380px + clamp(440px, calc((100vw - 2 * var(--xleads-gutter)) * 0.75), 600px));
  }
}
@media (max-width: 647px) {
  /* A 4:5 card. */
  xl-see-it-work xl-demo-hub {
    min-height: calc(380px + (100vw - 2 * var(--xleads-gutter)) * 1.25);
  }
}

/* ------------------------------- the fallback ------------------------------- */
xl-demo-hub .hub-fallback {
  display: flex;
  flex-direction: column;
}
xl-demo-hub .hub-fb-top {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 var(--xleads-line);
}
xl-demo-hub .hub-fb-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  color: var(--xleads-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
xl-demo-hub .hub-fb-tab:first-child {
  padding-left: 0;
}
xl-demo-hub .hub-fb-tab:hover,
xl-demo-hub .hub-fb-tab.is-on {
  color: var(--xleads-text);
}
xl-demo-hub .hub-fb-tab.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--xleads-text);
}
xl-demo-hub .hub-fb-select {
  display: none;
}

xl-demo-hub .hub-fb-frame {
  display: flex;
  flex-direction: column;
  height: clamp(520px, calc(100vh - 220px), 760px);
  height: clamp(520px, calc(100svh - 220px), 760px);
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--xleads-r-frame);
  background: #151517;
  box-shadow: var(--xleads-shadow-frame);
}
xl-demo-hub .hub-fb-bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  padding: 0 14px;
  background: #050506;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}
xl-demo-hub .hub-fb-body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 0;
}
xl-demo-hub .hub-fb-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 32px 48px;
}
xl-demo-hub .hub-fb-k {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--xleads-muted);
}
xl-demo-hub .hub-fb-addr {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
xl-demo-hub .hub-fb-facts {
  font-size: 14px;
  line-height: 22px;
  color: var(--xleads-muted);
}
xl-demo-hub .hub-fb-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--xleads-line);
  border-bottom: 1px solid var(--xleads-line);
}
xl-demo-hub .hub-fb-rail div {
  display: grid;
  gap: 4px;
  padding: 16px 0 16px 16px;
  border-left: 1px solid var(--xleads-line);
}
xl-demo-hub .hub-fb-rail div:first-child {
  padding-left: 0;
  border-left: 0;
}
xl-demo-hub .hub-fb-rail dt {
  font-size: 14px;
  line-height: 20px;
  color: var(--xleads-muted);
}
xl-demo-hub .hub-fb-rail dd {
  margin: 0;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
/* Inside the frame red marks the answer, as in the app. */
xl-demo-hub .hub-fb-rail dd.is-answer {
  color: var(--xleads-red);
}
xl-demo-hub .hub-fb-final {
  margin-top: 16px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
xl-demo-hub .hub-fb-ledger {
  display: grid;
  align-content: start;
  margin: 0;
  padding: 24px;
  list-style: none;
  border-left: 1px solid var(--xleads-line);
  font-variant-numeric: tabular-nums;
}
xl-demo-hub .hub-fb-ledger li {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--xleads-line);
}
xl-demo-hub .hub-fb-ledger li > span {
  font-size: 12px;
  line-height: 16px;
  color: var(--xleads-muted);
}
xl-demo-hub .hub-fb-ledger b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

xl-demo-hub .hub-fb-stepbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 64px;
  margin-top: 12px;
}
xl-demo-hub .hub-fb-l1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
}
xl-demo-hub .hub-fb-count {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--xleads-muted);
  font-variant-numeric: tabular-nums;
}
xl-demo-hub .hub-fb-ticks {
  display: inline-flex;
  gap: 4px;
  margin-left: -4px;
}
xl-demo-hub .hub-fb-ticks i {
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: rgba(250, 250, 250, 0.16);
}
xl-demo-hub .hub-fb-ticks i.is-on {
  background: var(--xleads-text);
}
xl-demo-hub .hub-fb-l2 {
  margin-top: 2px;
  font-size: 14px;
  line-height: 24px;
  color: var(--xleads-muted);
}
xl-demo-hub .hub-fb-start {
  flex: none;
}
xl-demo-hub .hub-fb-note {
  max-width: 80ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--xleads-muted);
}

/* ------------------------------ < 900 px of hub ------------------------------ */
@container hub (max-width: 899px) {
  xl-demo-hub .hub-fb-top {
    display: none;
  }
  xl-demo-hub .hub-fb-select {
    display: flex;
    align-items: center;
    height: 48px;
    box-shadow: inset 0 -1px 0 var(--xleads-line);
  }
  xl-demo-hub .hub-fb-select span {
    display: grid;
  }
  xl-demo-hub .hub-fb-select b {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }
  xl-demo-hub .hub-fb-select small {
    font-size: 13px;
    line-height: 16px;
    color: var(--xleads-muted);
  }
  /* No "View as" without the island: no empty row either. */
  xl-demo-hub .hub-fb-frame {
    height: clamp(440px, 75cqw, 600px);
  }
  xl-demo-hub .hub-fb-body {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-demo-hub .hub-fb-ledger {
    display: none;
  }
  xl-demo-hub .hub-fb-main {
    padding: 24px;
  }
  xl-demo-hub .hub-fb-stepbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 16px;
  }
  xl-demo-hub .hub-fb-start {
    height: 48px;
  }
}
@container hub (max-width: 599px) {
  xl-demo-hub .hub-fb-frame {
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--xleads-r-vignette);
  }
  xl-demo-hub .hub-fb-main {
    padding: 16px;
    justify-content: flex-start;
  }
  xl-demo-hub .hub-fb-addr {
    font-size: 20px;
    line-height: 28px;
  }
  /* The rail as a 2 × 2 grid: no number ever collides. */
  xl-demo-hub .hub-fb-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  xl-demo-hub .hub-fb-rail div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  xl-demo-hub .hub-fb-rail div:nth-child(n + 3) {
    border-top: 1px solid var(--xleads-line);
  }
  xl-demo-hub .hub-fb-rail dd {
    font-size: 18px;
    line-height: 26px;
  }
  xl-demo-hub .hub-fb-final {
    font-size: 16px;
    line-height: 24px;
  }
}

/* -------------------------------- embedded -------------------------------- */
/* Framed or ?embed=1 (html[data-xl-embed], set by the bundle): no section
   header, no band padding; the hub takes the frame (its compact layout
   fills a 1280 × 640 frame exactly). */
html[data-xl-embed] xl-see-it-work.hub-sec {
  padding-block: 16px 24px;
}
html[data-xl-embed] xl-see-it-work .hub-head {
  display: none;
}
html[data-xl-embed] xl-see-it-work xl-demo-hub {
  min-height: 0;
}
@media (max-height: 720px) and (min-width: 1024px) {
  html[data-xl-embed] xl-see-it-work.hub-sec {
    padding-block: 0;
  }
  html[data-xl-embed] xl-see-it-work .container {
    max-width: none;
    padding-inline: 0;
  }
}

/* ---- b-journey ---- */
/* VARIANT B · the journey: the heading, the four-move rail, then variant
   A's hub (page/demo-hub.css draws the hub's own frame). The rail is a row
   of four plain links over one hairline; the move that is open carries the
   red bar, the same bar the hero's turning word wears. */
xl-b-journey.bj {
  padding-bottom: 96px;
}
xl-b-journey .bj-head {
  margin-bottom: 48px;
}
xl-b-journey .bj-lede {
  max-width: 62ch;
}
xl-b-journey .bj-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  box-shadow: inset 0 1px 0 var(--ground-line-strong);
}
xl-b-journey .bj-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 24px 0 8px;
  color: var(--ground-muted);
  text-decoration: none;
}
/* The bar: on the hairline, as wide as the move, drawn from the left. */
xl-b-journey .bj-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0 0 2px 2px;
  background: var(--xleads-red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--xl-dur-panel) var(--xl-ease-out);
}
xl-b-journey .bj-step[aria-current="step"]::before {
  transform: scaleX(1);
}
xl-b-journey .bj-verb {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ground-fg);
}
xl-b-journey .bj-line {
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
xl-b-journey .bj-kind {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ground-fg);
}
xl-b-journey .bj-step:hover .bj-verb,
xl-b-journey .bj-step:focus-visible .bj-verb {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
xl-b-journey .bj-stage {
  margin-top: 48px;
}
xl-b-journey .bj-stage > .bs-card {
  gap: 0;
}
xl-b-journey .bj-stage .bs-shot {
  border-radius: var(--xleads-r-frame);
  box-shadow: var(--xleads-shadow-frame);
}
xl-b-journey .bj-stage .bs-meta {
  padding: 24px 0 0;
}
xl-b-journey .bj-stage .bs-open {
  justify-self: stretch;
}
@media (max-width: 991px) {
  xl-b-journey .bj-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8px;
  }
  xl-b-journey .bj-steps > li:nth-child(n + 3) {
    box-shadow: inset 0 1px 0 var(--ground-line-strong);
  }
}
@media (max-width: 767px) {
  xl-b-journey.bj {
    padding-bottom: 64px;
  }
  xl-b-journey .bj-head {
    margin-bottom: 32px;
  }
  xl-b-journey .bj-steps {
    gap: 0 16px;
  }
  xl-b-journey .bj-step {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  xl-b-journey .bj-verb {
    font-size: 20px;
    line-height: 28px;
  }
  xl-b-journey .bj-line {
    font-size: 14px;
    line-height: 22px;
  }
  xl-b-journey .bj-stage {
    margin-top: 32px;
  }
}
/* In its sheet the hub has the screen to itself. */
.bs-scroll xl-see-it-work.bj-hub {
  display: block;
  padding-block: 16px 24px;
}
@media (prefers-reduced-motion: reduce) {
  xl-b-journey .bj-step::before {
    transition: none;
  }
}

/* The hub opens on a station that sizes itself (the real list pull). Hold
   the height it reaches, so nothing below moves while it loads, and keep its
   step bar (caption, Play, Next) in view on a laptop (src/hub/shell/css.ts
   reads these two properties; by default the bar stands under the frame). */
@media (min-width: 768px) {
  xl-b-journey xl-see-it-work xl-demo-hub {
    min-height: 1233px;
    --xl-hub-bar-pos: sticky;
    --xl-hub-bar-bg: var(--xleads-stage);
  }
}
@media (min-width: 1100px) {
  xl-b-journey xl-see-it-work xl-demo-hub {
    min-height: 1133px;
  }
}
@media (min-width: 1280px) {
  xl-b-journey xl-see-it-work xl-demo-hub {
    min-height: 1089px;
  }
}

/* ---- c-journey ---- */
/* VARIANT C · PICK WHAT YOU DO: a heading column beside five large rows. */
.cj-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 72px;
  align-items: start;
}
.cj-head {
  display: grid;
  gap: 20px;
  position: sticky;
  top: calc(var(--xleads-nav-h) + 32px);
}
.cj-h2 {
  margin: 0;
  font-size: 48px;
  line-height: 56px;
}
.cj-lede {
  max-width: 40ch;
}
.cj-rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ground-line-strong);
}
.cj-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  grid-template-areas:
    "n t go"
    "n l go";
  column-gap: 16px;
  align-items: center;
  padding: 24px 20px 24px 16px;
  border-bottom: 1px solid var(--ground-line-strong);
  color: var(--ground-fg);
  text-decoration: none;
  transition: background-color var(--xl-dur-ui) var(--xl-ease-out);
}
.cj-row::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 3px;
  background: var(--xleads-red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--xl-dur-ui) var(--xl-ease-out);
}
.cj-row:hover,
.cj-row:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}
.cj-row:hover::before,
.cj-row:focus-visible::before {
  transform: none;
}
.cj-row:focus-visible {
  outline: 2px solid var(--ground-focus);
  outline-offset: -2px;
}
.cj-n {
  grid-area: n;
  align-self: start;
  padding-top: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ground-muted);
}
.cj-t {
  grid-area: t;
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.cj-l {
  grid-area: l;
  max-width: 46ch;
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ground-muted);
}
.cj-go {
  grid-area: go;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ground-line-strong);
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color var(--xl-dur-ui) var(--xl-ease-out),
    color var(--xl-dur-ui) var(--xl-ease-out);
}
.cj-row:hover .cj-go,
.cj-row:focus-visible .cj-go {
  border-color: var(--xleads-text);
  background: var(--xleads-text);
  color: var(--xleads-ink);
}

@media (max-width: 991px) {
  .cj-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .cj-head {
    position: static;
  }
}
@media (max-width: 767px) {
  .cj-h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .cj-row {
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-areas:
      "n t"
      "n l"
      "n go";
    padding: 20px 4px 20px 8px;
  }
  .cj-t {
    font-size: 22px;
    line-height: 30px;
  }
  .cj-go {
    justify-self: start;
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cj-row,
  .cj-row::before,
  .cj-go {
    transition: none;
  }
}

/* ---- offer-mode ---- */
/* OFFER MODE (owner, Nov 16, 2026): the real app's OfferX, mounted by
   <xl-offer-demo> in its own shadow root (src/sections/offer-mode.ts). Out
   here: the heading, the box that holds the demo's place, and the words
   that show until the demo arrives (and with JavaScript off). The demo
   brings its own styles; nothing below reaches into it. */

xl-offer-mode .om-head {
  margin-bottom: 40px;
}
xl-offer-mode .om-plan {
  color: var(--ground-text, inherit);
  font-weight: 600;
  white-space: nowrap;
}

/* The demo runs wider than the text column: the app's stage is a 1392 px
   card. 16 px gutters on a phone, the app's own inside that. */
xl-offer-mode .om-stage {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 0;
}
xl-offer-demo {
  display: block;
  /* The box the app's two screens share (app-demos/offer/demo.css), held
     before the file arrives and kept after, so nothing under it moves. */
  min-height: 820px;
  border-radius: 16px;
  overflow: clip;
}
@media (max-width: 767px) {
  xl-offer-demo {
    min-height: 720px;
    border-radius: 0;
  }
}
/* A laptop: the tighter box (app-demos/offer/demo.css), so the stage and
   the number rail are on screen together. */
@media (min-width: 1280px) {
  xl-offer-demo {
    min-height: 785px;
  }
}

/* The words (no JavaScript, the Designer, a failed load). */
xl-offer-demo .om-words {
  display: grid;
  gap: 24px;
  max-width: 996px;
  margin-inline: auto;
  padding: 32px 24px;
}
xl-offer-demo .om-words-addr {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}
xl-offer-demo .om-words-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: om;
}
xl-offer-demo .om-words-steps li {
  counter-increment: om;
  font-size: 18px;
  line-height: 26px;
}
xl-offer-demo .om-words-steps li::before {
  content: counter(om) ". ";
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}
xl-offer-demo .om-words-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
xl-offer-demo .om-words-rail div {
  display: grid;
  gap: 4px;
}
xl-offer-demo .om-words-rail dt {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.7;
}
xl-offer-demo .om-words-rail dd {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
xl-offer-demo .om-words-rail dd.is-answer {
  color: var(--xleads-red);
}
xl-offer-demo .om-words-note {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.7;
}
@media (max-width: 767px) {
  xl-offer-demo .om-words-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- b-underwrite ---- */
/* VARIANT B · underwrite: variant A's OfferX section (page/offer-mode.css)
   with a kicker line over the heading. */
xl-offer-mode.bu .om-head {
  gap: 16px;
}
xl-offer-mode.bu .om-lede {
  margin-top: 8px;
}

/* ---- ai-agents ---- */
/* AI AGENTS (owner decisions, Nov 10, 2026; design pass, Nov 11, 2026; two
   columns from the top, Nov 18, 2026): dark ground.

   >=1200  left, columns 1-5: the H2 (40 px, so the column holds it), the
           copy (lede, the AIs in one sentence, links), the risk footnote;
           right, columns 6-12, level with the H2: the demo.
   992+    the same at 4 and 8 columns.
   <=991   one column in source order: H2, the demo, the copy, the footnote.

   The AIs are plain words in a sentence. The risk lines are a footnote:
   14 px, no box, every word kept. */
xl-ai-agents .ai-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  column-gap: 24px;
  align-items: start;
}
xl-ai-agents .ai-head {
  grid-column: 1 / span 5;
  grid-row: 1;
  margin-bottom: 32px;
}
xl-ai-agents .ai-h2 {
  font-size: 40px;
  line-height: 44px;
  text-wrap: balance;
}
xl-ai-agents .ai-copy {
  grid-column: 1 / span 5;
  grid-row: 2;
  display: grid;
  gap: 24px;
  min-width: 0;
}
xl-ai-agents .ai-lede {
  display: grid;
  gap: 16px;
}
/* What a connected AI can do: a plain ticked list, white, 20 px. */
xl-ai-agents .ai-jobs {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
xl-ai-agents .ai-jobs li {
  position: relative;
  padding-left: 32px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ground-fg);
  text-wrap: pretty;
}
xl-ai-agents .ai-jobs li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--ground-fg);
  border-bottom: 2px solid var(--ground-fg);
  transform: rotate(-45deg);
}
xl-ai-agents .ai-names {
  color: var(--ground-fg);
}
/* How each AI reaches XLeads: one quieter sentence under the names. */
xl-ai-agents .ai-ways {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--ground-muted);
  text-wrap: pretty;
}
xl-ai-agents .ai-links {
  display: grid;
  justify-items: start;
}
xl-ai-agents .ai-risk {
  grid-column: 1 / span 5;
  grid-row: 3;
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ground-line-strong);
  font-size: 14px;
  line-height: 22px;
  color: var(--ground-muted);
}

/* The demo: columns 6-12, from the top, beside the H2, the copy and the
   footnote. Its height follows its width (the picker row, the 1180:680
   frame, the caption row). */
xl-ai-agents xl-ai-film.ai-film {
  grid-column: 6 / -1;
  grid-row: 1 / -1;
  display: block;
  min-width: 0;
  min-height: 0;
}

/* -------------------------------------------- the no-JS still -------- */

/* The same three rows as the mounted demo, so nothing moves when it mounts. */
xl-ai-agents .af-poster {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
xl-ai-agents .af-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
xl-ai-agents .af-pick-l {
  margin-right: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ground-muted);
}
xl-ai-agents .af-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 18px 8px 8px;
  box-sizing: border-box;
  border: 1px solid var(--ground-fg);
  border-radius: 23px;
  color: var(--ground-fg);
}
xl-ai-agents .af-pill-off {
  border-color: var(--ground-line-strong);
  color: var(--ground-muted);
}
xl-ai-agents .af-mono {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
/* The owner's logo files, whole: the square picture inside the round tile. */
xl-ai-agents .af-mono-m {
  background: #fff;
}
xl-ai-agents .af-mono-g {
  box-sizing: border-box;
  border: 1px solid #333;
  background: #000;
}
xl-ai-agents .af-mono img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain;
}
/* The Muse connector's icon (the owner's file), whole. */
xl-ai-agents .af-how-logo {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 5px;
  vertical-align: -5px;
  object-fit: contain;
}
xl-ai-agents .af-how {
  font-size: 12px;
  font-weight: 400;
  color: var(--ground-muted);
}
xl-ai-agents .af-own {
  min-height: 36px;
  font-weight: 500;
}
xl-ai-agents .af-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 3px 14px 3px 4px;
  box-sizing: border-box;
  border: 1px solid var(--ground-line-strong);
  border-radius: 10px;
  color: var(--ground-muted);
}
xl-ai-agents .af-mono-t {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #1d1d1d;
  color: #e5e5e5;
  font-size: 12px;
}
/* Whose names and logos these are: directly under the picker. */
xl-ai-agents .af-note {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--ground-muted);
}
/* 1180:680 like the demo; it grows if the words need more room (phones). */
xl-ai-agents .af-frame {
  aspect-ratio: 1180 / 680;
  border: 1px solid #232323;
  border-radius: 16px;
  background: #0f0f0f;
}
xl-ai-agents .af-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid #1d1d1d;
}
xl-ai-agents .af-bar-t {
  font-size: 14px;
  line-height: 20px;
  color: #bdbdbd;
}
xl-ai-agents .af-bar-on {
  color: #ff5a5c;
}
xl-ai-agents .af-body {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}
xl-ai-agents .af-head {
  display: grid;
  font-size: 14px;
  line-height: 20px;
}
xl-ai-agents .af-head span,
xl-ai-agents .af-today {
  font-size: 12px;
  line-height: 16px;
  color: var(--xleads-muted);
}
xl-ai-agents .af-rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
xl-ai-agents .af-rows li {
  font-size: 14px;
  line-height: 20px;
}
xl-ai-agents .af-cap {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ground-muted);
}

/* A short desktop window: less air above, so the whole demo is on screen
   with the H2 when the section is reached. */
@media (min-width: 992px) and (max-height: 800px) {
  xl-ai-agents.sec {
    padding-top: 32px;
  }
  /* Variant B's sheet has its own bar above the section. */
  .bs-body xl-ai-agents.sec {
    padding-top: 8px;
  }
}

/* ------------------------------------------------------- 992-1199 -- */

@media (min-width: 992px) and (max-width: 1199px) {
  xl-ai-agents .ai-head,
  xl-ai-agents .ai-copy,
  xl-ai-agents .ai-risk {
    grid-column: 1 / span 4;
  }
  xl-ai-agents xl-ai-film.ai-film {
    grid-column: 5 / -1;
  }
}

/* ------------------------------------------------------------ <=991 -- */

@media (max-width: 991px) {
  xl-ai-agents .ai-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  xl-ai-agents .ai-head,
  xl-ai-agents .ai-copy,
  xl-ai-agents .ai-risk,
  xl-ai-agents xl-ai-film.ai-film {
    grid-column: 1;
    grid-row: auto;
  }
  xl-ai-agents .ai-head {
    margin-bottom: 0;
  }
  xl-ai-agents .ai-copy {
    max-width: 600px;
    margin-top: 48px;
  }
  xl-ai-agents xl-ai-film.ai-film {
    margin-top: 32px;
  }
  xl-ai-agents .ai-risk {
    margin-top: 48px;
  }
}
@media (max-width: 767px) {
  xl-ai-agents xl-ai-film.ai-film {
    margin-top: 24px;
  }
  xl-ai-agents .ai-copy {
    margin-top: 32px;
  }
  xl-ai-agents .ai-risk {
    margin-top: 32px;
  }
}

/* ---- b-ai ---- */
/* VARIANT B · AI Agents and the dialer, each a compact band of its own: the
   words on the left, a capture on the right (stacked under 992 px). The
   dialer's band (page/b-dialer.html) stacks: its words, then the dialer
   demo itself at the container's full width, then the demo label. */
xl-b-ai,
xl-b-dialer {
  display: block;
}
xl-b-ai.ba,
xl-b-dialer.bd {
  padding-block: 80px;
}
xl-b-dialer .bd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
xl-b-dialer .bd-cost {
  max-width: 62ch;
}
/* >=992: the heading on the left, the owner's two lines beside it. */
@media (min-width: 992px) {
  xl-b-dialer .bd-copy {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 64px;
    align-items: start;
  }
  xl-b-dialer .bd-copy .b-logo-row,
  xl-b-dialer .bd-copy .b-kicker {
    grid-column: 1 / -1;
  }
  xl-b-dialer .bd-copy .bd-h2 {
    grid-column: 1;
    grid-row: 3 / span 2;
  }
  xl-b-dialer .bd-copy .dl-lede,
  xl-b-dialer .bd-copy .bd-cost {
    grid-column: 2;
  }
}
/* The dialer in place: the hub's Dialer tab, in a light frame like variant A's. */
xl-b-dialer .bd-demo {
  display: block;
  min-width: 0;
  /* The height the dialer reaches once it mounts, so nothing below moves. */
  min-height: 820px;
  padding: 24px;
  border-radius: 20px;
  background: var(--xleads-bg);
  color: var(--xleads-text);
}
@media (min-width: 992px) and (max-width: 1199px) {
  xl-b-dialer .bd-demo {
    min-height: 720px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  xl-b-dialer .bd-demo {
    min-height: 757px;
  }
}
xl-b-dialer .bd-demo .bd-shot {
  display: block;
  width: 100%;
  max-width: 896px;
  height: auto;
  margin-inline: auto;
}
xl-b-ai .ba-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 32px 64px;
}
xl-b-ai .ba-copy,
xl-b-dialer .bd-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
  min-width: 0;
}
xl-b-ai .ai-lede-intro,
xl-b-dialer .dl-lede {
  max-width: 46ch;
}
/* Variant A's list of jobs, with its ticks (page/ai-agents.css scopes its own to xl-ai-agents). */
xl-b-ai .ba-copy .ai-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  width: 100%;
  margin: 0;
}
xl-b-ai .ba-copy .ai-jobs li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ground-fg);
}
xl-b-ai .ba-copy .ai-jobs li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid var(--xleads-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
xl-b-ai .bs-open {
  margin-top: 8px;
}
xl-b-ai .ba-shot,
xl-b-dialer .bd-shot {
  border-radius: var(--xleads-r-frame);
  box-shadow: var(--xleads-shadow-frame);
}
xl-b-dialer .dl-label {
  color: var(--ground-muted);
}
@media (max-width: 991px) {
  xl-b-ai .ba-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  xl-b-ai.ba,
  xl-b-dialer.bd {
    padding-block: 48px;
  }
  xl-b-ai .ba-copy .ai-jobs {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Phones: the words and the button; the capture is one tap away, in the demo. */
  xl-b-ai .ba-shot {
    display: none;
  }
  xl-b-dialer .bd-demo {
    min-height: 672px;
    padding: 12px;
    border-radius: 16px;
  }
}

/* ---- land-demo ---- */
/* LAND MODE (owner, Nov 16, 2026). Dark, one hairline above, the page's
   rhythm: H2 · 24 · lede, 64 to the frame, 24 to the notes. The frame is
   LandX itself (its own shadow root, its own styles): the page only
   gives it a box. 1024 px and wider the frame is wide enough for Land's
   three panes (rail, panel, map); under that Land folds itself, by its own
   container queries, to its tablet and phone layouts. */

xl-land-mode .lm-lede {
  max-width: 760px;
}
/* The plan line sits 8 px closer to the lede than the head's 24 px step. */
xl-land-mode .lm-plan {
  margin-top: -8px;
}
xl-land-mode .lm-demo {
  display: block;
}
xl-land-mode .lm-frame {
  position: relative;
  display: block;
  height: 720px;
  overflow: hidden;
  border-radius: var(--xleads-r-frame);
  box-shadow: var(--xleads-shadow-frame);
  background: var(--xleads-surface);
}
/* The words: what shows until LandX itself arrives (and without JavaScript). */
xl-land-mode .lm-words {
  display: grid;
  align-content: center;
  gap: 24px;
  height: 100%;
  margin: 0;
  padding: 32px;
  list-style: none;
  font-size: 18px;
  line-height: 28px;
  color: var(--ground-fg);
}
xl-land-mode .lm-words li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  max-width: 640px;
}
xl-land-mode .lm-step {
  font-weight: 600;
  color: var(--ground-muted);
  font-variant-numeric: tabular-nums;
}
xl-land-mode .lm-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 24px;
}
xl-land-mode .lm-notes {
  display: grid;
  gap: 8px;
  min-width: 0;
}
xl-land-mode .lm-label {
  color: var(--ground-fg);
}
xl-land-mode .lm-hidden,
xl-land-mode .lm-src {
  color: var(--ground-muted);
}
xl-land-mode .lm-hidden {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
xl-land-mode .lm-pair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
xl-land-mode .lm-k {
  color: var(--ground-fg);
}
/* The owner's name: a bar with nothing in it. */
xl-land-mode .lm-bar {
  display: inline-block;
  width: 112px;
  height: 12px;
  border-radius: 3px;
  background: var(--xleads-unlit);
}
xl-land-mode .lm-phone {
  font-variant-numeric: tabular-nums;
}
xl-land-mode .lm-cta {
  flex: none;
}

@media (max-width: 1023px) {
  xl-land-mode .lm-foot {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  xl-land-mode .lm-frame {
    height: 640px;
  }
  xl-land-mode .lm-words {
    padding: 24px 16px;
  }
  xl-land-mode .lm-bar {
    width: 72px;
  }
}

/* ---- b-land ---- */
/* VARIANT B · LandX in the page (owner, Nov 18, 2026). Variant A's
   stylesheet (page/land-demo.css) draws the frame and the notes; here only
   the capture that covers the frame until LandX is ready. */
xl-land-mode.bl .bl-head {
  margin-bottom: 40px;
}
xl-land-mode.bl .bl-stage {
  position: relative;
}
xl-land-mode.bl .bl-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
  border-radius: var(--xleads-r-frame);
  background: var(--xleads-surface);
  pointer-events: none;
}
xl-land-mode.bl .bl-stage:has(xl-land-demo[data-land-ready], xl-land-demo[data-land-failed]) .bl-poster {
  display: none;
}
@media (scripting: none) {
  xl-land-mode.bl .bl-poster {
    display: none;
  }
}
@media (max-width: 767px) {
  xl-land-mode.bl .bl-head {
    margin-bottom: 24px;
  }
  xl-land-mode.bl .bl-poster {
    object-fit: contain;
    object-position: 50% 0;
  }
}

/* Phones: the demo's file waits for this button (src/sections/land-demo.ts). */
xl-land-mode.bl .bl-open {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
xl-land-mode.bl .bl-open[hidden] {
  display: none;
}

/* ---- b-more ---- */
/* VARIANT B · more in the same login: four cards, each a capture (or, for
   the AI voice agents card, its video once the owner's file is set; nothing
   until then), what it is, and one button. */
xl-b-more .bm-head {
  margin-bottom: 48px;
}
xl-b-more .bm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
xl-b-more .bm-item {
  display: grid;
}
xl-b-more .bm-card {
  display: grid;
  border-radius: var(--xleads-r-frame);
  box-shadow: var(--xleads-shadow-frame);
  background: var(--xleads-raised);
}
xl-b-more .bm-card > .bs-card {
  grid-template-rows: auto 1fr;
}
xl-b-more .bs-shot {
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: 0 0;
  box-shadow: inset 0 -1px 0 var(--xleads-line);
}
xl-b-more .bs-meta {
  grid-template-rows: auto auto 1fr;
}
xl-b-more .bs-open {
  align-self: end;
}
/* Four cards: four across on a wide screen, two by two below that, one column on a phone. */
@media (min-width: 1100px) {
  xl-b-more .bm-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 600px) and (max-width: 1099px) {
  xl-b-more .bm-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 599px) {
  xl-b-more .bm-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  xl-b-more .bm-head {
    margin-bottom: 32px;
  }
  xl-b-more .bm-cards {
    gap: 16px;
  }
  xl-b-more .bs-meta {
    padding: 20px;
  }
  /* Five cards in one column: each picture is a strip, so the list stays short. */
  xl-b-more .bs-shot {
    aspect-ratio: 5 / 2;
  }
}
/* The AI voice agents card: with no video its words fill the card. */
xl-b-more #ai-voice-agents > .bs-card {
  grid-template-rows: 1fr;
}
xl-b-more #ai-voice-agents > .bs-card:has(.bm-video) {
  grid-template-rows: auto 1fr;
}
xl-b-more .bm-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

/* ---- c-stack ---- */
/* VARIANT C · THE STACK: the film sits straight on the page's ground (its
   own background is the same #08080a), so no box shows around it. */
.cs {
  padding-bottom: 32px;
}
.cs-head {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}
.cs-h2 {
  margin: 0;
  font-size: 48px;
  line-height: 56px;
}
.cs-fig {
  margin: 0;
}
.cs-film {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--xleads-bg);
}
.cs-film picture,
.cs-film img,
.cs-film video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cs-film video {
  opacity: 0;
  transition: opacity var(--xl-dur-ui) linear;
}
.cs-film video[data-on] {
  opacity: 1;
}
.cs-note {
  max-width: 60ch;
  margin-top: 16px;
}
/* The tick list is this section's second half: no second rule, less air. */
.cs + .bc {
  padding-top: 48px;
}
.cs + .bc::before {
  display: none;
}
/* Its heading is this section's second: the quiet size, under the film's. */
.cs + .bc .bc-title {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.03em;
}
@media (max-width: 767px) {
  .cs + .bc .bc-title {
    font-size: 28px;
    line-height: 34px;
  }
}

/* No film: the two figures as a still. */
.cs-still {
  display: grid;
  justify-items: start;
  padding: 48px 0;
}
.cs-still p {
  margin: 0;
}
.cs-still-k {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ground-muted);
}
.cs-still-was {
  margin-bottom: 24px !important;
  font-size: 56px;
  line-height: 64px;
  font-weight: 600;
  color: var(--ground-muted);
}
.cs-still-was s {
  text-decoration-color: var(--xleads-red);
  text-decoration-thickness: 2px;
}
.cs-still-now {
  font-size: 96px;
  line-height: 100px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.cs-still-per {
  font-size: 0.55em;
  color: var(--ground-muted);
}
.cs-still-note {
  margin-top: 12px !important;
  font-size: 18px;
  line-height: 28px;
  color: var(--ground-muted);
}

@media (max-width: 767px) {
  .cs-h2 {
    font-size: 32px;
    line-height: 40px;
  }
  .cs-head {
    margin-bottom: 24px;
  }
  .cs-film {
    aspect-ratio: 4 / 5;
  }
  .cs-still-now {
    font-size: 72px;
    line-height: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-film video {
    display: none;
  }
}

/* ---- b-compare ---- */
/* VARIANT B · the comparison, live. A ledger of tick-box lines on the left,
   the two figures and the sentence beside it (stacked under 1100 px). No
   boxes: hairlines, like variant A's strip. The only red is XPlan's figure. */
xl-b-compare .bc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
xl-b-compare .bc-head {
  margin-bottom: 48px;
}
xl-b-compare .bc-lede {
  max-width: 52ch;
}
xl-b-compare .bc-rows {
  margin: 0;
  box-shadow: inset 0 1px 0 var(--ground-line-strong);
}
xl-b-compare .bc-row {
  box-shadow: inset 0 -1px 0 var(--ground-line);
}
xl-b-compare .bc-pick {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 16px;
  min-height: 52px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
}
xl-b-compare .bc-check {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}
xl-b-compare .bc-box {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px var(--xleads-muted);
  transition:
    background-color var(--xl-dur-micro) var(--xl-ease-out),
    box-shadow var(--xl-dur-micro) var(--xl-ease-out);
}
xl-b-compare .bc-check:checked + .bc-box {
  background: var(--xleads-text);
  box-shadow: none;
}
xl-b-compare .bc-check:checked + .bc-box::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--xleads-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
xl-b-compare .bc-check:focus-visible + .bc-box {
  outline: 2px solid var(--ground-focus);
  outline-offset: 2px;
}
xl-b-compare .bc-job {
  color: var(--ground-fg);
  font-weight: 500;
}
xl-b-compare .bc-tool {
  color: var(--ground-muted);
}
xl-b-compare .bc-amt {
  color: var(--ground-fg);
  font-weight: 500;
  text-align: right;
}
xl-b-compare .bc-none {
  color: var(--ground-muted);
  font-weight: 400;
  font-size: 14px;
}
/* A line that is not ticked steps back; it stays readable (4.5:1). */
xl-b-compare .bc-check:not(:checked) ~ .bc-job,
xl-b-compare .bc-check:not(:checked) ~ .bc-amt {
  color: var(--ground-muted);
  font-weight: 400;
}
xl-b-compare .bc-check:not(:checked) ~ .bc-amt:not(.bc-none) {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

xl-b-compare .bc-out {
  display: grid;
  gap: 32px;
  align-content: start;
  margin-top: 40px;
}
xl-b-compare .bc-vs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 32px;
}
xl-b-compare .bc-side {
  display: grid;
  grid-template-columns: auto auto;
  /* The unit sits against its figure, not across a stretched column. */
  justify-content: start;
  align-items: baseline;
  column-gap: 4px;
}
xl-b-compare .bc-k {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--ground-muted);
}
xl-b-compare .bc-n {
  font-size: 72px;
  line-height: 76px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ground-fg);
}
xl-b-compare .bc-x .bc-n {
  color: var(--ground-accent);
}
xl-b-compare .bc-per {
  font-size: 16px;
  line-height: 24px;
  color: var(--ground-muted);
}
xl-b-compare .bc-to {
  display: none;
  align-self: center;
  color: var(--ground-muted);
  font-size: 24px;
  line-height: 32px;
}
xl-b-compare .bc-to::before {
  content: "→";
}
xl-b-compare .bc-math {
  margin-top: 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--ground-muted);
}
xl-b-compare .bc-line {
  margin-top: 8px;
  max-width: 44ch;
  font-size: 18px;
  line-height: 28px;
  color: var(--ground-fg);
  text-wrap: pretty;
}
xl-b-compare .bc-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
xl-b-compare .bc-fine {
  margin-top: 40px;
  max-width: 996px;
}
xl-b-compare .rs-fine {
  font-size: 14px;
  line-height: 22px;
  color: var(--ground-muted);
  text-wrap: pretty;
}
@media (min-width: 1100px) {
  xl-b-compare .bc-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 72px;
  }
  xl-b-compare .bc-head,
  xl-b-compare .bc-fine {
    grid-column: 1 / -1;
  }
  xl-b-compare .bc-vs {
    display: grid;
    gap: 24px;
  }
  xl-b-compare .bc-out {
    position: sticky;
    top: calc(var(--xleads-nav-h) + 24px);
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  xl-b-compare .bc-head {
    margin-bottom: 32px;
  }
  /* Phones: the job and its price on one line, the tool under it. */
  xl-b-compare .bc-pick {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 0 12px;
  }
  xl-b-compare .bc-tool {
    grid-column: 2 / -1;
    grid-row: 2;
    font-size: 14px;
    line-height: 22px;
  }
  xl-b-compare .bc-n {
    font-size: 48px;
    line-height: 52px;
  }
  xl-b-compare .bc-out {
    margin-top: 32px;
    gap: 24px;
  }
  xl-b-compare .bc-act .btn {
    flex: 1 1 100%;
  }
}

/* ---- c-film ---- */
/* VARIANT C · THE FULL FILM: nothing at all until its slot is filled. */
.cf-sec {
  display: block;
  padding-block: var(--xleads-sec-pad);
  background: var(--xleads-bg);
  color: var(--xleads-text);
}
.cf-sec:empty {
  display: none;
}

/* ---- pricing ---- */
/* PRICING (SPEC v2 §7; owner, Nov 10, 2026). Paper ground; two cards on
   one skeleton, Basic left and XPlan right; the usage prices; then one
   comparison table with the calculator beside it. The billing radios drive which view shows (no JS).

   Type, spacing and colour come from SPEC v2 §3 and are set here in full,
   scoped to the section, so the cards read the same whatever the global
   classes do. Breakpoints: 1279 / 991 / 767 / 479. */

xl-pricing {
  --pr-paper: var(--xleads-paper, #fafaf7);
  --pr-card: #ffffff;
  --pr-ink: var(--xleads-ink, #0a0a0b);
  --pr-ink-muted: var(--xleads-ink-muted, #55555f);
  --pr-line: rgba(10, 10, 11, 0.08);
  --pr-line-strong: rgba(10, 10, 11, 0.14);
  --pr-red: var(--xleads-red-solid, #e21224);
  --pr-red-hover: #c90f1f;
  --pr-focus: var(--ground-focus, #be0918);
  --pr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pr-pad: 40px;

  display: block;
  background: var(--pr-paper);
  color: var(--pr-ink);
}

/* A short step below: the FAQ continues the paper band. */
xl-pricing.pricing {
  padding-bottom: 64px;
}

/* Inside both plan cards and the usage panel the ground is ink (owner,
   Nov 12, 2026): white text, #b4b4bd for the quiet lines (9.6:1). */
xl-pricing .pr-card,
xl-pricing .pr-usage {
  --pr-fg: #ffffff;
  --pr-muted: #b4b4bd;
  --pr-rule: rgba(255, 255, 255, 0.08);
  --pr-rule-strong: rgba(255, 255, 255, 0.14);
  --pr-focus: #ff5a66;
}

xl-pricing .pr-nowrap {
  white-space: nowrap;
}
xl-pricing [data-xl-value],
xl-pricing .pr-fig,
xl-pricing .pr-tools td {
  font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------- views -- */

/* Yearly is checked by default; the enhancer keeps the radios on the bus. */
xl-pricing #xl-bill-annual:checked ~ * .is-monthly,
xl-pricing #xl-bill-monthly:checked ~ * .is-annual {
  display: none;
}
/* After the first toggle (never on load) the new figures crossfade in. */
xl-pricing[data-toggled] .pr-view .pr-fig,
xl-pricing[data-toggled] .pr-view .pr-billed,
xl-pricing[data-toggled] .pr-receipt-r > span {
  animation: pr-in 200ms var(--pr-ease) both;
}
@keyframes pr-in {
  from {
    opacity: 0;
  }
}

/* ---------------------------------------------------------- layout -- */

xl-pricing .pr-billing {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
xl-pricing .pr-head {
  grid-column: 1 / -1;
  min-width: 0;
}
/* The toggle + cards box: layout-neutral except on phones (see ≤767). */
xl-pricing .pr-stage {
  display: contents;
}
xl-pricing .pr-toggle-bar {
  grid-column: 1 / -1;
  justify-self: start;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
xl-pricing .pr-cards,
xl-pricing .pr-under {
  grid-column: 1 / -1;
  min-width: 0;
}
xl-pricing .pr-cards {
  margin-top: 32px;
}
xl-pricing .pr-under {
  margin-top: 96px;
}

/* ---------------------------------------------------------- header -- */

xl-pricing .pr-h2 {
  margin: 0;
  max-width: none;
  color: var(--pr-ink);
}
xl-pricing .pr-h2-line {
  display: block;
}
xl-pricing .pr-lede {
  margin: 24px 0 0;
  color: var(--pr-ink-muted);
}
xl-pricing .pr-lede [data-xl-value] {
  color: var(--pr-ink);
  font-weight: 600;
}

/* ---------------------------------------------------------- toggle -- */

xl-pricing .pr-toggle-note {
  margin: 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
xl-pricing .pr-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--pr-line-strong);
  border-radius: 6px;
  background: var(--pr-paper);
}
xl-pricing .pr-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0 16px;
  border-radius: 4px;
  color: var(--pr-ink-muted);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 200ms var(--pr-ease),
    color 200ms var(--pr-ease);
}
xl-pricing .pr-seg:hover {
  color: var(--pr-ink);
}
xl-pricing #xl-bill-annual:checked ~ * .pr-seg-annual,
xl-pricing #xl-bill-monthly:checked ~ * .pr-seg-monthly {
  background: var(--pr-ink);
  color: #ffffff;
  cursor: default;
}
xl-pricing #xl-bill-annual:focus-visible ~ * .pr-seg-annual,
xl-pricing #xl-bill-monthly:focus-visible ~ * .pr-seg-monthly {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
}

/* ----------------------------------------------------------- cards -- */

/* The hero's "Get XPlan" lands here (#plan-xplan) with the heading and the
   billing control still on screen. */
xl-pricing #plan-xplan {
  scroll-margin-top: 320px;
}
xl-pricing .pr-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
xl-pricing .pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: var(--pr-pad);
  border-radius: 12px;
  color: var(--pr-fg);
}
/* Both plans are ink cards with white text (owner, Nov 12, 2026); XPlan's
   carries the red rule. No glow. */
xl-pricing .pr-card {
  background: var(--pr-ink);
  border: 1px solid var(--pr-ink);
}
xl-pricing .pr-xplan {
  border-color: var(--pr-red);
}
xl-pricing .pr-top {
  display: flex;
  flex: 1;
  flex-direction: column;
}

/* The skeleton, top to bottom (SPEC v2 §7.2). */
xl-pricing .pr-name {
  margin: 0;
  color: var(--pr-fg);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
xl-pricing .pr-desc {
  margin: 4px 0 0;
  color: var(--pr-muted);
  font-size: 18px;
  line-height: 28px;
}
xl-pricing .pr-view {
  margin-top: 32px;
}
xl-pricing .pr-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--pr-fg);
}
xl-pricing .pr-fig {
  font-size: 72px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
xl-pricing .pr-unit {
  color: var(--pr-muted);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}
xl-pricing .pr-billed {
  margin: 8px 0 0;
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 22px;
}
/* "Pay yearly and save $167 →" (monthly view): a text link that flips the toggle. */
xl-pricing .pr-yearly {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--pr-fg);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  cursor: pointer;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
xl-pricing .pr-yearly:hover {
  text-decoration-line: underline;
}
xl-pricing .pr-yearly:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
xl-pricing .pr-arrow {
  flex: none;
  transition: transform 120ms var(--pr-ease);
}
xl-pricing .pr-yearly:hover .pr-arrow {
  transform: translateX(2px);
}

xl-pricing .pr-cta {
  margin-top: 24px;
}
xl-pricing .pr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 120ms var(--pr-ease),
    transform 120ms var(--pr-ease);
}
xl-pricing .pr-btn:active {
  transform: translateY(1px);
}
xl-pricing .pr-btn:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
}
/* Basic's button: white on the ink card. */
xl-pricing .pr-btn-ink {
  background: #ffffff;
  color: var(--pr-ink);
}
xl-pricing .pr-btn-ink:hover {
  background: #e4e4e7;
}
xl-pricing .pr-btn-red {
  background: var(--pr-red);
  color: #ffffff;
}
xl-pricing .pr-btn-red:hover {
  background: var(--pr-red-hover);
}
xl-pricing .pr-renew {
  margin: 8px 0 0;
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 20px;
}
xl-pricing .pr-guarantee {
  margin: 8px 0 0;
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 20px;
}

/* -------------------------------------------------------- what's in -- */

/* A rule between the buttons and the lists. The policy line that sat here
   (owner, Nov 16, 2026: off the pricing cards) is in the plan sheet, the
   FAQ and the terms. */
xl-pricing .pr-lists {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--pr-rule-strong);
}
/* What the plan comes with, and what it does not (plan-facts.ts). Green
   ticks (#22c55e, 8.9:1 on the ink) and quiet dashes. */
xl-pricing .pr-list-h {
  margin: 0 0 8px;
  color: var(--pr-fg);
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}
xl-pricing .pr-list + .pr-list-h {
  margin-top: 24px;
}
xl-pricing .pr-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
xl-pricing .pr-list > li {
  position: relative;
  padding-left: 28px;
  color: var(--pr-fg);
  font-size: 16px;
  line-height: 24px;
  text-wrap: pretty;
}
xl-pricing .pr-list-with > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--xleads-green, #22c55e);
  border-bottom: 2px solid var(--xleads-green, #22c55e);
  transform: rotate(-45deg);
}
xl-pricing .pr-list-not > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 12px;
  border-top: 2px solid var(--pr-muted);
}
xl-pricing .pr-li-sub {
  display: block;
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 20px;
}
/* "Compare every feature →": the card's last line; it opens the table. */
xl-pricing .pr-compare-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--pr-fg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
xl-pricing .pr-compare-link:hover {
  text-decoration-thickness: 2px;
}
xl-pricing .pr-compare-link:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
  border-radius: 6px;
}
xl-pricing #compare-plans {
  scroll-margin-top: calc(var(--xleads-nav-h) + 24px);
}

/* ----------------------------------------------------------- usage -- */

xl-pricing .pr-h3 {
  margin: 0;
  color: var(--pr-ink);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* An ink panel: the usage prices in white on black (owner, Nov 12, 2026). */
xl-pricing .pr-usage {
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: 24px;
  padding: var(--pr-pad);
  border-radius: 12px;
  background: var(--pr-ink);
  color: var(--pr-fg);
}
xl-pricing .pr-usage .pr-h3 {
  color: var(--pr-fg);
}
xl-pricing .pr-usage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--pr-rule-strong);
}
xl-pricing .pr-use {
  min-width: 0;
}
/* The dialer says more (rate, estimate, comparison, fine print): two columns wide. */
xl-pricing .pr-use[data-use="dialer"] {
  grid-column: span 2;
}
xl-pricing .pr-use dt {
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
xl-pricing .pr-use dd {
  margin: 4px 0 0;
  color: var(--pr-fg);
  font-size: 16px;
  line-height: 22px;
  text-wrap: pretty;
}
xl-pricing .pr-use-fig {
  font-weight: 600;
}
/* The dialer's estimate and comparison (second lines), then its fine print. */
xl-pricing .pr-use-sub,
xl-pricing .pr-use-fine {
  display: block;
  margin-top: 4px;
  color: var(--pr-muted);
  font-size: 14px;
  line-height: 20px;
}
xl-pricing .pr-use-fine {
  font-size: 12px;
  line-height: 16px;
}

/* ------------------------------------------------ texting at volume -- */

/* A borderless table: hairline rows, the plan that costs less in ink 600. */
xl-pricing .pr-volume {
  grid-column: 1 / -1;
  min-width: 0;
  max-width: 792px;
  margin-top: 64px;
}
xl-pricing .pr-vol-lede {
  margin: 8px 0 0;
  color: var(--pr-ink-muted);
  font-size: 18px;
  line-height: 28px;
}
xl-pricing .pr-vol {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 18px;
  line-height: 28px;
  font-variant-numeric: tabular-nums;
}
xl-pricing .pr-vol th,
xl-pricing .pr-vol td {
  padding: 12px 0;
  border-top: 1px solid var(--pr-line-strong);
  color: var(--pr-ink-muted);
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}
xl-pricing .pr-vol th:first-child {
  text-align: left;
}
xl-pricing .pr-vol thead th {
  border-top: 0;
  padding-top: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}
xl-pricing .pr-vol tbody th {
  color: var(--pr-ink);
  font-weight: 500;
}
xl-pricing .pr-vol tbody tr:last-child > * {
  border-bottom: 1px solid var(--pr-line-strong);
}
xl-pricing .pr-vol tr[data-cheaper="basic"] td[data-plan="basic"],
xl-pricing .pr-vol tr[data-cheaper="xplan"] td[data-plan="xplan"],
xl-pricing .pr-vol .pr-vol-diff {
  color: var(--pr-ink);
  font-weight: 600;
}
xl-pricing .pr-vol-math,
xl-pricing .pr-vol-note {
  margin: 12px 0 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 22px;
  text-wrap: pretty;
}
xl-pricing .pr-vol-math {
  font-variant-numeric: tabular-nums;
}
xl-pricing .pr-vol-note {
  margin-top: 4px;
}
@media (max-width: 767px) {
  xl-pricing .pr-volume {
    margin-top: 48px;
  }
  xl-pricing .pr-vol-lede {
    font-size: 16px;
    line-height: 24px;
  }
  xl-pricing .pr-vol {
    margin-top: 16px;
    font-size: 14px;
    line-height: 22px;
  }
  xl-pricing .pr-vol th,
  xl-pricing .pr-vol td {
    padding: 10px 0 10px 8px;
  }
  xl-pricing .pr-vol th:first-child {
    padding-left: 0;
  }
}
/* The narrowest phones: four no-wrap columns are wider than the page, so
   the headings and the Difference column may wrap (the figures never do). */
@media (max-width: 359px) {
  xl-pricing .pr-vol thead th,
  xl-pricing .pr-vol .pr-vol-diff {
    white-space: normal;
  }
  xl-pricing .pr-vol .pr-vol-diff > span {
    white-space: nowrap;
  }
}

/* --------------------------------------------------------- compare -- */

xl-pricing .pr-under {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--pr-line-strong);
}
xl-pricing .pr-compare,
xl-pricing .pr-calc {
  min-width: 0;
}
xl-pricing .pr-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
xl-pricing .pr-table th,
xl-pricing .pr-table td {
  padding: 12px;
  border-top: 1px solid var(--pr-line);
  font-size: 16px;
  line-height: 22px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
xl-pricing .pr-table thead th {
  position: sticky;
  z-index: 2;
  top: var(--xleads-nav-h, 56px);
  width: 24%;
  padding-block: 12px;
  border-top: 0;
  background: var(--pr-paper);
  color: var(--pr-ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
xl-pricing .pr-table thead th:first-child {
  width: 52%;
}
xl-pricing .pr-table td {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
xl-pricing .pr-table tbody th[scope="row"] {
  padding-left: 0;
  color: var(--pr-ink);
  font-weight: 500;
}
xl-pricing .pr-t-label,
xl-pricing .pr-t-sub {
  display: block;
}
xl-pricing .pr-t-sub {
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
xl-pricing .pr-table .pr-group th {
  padding: 24px 0 8px;
  border-top: 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
xl-pricing .pr-table tbody:first-of-type .pr-group th {
  padding-top: 16px;
}
xl-pricing .pr-table td.is-same {
  color: var(--pr-ink-muted);
}
xl-pricing .pr-table td.is-none {
  color: var(--pr-ink-muted);
}
xl-pricing .pr-table td.is-own {
  color: var(--pr-ink);
}
xl-pricing .pr-table td.is-more {
  font-weight: 600;
}

/* ------------------------------------------------------------ folds -- */

/* The comparison table and the calculator are two disclosure rows between
   hairlines (<details class="pr-fold">), closed until asked for, at every
   width and without JavaScript. */
xl-pricing .pr-fold {
  border-top: 1px solid var(--pr-line-strong);
}
xl-pricing .pr-fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  list-style: none;
  cursor: pointer;
}
xl-pricing .pr-fold > summary::-webkit-details-marker {
  display: none;
}
xl-pricing .pr-fold > summary:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
  border-radius: 6px;
}
xl-pricing .pr-plus {
  flex: none;
  color: var(--pr-ink-muted);
  transition: transform 200ms var(--pr-ease);
}
xl-pricing .pr-fold[open] .pr-plus {
  transform: rotate(45deg);
}
xl-pricing .pr-fold[open] {
  padding-bottom: 48px;
}
/* Open, each holds a measure, not the full grid. */
xl-pricing .pr-fold > .pr-table {
  max-width: 792px;
  margin-top: 0;
}
xl-pricing .pr-fold-calc > :not(summary) {
  max-width: 588px;
}

/* ------------------------------------------------------ calculator -- */

xl-pricing .pr-calc {
  display: block;
}
xl-pricing .pc-lede {
  margin: 4px 0 0;
  color: var(--pr-ink-muted);
  font-size: 16px;
  line-height: 22px;
}
xl-pricing .pc-billing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
xl-pricing .pc-billing + .pc-fields {
  margin-top: 16px;
}
/* Without the script the math can't follow the switch, so the switch waits for it. */
xl-pricing xl-plan-calc:not([data-xl-ready]) .pc-billing {
  display: none;
}
xl-pricing .pc-toggle {
  height: 44px;
}
xl-pricing .pc-toggle .pr-seg {
  min-width: 72px;
}
xl-pricing .pc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
xl-pricing .pc-field {
  display: block;
  min-width: 0;
}
xl-pricing .pc-label {
  display: block;
  padding: 0;
  color: var(--pr-ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}
xl-pricing .pc-input {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 4px;
  padding: 0 12px;
  border: 1px solid var(--pr-line-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--pr-ink);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
xl-pricing .pc-input:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
}
xl-pricing .pc-needs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  min-width: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
xl-pricing .pc-needs legend {
  margin-bottom: 4px;
}
xl-pricing .pc-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--pr-ink);
  font-size: 16px;
  line-height: 22px;
  cursor: pointer;
}
xl-pricing .pc-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--pr-red);
}
xl-pricing .pc-check input:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
}
xl-pricing .pc-out {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--pr-line-strong);
}
xl-pricing .pc-verdict {
  margin: 0;
  color: var(--pr-ink-muted);
  font-size: 16px;
  line-height: 22px;
}
xl-pricing .pc-verdict strong {
  display: block;
  color: var(--pr-ink);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
xl-pricing .pc-why {
  margin: 4px 0 0;
  color: var(--pr-fg);
  font-size: 16px;
  line-height: 22px;
  text-wrap: pretty;
}
xl-pricing .pc-math {
  margin: 16px 0 0;
}
xl-pricing .pc-line {
  padding: 8px 0;
  border-top: 1px solid var(--pr-line);
}
xl-pricing .pc-line dt {
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
xl-pricing .pc-line dd {
  margin: 0;
  color: var(--pr-ink);
  font-size: 16px;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
xl-pricing .pc-cta {
  margin-top: 16px;
}
xl-pricing .pc-note {
  margin: 12px 0 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
}

/* ---------------------------------------------- under the cards -- */

xl-pricing .pr-receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  min-height: 64px;
  padding: 8px 0;
  border-block: 1px solid var(--pr-line-strong);
}
xl-pricing .pr-receipt p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
xl-pricing .pr-receipt-l {
  color: var(--pr-ink);
}
xl-pricing .pr-receipt-r {
  color: var(--pr-ink-muted);
  text-align: right;
}
xl-pricing .pr-receipt-total,
xl-pricing .pr-receipt-r [data-xl-value] {
  color: var(--pr-ink);
  font-weight: 600;
}

xl-pricing .pr-disclose > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--pr-ink);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
xl-pricing .pr-disclose > summary::-webkit-details-marker {
  display: none;
}
xl-pricing .pr-disclose > summary:hover {
  text-decoration-line: underline;
}
xl-pricing .pr-disclose > summary:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
xl-pricing .pr-chev {
  flex: none;
  transition: transform 200ms var(--pr-ease);
}
xl-pricing .pr-disclose[open] > summary .pr-chev {
  transform: rotate(180deg);
}
xl-pricing .pr-disclose-body {
  padding: 4px 0 24px;
}

/* "See the tools": tool · typical monthly price, totalled from the rows. */
xl-pricing .pr-tools {
  width: 100%;
  border-collapse: collapse;
}
xl-pricing .pr-tools th,
xl-pricing .pr-tools td {
  padding: 9px 0;
  border-bottom: 1px solid var(--pr-line);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}
xl-pricing .pr-tools tbody th {
  padding-right: 16px;
  color: var(--pr-ink);
  font-weight: 400;
}
xl-pricing .pr-tools td {
  color: var(--pr-ink);
  text-align: right;
  white-space: nowrap;
}
xl-pricing .pr-tools tfoot th,
xl-pricing .pr-tools tfoot td {
  border-bottom: 0;
  border-top: 1px solid var(--pr-line-strong);
  font-weight: 600;
}
xl-pricing .pr-note {
  max-width: 64ch;
  margin: 12px 0 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
}
/* An inline text link in a note. */
xl-pricing .pr-note-link {
  color: var(--pr-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--pr-line-strong);
  border-radius: 2px;
  transition: text-decoration-color 120ms var(--pr-ease);
}
xl-pricing .pr-note-link:hover {
  text-decoration-color: currentColor;
}
xl-pricing .pr-note-link:focus-visible {
  outline: 2px solid var(--pr-focus);
  outline-offset: 2px;
}

xl-pricing .pr-policy {
  margin: 16px 0 0;
  color: var(--pr-ink-muted);
  font-size: 14px;
  line-height: 20px;
}

/* -------------------------------------------------------- 992–1279 -- */

/* --------------------------------------------------------- 768–991 -- */

@media (max-width: 991px) {
  xl-pricing {
    --pr-pad: 32px;
  }
  xl-pricing .pr-toggle-bar {
    margin-top: 32px;
  }
  xl-pricing .pr-cards {
    margin-top: 32px;
  }
  xl-pricing .pr-usage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  xl-pricing .pr-receipt {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 16px 0;
  }
  xl-pricing .pr-receipt-r {
    text-align: left;
  }
}

/* ------------------------------------------------------------ ≤767 -- */

@media (max-width: 767px) {
  xl-pricing {
    --pr-pad: 24px;
  }
  /* The note stays in the flow; the toggle sticks under the nav while the
     cards are in view (.pr-stage holds exactly the toggle and the cards). */
  xl-pricing .pr-stage {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }
  xl-pricing .pr-toggle-bar {
    display: contents;
  }
  xl-pricing .pr-toggle-note {
    grid-column: 1 / -1;
    margin-top: 24px;
    white-space: normal;
  }
  xl-pricing .pr-toggle {
    position: sticky;
    z-index: 5;
    top: var(--xleads-nav-h, 56px);
    grid-column: 1 / -1;
    /* 50: each segment (3 px inside the frame) is a 44 px target. */
    height: 50px;
    margin: 8px calc(-1 * var(--xleads-gutter, 16px)) 0;
    padding: 8px var(--xleads-gutter, 16px);
    border: 0;
    border-radius: 0;
    background: var(--pr-paper);
    box-sizing: content-box;
  }
  xl-pricing .pr-toggle::before {
    content: "";
    position: absolute;
    inset: 8px var(--xleads-gutter, 16px);
    border: 1px solid var(--pr-line-strong);
    border-radius: 6px;
    pointer-events: none;
  }
  xl-pricing .pr-seg {
    position: relative;
    margin: 3px;
    min-width: 0;
  }
  xl-pricing .pr-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
  }
  /* Phones: XPlan first (the plan the hero's button names). */
  xl-pricing .pr-xplan {
    order: -1;
  }
  /* "Get XPlan" lands with the card under the nav and the billing control. */
  xl-pricing #plan-xplan {
    scroll-margin-top: calc(var(--xleads-nav-h) + 84px);
  }
  xl-pricing .pr-usage {
    margin-top: 48px;
  }
  xl-pricing .pr-usage-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
  }
  xl-pricing .pr-use[data-use="dialer"] {
    grid-column: auto;
  }
  xl-pricing .pr-under {
    margin-top: 48px;
  }
  xl-pricing .pr-table th,
  xl-pricing .pr-table td {
    padding: 10px 6px;
    font-size: 14px;
    line-height: 20px;
  }
  xl-pricing .pr-table thead th {
    width: 27%;
    font-size: 16px;
  }
  xl-pricing .pr-table thead th:first-child {
    width: 46%;
  }
  xl-pricing .pr-fold > summary {
    min-height: 64px;
  }
  xl-pricing .pr-fold[open] {
    padding-bottom: 32px;
  }
  /* The calculator's copy of the toggle sits in the flow (the page's sticks). */
  xl-pricing .pc-toggle {
    position: static;
    z-index: auto;
    grid-column: auto;
    height: 44px;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--pr-line-strong);
    border-radius: 6px;
    box-sizing: border-box;
  }
  xl-pricing .pc-toggle::before {
    content: none;
  }
  xl-pricing .pc-toggle {
    height: 52px;
  }
  xl-pricing .pc-toggle .pr-seg {
    margin: 0;
    min-width: 72px;
  }
  xl-pricing .pc-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  xl-pricing .pc-verdict strong {
    font-size: 28px;
    line-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  xl-pricing[data-toggled] .pr-view .pr-fig,
  xl-pricing[data-toggled] .pr-view .pr-billed,
  xl-pricing[data-toggled] .pr-receipt-r > span {
    animation: none;
  }
  xl-pricing .pr-seg,
  xl-pricing .pr-btn,
  xl-pricing .pr-plus,
  xl-pricing .pr-arrow {
    transition: none;
  }
}

/* ---- b-pricing ---- */
/* VARIANT B · pricing, shorter. Variant A's pricing.css gives the tokens,
   the Yearly | Monthly switch, the buttons, the tables and the folds; this
   lays out B's shorter cards, the one usage block and the policy line.
   Both cards are ink with white text, XPlan's with the red rule, as in A. */
/* Variant A lays the section on a 12-column grid; B's blocks are full width. */
xl-pricing.bp .pr-billing {
  display: block;
}
xl-pricing.bp .bp-head {
  margin-bottom: 40px;
}
xl-pricing.bp .bp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 24px;
}
xl-pricing.bp .bp-save {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--pr-ink-muted);
}
xl-pricing.bp .bp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
xl-pricing.bp .bp-card {
  --pr-fg: #ffffff;
  --pr-muted: #b4b4bd;
  --pr-rule: rgba(255, 255, 255, 0.08);
  --pr-rule-strong: rgba(255, 255, 255, 0.14);
  --pr-focus: #ff5a66;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0;
  padding: var(--pr-pad);
  border-radius: 12px;
  background: var(--pr-ink);
  color: var(--pr-fg);
  box-shadow: var(--xleads-shadow-xplan);
  scroll-margin-top: calc(var(--xleads-nav-h) + 24px);
}
xl-pricing.bp .bp-xplan {
  box-shadow:
    inset 0 3px 0 var(--xleads-red),
    var(--xleads-shadow-xplan);
}
xl-pricing.bp .bp-name {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--pr-fg);
}
xl-pricing.bp .bp-desc {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-muted);
}
xl-pricing.bp .bp-buy {
  margin-top: 24px;
}
xl-pricing.bp .bp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
}
xl-pricing.bp .bp-fig {
  font-size: 72px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--pr-fg);
}
xl-pricing.bp .bp-unit {
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-muted);
}
xl-pricing.bp .bp-due {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-fg);
}
xl-pricing.bp .bp-due b {
  font-weight: 600;
}
xl-pricing.bp .bp-btn {
  margin-top: 24px;
}
xl-pricing.bp .bp-who {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--pr-rule-strong);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--pr-fg);
}
xl-pricing.bp .bp-list {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 16px 0 0;
}
xl-pricing.bp .bp-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-fg);
}
xl-pricing.bp .bp-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid var(--xleads-green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
xl-pricing.bp .bp-policy {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--pr-ink-muted);
}

/* Usage, once: a plain definition list on the paper, hairlines between. */
xl-pricing.bp .bp-usage {
  margin-top: 64px;
}
xl-pricing.bp .bp-uses {
  margin: 16px 0 0;
  border-top: 1px solid var(--pr-line-strong);
}
xl-pricing.bp .bp-use {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pr-line);
}
xl-pricing.bp .bp-use dt {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--pr-ink);
}
xl-pricing.bp .bp-use dd {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-ink);
  text-wrap: pretty;
}
xl-pricing.bp .bp-even {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-ink-muted);
}
xl-pricing.bp .bp-folds {
  margin-top: 48px;
}
xl-pricing.bp .pr-fold > .pr-vol {
  margin-top: 8px;
}
xl-pricing.bp .pr-fold > p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--pr-ink-muted);
}
@media (max-width: 991px) {
  xl-pricing.bp .bp-card {
    --pr-pad: 32px;
  }
  xl-pricing.bp .bp-fig {
    font-size: 56px;
    line-height: 60px;
  }
}
@media (max-width: 767px) {
  xl-pricing.bp .bp-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  /* Phones: XPlan first, as variant A's stylesheet has it. */
  xl-pricing.bp .bp-xplan {
    order: -1;
  }
  xl-pricing.bp .bp-card {
    --pr-pad: 24px;
  }
  xl-pricing.bp .bp-use {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-pricing.bp .bp-usage {
    margin-top: 48px;
  }
}

/* In place of a trial: three facts under the cards (src/b/render.ts renderRisk). */
xl-pricing.bp .bp-risk {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--pr-line-strong);
  border-radius: 12px;
}
xl-pricing.bp .bp-risk-h {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
xl-pricing.bp .bp-risk-l {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 32px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
xl-pricing.bp .bp-risk-i {
  font-size: 16px;
  line-height: 24px;
  color: var(--pr-ink-muted);
}
xl-pricing.bp .bp-risk-t {
  display: block;
  color: var(--pr-ink);
  font-weight: 600;
}
@media (max-width: 991px) {
  xl-pricing.bp .bp-risk-l {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-pricing.bp .bp-risk {
    padding: 16px;
  }
}

/* The "*beta" mark inside a plan card: the cards are black on the paper
   section, so the mark takes the dark ground's red there. */
xl-pricing.bp .bp-card .xl-beta {
  color: var(--xleads-red);
}

/* ---- faq ---- */
/* FAQ (SPEC v2 §4.8). Paper, 128 / 96 / 72 padding.

   ≥992   the H2 and the mail link in columns 1–4; the seven rows in columns
          5–12, between hairlines, the first hairline level with the top of
          the H2.
   ≤991   one column: the H2, the link, then the rows.

   A row is the question (20/28, 500, ink; 18/26 on phones) and a 16 px plus
   that turns into an × over 200 ms when the row opens; the answer is 16/26
   ink-muted, at most 64ch, 24 px under it. No boxes, no circular buttons,
   no animation on the text. */

/* Support closes this paper band right under it, so the bottom is short. */
xl-faq.faq {
  padding-bottom: 48px;
}
xl-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
xl-faq .faq-side {
  grid-column: 1 / span 4;
  display: grid;
  gap: 24px;
  justify-items: start;
}
xl-faq .faq-mail {
  color: var(--ground-fg);
}
xl-faq .faq-list {
  grid-column: 5 / -1;
  border-bottom: 1px solid var(--ground-line-strong);
}

xl-faq .faq-item {
  border-top: 1px solid var(--ground-line-strong);
  /* A #faq-<anchor> deep link lands under the sticky nav. */
  scroll-margin-top: calc(var(--xleads-nav-h) + 24px);
}
xl-faq .faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 16px;
  list-style: none;
  cursor: pointer;
  border-radius: 4px;
}
xl-faq .faq-item > summary::-webkit-details-marker {
  display: none;
}
xl-faq .faq-item > summary:focus-visible {
  outline-offset: 4px;
}
xl-faq .faq-q {
  color: var(--ground-fg);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
xl-faq .faq-icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--ground-muted);
  transition:
    transform var(--xl-dur-ui) var(--xl-ease-out),
    color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-faq .faq-item > summary:hover .faq-icon,
xl-faq .faq-item[open] .faq-icon {
  color: var(--ground-fg);
}
xl-faq .faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

/* The answer: 24 px under it, clear of the icon's column. */
xl-faq .faq-a {
  padding: 0 40px 24px 0;
}
/* "do-not-call" never breaks at its hyphens. */
xl-faq .faq-nb {
  white-space: nowrap;
}
xl-faq .faq-a p {
  max-width: 64ch;
  color: var(--ground-muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}

@media (max-width: 991px) {
  xl-faq .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-faq .faq-side,
  xl-faq .faq-list {
    grid-column: 1 / -1;
  }
  xl-faq .faq-list {
    margin-top: 48px;
  }
}
@media (max-width: 767px) {
  xl-faq .faq-side {
    gap: 16px;
  }
  xl-faq .faq-list {
    margin-top: 32px;
  }
  xl-faq.faq {
    padding-bottom: 32px;
  }
  xl-faq .faq-item > summary {
    gap: 16px;
    min-height: 56px;
    padding-block: 12px;
  }
  xl-faq .faq-q {
    font-size: 18px;
    line-height: 28px;
  }
  xl-faq .faq-a {
    padding-right: 32px;
  }
}

/* ---- support ---- */
/* SUPPORT STRIP (SPEC v2 §4.6, Coordinator amendments 1 and 6; owner
   decision 14). The first paper section, 96 / 72 / 64 padding (§3.4): the
   owner's proof (H2 + sub), then the help as hairline facts.

   No photo (the shipping state):
   ≥992   the H2 + sub in columns 1–7; the facts as hairline rows in
          columns 8–12, their first hairline level with the top of the H2.
   ≤991   stacked: H2, sub, then the facts between hairlines.

   With the founders photo (the [OWNER] [SLOT], when it fills):
   ≥992   photo columns 1–5 (3:2), H2 + sub columns 7–12 centred on it; the
          facts a row of three below, split by vertical hairlines.
   ≤991   photo full width, then the text, then the facts stacked. */

/* Compact (owner review, Nov 10, 2026): it closes the FAQ's paper band,
   so it brings no top padding of its own. */
xl-support.support {
  padding-block: 0 96px;
  /* With no top padding, a #support jump would put the H2 flush against the
     sticky nav; this keeps 24 px of air under it. */
  scroll-margin-top: 24px;
}

xl-support .sp-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
xl-support .sp-head {
  grid-column: 1 / span 7;
  display: grid;
  gap: 16px;
  justify-items: start;
}
/* The H2's closing phrase stays on one line. */
xl-support .sp-h2 {
  max-width: 13em;
}
xl-support .sp-sub {
  max-width: 44ch;
}
/* Phrases that never split. */
xl-support .sp-nowrap {
  white-space: nowrap;
}
xl-support .sp-founders {
  color: var(--ground-muted);
  font-weight: 500;
}
xl-support .sp-quote-src {
  white-space: nowrap;
}

/* The facts: hairline rows (ink title 20/28, 8, ink-muted line 16/26). */
xl-support .sp-facts {
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ground-line-strong);
}
xl-support .sp-fact {
  padding-block: 24px;
  border-top: 1px solid var(--ground-line-strong);
}
xl-support .sp-fact-t {
  color: var(--ground-fg);
}
xl-support .sp-fact-b {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--ground-muted);
  font-size: 18px;
  line-height: 28px;
  text-wrap: pretty;
}
/* The strip's inline link style (unused until a link returns): an
   inline text link in ink with the external glyph; it opens a new tab. */
xl-support .sp-link {
  border-radius: 2px;
  color: var(--ground-fg);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--ground-line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-support .sp-link:hover {
  text-decoration-color: currentColor;
}
xl-support .sp-link:focus-visible {
  outline: 2px solid var(--ground-focus);
  outline-offset: 2px;
}
xl-support .sp-ext {
  display: inline-block;
  margin-left: 4px;
  vertical-align: -2px;
}

/* ------------------------------------------- the photo layout ([SLOT]) -- */

xl-support .sp-photo {
  grid-column: 1 / span 5;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--xleads-r-frame);
  background: var(--xleads-card);
}
xl-support .sp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
xl-support .sp-grid:has(> .sp-photo) .sp-head {
  grid-column: 7 / -1;
  align-self: center;
}
xl-support .sp-grid:has(> .sp-photo) .sp-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-bottom: 0;
  border-top: 1px solid var(--ground-line-strong);
}
xl-support .sp-grid:has(> .sp-photo) .sp-fact {
  padding: 24px 24px 0;
  border-top: 0;
  border-left: 1px solid var(--ground-line-strong);
}
xl-support .sp-grid:has(> .sp-photo) .sp-fact:first-child {
  padding-left: 0;
  border-left: 0;
}

/* -------------------------------------------------------- breakpoints -- */

@media (max-width: 991px) {
  xl-support .sp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-support .sp-head,
  xl-support .sp-facts,
  xl-support .sp-photo,
  xl-support .sp-grid:has(> .sp-photo) .sp-head,
  xl-support .sp-grid:has(> .sp-photo) .sp-facts {
    grid-column: 1 / -1;
  }
  xl-support .sp-h2 {
    max-width: none;
  }
  xl-support .sp-sub {
    max-width: 52ch;
  }
  xl-support .sp-fact-b {
    max-width: 64ch;
  }
  xl-support .sp-facts {
    margin-top: 48px;
  }
  xl-support .sp-photo {
    margin-bottom: 48px;
  }
  /* With the photo, the facts stack as rows here too. */
  xl-support .sp-grid:has(> .sp-photo) .sp-facts {
    display: block;
    border-bottom: 1px solid var(--ground-line-strong);
  }
  xl-support .sp-grid:has(> .sp-photo) .sp-fact,
  xl-support .sp-grid:has(> .sp-photo) .sp-fact:first-child {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--ground-line-strong);
  }
  xl-support .sp-grid:has(> .sp-photo) .sp-fact:first-child {
    border-top: 0;
  }
}
@media (max-width: 767px) {
  xl-support.support {
    padding-block: 0 64px;
  }
  xl-support .sp-head {
    gap: 8px;
  }
  xl-support .sp-facts {
    margin-top: 16px;
  }
  xl-support .sp-fact {
    padding-block: 16px;
  }
  xl-support .sp-photo {
    margin-bottom: 32px;
    border-radius: var(--xleads-r-vignette);
  }
}

/* ---- final-cta ---- */
/* FINAL CTA (SPEC v2 §4.9; design pass, Nov 11, 2026). Dark, the long
   rhythm step, left-aligned on the grid like every other section: H2 · 24 ·
   lede · 48 · button (56 px, min-width 260; full width on phones) · 16 ·
   text link. The H2 breaks only between its two phrases. */

xl-final-cta .fcta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
xl-final-cta .fcta-ln {
  white-space: nowrap;
}
xl-final-cta .fcta-lede {
  margin-top: 24px;
}
xl-final-cta .fcta-buy {
  min-width: 260px;
  margin-top: 48px;
}
/* The link's 44 px box sits 16 px under the button. */
xl-final-cta .fcta-demo {
  margin-top: 16px;
}

@media (max-width: 767px) {
  xl-final-cta .fcta-buy {
    align-self: stretch;
    min-width: 0;
    margin-top: 32px;
  }
}

/* ---- footer ---- */
/* FOOTER (SPEC v2 §4.10). Dark, under a container-wide hairline; 64 px
   top and 48 px bottom padding.

   ≥992   the wordmark + description in columns 1–4; Product · Resources ·
          Company & policy in columns 5–12; then a hairline and the notes in
          two columns (footnotes left, honesty lines and © right).
   768–991  the wordmark row, then the three link columns, then the notes.
   ≤767   the link groups are native <details> accordions with 48 px rows
          (the xl-footer enhancer folds them); the notes stack.

   Titles 13/500 muted (sentence case); links 14/22; notes 13/20 muted. */

xl-footer.footer {
  padding-block: 0 48px;
}
xl-footer .ft-inner {
  padding-top: 64px;
  border-top: 1px solid var(--xleads-line);
}

xl-footer .ft-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
xl-footer .ft-brand {
  grid-column: 1 / span 4;
}
xl-footer .ft-cols {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
}

/* The full official logo, with its tagline (owner, Nov 12, 2026). */
xl-footer .ft-mark {
  display: inline-flex;
  color: var(--xleads-text);
  text-decoration: none;
  border-radius: 4px;
}
xl-footer .ft-logo {
  display: block;
  flex: none;
  width: 220px;
  height: 60px;
}
xl-footer .ft-about {
  max-width: 32ch;
  margin-top: 16px;
  color: var(--xleads-muted);
  font-size: 14px;
  line-height: 22px;
  text-wrap: balance;
}
xl-footer .ft-social {
  display: flex;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

/* Group titles: a label on wide screens, the accordion's row on phones. */
xl-footer .ft-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--xleads-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  list-style: none;
}
xl-footer summary.ft-h::-webkit-details-marker {
  display: none;
}
xl-footer summary.ft-h {
  cursor: default;
  pointer-events: none;
}
xl-footer .ft-chev {
  display: none;
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform var(--xl-dur-ui) var(--xl-ease-out);
}
xl-footer .ft-group ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
xl-footer .ft-group li {
  color: var(--xleads-text);
  font-size: 14px;
  line-height: 22px;
}
xl-footer .ft-group a,
xl-footer .ft-social a {
  color: var(--xleads-text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  border-radius: 4px;
  transition: text-decoration-color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-footer .ft-group a:hover,
xl-footer .ft-social a:hover {
  text-decoration-color: currentColor;
}
xl-footer .ft-group .ft-address {
  max-width: 24ch;
  color: var(--xleads-muted);
}

/* The notes: a hairline, then footnotes left and honesty lines right. */
xl-footer .ft-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--xleads-line);
}
xl-footer .ft-notes {
  grid-column: 1 / span 6;
  display: grid;
  align-content: start;
  gap: 8px;
}
xl-footer .ft-notes + .ft-notes {
  grid-column: 7 / -1;
}
xl-footer .ft-notes p {
  max-width: 80ch;
  color: var(--xleads-muted);
  font-size: 14px;
  line-height: 20px;
  text-wrap: pretty;
}
/* The strip's ¹ lands here, clear of the sticky nav; the line lights up. */
xl-footer .ft-fn {
  scroll-margin-top: calc(var(--xleads-nav-h) + 24px);
  transition: color var(--xl-dur-ui) var(--xl-ease-out);
}
xl-footer .ft-fn:target {
  color: var(--xleads-text);
}
xl-footer .ft-fn-mark {
  color: var(--xleads-text);
}
xl-footer .ft-nowrap {
  white-space: nowrap;
}

/* Touch screens (a tablet in either orientation): every link is a 44 px
   target, rows touching instead of 8 px apart. */
@media (pointer: coarse) {
  xl-footer .ft-group ul {
    gap: 0;
    margin-top: 4px;
  }
  xl-footer .ft-group a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* -------------------------------------------------------- breakpoints -- */

@media (max-width: 991px) {
  xl-footer .ft-top {
    grid-template-columns: minmax(0, 1fr);
  }
  xl-footer .ft-brand,
  xl-footer .ft-cols {
    grid-column: 1 / -1;
  }
  xl-footer .ft-cols {
    margin-top: 48px;
  }
  xl-footer .ft-bottom {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  xl-footer .ft-notes,
  xl-footer .ft-notes + .ft-notes {
    grid-column: 1 / -1;
  }
}

/* Phones: accordions. Each title is a 48 px row between hairlines with a
   chevron that turns when the group opens; links are 44 px rows. */
@media (max-width: 767px) {
  xl-footer .ft-inner {
    padding-top: 40px;
  }
  xl-footer .ft-cols {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
    border-bottom: 1px solid var(--xleads-line);
  }
  xl-footer .ft-group {
    border-top: 1px solid var(--xleads-line);
  }
  xl-footer summary.ft-h {
    min-height: 48px;
    color: var(--xleads-text);
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    pointer-events: auto;
  }
  xl-footer .ft-chev {
    display: block;
    color: var(--xleads-muted);
  }
  xl-footer .ft-group[open] .ft-chev {
    transform: rotate(180deg);
  }
  xl-footer .ft-group ul {
    gap: 0;
    margin: 0;
    padding-bottom: 12px;
  }
  xl-footer .ft-group li {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  xl-footer .ft-group a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  xl-footer .ft-group .ft-address {
    max-width: none;
    padding-block: 12px;
  }
  xl-footer .ft-bottom {
    margin-top: 32px;
    padding-top: 0;
    border-top: 0;
  }
}

/* ---- sticky-buy ---- */
/* PHONE BUY BAR (SPEC v2 §4.11): the island draws its own fixed bar in its
   shadow root; the host takes no space in the page. */
xl-sticky-buy {
  display: contents;
}

/* ---- plan-sheet ---- */
/* PLAN SHEET (SPEC v2 §4.12): the island draws the sheet in its shadow root,
   as a fixed overlay while open; closed, the element takes no space. Its one
   light-DOM child, the policy line, shows only inside the open sheet. */
xl-plan-sheet {
  display: block;
  height: 0;
}
xl-plan-sheet:not([data-xl-ready]) > * {
  display: none;
}
xl-plan-sheet [data-xl-value] {
  font-variant-numeric: tabular-nums;
}

/* ---- promo (src/data/promo.ts, page/promo.mjs) ---- */
html:not([data-xl-banner-state="on"]) [data-xl-banner="on"],
html[data-xl-promo-banner="closed"] .xl-promo-bar {
  display: none !important;
}
.xl-was {
  color: var(--ground-muted);
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.xl-promo-note {
  font-weight: 500;
}
xl-pricing .pr-yearly.bp-switch {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  text-decoration-line: underline;
  white-space: nowrap;
}
xl-pricing .pr-yearly.bp-switch:hover {
  color: var(--xleads-red-ink);
}
.xl-promo-bar {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 52px 8px 16px;
  border-bottom: 2px solid var(--xleads-red-solid);
  background: var(--xleads-text);
  color: var(--xleads-ink);
  --ground-muted: var(--xleads-ink-muted);
  --ground-focus: var(--xleads-red-ink);
}
.xl-promo-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
  line-height: 22px;
}
.xl-promo-tag {
  padding: 2px 8px;
  border-radius: var(--xleads-r-pill);
  background: var(--xleads-red-solid);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.xl-promo-offer {
  white-space: nowrap;
}
.xl-promo-offer b {
  font-size: 16px;
  font-weight: 600;
}
/* The countdown: its words come from the head script (--xl-promo-left). */
.xl-promo-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 184px;
  padding: 2px 10px;
  border-radius: var(--xleads-r-pill);
  background: var(--xleads-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.xl-promo-count::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xleads-red);
}
.xl-promo-count::after {
  content: var(--xl-promo-left, "");
}
html:not([data-xl-promo-left]) .xl-promo-count,
html[data-xl-promo-left=""] .xl-promo-count {
  display: none;
}
.xl-promo-ends {
  color: var(--xleads-ink-muted);
  white-space: nowrap;
}
.xl-promo-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: var(--xleads-r-control);
  background: var(--xleads-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.xl-promo-btn:hover {
  background: var(--xleads-red-ink);
}
@media (max-width: 767px) {
  .xl-promo-bar {
    padding: 8px 44px 8px 12px;
  }
  .xl-promo-line {
    gap: 3px 10px;
    font-size: 13px;
    line-height: 20px;
  }
  .xl-promo-btn {
    min-height: 28px;
  }
  /* The whole button is a 44 px target without making the bar taller. */
  .xl-promo-btn {
    position: relative;
  }
  .xl-promo-btn::after {
    content: "";
    position: absolute;
    inset: -6px 0;
  }
}
.xl-promo-close {
  position: absolute;
  top: 50%;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: var(--xleads-r-control);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.xl-promo-close:hover {
  background: rgba(10, 10, 11, 0.06);
}
