:root {
  --asf-magenta: #C4234F;
  --asf-magenta-900: #7A1433;
  --asf-coral: #FF6A5B;
  --asf-amber: #FFC24B;
  --asf-ink: #0E0E14;
  --asf-graphite: #2A2A33;
  --asf-mist: #F5F3F0;
  --asf-cloud: #E6E1DA;
  --asf-steel: #6B6B78;
  --asf-signal: #15A66B;
  --grad: linear-gradient(135deg, #7A1433 0%, #C4234F 45%, #FF6A5B 100%);
  --shadow-card: 0 2px 8px rgba(14,14,20,0.04);
  --shadow-card-hover: 0 18px 40px rgba(196,35,79,0.18);
  --radius-card: 20px;
  --radius-btn: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--asf-ink);
  background: var(--asf-mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: "Inter Tight", Inter, sans-serif; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--asf-magenta); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.on-dark { color: var(--asf-amber); }
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor; display: inline-block;
}

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 1000; transition: width 60ms linear;
}
@media (prefers-reduced-motion: reduce) { .progress-bar { display: none; } }

/* ---------- Skip-to-main link (accessibility) ---------- */
.skip-to-main {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 16px;
  background: var(--asf-amber);
  color: var(--asf-ink);
  font-weight: 700;
  text-decoration: none;
  z-index: 2000;
  transform: translateY(-200%);
  transition: transform 120ms ease-out;
}
.skip-to-main:focus {
  transform: translateY(0);
  outline: 3px solid var(--asf-ink);
  outline-offset: 2px;
}

/* ---------- Header (legacy restored in U1 rollback) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(245, 243, 240, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(14,14,20,0.06);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: 1440px; margin: 0 auto;
}
.site-header .logo { display: inline-flex; align-items: center; gap: 10px; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .logo .wordmark { font-family: "Inter Tight"; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--asf-ink); }
.site-header .est {
  font-family: "JetBrains Mono"; font-weight: 500; font-size: 11px; color: var(--asf-steel);
  padding-left: 10px; margin-left: 10px; border-left: 1px solid var(--asf-cloud);
}
.site-header .right { display: flex; align-items: center; gap: 16px; }
.site-header .phone {
  font-size: 14px; font-weight: 500; color: var(--asf-ink); display: inline-flex; align-items: center; gap: 6px;
}
.site-header .phone::before { content: "●"; color: var(--asf-signal); font-size: 8px; }

/* ---------- Section nav (in sticky header) ---------- */
.site-nav {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto; padding: 0 24px;
}
.site-nav a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--asf-graphite);
  padding: 8px 12px; border-radius: 999px;
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--asf-ink); background: rgba(14,14,20,0.05); }
.site-nav a:focus-visible { outline: 2px solid var(--asf-magenta); outline-offset: 2px; }
.site-nav a.active { color: var(--asf-magenta); }
.site-nav a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}

/* Outbound link modifier (Help link in nav) */
.site-nav a.site-nav__outbound::after {
  content: " \2197";
  font-size: 0.85em;
  opacity: 0.65;
  margin-left: 1px;
  position: static;
  background: none;
  height: auto;
  display: inline;
}
.site-nav a.site-nav__outbound:hover::after { opacity: 1; }

/* Search-toggle icon button in header right side */
.site-header__search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(14,14,20,0.10);
  background: transparent;
  color: var(--asf-ink);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.site-header__search-toggle:hover {
  background: rgba(14,14,20,0.05);
  border-color: rgba(14,14,20,0.20);
}
.site-header__search-toggle:focus-visible {
  outline: 2px solid var(--asf-magenta);
  outline-offset: 2px;
}

/* Search overlay (full-screen modal triggered by toggle) */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
}
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14,14,20,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.search-overlay__panel {
  position: relative;
  width: min(640px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(14,14,20,0.22);
}
.search-overlay__input-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-overlay__input-row #site-search {
  flex: 1;
  min-width: 0;
}
.search-overlay__close {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.90); border: 1px solid rgba(14,14,20,0.10);
  color: var(--asf-ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}
.search-overlay__close:hover { transform: scale(1.08); background: #fff; color: var(--asf-magenta); }
.search-overlay__close:focus-visible { outline: 3px solid var(--asf-amber); outline-offset: 3px; }
.search-overlay #site-search {
  width: 100%;
  font-size: 16px;
  padding: 11px 15px;
  border: 2px solid rgba(14,14,20,0.20);
  border-radius: 8px;
  outline: none;
}
.search-overlay #site-search:focus {
  border-color: var(--asf-magenta);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(196, 35, 79, 0.10);
}
.search-overlay #site-search::-webkit-search-cancel-button,
.search-overlay #site-search::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-results { margin-top: 16px; max-height: 50vh; overflow-y: auto; }
.search-result {
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}
.search-result:hover {
  background: rgba(14,14,20,0.06);
}
.search-result[aria-selected="true"] {
  background: rgba(196,35,79,0.07);
  border-left: 2px solid var(--asf-magenta);
  padding-left: 10px;
}
.search-result__title { display: block; font-weight: 600; color: var(--asf-ink); }
.search-result__snippet {
  display: block;
  font-size: 14px;
  color: var(--asf-graphite);
  margin-top: 4px;
}
.search-result__snippet mark {
  background: rgba(255, 194, 75, 0.40);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .site-header .phone { display: none; }
  .site-nav { padding: 0 12px; gap: 0; }
  .site-nav a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 860px) {
  .site-nav a:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header__search-toggle { width: 32px; height: 32px; }
}
@media (max-width: 480px) {
  .site-header .est { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius-btn);
  font-family: "Inter"; font-weight: 600; font-size: 15px; line-height: 1;
  border: none; cursor: pointer; text-align: center;
  transition: transform 100ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn-primary {
  background: var(--asf-magenta); color: #fff;
  box-shadow: 0 8px 24px rgba(196, 35, 79, 0.35);
}
.btn-primary:hover { background: var(--grad); box-shadow: 0 14px 36px rgba(196,35,79,0.5); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 3px solid var(--asf-amber); outline-offset: 3px; }
.btn-large { padding: 18px 34px; font-size: 16px; }

.btn-ghost {
  background: transparent; color: var(--asf-ink); border: 1.5px solid rgba(14,14,20,0.18);
}
.btn-ghost:hover { border-color: var(--asf-ink); background: rgba(14,14,20,0.04); }
.btn-ghost:focus-visible { outline: 3px solid var(--asf-magenta); outline-offset: 3px; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.24); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-ghost.on-dark:focus-visible { outline: 3px solid var(--asf-amber); outline-offset: 3px; }

.arrow { display: inline-block; transition: transform 200ms ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--asf-ink); color: #fff;
  padding: 96px 0 120px;
}
.hero-mesh {
  position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(196,35,79,0.55), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,106,91,0.45), transparent 60%),
    radial-gradient(ellipse 55% 45% at 60% 80%, rgba(122,20,51,0.65), transparent 60%),
    radial-gradient(ellipse 30% 25% at 80% 75%, rgba(255,194,75,0.22), transparent 65%);
  filter: blur(30px);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
}

.hero .inner {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 700;
  margin: 20px 0 22px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--asf-coral), var(--asf-amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  display: inline-block;
  padding: 0.08em 0.22em 0.08em 0.04em;
  margin: -0.08em 0 -0.08em -0.04em;
}
.hero .sub {
  font-size: 18px; line-height: 1.55; color: #D1CFCB; max-width: 620px;
}
.hero .sub strong { color: #fff; font-weight: 600; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.trust-micro {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  color: #B8B5B0; font-size: 13px;
}
.trust-micro .tm-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-micro .tm-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--asf-signal);
  box-shadow: 0 0 0 4px rgba(21, 166, 107, 0.15);
}

/* ---------- Hero visual (right side), collection-rate dashboard ---------- */
.hero-visual { position: relative; height: 540px; overflow: hidden; }
.mock-card {
  position: absolute; border-radius: 18px; overflow: hidden;
  background: #1a1a22; border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.mock-dashboard {
  top: 20px; left: 20px; width: 88%; height: 360px;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  padding: 20px;
}
.mock-dashboard .mock-top { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-dashboard .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.mock-dashboard .mock-title {
  font-family: "Inter Tight"; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.mock-dashboard .mock-subtitle {
  font-family: "JetBrains Mono"; font-size: 10px; color: #9a9799; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.mock-dashboard .rate-row {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px;
}
.mock-dashboard .rate-big {
  font-family: "Inter Tight"; font-weight: 800; font-size: 44px; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--asf-amber) 60%, var(--asf-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.mock-dashboard .rate-delta {
  font-family: "JetBrains Mono"; font-size: 12px; color: var(--asf-signal); font-weight: 600;
}
.mock-dashboard .rate-label {
  font-family: "Inter Tight"; font-size: 13px; color: #B8B5B0; margin-bottom: 16px;
}
.mock-dashboard .chart {
  height: 100px; border-radius: 10px; background:
    linear-gradient(180deg, rgba(196,35,79,0.25), transparent 80%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 50px);
  position: relative; overflow: hidden; margin-bottom: 14px;
}
.mock-dashboard .chart svg { width: 100%; height: 100%; }
.mock-dashboard .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-dashboard .kpi {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 12px;
}
.mock-dashboard .kpi-label { font-size: 9px; color: #9a9799; text-transform: uppercase; letter-spacing: 0.08em; }
.mock-dashboard .kpi-value { font-family: "JetBrains Mono"; font-size: 16px; font-weight: 500; color: #fff; margin-top: 2px; }

.mock-float {
  position: absolute; top: 300px; right: 0;
  background: #fff; color: var(--asf-ink);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.mock-float .ml { font-size: 10px; color: var(--asf-steel); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.mock-float .mv { font-family: "JetBrains Mono"; font-size: 22px; font-weight: 500; color: var(--asf-ink); margin-top: 4px; }
.mock-float .md { font-size: 12px; color: var(--asf-signal); font-weight: 600; margin-top: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } }

.mock-support {
  position: absolute; bottom: 0; left: 0; width: 260px;
  background: #14141c; border-radius: 16px; padding: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transform: rotate(-3deg);
  z-index: 2;
}
.mock-support .ms-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mock-support .ms-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--asf-signal);
  box-shadow: 0 0 0 4px rgba(21,166,107,0.22); animation: pulse 2s infinite;
}
.mock-support .ms-label { font-family: "JetBrains Mono"; font-size: 10px; color: var(--asf-amber); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.mock-support .ms-title { font-family: "Inter Tight"; font-size: 13px; color: #fff; font-weight: 600; margin-bottom: 4px; }
.mock-support .ms-sub { font-size: 11px; color: #9a9799; margin-bottom: 10px; }
.mock-support .ms-meta {
  font-family: "JetBrains Mono"; font-size: 10px; color: #B8B5B0;
  display: flex; justify-content: space-between;
}
.mock-support .ms-meta .ok { color: var(--asf-signal); }

/* ---------- Hero scroll cue ---------- */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #D1CFCB; font-family: "JetBrains Mono"; font-weight: 500; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.hero-scroll-cue:hover {
  color: #fff; background: rgba(255,255,255,0.1); border-color: rgba(255,194,75,0.45);
}
.hero-scroll-cue:focus-visible { outline: 2px solid var(--asf-amber); outline-offset: 3px; }
.hero-scroll-cue .chev {
  display: inline-block; color: var(--asf-amber);
  animation: cue-bob 1.8s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .chev { animation: none; }
}

/* ---------- Pillar One (BILLING), full-bleed dark ---------- */
.pillar-billing {
  background: var(--asf-ink); color: #fff;
  padding: 120px 0; position: relative; overflow: hidden;
}
.pillar-billing::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 10% 20%, rgba(196,35,79,0.28), transparent 60%),
    radial-gradient(ellipse 45% 55% at 95% 80%, rgba(255,106,91,0.18), transparent 65%);
  pointer-events: none;
}
.pillar-billing .inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column; gap: 0;
}

/*, Top band: eyebrow + headline + lede, */
.billing-header { max-width: 820px; }
.pillar-billing h2 {
  font-size: clamp(36px, 4.8vw, 62px); line-height: 1.04; color: #fff;
  margin: 18px 0 22px;
}
.pillar-billing .lede {
  font-size: 18px; line-height: 1.6; color: #D1CFCB; max-width: 700px;
}
.pillar-billing .lede strong { color: #fff; font-weight: 600; }

/*, Process rail: 4-step how-it-works row, */
.billing-process {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}

/* Connecting line, runs between circles, circles visually mask it via box-shadow */
.billing-process::before {
  content: ""; position: absolute;
  top: 22px; left: calc(50% / 4); right: calc(50% / 4);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(196,35,79,0.45) 0%,
    rgba(255,106,91,0.5) 40%,
    rgba(21,166,107,0.6) 80%,
    rgba(21,166,107,0.45) 100%);
  z-index: 1;
}

.bp-step {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 24px 32px; position: relative; z-index: 1;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.bp-step:first-child { border-left: none; padding-left: 0; }
.bp-step:last-child { padding-right: 0; }
.bp-step .bp-label,
.bp-step .bp-title,
.bp-step .bp-body { align-self: flex-start; width: 100%; }

/* Step number badge, solid background so the line never shows through */
.bp-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono"; font-weight: 700; font-size: 15px;
  margin-bottom: 20px; flex-shrink: 0;
  position: relative; z-index: 2;
  background: var(--asf-ink);
  box-shadow: 0 0 0 5px var(--asf-ink);
}
.bp-step:nth-child(1) .bp-num { border: 1.5px solid rgba(196,35,79,0.6); color: var(--asf-coral); }
.bp-step:nth-child(2) .bp-num { border: 1.5px solid rgba(255,106,91,0.6); color: var(--asf-coral); }
.bp-step:nth-child(3) .bp-num { border: 1.5px solid rgba(255,194,75,0.6); color: var(--asf-amber); }
.bp-step:nth-child(4) .bp-num { border: 1.5px solid rgba(21,166,107,0.6); color: var(--asf-signal); }

.bp-label {
  font-family: "JetBrains Mono"; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 8px;
}
.bp-step:nth-child(1) .bp-label { color: var(--asf-coral); }
.bp-step:nth-child(2) .bp-label { color: var(--asf-coral); }
.bp-step:nth-child(3) .bp-label { color: var(--asf-amber); }
.bp-step:nth-child(4) .bp-label { color: var(--asf-signal); }

.bp-title {
  font-family: "Inter Tight"; font-weight: 700; font-size: 17px;
  color: #fff; line-height: 1.2; margin-bottom: 10px;
}
.bp-body {
  font-size: 14px; color: #B8B5B0; line-height: 1.6;
}
.bp-body strong { color: #E6E1DA; font-weight: 500; }

/* Arrow connector between steps */
.bp-arrow {
  display: none; /* handled by CSS connector line above */
}

/*, Stat strip, */
.billing-stats {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: center;
  border: 1px solid rgba(255,194,75,0.25);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(196,35,79,0.12) 0%, rgba(255,194,75,0.07) 50%, rgba(21,166,107,0.08) 100%);
  overflow: hidden;
}

.bs-side {
  padding: 32px 36px; display: flex; flex-direction: column; gap: 6px;
}
.bs-side:last-child { text-align: right; align-items: flex-end; }
.bs-num {
  font-family: "Inter Tight"; font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1;
  color: #fff; letter-spacing: -0.02em;
}
.bs-desc {
  font-size: 13px; color: #9a9799; line-height: 1.4;
  font-family: "JetBrains Mono"; letter-spacing: 0.04em;
}
.bs-desc strong { color: #D1CFCB; }

/* Center hero stat */
.bs-center {
  padding: 36px 40px; text-align: center;
  border-left: 1px solid rgba(255,194,75,0.2);
  border-right: 1px solid rgba(255,194,75,0.2);
}
.bs-center .bs-big {
  font-family: "Inter Tight"; font-weight: 900;
  font-size: clamp(52px, 7vw, 88px); line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--asf-amber) 55%, var(--asf-coral) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em; display: block;
}
.bs-center .bs-label {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,194,75,0.8); margin-top: 6px; display: block;
}
.bs-center .bs-sub {
  font-size: 13px; color: #9a9799; margin-top: 4px; display: block;
  line-height: 1.4;
}

/*, CTA row, */
.pillar-billing .cta-row {
  margin-top: 44px; display: flex; gap: 14px;
  flex-wrap: wrap; justify-content: center;
}

/*, Responsive, */
@media (max-width: 1100px) {
  .billing-process { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .billing-process::before { display: none; }
  .bp-step { border-left: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 20px 28px; }
  .bp-step:nth-child(1), .bp-step:nth-child(2) { padding-top: 0; }
  .bp-step:nth-child(3), .bp-step:nth-child(4) { padding-top: 28px; border-bottom: none; }
  .bp-step:nth-child(1) { border-left: none; }
  .bp-step:nth-child(3) { border-left: none; }
}

@media (max-width: 800px) {
  .billing-stats { grid-template-columns: 1fr; }
  .bs-center { border-left: none; border-right: none; border-top: 1px solid rgba(255,194,75,0.2); border-bottom: 1px solid rgba(255,194,75,0.2); order: -1; }
  .bs-side:last-child { text-align: left; align-items: flex-start; }
}

@media (max-width: 639px) {
  .billing-process { grid-template-columns: 1fr; }
  .bp-step { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 0 24px; }
  .bp-step:last-child { border-bottom: none; }
  .bp-step:nth-child(3), .bp-step:nth-child(4) { padding-top: 24px; }
  .bs-side { padding: 20px 24px; }
  .bs-center { padding: 24px; }
  .billing-stats { border-radius: 14px; }
  .pillar-billing .cta-row { justify-content: flex-start; }
}

/* Keep legacy .proof-badge and .pillar-bullets rules intact for other sections */
.proof-badge {
  margin-top: 36px; padding: 20px 24px;
  border-radius: 16px; border: 1px solid rgba(255,194,75,0.35);
  background: linear-gradient(135deg, rgba(196,35,79,0.18), rgba(255,194,75,0.1));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.proof-badge .pb-big {
  font-family: "Inter Tight"; font-weight: 800; font-size: 30px; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--asf-amber) 60%, var(--asf-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em;
}
.proof-badge .pb-sub { font-size: 14px; color: #D1CFCB; line-height: 1.45; }
.proof-badge .pb-sub strong { color: #fff; }

.pillar-bullets {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
}
.pillar-bullets li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #E6E1DA; line-height: 1.5;
}
.pillar-bullets li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(21, 166, 107, 0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315A66B'><path d='M7.5 13.5L4 10l1.4-1.4L7.5 10.7l7.1-7.1L16 5z'/></svg>");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
  margin-top: 2px;
}

/* ---------- Pillar Two (SUPPORT) ---------- */
.pillar-support {
  background: var(--asf-graphite); color: #fff;
  padding: 120px 0; position: relative; overflow: hidden;
}
.pillar-support::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(255,194,75,0.16), transparent 60%),
    radial-gradient(ellipse 40% 50% at 15% 85%, rgba(196,35,79,0.22), transparent 65%);
  pointer-events: none;
}
.pillar-support .inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.pillar-support h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; color: #fff; margin: 18px 0 22px; }
.pillar-support .lede { font-size: 18px; line-height: 1.55; color: #D1CFCB; max-width: 560px; }
.pillar-support .lede strong { color: #fff; font-weight: 600; }
.pillar-support .first-ring {
  margin-top: 24px; font-family: "Inter Tight"; font-weight: 600;
  color: var(--asf-amber); font-size: 17px;
}
.pillar-support .first-ring .fr-num {
  font-family: "JetBrains Mono"; font-weight: 600;
}
.support-quote {
  margin: 28px 0 0; padding: 20px 24px;
  background: rgba(255,255,255,0.05); border-left: 3px solid var(--asf-amber);
  border-radius: 0 12px 12px 0;
}
.support-quote blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: #fff; font-style: italic; }
.support-quote figcaption { margin-top: 12px; font-family: "JetBrains Mono"; font-size: 12px; color: var(--asf-amber); letter-spacing: 0.06em; }

/* Reuse phone-viz pattern from index-0 */
.phone-viz {
  position: relative; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.phone-viz .pv-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.phone-viz .pv-title { font-family: "Inter Tight"; font-weight: 600; color: #fff; font-size: 15px; }
.phone-viz .pv-stamp { font-family: "JetBrains Mono"; font-size: 10px; color: var(--asf-amber); letter-spacing: 0.12em; text-transform: uppercase; }
.call-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.call-row:last-child { border-bottom: none; }
.call-row .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-family: "Inter Tight"; font-weight: 700; color: #fff; font-size: 15px; flex-shrink: 0;
}
.call-row .who { font-family: "Inter Tight"; font-weight: 600; color: #fff; font-size: 15px; }
.call-row .when { font-size: 13px; color: #9a9799; margin-top: 2px; }
.call-row .meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.call-row .tag {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(21, 166, 107, 0.15); color: var(--asf-signal); font-weight: 600;
}
.call-row .tag.live { background: rgba(255, 106, 91, 0.15); color: var(--asf-coral); }
.call-row .tag.live::before { content: "● "; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.call-row .dur { font-family: "JetBrains Mono"; font-size: 12px; color: #B8B5B0; margin-left: auto; }
.phone-viz .caption { margin-top: 20px; font-size: 12px; color: #9a9799; text-align: center; font-style: italic; }

.pillar-support .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- ROI Calculator (BIGGER) ---------- */
  background: linear-gradient(180deg, var(--asf-mist) 0%, #fff 100%);
  padding: 140px 0 120px;
  position: relative;
}
  font-size: clamp(36px, 4.8vw, 60px); line-height: 1.06; margin: 18px 0 20px; letter-spacing: -0.03em;
}

  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px;
  align-items: stretch;
}
  background: #fff; border: 1px solid var(--asf-cloud);
  border-radius: 24px; padding: 40px;
  box-shadow: 0 10px 40px rgba(14,14,20,0.06);
}

  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "Inter Tight"; font-weight: 600; font-size: 14px; color: var(--asf-ink);
  margin-bottom: 10px;
}
  font-family: "JetBrains Mono"; font-size: 18px; color: var(--asf-magenta);
  background: rgba(196,35,79,0.08); padding: 4px 12px; border-radius: 8px;
}
  width: 100%; height: 6px; appearance: none; -webkit-appearance: none;
  background: linear-gradient(90deg, var(--asf-magenta) var(--pct, 50%), var(--asf-cloud) var(--pct, 50%));
  border-radius: 3px; outline: none;
}
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--asf-magenta);
  cursor: pointer; box-shadow: 0 2px 8px rgba(196,35,79,0.3);
  transition: transform 120ms ease;
}
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--asf-magenta);
  cursor: pointer; box-shadow: 0 2px 8px rgba(196,35,79,0.3);
}
  display: flex; justify-content: space-between; font-family: "JetBrains Mono";
  font-size: 11px; color: var(--asf-steel); margin-top: 6px;
}

  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px;
}
  padding: 10px 14px; border: 1px solid var(--asf-cloud); background: #fff;
  font-family: "Inter"; font-weight: 600; font-size: 13px; color: var(--asf-ink);
  border-radius: 999px; cursor: pointer; transition: all 200ms ease;
}

/* 4-button segmented toggle (competitor recovery rate) */
  display: flex; gap: 6px; padding: 4px;
  background: var(--asf-mist); border-radius: 999px; border: 1px solid var(--asf-cloud);
  margin-top: 8px;
}
  flex: 1; padding: 10px 14px; border: none; background: transparent; cursor: pointer;
  font-family: "Inter"; font-weight: 600; font-size: 13px; color: var(--asf-steel);
  border-radius: 999px; transition: all 200ms ease;
}
  background: #fff; color: var(--asf-magenta);
  box-shadow: 0 2px 8px rgba(14,14,20,0.08);
}

  background: var(--asf-ink); color: #fff;
  border-radius: 24px; padding: 44px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 100%, rgba(196,35,79,0.4), transparent 60%),
              radial-gradient(ellipse 50% 40% at 90% 0%, rgba(255,106,91,0.3), transparent 60%),
              radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255,194,75,0.14), transparent 70%);
  pointer-events: none;
}

  display: flex; flex-direction: column; gap: 14px;
  margin: 6px 0 20px;
}
  padding: 22px 24px; text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
  background: linear-gradient(135deg, rgba(196,35,79,0.3), rgba(255,106,91,0.2));
  border-color: rgba(255,106,91,0.45);
  padding: 30px 24px;
}
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #B8B5B0;
}
  font-family: "Inter Tight"; font-weight: 500; font-size: 12px; color: #9a9799;
  margin-top: 2px;
}

.roi-big {
  font-family: "Inter Tight"; font-weight: 800;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  background: linear-gradient(135deg, #fff, #E6E1DA);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: transform 200ms ease;
  display: block;
  max-width: 100%;
}
  background: linear-gradient(135deg, #fff, var(--asf-amber) 60%, var(--asf-coral));
  -webkit-background-clip: text; background-clip: text;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  filter: drop-shadow(0 2px 24px rgba(255,194,75,0.3));
}

  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.1); margin-top: 28px;
  border-radius: 14px; overflow: hidden;
}
.roi-col {
  background: rgba(255,255,255,0.04); padding: 22px;
  backdrop-filter: blur(4px);
}
.roi-col .rcl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 6px; }
.roi-col.bad .rcl { color: #FF6A5B; }
.roi-col.good .rcl { color: var(--asf-amber); }
.roi-col .rcv { font-family: "JetBrains Mono"; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.roi-col .rcs { font-size: 12px; color: #9a9799; margin-top: 4px; }

.roi-math {
  font-size: 13px; color: #B8B5B0; line-height: 1.6; margin-top: 20px;
  padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.12);
}
.roi-math strong { color: #fff; font-weight: 600; }

/* New, sticky inline CTA strip right under the calculator output */
.roi-lock-strip { max-width: 1100px; margin: 24px auto 0; padding: 0 32px; }
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 28px 36px; border-radius: 20px;
  background: linear-gradient(135deg, var(--asf-amber) 0%, var(--asf-coral) 100%);
  box-shadow: 0 20px 60px rgba(255,106,91,0.35);
  overflow: hidden;
}
.roi-lock-text { color: var(--asf-ink); }
.roi-lock-text .ll-eyebrow {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--asf-magenta-900);
  margin-bottom: 8px;
}
.roi-lock-text .ll-big {
  font-family: "Inter Tight"; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700;
  line-height: 1.15; color: var(--asf-ink); letter-spacing: -0.02em;
}
.roi-lock-text .ll-big .ll-amount {
  background: none; -webkit-background-clip: border-box; color: var(--asf-magenta-900);
  font-variant-numeric: tabular-nums;
}
  background: var(--asf-ink); color: #fff; box-shadow: 0 10px 30px rgba(14,14,20,0.35);
  white-space: nowrap;
}
@media (max-width: 760px) {
}

/* Multi-size matrix */
.roi-matrix {
  max-width: 1200px; margin: 64px auto 0; padding: 0 32px;
}
.roi-matrix-head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px;
  flex-wrap: wrap; gap: 16px;
}
.roi-matrix-head h3 { font-size: 22px; }
.roi-matrix-head .note { font-size: 13px; color: var(--asf-steel); font-family: "JetBrains Mono"; }

  background: #fff; border: 1px solid var(--asf-cloud); border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(14,14,20,0.04);
}
  background: var(--asf-ink); color: #fff;
  font-family: "Inter Tight"; font-weight: 600; font-size: 13px;
  text-align: left; padding: 16px 20px; letter-spacing: -0.01em;
}
  padding: 18px 20px; border-top: 1px solid var(--asf-cloud);
  font-size: 15px; color: var(--asf-ink);
}

/* Matrix always scrolls horizontally on narrow viewports */
@media (max-width: 960px) {
}

/* ---------- Sections base ---------- */
section.block { padding: 120px 0; }
section.block .eyebrow-wrap { margin-bottom: 18px; }
section.block h2 {
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08; max-width: 820px;
  margin-bottom: 22px;
}
section.block .lede {
  font-size: 19px; line-height: 1.55; color: var(--asf-steel); max-width: 680px;
}

/* ---------- Full Platform 6-card grid ---------- */
.platform-block {
  background: var(--asf-mist);
  position: relative;
}
.platform-head {
  max-width: 1200px; margin: 0 auto 56px; padding: 0 32px;
  text-align: center;
}
.platform-head .eyebrow { justify-content: center; }
.platform-head h2 { margin: 18px auto 18px; max-width: 900px; }
.platform-head .lede { margin: 0 auto; }

.platform-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.platform-card {
  background: #fff; border: 1px solid var(--asf-cloud);
  border-radius: var(--radius-card); padding: 32px 28px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.platform-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.platform-card .pf-flag {
  position: absolute; top: 14px; right: 14px;
  font-family: "JetBrains Mono"; font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--asf-amber), var(--asf-coral));
  color: var(--asf-ink);
  box-shadow: 0 6px 18px rgba(255,106,91,0.25);
  white-space: nowrap;
}
.platform-card { position: relative; }
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.platform-card:hover::before { transform: scaleX(1); }

.platform-card .pf-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.platform-card .pf-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(196,35,79,0.12), rgba(255,106,91,0.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--asf-magenta);
}
.platform-card .pf-eyebrow {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--asf-magenta);
}
/* h3 sits inside .pf-head, vertically centred with the icon */
.platform-card h3 { font-size: 20px; line-height: 1.2; margin: 0; }
.platform-card .pf-hook {
  font-size: 14px; color: var(--asf-magenta); font-weight: 500;
  /* min-height locks bullet-list start position across a row even when one
     hook wraps to 2 lines and another stays on 1 */
  min-height: calc(14px * 1.5 * 2); /* 2 lines × line-height */
  margin-bottom: 16px; font-style: italic;
  display: flex; align-items: flex-start;
}
.platform-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  /* flex: 1 lets the list expand to fill remaining card height so the
     card interior never floats with dead space above the bottom edge */
  flex: 1;
}
.platform-card ul li {
  font-size: 14px; color: var(--asf-ink); line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
/* Option A, stacked title + description per bullet */
.li-stack { display: flex; flex-direction: column; gap: 2px; }
.li-title { font-family: "Inter Tight"; font-size: 14px; font-weight: 600; color: var(--asf-ink); line-height: 1.3; }
.li-desc  { font-size: 13px; color: var(--asf-steel); line-height: 1.45; }
.platform-card ul li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(21, 166, 107, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315A66B'><path d='M7.5 13.5L4 10l1.4-1.4L7.5 10.7l7.1-7.1L16 5z'/></svg>");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
  /* 14px font / 1.5 lh = 21px line box; cap-height ≈ 9px sits ~6px from top.
     2px nudge centres the 16px icon on the cap-height of the first line. */
  margin-top: 2px;
}

.platform-footer-strip {
  max-width: 1200px; margin: 56px auto 0; padding: 0 32px;
}
.platform-footer-inner {
  background: #fff; border: 1px dashed var(--asf-cloud);
  border-radius: var(--radius-card); padding: 28px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.platform-footer-inner .pfi-text {
  font-size: 16px; color: var(--asf-ink);
  font-family: "Inter Tight"; font-weight: 500;
}
.platform-footer-inner .pfi-text strong { color: var(--asf-magenta); font-weight: 700; }

/* ---------- Why ASF, 3-up pillars (elevated) ---------- */
.why-block {
  background: var(--asf-ink); color: #fff; position: relative; overflow: hidden;
  padding: 120px 0;
}
.why-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 50%, rgba(196,35,79,0.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(255,106,91,0.15), transparent 60%),
    radial-gradient(ellipse 30% 40% at 50% 100%, rgba(255,194,75,0.12), transparent 60%);
  pointer-events: none;
}
.why-block .inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.why-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.why-head .eyebrow { justify-content: center; color: var(--asf-amber); }
.why-head h2 { color: #fff; margin: 18px auto 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card); padding: 36px 32px;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.why-card:hover {
  transform: translateY(-6px); background: rgba(255,255,255,0.06);
  border-color: rgba(255,194,75,0.35);
}
.why-card:hover::before { transform: scaleX(1); }
.why-card .wc-num {
  font-family: "JetBrains Mono"; font-size: 12px; color: var(--asf-amber);
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
}
.why-card .wc-big {
  font-family: "Inter Tight"; font-weight: 800; font-size: 40px; line-height: 1;
  margin-bottom: 14px; color: #fff; letter-spacing: -0.02em;
}
.why-card .wc-big .wc-accent {
  background: linear-gradient(90deg, var(--asf-coral), var(--asf-amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-card h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.why-card p { font-size: 15px; line-height: 1.55; color: #D1CFCB; }

/* ---------- Heritage / Timeline ---------- */
.heritage-block {
  background: var(--asf-mist); padding: 120px 0;
  position: relative;
}
.heritage-block .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.heritage-block h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; margin-bottom: 20px; }
.heritage-block .lede { font-size: 18px; color: var(--asf-steel); line-height: 1.55; max-width: 520px; }

.timeline {
  display: flex; flex-direction: column; gap: 24px;
  border-left: 2px solid var(--asf-cloud); padding-left: 28px;
  position: relative;
}
.timeline .tl-item { position: relative; }
.timeline .tl-item::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--asf-magenta);
  box-shadow: 0 0 0 4px rgba(196,35,79,0.15);
}
.timeline .year { font-family: "JetBrains Mono"; font-size: 14px; color: var(--asf-magenta); font-weight: 600; }
.timeline .tl-title { font-family: "Inter Tight"; font-size: 18px; font-weight: 600; color: var(--asf-ink); margin-top: 2px; }
.timeline .tl-sub { font-size: 14px; color: var(--asf-steel); margin-top: 4px; max-width: 420px; }

/* ---------- Social proof (testimonials + logos) ---------- */
.proof-block { background: #fff; padding: 120px 0; }
.proof-block .inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.logo-wall {
  margin-top: 56px;
  padding: 32px 0; border-top: 1px solid var(--asf-cloud); border-bottom: 1px solid var(--asf-cloud);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-wall .marquee {
  display: flex; gap: 56px; animation: marquee 40s linear infinite;
  width: max-content;
}
.logo-wall .marquee:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .logo-wall .marquee { animation: none; } }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-wall .logo-item {
  font-family: "Inter Tight"; font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
  color: #A3A099; white-space: nowrap; transition: color 200ms ease;
  display: flex; align-items: center; gap: 8px;
}
.logo-wall .logo-item:hover { color: var(--asf-magenta); }
.logo-wall .logo-item .sig { font-size: 14px; color: #C8C4BC; font-weight: 500; }

.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 72px;
}
.testimonial {
  background: var(--asf-mist); border-radius: var(--radius-card);
  padding: 32px; position: relative;
  border-left: 4px solid var(--asf-magenta);
  display: flex; flex-direction: column;
}
.testimonial .stars { color: var(--asf-amber); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial .quote { font-size: 17px; line-height: 1.5; color: var(--asf-ink); font-weight: 500; flex: 1; }
.testimonial .who-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--asf-cloud); }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); filter: saturate(0.85);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: "Inter Tight"; font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.testimonial .who-name { font-family: "Inter Tight"; font-weight: 600; font-size: 14px; color: var(--asf-ink); }
.testimonial .who-role { font-size: 13px; color: var(--asf-steel); margin-top: 2px; }
.testimonial .club-meta {
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--asf-magenta); margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--asf-cloud);
}

/* ---------- FAQ ---------- */
.faq-block { background: var(--asf-mist); padding: 120px 0; }
.faq-block .inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.faq-header {
  text-align: center; max-width: 680px; margin: 0 auto 56px;
}
.faq-header .eyebrow-wrap { margin-bottom: 18px; justify-content: center; }
.faq-header h2 { margin-bottom: 16px; }
.faq-header .lede { margin-bottom: 0; }
.faq-header .cta-row { justify-content: center; }
.faq-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--asf-cloud);
  border-radius: 16px; padding: 0; transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq-item[open] { border-color: var(--asf-magenta); box-shadow: var(--shadow-card-hover); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 26px;
  font-family: "Inter Tight"; font-weight: 600; font-size: 17px; color: var(--asf-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--asf-amber); outline-offset: 3px; border-radius: 16px; }
.faq-item summary::after {
  content: "+"; font-size: 24px; color: var(--asf-magenta); font-weight: 400;
  transition: transform 200ms ease;
  width: 28px; height: 28px; border-radius: 50%; background: rgba(196,35,79,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 26px 24px; font-size: 15px; color: var(--asf-steel); line-height: 1.65; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--asf-ink); color: #fff;
  padding: 120px 0;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(196,35,79,0.4), transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 0%, rgba(255,106,91,0.25), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(255,194,75,0.12), transparent 60%);
}
.final-cta .inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; padding: 0 32px; }
.final-cta h2 { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin-bottom: 22px; }
.final-cta h2 .accent {
  background: linear-gradient(90deg, var(--asf-coral), var(--asf-amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.final-cta p { font-size: 18px; color: #D1CFCB; margin-bottom: 38px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.final-cta .fine { font-size: 13px; color: #8a8782; margin-top: 32px; }

/* ---------- Footer (legacy restored in U1 rollback) ---------- */
.site-footer { background: var(--asf-graphite); color: #9a9799; padding: 32px 0 48px 0; font-size: 14px; }
.site-footer .row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
}
.site-footer .row--meta {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  justify-content: flex-start;
  gap: 28px;
}
.site-footer .row--meta a { color: #9a9799; transition: color 150ms ease; }
.site-footer .row--meta a:hover { color: #fff; }
.site-footer .logo-wm { font-family: "Inter Tight"; font-weight: 700; color: #fff; font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.site-footer .logo-wm::after { content: "· EST. 1973"; font-family: "JetBrains Mono"; font-weight: 500; font-size: 11px; color: #6b6874; letter-spacing: 0.08em; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a:hover { color: #fff; }
.site-footer .copy { font-size: 12px; color: #6b6874; }

/* ---------- Support cards (replaces phone call log) ---------- */
.support-cards {
  display: flex; flex-direction: column; gap: 16px;
}
.sc-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
  transition: background 200ms ease, border-color 200ms ease;
}
.sc-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.sc-card--highlight { border-color: rgba(255,194,75,0.25); background: rgba(255,194,75,0.05); }
.sc-card--highlight:hover { border-color: rgba(255,194,75,0.45); }
.sc-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(196,35,79,0.2); color: var(--asf-coral);
}
.sc-ico--amber { background: rgba(255,194,75,0.15); color: var(--asf-amber); }
.sc-title { font-family: "Inter Tight"; font-weight: 600; color: #fff; font-size: 16px; margin-bottom: 6px; }
.sc-body { font-size: 14px; color: #B8B5B0; line-height: 1.55; margin: 0; }

/* ---------- Testimonial placeholders ---------- */
.testimonial--placeholder { opacity: 0.65; border-left-color: var(--asf-cloud); background: #f8f6f3 !important; }
.tph-quote { color: var(--asf-steel) !important; font-style: italic; font-weight: 400 !important; font-size: 14px !important; }

/* ---------- Migration section ---------- */
.migration-block {
  background: var(--asf-ink); color: #fff;
  padding: 120px 0; position: relative; overflow: hidden;
}
.migration-block::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 60% at 95% 30%, rgba(196,35,79,0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 5% 80%, rgba(255,106,91,0.14), transparent 60%);
  pointer-events: none;
}
.migration-block .inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center;
}
.migration-block h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; color: #fff; margin: 18px 0 22px; }
.migration-block .lede { font-size: 18px; line-height: 1.55; color: #D1CFCB; max-width: 560px; }
.migration-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 36px;
}
.ms-tile {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 18px 14px; text-align: center;
}
.ms-num {
  font-family: "Inter Tight"; font-weight: 800; font-size: 26px; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--asf-amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.ms-label { font-size: 12px; color: #9a9799; line-height: 1.4; }
.migration-viz {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 36px; box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.mv-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mv-title { font-family: "Inter Tight"; font-weight: 600; font-size: 15px; color: #fff; }
.mv-stamp { font-family: "JetBrains Mono"; font-size: 10px; color: var(--asf-signal); letter-spacing: 0.12em; text-transform: uppercase; }
.mv-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
}
.mv-item {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: #E6E1DA; line-height: 1.5;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
}
.mv-item::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(21,166,107,0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315A66B'><path d='M7.5 13.5L4 10l1.4-1.4L7.5 10.7l7.1-7.1L16 5z'/></svg>");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
}
.mv-footer {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.mv-badge {
  font-family: "JetBrains Mono"; font-size: 11px; color: var(--asf-amber);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* ---------- Use cases grid ---------- */
.use-cases-block { background: var(--asf-mist); padding: 120px 0; }
.uc-head {
  text-align: center; max-width: 780px; margin: 0 auto 56px; padding: 0 32px;
}
.uc-head .eyebrow { justify-content: center; }
.uc-head h2 { margin: 18px auto 18px; }
.uc-head .lede { margin: 0 auto; }
.uc-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.uc-card {
  background: #fff; border: 1px solid var(--asf-cloud);
  border-radius: var(--radius-card); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.uc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.uc-card:hover::before { transform: scaleX(1); }
.uc-type { font-family: "JetBrains Mono"; font-size: 11px; color: var(--asf-magenta); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.uc-card h3 { font-size: 22px; margin-bottom: 10px; }
.uc-hook { font-size: 15px; color: var(--asf-steel); line-height: 1.5; margin-bottom: 20px; font-style: italic; }
.uc-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.uc-card ul li { font-size: 14px; color: var(--asf-ink); display: flex; gap: 10px; align-items: flex-start; }
.uc-card ul li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(21,166,107,0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2315A66B'><path d='M7.5 13.5L4 10l1.4-1.4L7.5 10.7l7.1-7.1L16 5z'/></svg>");
  background-size: 70%; background-position: center; background-repeat: no-repeat;
  margin-top: 2px;
}

/* ---------- Sticky floating CTA ---------- */
.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}
.float-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta .btn-primary { padding: 16px 24px; box-shadow: 0 14px 40px rgba(196,35,79,0.45); }
.float-cta.suppress { opacity: 0 !important; transform: translateY(24px) !important; pointer-events: none !important; }

/* ================================================================ */
/* Responsive tiers                                                   */
/*                                                                    */
/*  Desktop default       >= 1181px                                   */
/*  Tablet landscape      961 to 1180px                               */
/*  Tablet portrait       640 to 960px  (iPad portrait, large phones) */
/*  Phone                 <= 639px                                    */
/*  Very small phone      <= 380px                                    */
/*  Landscape phone       max-height: 500px + orientation:landscape   */
/* ================================================================ */

/* ---------- Tablet landscape / small laptop (961 to 1180px) ---------- */
@media (min-width: 961px) and (max-width: 1180px) {
  .site-nav { padding: 10px 10px; gap: 2px; }
  .site-nav a { padding: 6px 8px; font-size: 13px; }

  .hero .inner { grid-template-columns: 1fr 0.9fr; gap: 40px; }
  .hero h1 { font-size: clamp(36px, 4.6vw, 54px); }
  .hero { padding: 80px 0 96px; }

  .pillar-billing .inner, .pillar-support .inner { gap: 48px; }

  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonials .testimonial:nth-child(3) { grid-column: 1 / -1; }

}

/* ---------- Tablet portrait & large phones (640 to 960px) ---------- */
/* Applies to iPad portrait (768/810/820px) and landscape phones.      */
/* Section nav + scroll cue STAY visible here, they vanish at 639px. */
@media (max-width: 960px) {
  .container, .container-wide, .hero .inner,
  .pillar-billing .inner, .pillar-support .inner,
  .heritage-block .inner, .faq-block .inner,
  .why-block .inner, .proof-block .inner,
  .migration-block .inner,
  .migration-block .inner { grid-template-columns: 1fr; gap: 48px; }
  .migration-stats { grid-template-columns: repeat(3, 1fr); }
  .migration-block { padding: 88px 0; }
  .use-cases-block { padding: 88px 0; }
  .uc-grid { grid-template-columns: 1fr; padding: 0 20px; }

  /* Tighten section nav for iPad portrait */
  .site-nav { padding: 10px 8px; gap: 0; }
  .site-nav a { padding: 6px 8px; font-size: 12.5px; }
  /* De-prioritize FAQ at this width, core journey is billing/support/calc/platform */
  .site-nav a[href="#faq"] { display: none; }

  .hero { padding: 72px 0 88px; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: clamp(34px, 5.5vw, 46px); }
  .hero-visual { height: 460px; }
  .mock-dashboard { width: 90%; }

  .pillar-billing, .pillar-support { padding: 88px 0; }
  .pillar-billing .inner, .pillar-support .inner,
  .heritage-block .inner {
    grid-template-columns: 1fr; gap: 48px;
  }
  .faq-cols { grid-template-columns: 1fr; }


  /* 2-col tablet stage for platform + testimonials */
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonials .testimonial:nth-child(3) { grid-column: 1 / -1; }

  .platform-block { padding: 88px 0; }
  .why-block { padding: 88px 0; }
  .heritage-block { padding: 88px 0; }
  .proof-block { padding: 88px 0; }
  .faq-block { padding: 88px 0; }

  section.block { padding: 80px 0; }

  .final-cta { padding: 88px 0; }

  .float-cta { bottom: 16px; right: 16px; }

}

/* ---------- Phone (≤ 639px) ---------- */
/* Inherits the 960px block, this tier collapses remaining 2-col        */
/* layouts, hides the section nav + scroll cue, and tightens typography. */
@media (max-width: 639px) {
  .site-nav { display: none; }
  .hero-scroll-cue { display: none; }
  .migration-stats { grid-template-columns: 1fr; gap: 10px; }
  .support-cards { gap: 12px; }

  .hero { padding: 56px 0 72px; }
  .hero .inner { gap: 32px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero .sub { font-size: 16px; }
  .hero-visual { height: 420px; }
  .mock-dashboard { width: 92%; }
  .mock-float { top: 220px; }

  .pillar-bullets { grid-template-columns: 1fr; }

  .platform-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonials .testimonial:nth-child(3) { grid-column: auto; }

  .why-grid { grid-template-columns: 1fr; }

  section.block { padding: 72px 0; }
  section.block h2 { font-size: 28px; }


  /* Touch-target sizing, platform/faq/sliders ≥ 44px tall */
  .platform-card ul li { padding: 6px 0; min-height: 30px; }
  .faq-item summary { padding: 20px 22px; min-height: 44px; }

  .float-cta { bottom: 12px; right: 12px; left: 12px; }
  .float-cta .btn-primary { width: 100%; justify-content: center; padding: 18px 22px; }
}

/* ---------- Very small phones (≤ 380px) ---------- */
@media (max-width: 380px) {
  .container, .container-wide, .hero .inner,
  .pillar-billing .inner, .pillar-support .inner,
  .heritage-block .inner, .faq-block .inner,
  .why-block .inner, .proof-block .inner,

  .hero h1 { font-size: 28px; }
  .hero .sub { font-size: 15px; }
  .btn-large { padding: 14px 20px; font-size: 15px; }

  /* Wrap dotted stat lines gracefully */
  .trust-micro { gap: 12px 20px; }
  .pillar-support .first-ring { font-size: 15px; line-height: 1.45; word-spacing: 2px; }

  section.block h2 { font-size: 26px; }
}

/* ---------- Landscape phone (short viewport) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 32px 0 48px; }
  .hero .inner { grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start; }
  .hero-visual { display: none; }
  .hero-mesh { animation: none; }
  .hero-scroll-cue { display: none; }
}

/* ---------- iOS safe-area insets (notch / home indicator) ---------- */
@supports (padding: env(safe-area-inset-bottom)) {
  .float-cta { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  @media (max-width: 960px) {
    .float-cta { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  }
  @media (max-width: 639px) {
    .float-cta { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  }
}

@media (forced-colors: active) {
  .hero h1 .accent, .roi-big, .wc-accent, .ll-amount,
  .final-cta h2 .accent, .proof-badge .pb-big, .mock-dashboard .rate-big {
    background: none !important;
    color: CanvasText !important;
    -webkit-text-fill-color: CanvasText !important;
  }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .accent, .final-cta h2 .accent, .roi-big, .wc-accent {
    background: none; color: var(--asf-amber);
  }
}

/* ---------- Demo modal ---------- */
.dm {
  position: fixed; inset: 0; z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none;
  transition: opacity 200ms ease;
}
.dm.open { opacity: 1; pointer-events: auto; }
.dm__backdrop {
  position: absolute; inset: 0;
  background: rgba(14, 14, 20, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dm__dialog {
  position: relative; width: 100%; max-width: 1120px; max-height: calc(100vh - 24px);
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  transform: scale(0.96) translateY(8px);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
}
.dm.open .dm__dialog { transform: scale(1) translateY(0); }

.dm__close {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: 1px solid rgba(14,14,20,0.08);
  color: var(--asf-ink); font-size: 18px; font-weight: 400; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 150ms ease, background 150ms ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.dm__close:hover { transform: scale(1.08); background: #fff; color: var(--asf-magenta); }
.dm__close:focus-visible { outline: 3px solid var(--asf-amber); outline-offset: 3px; }

.dm__split {
  display: grid; grid-template-columns: 380px 1fr;
  flex: 1; min-height: 0; overflow: hidden;
}

.dm__pitch {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255,194,75,0.15), transparent 60%),
    linear-gradient(155deg, #2A0A1A 0%, #7A1433 45%, #C4234F 100%);
  color: #fff; padding: 32px 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  overflow-y: auto;
}
.dm__pitch::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.04; pointer-events: none;
}
.dm__pitch > * { position: relative; }

.dm__pill {
  align-self: flex-start;
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--asf-amber);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 194, 75, 0.12);
  border: 1px solid rgba(255, 194, 75, 0.3);
  margin-bottom: 32px;
}
.dm__pitch h3 {
  font-family: "Inter Tight"; font-weight: 700;
  font-size: clamp(30px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 20px;
}
.dm__pitch h3 .accent {
  background: linear-gradient(90deg, var(--asf-amber), var(--asf-coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dm__lede {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.82);
  margin: 0 0 auto;
}
.dm__feats {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-direction: column; gap: 18px;
}
.dm__feats li { display: flex; gap: 14px; align-items: flex-start; }
.dm__feats .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 194, 75, 0.2);
  border: 1px solid rgba(255, 194, 75, 0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--asf-amber); font-size: 13px; font-weight: 700;
  margin-top: 1px;
}
.dm__feats .dm-feat-title {
  font-family: "Inter Tight"; font-weight: 600; font-size: 15px; color: #fff;
}
.dm__feats .dm-feat-sub {
  font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 2px; line-height: 1.45;
}
.dm__email {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.dm__email a { color: var(--asf-amber); text-decoration: underline; text-underline-offset: 3px; }
.dm__email a:hover { color: #fff; }

.dm__cal { background: #fff; position: relative; overflow: auto; -webkit-overflow-scrolling: touch; }
.dm__cal iframe { width: 100%; height: 100%; min-height: 760px; border: 0; display: block; }
.dm__cal__loading {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono"; font-size: 12px; color: var(--asf-steel);
  pointer-events: none; opacity: 1; transition: opacity 400ms ease;
}
.dm__cal__loading::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--asf-magenta);
  margin-right: 10px; animation: dm-pulse 1.2s infinite;
}
@keyframes dm-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.dm__cal.loaded .dm__cal__loading { opacity: 0; }

body.dm-open { overflow: hidden; }

@media (max-width: 900px) {
  .dm { padding: 0; }
  .dm__dialog { max-height: 100vh; height: 100%; max-width: 100%; border-radius: 0; }
  .dm__split { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .dm__pitch { padding: 32px 24px 28px; }
  .dm__pitch h3 { font-size: 26px; }
  .dm__feats { margin-top: 24px; gap: 14px; }
  .dm__email { margin-top: 24px; padding-top: 18px; }
  .dm__cal { min-height: 600px; }
  .dm__close { top: 12px; right: 12px; }
}

/* ================================================================== */
/*  Cookie consent banner + preferences modal (added by U0 Foundation) */
/*  Reuses existing design tokens (--asf-magenta, --asf-ink, etc.)     */
/* ================================================================== */

#cookie-banner[hidden],
#cookie-preferences[hidden] {
  display: none !important;
}

#cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--asf-ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(14, 14, 20, 0.35);
  font-family: "Inter", system-ui, sans-serif;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner-title {
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

.cookie-banner-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.cookie-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.cookie-banner-btn:focus-visible {
  outline: 3px solid var(--asf-amber);
  outline-offset: 3px;
}

.cookie-banner-btn:active {
  transform: scale(0.97);
}

.cookie-banner-btn-primary {
  background: var(--asf-magenta);
  color: #fff;
  border-color: var(--asf-magenta);
  box-shadow: 0 8px 24px rgba(196, 35, 79, 0.35);
}

.cookie-banner-btn-primary:hover {
  background: var(--asf-coral);
  border-color: var(--asf-coral);
}

.cookie-banner-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.cookie-banner-btn-tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-btn-tertiary:hover {
  color: #fff;
}

#cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.cookie-preferences-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 20, 0.55);
}

.cookie-preferences-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  color: var(--asf-ink);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(14, 14, 20, 0.25);
  padding: 28px;
  font-family: "Inter", system-ui, sans-serif;
}

.cookie-preferences-title {
  margin: 0 0 8px;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cookie-preferences-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--asf-steel);
}

.cookie-preferences-categories {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-category {
  padding: 16px;
  border: 1px solid var(--asf-cloud);
  border-radius: 12px;
  background: var(--asf-mist);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-category-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.cookie-category-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--asf-magenta);
  cursor: pointer;
}

.cookie-category-toggle input[type="checkbox"][disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-category-name {
  color: var(--asf-ink);
}

.cookie-category-status {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--asf-signal);
}

.cookie-category-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--asf-graphite);
}

.cookie-preferences-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-preferences-actions .cookie-banner-btn-secondary {
  color: var(--asf-ink);
  border-color: rgba(14, 14, 20, 0.18);
}

.cookie-preferences-actions .cookie-banner-btn-secondary:hover {
  background: rgba(14, 14, 20, 0.04);
  border-color: rgba(14, 14, 20, 0.32);
}

@media (max-width: 639px) {
  #cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 18px 18px;
    border-radius: 14px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-btn {
    width: 100%;
  }
  .cookie-preferences-panel {
    padding: 22px;
    max-height: calc(100vh - 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner-btn {
    transition: none;
  }
  .cookie-banner-btn:active {
    transform: none;
  }
}

/* ============================================================
   U0 utility classes (CSP-compliant: no inline style attributes)
   Each class corresponds to a specific inline style that was
   removed from production/index.html for SECURITY-04 compliance.
   ============================================================ */

.gtm-noscript-iframe {
  display: none;
  visibility: hidden;
}

.eyebrow-wrap--spaced {
  margin-bottom: 18px;
}

.pillar-bullets--single-col {
  grid-template-columns: 1fr;
  gap: 12px;
}

.cta-row--heritage {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-row--faq {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.eyebrow--centered {
  justify-content: center;
  margin: 0 auto;
}

.btn--secondary-dark {
  background: var(--asf-ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(14, 14, 20, 0.5);
}

.fine-link {
  color: #FFC24B;
  text-decoration: underline;
}

/* ============================================================
   U2 Doc layout (Privacy Policy + 9 legal docs)

   Cream/paper single-column reading experience. Per the Designer
   review the doc layout uses HEADER CTA ONLY (no body or final-CTA
   blocks), so the styling focuses purely on long-form readability.

   Tokens reused: --asf-magenta, --asf-ink, --asf-graphite,
   --asf-mist, --asf-cloud, --asf-steel. No new tokens introduced.
   ============================================================ */

.page-doc { background: var(--asf-mist); }

.page-doc main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 96px;
}

/* Breadcrumb: visible on doc pages, centered above the doc-header. */
.page-doc .asf-chrome-breadcrumb {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 0 32px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--asf-steel);
}
.page-doc .asf-chrome-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.page-doc .asf-chrome-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--asf-cloud);
}
.page-doc .asf-chrome-breadcrumb a {
  color: var(--asf-graphite);
  text-decoration: none;
}
.page-doc .asf-chrome-breadcrumb a:hover { color: var(--asf-magenta); }
.page-doc .asf-chrome-breadcrumb [aria-current="page"] {
  color: var(--asf-ink);
  font-weight: 600;
}

/* Doc header (H1 + meta row + contact note) sits above the paper column. */
.page-doc .doc-header {
  max-width: 72ch;
  margin: 32px auto 24px;
  padding: 0 8px;
}
.page-doc .doc-header h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--asf-ink);
  margin: 0 0 16px;
}
.page-doc .doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--asf-graphite);
}
.page-doc .doc-meta__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--asf-steel);
}
.page-doc .doc-meta time,
.page-doc .doc-meta__reading-time {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--asf-graphite);
}
.page-doc .doc-meta__sep {
  color: var(--asf-cloud);
  font-weight: 700;
}
.page-doc .doc-contact-note {
  border-left: 3px solid var(--asf-cloud);
  background: rgba(196, 35, 79, 0.04);
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--asf-graphite);
  border-radius: 0 6px 6px 0;
}
.page-doc .doc-contact-note a {
  color: var(--asf-magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Paper column: white card centered over the cream page background. */
.page-doc .doc-body {
  max-width: 72ch;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 48px 56px;
  border: 1px solid var(--asf-cloud);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(14, 14, 20, 0.03);
}

.page-doc .doc-body .doc-intro {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--asf-ink);
  margin: 0 0 32px;
}

.page-doc .doc-body h2 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--asf-ink);
  margin: 56px 0 16px;
  scroll-margin-top: 96px;
  position: relative;
}
.page-doc .doc-body h2:first-child { margin-top: 0; }
.page-doc .doc-body h3 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--asf-ink);
  margin: 32px 0 12px;
}
.page-doc .doc-body p {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--asf-graphite);
  margin: 0 0 18px;
}
.page-doc .doc-body ul,
.page-doc .doc-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}
.page-doc .doc-body li {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--asf-graphite);
  margin: 0 0 10px;
}
.page-doc .doc-body strong { color: var(--asf-ink); font-weight: 600; }
.page-doc .doc-body a {
  color: var(--asf-magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.page-doc .doc-body a:hover {
  color: var(--asf-magenta-900);
  text-decoration-thickness: 2px;
}
.page-doc .doc-body a:focus-visible {
  outline: 2px solid var(--asf-magenta);
  outline-offset: 3px;
  border-radius: 2px;
}
.page-doc .doc-body address.doc-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--asf-graphite);
  background: var(--asf-mist);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 16px;
}

/* Heading-anchor # affordance: hidden by default, revealed on hover/focus. */
.page-doc .heading-anchor {
  display: inline-block;
  margin-left: 8px;
  color: var(--asf-magenta);
  opacity: 0;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 140ms ease;
}
.page-doc .doc-body h2:hover .heading-anchor,
.page-doc .doc-body h2:focus-within .heading-anchor,
.page-doc .heading-anchor:focus-visible { opacity: 0.85; }
.page-doc .heading-anchor:focus-visible {
  outline: 2px solid var(--asf-magenta);
  outline-offset: 2px;
  border-radius: 2px;
}
.page-doc .heading-anchor[data-copied="true"]::after {
  content: "Link copied";
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--asf-ink);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 1;
}

/* Floating back-to-top button (gated on .page-doc body class). */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--asf-ink);
  border: 1px solid var(--asf-cloud);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 14, 20, 0.12);
  z-index: 800;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 14, 20, 0.18);
  color: var(--asf-magenta);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--asf-magenta);
  outline-offset: 3px;
}
.back-to-top[hidden] { display: none; }

@media (max-width: 720px) {
  .page-doc main { padding: 24px 16px 80px; }
  .page-doc .asf-chrome-breadcrumb { padding: 0 16px; }
  .page-doc .doc-header { padding: 0; margin-top: 16px; }
  .page-doc .doc-header h1 { font-size: 30px; line-height: 1.18; }
  .page-doc .doc-body {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .page-doc .doc-body h2 { font-size: 22px; margin-top: 40px; }
  .page-doc .doc-body h3 { font-size: 18px; }
  .page-doc .heading-anchor { opacity: 0.6; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .page-doc .doc-body p,
  .page-doc .doc-body li { font-size: 16px; line-height: 1.6; }
  .page-doc .doc-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .page-doc .doc-meta__sep { display: none; }
}

/* Index pages (U3 Legal index; reusable). Shares page-doc chrome with
   doc-layout but uses a lighter header (no last-modified meta row, no
   contact-note border-left) and a section-based list body. */
.page-doc .index-header {
  max-width: 72ch;
  margin: 32px auto 24px;
  padding: 0 8px;
}
.page-doc .index-header h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--asf-ink);
  margin: 0 0 16px;
}
.page-doc .index-intro {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--asf-graphite);
  max-width: 72ch;
  margin: 0;
}
.page-doc .index-body {
  max-width: 72ch;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 48px 56px;
  border: 1px solid var(--asf-cloud);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(14, 14, 20, 0.03);
}
/* U13: renamed from `.legal-index__*` to `.doc-index__*` so /help/, /help/billing/,
   /help/mobile/, and legacy /legal/ share one styling vocabulary. New modifiers
   added below for help indexes: `--hub` row size bump, `__row-count` article
   counter on hub rows, `__row-badge` audience badge with `--operators`,
   `--members`, `--mixed` variants. */
.doc-index__group { margin-bottom: 40px; }
.doc-index__group:first-child { margin-top: 0; }
.doc-index__group:last-child { margin-bottom: 0; }
.doc-index__group-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--asf-magenta);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-index__group-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--asf-magenta);
}
.doc-index__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--asf-cloud);
  color: inherit;
  text-decoration: none;
  transition: background 140ms ease;
  scroll-margin-top: 96px;
}
.doc-index__row:hover { background: rgba(196, 35, 79, 0.04); cursor: pointer; }
.doc-index__row:focus-visible {
  outline: 2px solid var(--asf-magenta);
  outline-offset: 2px;
  border-radius: 2px;
}
.doc-index__row-titles { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.doc-index__row-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--asf-ink);
}
.doc-index__row-summary {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: var(--asf-graphite);
}
.doc-index__row-meta { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.doc-index__row-date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--asf-steel);
}
.doc-index__row-arrow { color: var(--asf-magenta); flex-shrink: 0; }

/* U13: hub row variant for top-level /help/. Larger title and summary
   to signal "this is a section, not an article." No padding/border change. */
.doc-index__row--hub .doc-index__row-title { font-size: 22px; }
.doc-index__row--hub .doc-index__row-summary { font-size: 18px; }

/* U13: article-count badge ("7 articles") used on /help/ hub rows in place
   of the UPDATED-date used on /legal/ rows. Same JetBrains Mono type style. */
.doc-index__row-count {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--asf-steel);
}

/* U13: audience badge used on /help/billing/ and /help/mobile/ article rows.
   Three modifier classes per Designer section 4. All three pass WCAG AA at 12px
   against the white card background of `.index-body`. */
.doc-index__row-badge {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.doc-index__row-badge--operators {
  background: rgba(196, 35, 79, 0.08);
  color: var(--asf-magenta-900);
}
.doc-index__row-badge--members {
  /* Designer-specified ASF green for member audience (matches --asf-signal tone). */
  background: rgba(21, 166, 107, 0.10);
  color: #0E6B45;
}
.doc-index__row-badge--mixed {
  background: rgba(107, 107, 120, 0.10);
  color: var(--asf-graphite);
}

@media (max-width: 720px) {
  .page-doc .index-header { padding: 0; margin-top: 16px; }
  .page-doc .index-header h1 { font-size: 30px; line-height: 1.18; }
  .page-doc .index-body { padding: 0; border: none; background: transparent; box-shadow: none; border-radius: 0; }
  .doc-index__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .doc-index__row-meta { order: 3; gap: 8px; }
}

@media (max-width: 480px) {
  .doc-index__row-date { display: none; }
  /* Badge IS the meta on help rows, so keep it visible at 480px. */
}

/* ============================================================
   Help docs shell (V2) - U13c
   Sidebar + Main two-pane layout used by help-index-layout.
   Scoped under .page-help-index so it does not affect
   /legal/, /privacy/, or any other index-layout page.
   ============================================================ */

.page-help-index { background: var(--asf-mist); }

/* Hide the chrome breadcrumb on help-index pages; the sidebar
   carries the breadcrumb instead, matching V2 prototype. */
.page-help-index > .asf-chrome-breadcrumb { display: none; }

.page-help-index .docs-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.page-help-index .docs-main { min-width: 0; }

/* In docs-shell, the index-header and index-body get their own
   docs-scoped treatment: wider, no 72ch cap (the cap was needed
   when the page was a single 1100px column; here the column is
   already constrained by the grid). */
.page-help-index .docs-main .index-header {
  max-width: none;
  margin: 0 0 24px;
  padding: 48px 56px 40px;
  background: #FFFFFF;
  border: 1px solid var(--asf-cloud);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(14, 14, 20, 0.04);
}
.page-help-index .docs-main .index-header h1 {
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.06;
  margin: 0 0 16px;
}
.page-help-index .docs-main .index-intro {
  font-size: 17px;
  color: var(--asf-graphite);
  max-width: 78ch;
  margin: 0;
}
.page-help-index .docs-main .index-body {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Each group becomes its own white card with internal padding. */
.page-help-index .doc-index__group {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 56px;
  box-shadow: 0 2px 8px rgba(14, 14, 20, 0.04);
  border: 1px solid var(--asf-cloud);
  margin-bottom: 24px;
}
.page-help-index .doc-index__group:last-child { margin-bottom: 0; }

/* Group label: trailing rule line instead of leading dash. */
.page-help-index .doc-index__group-label {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--asf-magenta);
  margin: 0 0 24px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-help-index .doc-index__group-label::before { display: none; }
.page-help-index .doc-index__group-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--asf-cloud);
}

/* Rows: card-internal padding, no bottom border (cards already
   provide separation), translateX micro-interaction on hover. */
.page-help-index .doc-index__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: none;
  border-radius: 10px;
  transition: background 120ms ease, transform 120ms ease;
}
.page-help-index .doc-index__row + .doc-index__row { margin-top: 2px; }
.page-help-index .doc-index__row:hover {
  background: var(--asf-mist);
  transform: translateX(2px);
}
.page-help-index .doc-index__row-arrow {
  transition: transform 120ms ease, color 120ms ease;
}
.page-help-index .doc-index__row:hover .doc-index__row-arrow {
  transform: translateX(4px);
}

/* ----- Sidebar ----- */
.docs-sidebar {
  position: sticky;
  top: 88px;            /* below the sticky site-header */
  align-self: start;
}
.docs-sidebar__breadcrumb {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--asf-steel);
  margin-bottom: 16px;
}
.docs-sidebar__breadcrumb a { color: var(--asf-graphite); }
.docs-sidebar__breadcrumb a:hover { color: var(--asf-magenta); }
.docs-sidebar__breadcrumb [aria-current="page"] {
  color: var(--asf-ink);
  font-weight: 600;
}
.docs-sidebar__title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--asf-magenta);
  margin: 0 0 14px;
}
.docs-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--asf-cloud);
}
.docs-sidebar__list li { position: relative; }
.docs-sidebar__list a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--asf-graphite);
  border-left: 2px solid transparent;
  margin-left: -2px;
  line-height: 1.4;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.docs-sidebar__list a:hover {
  color: var(--asf-magenta);
  background: rgba(196, 35, 79, 0.04);
}
.docs-sidebar__list a.active {
  color: var(--asf-magenta);
  border-left-color: var(--asf-magenta);
  font-weight: 600;
}
.docs-sidebar__list .docs-sidebar__group {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--asf-steel);
  padding: 16px 16px 4px;
  margin-top: 4px;
}
.docs-sidebar__list .docs-sidebar__group:first-child {
  margin-top: 0;
  padding-top: 4px;
}
.docs-sidebar__contact {
  margin-top: 32px;
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid var(--asf-cloud);
  border-radius: 12px;
}
.docs-sidebar__contact-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--asf-steel);
  margin: 0 0 6px;
}
.docs-sidebar__contact-num {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--asf-ink);
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}
.docs-sidebar__contact-num:hover { color: var(--asf-magenta); }
.docs-sidebar__contact-help {
  font-size: 13px;
  color: var(--asf-steel);
  line-height: 1.5;
  margin: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .page-help-index .docs-shell {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 16px 24px 64px;
  }
  .page-help-index .docs-main .index-header { padding: 36px 32px; }
  .page-help-index .doc-index__group { padding: 32px; }
}
@media (max-width: 720px) {
  .page-help-index .docs-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .docs-sidebar {
    position: static;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--asf-cloud);
  }
  .docs-sidebar__contact { display: none; }
  .page-help-index .docs-main .index-header {
    padding: 28px 24px;
    border-radius: 12px;
  }
  .page-help-index .docs-main .index-header h1 { font-size: 34px; }
  .page-help-index .doc-index__group {
    padding: 24px;
    border-radius: 12px;
  }
  .page-help-index .doc-index__row {
    padding: 14px 10px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .page-help-index .doc-index__row-meta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   Help doc pages (V2) - U14
   Long-form article shell built on the V2 docs-shell + sidebar.
   Body class is `page-doc page-help-doc` so `.page-doc` chrome
   (paper card, heading anchors, back-to-top) still applies and
   `.page-help-doc` overrides kick in for left-aligned reading
   column, eyebrow label, related-articles footer.
   ============================================================ */

.page-help-doc { background: var(--asf-mist); }

/* Hide the chrome breadcrumb on help-doc pages; the sidebar carries it. */
.page-help-doc > .asf-chrome-breadcrumb { display: none; }

/* Shell + sidebar geometry: identical math to .page-help-index. */
.page-help-doc .docs-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.page-help-doc .docs-main { min-width: 0; }

/* Cap the sticky sidebar height on tall articles so the TOC never
   gets cut off mid-list (designer risk-callout #4). */
.page-help-doc .docs-sidebar {
  max-height: calc(100vh - 88px - 24px);
  overflow-y: auto;
  padding-right: 4px;
}

/* Doc-header band: left-aligned inside the 1040 main column, 75ch cap. */
.page-help-doc .docs-main .help-doc-header {
  max-width: 75ch;
  margin: 0 0 24px;
  padding: 0;
}
.page-help-doc .help-doc-header__eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--asf-steel);
  margin: 0 0 12px;
}
.page-help-doc .help-doc-header h1 {
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--asf-ink);
  margin: 0 0 16px;
}
.page-help-doc .help-doc-header .doc-meta { margin: 0; }

/* Reading column: left-align inside the 1040 main column, 75ch cap.
   Overrides .page-doc .doc-body (centered margin: 0 auto). */
.page-help-doc .docs-main .doc-body {
  max-width: 75ch;
  margin: 0;
}

/* Hide the legal contact note on help articles (sidebar carries contact). */
.page-help-doc .doc-contact-note { display: none; }

/* Related-articles footer: full 1040 column width, outside the 75ch cap. */
.page-help-doc .help-doc-related {
  margin-top: 40px;
  max-width: none;
}
.page-help-doc .help-doc-related .doc-index__group {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 40px;
  box-shadow: 0 2px 8px rgba(14, 14, 20, 0.04);
  border: 1px solid var(--asf-cloud);
  margin-bottom: 0;
}
.page-help-doc .help-doc-related .doc-index__group-label {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--asf-magenta);
  margin: 0 0 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-help-doc .help-doc-related .doc-index__group-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--asf-cloud);
}
.page-help-doc .help-doc-related .doc-index__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 18px;
  border-bottom: none;
  border-radius: 10px;
  transition: background 120ms ease, transform 120ms ease;
}
.page-help-doc .help-doc-related .doc-index__row + .doc-index__row { margin-top: 2px; }
.page-help-doc .help-doc-related .doc-index__row:hover {
  background: var(--asf-mist);
  transform: translateX(2px);
}
.page-help-doc .help-doc-related .doc-index__row-title {
  font-family: "Inter Tight", Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--asf-ink);
  margin: 0 0 4px;
}
.page-help-doc .help-doc-related .doc-index__row-summary {
  font-size: 14px;
  color: var(--asf-graphite);
  display: block;
}
.page-help-doc .help-doc-related .doc-index__row-arrow {
  color: var(--asf-magenta);
  transition: transform 120ms ease;
}
.page-help-doc .help-doc-related .doc-index__row:hover .doc-index__row-arrow {
  transform: translateX(4px);
}

/* Sidebar TOC list: active state share with .docs-sidebar__list a.active
   (already shipped under .page-help-index). */

/* Responsive: mirror the help-index breakpoints. */
@media (max-width: 1024px) {
  .page-help-doc .docs-shell {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 16px 24px 64px;
  }
  .page-help-doc .help-doc-related .doc-index__group { padding: 28px 24px; }
}
@media (max-width: 720px) {
  .page-help-doc .docs-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-help-doc .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 24px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--asf-cloud);
  }
  .page-help-doc .docs-sidebar__contact { display: none; }
  .page-help-doc .help-doc-header h1 { font-size: 30px; line-height: 1.18; }
  .page-help-doc .help-doc-related .doc-index__group { padding: 24px; border-radius: 12px; }
  .page-help-doc .help-doc-related .doc-index__row { padding: 14px 10px; gap: 14px; }
}

/* ============================================================
   Legal doc overlay (U13d)
   .page-legal-doc is set in addition to .page-help-doc on the
   9 legal docs + privacy. Re-shows the regulatory contact note
   that .page-help-doc hides, styles it inside the V2 reading
   column, and tweaks the eyebrow color to differentiate legal
   from help articles.
   ============================================================ */

.page-legal-doc .doc-contact-note {
  display: block;
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--asf-mist);
  border-left: 3px solid var(--asf-magenta);
  border-radius: 8px;
  font-size: 14px;
  color: var(--asf-graphite);
  max-width: 75ch;
}
.page-legal-doc .doc-contact-note a {
  color: var(--asf-magenta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ----- Print stylesheet (applies to both .page-help-doc and .page-doc) ----- */
@media print {
  .site-header,
  .site-footer,
  .docs-sidebar,
  .back-to-top,
  .help-doc-related,
  .cookie-banner,
  #cookie-banner,
  #cookie-preferences,
  .floating-cta,
  #floatCta,
  #demoModal { display: none !important; }

  .docs-shell {
    display: block;
    max-width: none;
    padding: 0;
  }
  .docs-main { width: 100%; }
  .page-help-doc .help-doc-header,
  .page-help-doc .doc-body,
  .page-doc .doc-header,
  .page-doc .doc-body {
    max-width: none;
    margin: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .page-help-doc .doc-body h2,
  .page-doc .doc-body h2 {
    page-break-after: avoid;
  }
  .page-help-doc .doc-body p,
  .page-help-doc .doc-body li,
  .page-doc .doc-body p,
  .page-doc .doc-body li {
    orphans: 3;
    widows: 3;
  }
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
  /* Don't expand on-page anchor links or mailto/tel into URL text. */
  a[href^="#"]:after,
  a[href^="mailto:"]:after,
  a[href^="tel:"]:after { content: ""; }
  .heading-anchor { display: none !important; }
}

/* U17 Security section */
.security-block { background: var(--asf-mist); padding: 120px 0; }
.security-block .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.sec-head {
  text-align: center; max-width: 780px; margin: 0 auto 56px;
}
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 {
  font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06;
  color: var(--asf-ink); margin: 18px 0 22px;
}
.sec-head .lede {
  font-size: 18px; line-height: 1.55; color: var(--asf-graphite); margin: 0 auto;
}
.sec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sec-card {
  background: #fff; border: 1px solid var(--asf-cloud);
  border-radius: var(--radius-card); padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.sec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(196,35,79,0.25);
}
.sec-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(196,35,79,0.08); color: var(--asf-magenta);
  margin-bottom: 18px;
}
.sec-card h3 {
  font-family: "Inter Tight"; font-weight: 700; font-size: 20px;
  color: var(--asf-ink); margin: 0 0 10px;
}
.sec-card p {
  font-size: 15px; line-height: 1.55; color: var(--asf-graphite); margin: 0;
}
.sec-footnote {
  font-family: "JetBrains Mono"; font-size: 11px; font-weight: 500;
  color: var(--asf-steel); letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; margin: 40px auto 0; max-width: 720px;
}

@media (max-width: 960px) {
  .sec-grid { grid-template-columns: 1fr; gap: 16px; }
  .security-block { padding: 88px 0; }
}

/* Article figures */
.doc-figure {
  margin: 32px 0;
  max-width: 100%;
}
.doc-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--asf-cloud);
}
.doc-figure figcaption {
  font-size: 14px;
  color: var(--asf-steel);
  margin-top: 8px;
  font-style: italic;
}

