/* ============================================================
   BarKeep marketing site — design tokens mirror the app exactly.
   Source of truth: barback/constants/theme.ts (Palette).
   Dark luxe: deep aubergine page, lavender primary, warm gold.
   ============================================================ */
:root {
  --bg: #0f0820;
  --surface: #1c1233;
  --raised: #211537;
  --input: #170e2b;
  --primary: #9d8ce0;
  --primary-deep: #5d529f;
  --accent: #d4a574;
  --danger: #c97c7c;
  --success: #6ab56a;
  --border: rgba(157, 140, 224, 0.35);
  --border-strong: rgba(157, 140, 224, 0.55);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.45);
  --radius: 20px;
  --radius-sm: 14px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* Global overflow guards: no element may force horizontal scroll */
.hero-grid > *,
.grid-3 > *, .grid-4 > *, .steps > *, .roles > *, .pricing > *,
.tier-pick > *, .two-col > *, .foot > * { min-width: 0; }

h1, h2, h3, p, li, small, span, div { overflow-wrap: break-word; word-break: normal; }

/* Ambient purple glow behind everything, like the logo backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(700px 420px at 12% -4%, rgba(157, 140, 224, 0.22), transparent 60%),
    radial-gradient(800px 480px at 88% 8%, rgba(93, 82, 159, 0.35), transparent 60%),
    radial-gradient(600px 500px at 50% 110%, rgba(212, 165, 116, 0.07), transparent 60%);
}

a { color: inherit; }
img, video { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 8, 32, 0.82);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { font-size: 20px; letter-spacing: -0.4px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 18px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  color: #120b24;
  color: #fff;
  box-shadow: 0 5px 12px rgba(93, 82, 159, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(93, 82, 159, 0.55), 0 10px 28px rgba(0, 0, 0, 0.4); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(157, 140, 224, 0.08);
}
.btn-ghost:hover { background: rgba(157, 140, 224, 0.16); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
span.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.soon-pill {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.45);
  background: rgba(212, 165, 116, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.final .eyebrow { margin-bottom: 18px; }

/* ---------- Hero ---------- */
.hero { padding-block: 84px 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212, 165, 116, 0.4);
  background: rgba(212, 165, 116, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin: 22px 0 18px;
}
.hero h1 .gold {
  background: linear-gradient(100deg, var(--accent), #f0d3a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .lav {
  background: linear-gradient(100deg, var(--primary), #cfc2f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--text-3); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 22px; letter-spacing: -0.5px; }
.hero-stats div span { font-size: 13.5px; color: var(--text-3); }

/* Phone mockup built from app surfaces */
.phone-stage { display: flex; justify-content: center; }
.phone {
  width: min(340px, 86vw);
  border-radius: 44px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #241743, var(--bg) 40%);
  padding: 18px 16px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(93, 82, 159, 0.35);
  position: relative;
}
.phone-notch {
  width: 120px; height: 26px; border-radius: 999px;
  background: #000; margin: 0 auto 14px; opacity: 0.85;
}
.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.mock-card .row { display: flex; align-items: center; gap: 10px; }
.mock-dot { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); flex: none; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mock-dot.gold { background: linear-gradient(135deg, var(--accent), #8a6a3f); }
.mock-card b { font-size: 14.5px; display: block; }
.mock-card small { color: var(--text-3); font-size: 12.5px; }
.mock-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  color: var(--primary);
  background: rgba(157, 140, 224, 0.1);
}
.mock-pill.gold { color: var(--accent); border-color: rgba(212, 165, 116, 0.45); background: rgba(212, 165, 116, 0.1); }
.mock-pill.green { color: var(--success); border-color: rgba(106, 181, 106, 0.45); background: rgba(106, 181, 106, 0.1); }
.mock-bar { height: 8px; border-radius: 99px; background: var(--input); margin-top: 10px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 99px; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
h2.title { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -1px; margin: 12px 0 12px; line-height: 1.1; }
p.sub { color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 44rem; }

/* Demo video — portrait screen record in a device-like frame */
#demo .wrap { text-align: center; }
#demo p.sub { margin-left: auto; margin-right: auto; }
.demo {
  margin: 30px auto 0;
  max-width: 300px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background: #000;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(93, 82, 159, 0.35);
}
.demo video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 22px;
  background: #000;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.card:hover { border-color: var(--border-strong); }
.card .icon { font-size: 26px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; counter-reset: step; }
.step {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.step code { color: var(--accent); font-size: 13.5px; }

/* Roles table */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.role { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.role.featured { border-color: rgba(212, 165, 116, 0.55); background: linear-gradient(180deg, rgba(212, 165, 116, 0.08), var(--surface) 55%); }
.role h3 { margin: 0 0 4px; font-size: 20px; }
.role .for { color: var(--accent); font-size: 13.5px; font-weight: 700; }
.role ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.role li { color: var(--text-2); font-size: 14.5px; line-height: 1.5; padding-left: 24px; position: relative; }
.role li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* Pricing */
.billing-note {
  margin-top: 18px;
  display: inline-block;
  font-size: 14px;
  color: var(--text-2);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(157, 140, 224, 0.06);
}
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: rgba(212, 165, 116, 0.6);
  background: linear-gradient(180deg, rgba(212, 165, 116, 0.1), var(--surface) 50%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 50px rgba(212, 165, 116, 0.08);
}
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--accent), #f0d3a0);
  color: #241a08; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.04em;
}
.price-card h3 { margin: 0; font-size: 19px; }
.price-card .seats { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 4px; }
.price-card .amount { font-size: 15px; color: var(--text-2); margin: 14px 0 4px; }
.price-card .amount b { font-size: 30px; color: var(--text); letter-spacing: -0.8px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.price-card li { color: var(--text-2); font-size: 14.5px; padding-left: 24px; position: relative; line-height: 1.5; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 760px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item button {
  width: 100%; background: none; border: 0; color: var(--text);
  font-size: 16px; font-weight: 700; text-align: left;
  padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font);
}
.faq-item button span:last-child { color: var(--primary); font-size: 20px; flex: none; }
.faq-item .answer { display: none; padding: 0 20px 20px; color: var(--text-2); font-size: 15px; line-height: 1.65; }
.faq-item.open .answer { display: block; }
.faq-item .answer a { color: var(--accent); }

/* Final CTA + footer */
.final {
  background: linear-gradient(180deg, rgba(93, 82, 159, 0.25), rgba(28, 18, 51, 0.6));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  margin: 20px 0 80px;
}
.final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; margin: 0 0 12px; }
.final p { color: var(--text-2); font-size: 17px; margin: 0 0 26px; }
footer { border-top: 1px solid var(--border); padding: 34px 0 44px; color: var(--text-3); font-size: 14px; }
.foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.foot img { width: 28px; height: 28px; border-radius: 8px; }
.foot nav { display: flex; gap: 18px; margin-left: auto; }
.foot nav a { color: var(--text-3); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

/* ---------- Subscribe page ---------- */
.sub-layout { max-width: 880px; margin: 0 auto; padding: 48px 24px 90px; }
.plan-steps { display: flex; gap: 10px; margin: 26px 0 8px; }
.plan-steps i { flex: 1; height: 6px; border-radius: 99px; background: var(--input); border: 1px solid var(--border); }
.plan-steps i.on { background: linear-gradient(90deg, var(--primary), var(--accent)); border-color: transparent; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 32px;
  margin-top: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.panel h2 { margin: 0 0 6px; letter-spacing: -0.5px; }
.panel .hint { color: var(--text-2); font-size: 15px; margin: 0 0 22px; line-height: 1.6; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field label small { color: var(--text-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: var(--font);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(157, 140, 224, 0.25);
}
.field .err { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tier-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.tier-pick button {
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 16px 12px;
  cursor: pointer;
  font-family: var(--font);
  text-align: center;
}
.tier-pick button b { display: block; font-size: 16px; }
.tier-pick button span { font-size: 13px; color: var(--text-3); }
.tier-pick button.sel { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(212, 165, 116, 0.35); background: rgba(212, 165, 116, 0.07); }
.stepper { display: flex; align-items: center; gap: 16px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(157, 140, 224, 0.1);
  color: var(--text); font-size: 22px; cursor: pointer; line-height: 1;
}
.stepper b { font-size: 30px; min-width: 56px; text-align: center; }
.seat-explainer { font-size: 13.5px; color: var(--text-3); margin-top: 10px; line-height: 1.6; }
.review-box { background: var(--input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; display: grid; gap: 10px; font-size: 15px; }
.review-box div { display: flex; justify-content: space-between; gap: 16px; }
.review-box dt { color: var(--text-3); }
.review-box dd { margin: 0; text-align: right; }
.form-nav { display: flex; gap: 12px; margin-top: 26px; }
.form-nav .spacer { flex: 1; }
.success { text-align: center; padding: 20px 0 6px; }
.success .big { font-size: 56px; }
.success h2 { font-size: 30px; letter-spacing: -0.6px; }
.success p { color: var(--text-2); line-height: 1.7; }
.next-steps { text-align: left; display: grid; gap: 12px; margin: 26px 0; }
.next-steps .ns { background: var(--input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px; line-height: 1.6; }
.next-steps .ns b { color: var(--accent); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 920px) {
  .wrap { padding: 0 24px; }

  /* Header: keep one compact row, never push past viewport */
  .nav { gap: 12px; height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand b { font-size: 18px; white-space: nowrap; }
  .brand img { width: 32px; height: 32px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--raised); border-bottom: 1px solid var(--border);
    padding: 18px 24px 22px; gap: 14px;
    z-index: 60;
  }
  .nav-toggle { display: block; margin-left: 0; flex: none; }
  .nav-cta { margin-left: 0; flex: none; }
  .two-col, .tier-pick { grid-template-columns: 1fr; }
  .panel { padding: 26px 20px; }
  .final { padding: 40px 24px; }

  .hero-grid { display: flex; flex-direction: column; gap: 32px; align-items: stretch; }
  /* Flatten the text column so phone-stage can sit between CTAs and hero-note */
  .hero-grid > div:first-child { display: contents; }
  .hero .eyebrow { order: 1; align-self: center; }
  .hero h1 { order: 2; width: 100%; }
  .hero .lede { order: 3; width: 100%; }
  .hero-ctas { order: 4; width: 100%; }
  .phone-stage { order: 5; width: 100%; max-width: 100%; overflow: hidden; }
  .hero-note { order: 6; width: 100%; }
  .hero-stats { order: 7; width: 100%; }
  .grid-3, .grid-4, .steps, .roles, .pricing { grid-template-columns: 1fr; gap: 14px; }

  /* ---- Mobile theme: center everything that was ragged-left ---- */
  .hero { padding-block: 48px 24px; text-align: center; }
  .hero h1 { margin-left: auto; margin-right: auto; text-wrap: balance; }
  .lede { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-ctas { justify-content: center; align-items: stretch; }
  .hero-note { text-align: center; }
  .hero-stats { justify-content: center; text-align: center; gap: 18px 28px; }

  section.block { padding: 48px 0; }
  section.block .kicker, section.block h2.title, section.block p.sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  section.block p.sub { text-wrap: pretty; }

  .card, .step, .role, .price-card { text-align: left; }
  .price-card { padding: 26px 22px; }
  .billing-note { display: block; text-align: center; line-height: 1.6; }

  .faq { max-width: 100%; }
  .faq-item button { font-size: 15px; }

  .foot { justify-content: center; text-align: center; }
  .foot nav { margin: 0 auto; justify-content: center; flex-wrap: wrap; }

  /* Buttons: allow wrapping, never force sideways scroll */
  .btn { white-space: normal; text-align: center; line-height: 1.35; }
  .hero-ctas .btn, .final .btn { flex: 1 1 220px; max-width: 100%; }
  .price-card .btn { width: 100%; max-width: 100%; }

  .demo { max-width: min(300px, 84vw); width: 100%; }
  .phone { width: min(320px, 84vw); max-width: 100%; }

  /* Subscribe page: stack nav buttons full-width */
  .sub-layout { padding: 36px 24px 64px; overflow-x: hidden; overflow-x: clip; }
  .form-nav { flex-wrap: wrap; }
  .form-nav .spacer { display: none; }
  .form-nav .btn { flex: 1 1 100%; width: 100%; }
  .review-box { overflow-wrap: anywhere; }
  .review-box div { flex-wrap: wrap; gap: 4px 16px; }
  .review-box dd { text-align: left; }
  .stepper { justify-content: center; }
}

@media (max-width: 560px) {
  .soon-pill { display: none; }
  .nav-cta .btn-sm { padding: 8px 14px; font-size: 13.5px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .nav { gap: 10px; }
  .brand b { overflow: hidden; text-overflow: ellipsis; }
  .nav-cta { min-width: 0; }
  .nav-cta .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .hero { padding-block: 40px 20px; }
  .hero h1 {
    font-size: clamp(30px, 8.6vw, 38px);
    letter-spacing: -0.8px;
    line-height: 1.1;
  }
  .lede { font-size: 16px; line-height: 1.65; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { flex: none; width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .hero-stats div b { font-size: 18px; }
  h2.title { font-size: clamp(25px, 7vw, 30px); letter-spacing: -0.6px; text-wrap: balance; }
  p.sub { font-size: 15.5px; }
  .card, .step, .role { padding: 22px 18px; }
  .final { padding: 36px 20px; margin: 12px 0 56px; border-radius: 22px; }
  .final h2 { font-size: clamp(25px, 7vw, 32px); }
  .final p { font-size: 15.5px; }
  .sub-layout { padding: 32px 20px 56px; }
  .sub-layout h1.title { text-align: center; }
  .sub-layout > .sub { text-align: center; }
  .sub-layout .eyebrow { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; text-align: center; }
  .panel { padding: 22px 16px; border-radius: 18px; }
  .tier-pick button { padding: 14px 10px; }
}
