/* ──────────────────────────────────────────────────────────────
 * THRED Realty — site stylesheet.
 *
 * Direction: clean, minimal, modern. Mirrors the thredlink-marketing
 * visual system Boris pointed at — pure white + black + #0096ff blue.
 * One sans family (Manrope), no serif, no mono, no italic accents.
 * Smooth, restrained, Compass-adjacent.
 * ────────────────────────────────────────────────────────────── */

:root {
  /* Brand — Thredlink scheme */
  --accent:           #0096ff;
  --accent-hover:     #0077cc;
  --accent-soft:      rgba(0,150,255,.10);
  --accent-deep:      #001b30;
  --accent-grad-mid:  #003a63;
  --accent-grad-end:  #0066b0;

  /* Surface */
  --bg:               #ffffff;
  --bg-soft:          #f8f9fa;
  --bg-rail:          #f9fafb;

  /* Type */
  --text:             #0f172a;
  --text-muted:       #64748b;
  --text-strong:      #0a0e14;
  --text-on-dark:     #d6d8de;
  --text-on-dark-muted: rgba(255,255,255,.65);

  /* Lines */
  --border:           #e5e7eb;
  --border-soft:      #eef0f2;

  /* Shape */
  --radius-pill:      999px;
  --radius-card:      12px;
  --radius-sm:        8px;

  /* Shadow — only used where a tile needs lift */
  --shadow-card:      0 1px 2px rgba(16,24,40,.04);
  --shadow-lift:      0 10px 30px -8px rgba(16,24,40,.12), 0 2px 6px rgba(16,24,40,.05);

  /* Type stack — single family, weight does the work */
  --font-body:        'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Motion */
  --ease:             cubic-bezier(.2,.7,.2,1);
}

/* ── Base ─────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > .footer { margin-top: auto; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0 0 12px; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.022em; }
h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
em { font-style: normal; color: var(--accent); }   /* punchline = blue, not italic */
strong { font-weight: 700; }
p { margin: 0 0 14px; font-size: 16px; }
input, button, select, textarea { font-family: inherit; }

.container        { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px;  margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text-strong);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav-logo:hover { color: var(--text-strong); }
.nav-logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,150,255,.25), 0 6px 16px -4px rgba(0,150,255,.35);
}
.nav-logo-text { display: inline-flex; align-items: baseline; }
.nav-logo-dot  { color: var(--accent); margin-left: 1px; }

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-links li { display: inline-flex; }
.nav-link {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14.5px;
  text-decoration: none;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.nav-link:hover  { background: var(--bg-soft); color: var(--text-strong); }
.nav-link.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,150,255,.35);
  transition: background .12s var(--ease), transform .04s;
}
.nav-cta:hover  { background: var(--accent-hover); color: #fff; }
.nav-cta:active { transform: translateY(1px); }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: var(--text-strong); margin: 5px auto;
  transition: transform .15s var(--ease), opacity .15s var(--ease);
}
.nav.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 600;
  cursor: pointer; user-select: none;
  text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .04s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 2px rgba(0,150,255,.35);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: #fff; color: var(--text-strong); border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-soft); border-color: #cbd5e1; color: var(--text-strong); }
.btn-ghost-light {
  background: rgba(255,255,255,.06); color: #fff;
  border-color: rgba(255,255,255,.20);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.32); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ── Hero (dark gradient, mirrors Thredlink) ──────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-grad-mid) 60%, var(--accent-grad-end) 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 700px at 82% 18%, rgba(0,150,255,.30), transparent 70%),
    radial-gradient(560px 560px at 5% 95%, rgba(0,150,255,.16), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-inner--center {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero-inner--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-inner--center .hero-ctas { justify-content: center; }

.hero-eyebrow {
  display: inline-block;
  padding: 5px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: #9fd6ff;
}
.hero-sub {
  font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 0 32px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-trust {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  margin: 0;
}
.hero-trust strong { color: #fff; font-weight: 600; }

/* Hero side panel (used on home + agents page) */
.hero-visual {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(8px);
}
.hero-visual-title {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 13px; color: rgba(255,255,255,.74);
}
.hero-visual-title strong { color: #fff; font-weight: 600; }
.thread-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.thread-card:last-child { margin-bottom: 0; }
.thread-card.broker  { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.thread-card.confirm { border-color: rgba(0,150,255,.45);   background: rgba(0,150,255,.14); }
.thread-card .meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,.72);
  margin-bottom: 8px; flex-wrap: wrap;
}
.thread-card .meta strong { color: #fff; font-weight: 600; }
.thread-card .ch {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .04em;
  padding: 1px 7px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.thread-card .ch.web    { background: rgba(0,150,255,.25);  color: #9fd6ff; }
.thread-card .ch.broker { background: rgba(255,255,255,.16); color: #fff; }
.thread-card .ch.confirm{ background: rgba(0,150,255,.32);  color: #d3ecff; }
.thread-card .body { font-size: 14.5px; color: #fff; line-height: 1.5; }
.thread-card.confirm .body { font-weight: 600; }

/* ── Stats strip ──────────────────────────────────────────── */
.stats {
  background: var(--text-strong);
  color: #fff;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12.5px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ── Section base ────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink {
  background: var(--text-strong);
  color: #fff;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: rgba(255,255,255,.72); }

.section-head {
  max-width: 760px;
  margin: 0 0 56px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 0 0 14px; }
.section-head p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}
.section-head.center p { margin-left: auto; margin-right: auto; }
.section-foot-link {
  text-align: center; margin-top: 32px;
  font-size: 14.5px;
}
.section-foot-link a { color: var(--accent); }
.section-foot-link a:hover { color: var(--accent-hover); }

/* ── Highlights (home tiles) ─────────────────────────────── */
.highlights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #d1d9e0;
}
.highlight-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.highlight h3 { margin: 0 0 8px; font-size: 19px; }
.highlight p  { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.highlight ul { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.highlight ul li { margin: 4px 0; }
.highlight ul li strong { color: var(--text-strong); font-weight: 600; }
.highlight--lead { max-width: 680px; margin: 28px auto 0; }
.highlights-grid + .highlights-grid { margin-top: 22px; }

/* ── Two-bucket cards ────────────────────────────────────── */
.buckets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.bucket {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.bucket--involved {
  background: var(--text-strong);
  color: #fff;
  border-color: var(--text-strong);
}
.bucket--involved h3 { color: #fff; }
.bucket--involved .bucket-desc { color: rgba(255,255,255,.72); }
.bucket-tag {
  align-self: flex-start;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 22px;
  background: var(--accent-soft);
  color: var(--accent-hover);
}
.bucket--involved .bucket-tag { background: rgba(255,255,255,.10); color: #fff; }
.bucket h3 {
  font-size: 24px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.bucket-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.bucket-rows {
  border-top: 1px solid var(--border-soft);
  margin-bottom: 22px;
}
.bucket--involved .bucket-rows { border-color: rgba(255,255,255,.10); }
.bucket-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
}
.bucket--involved .bucket-row { border-color: rgba(255,255,255,.10); }
.bucket-row:last-child { border-bottom: 0; }
.bucket-row .label {
  font-size: 13.5px; color: var(--text-muted);
  font-weight: 500;
}
.bucket--involved .bucket-row .label { color: rgba(255,255,255,.65); }
.bucket-row .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.bucket--involved .bucket-row .value { color: var(--accent); }
.bucket-row .value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
.bucket--involved .bucket-row .value small { color: rgba(255,255,255,.65); }
.bucket-note {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.bucket--involved .bucket-note {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
}
.bucket-note strong { color: var(--text-strong); font-weight: 600; }
.bucket--involved .bucket-note strong { color: #fff; }

/* ── How-it-works steps ──────────────────────────────────── */
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.how-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.how-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.how-num {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700;
  margin-bottom: 14px;
}
.how-step h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; }
.how-step p  { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ── Tech-stack savings block ────────────────────────────── */
.stack-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.stack-block h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -.02em;
}
.stack-block p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0; line-height: 1.6;
}
.stack-visual {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 22px 24px;
}
.stack-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.stack-row:last-of-type { border-bottom: none; }
.stack-row.included {
  background: var(--accent-soft);
  margin: 4px -12px;
  padding: 12px 12px;
  border-radius: 8px;
  border-bottom: none;
}
.stack-row.included strong { color: var(--accent-hover); }
.stack-row .cost {
  color: var(--text-muted); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.stack-row.included .cost { color: var(--accent-hover); font-weight: 700; }
.stack-total {
  display: flex; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 2px solid var(--text-strong);
  font-weight: 700; font-size: 15.5px;
}
.stack-total .save {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ── Plan cards (pricing.php) ────────────────────────────── */
.plans {
  display: grid; gap: 22px; align-items: stretch;
  margin: 0 auto; max-width: 1140px;
}
.plans--count-1 { grid-template-columns: minmax(280px, 480px); justify-content: center; }
.plans--count-2 { grid-template-columns: repeat(2, 1fr); }
.plans--count-3 { grid-template-columns: repeat(3, 1fr); }

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  position: relative;
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: #d1d9e0;
}
.plan-recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-card);
}
.plan-recommended:hover { box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-lift); border-color: var(--accent); }
.plan-recommended::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.plan-name {
  font-size: 22px; font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.plan-desc {
  color: var(--text-muted); font-size: 14.5px;
  margin: 0 0 24px; min-height: 44px; line-height: 1.55;
}

.plan-prices { margin: 0 0 24px; }
.plan-price { display: flex; flex-direction: column; gap: 2px; }
.plan-price-main { display: flex; align-items: baseline; gap: 4px; }
.plan-price .amt {
  font-size: 56px; font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.plan-price .per {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.plan-price-setup {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
input[type="range"] { width: 100%; accent-color: var(--accent); }
.plan-price-eyebrow {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.plan-price-eyebrow s { color: var(--text-muted); }
.plan-price-save-inline {
  background: rgba(34,197,94,.14); color: #15803d;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}

.plan-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-features li {
  font-size: 14.5px; line-height: 1.55;
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text);
}
.plan-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    var(--accent-soft)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230096ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l3 3 7-7'/></svg>")
    center / 11px no-repeat;
}
.plan .btn { width: 100%; }
.plan-cta-sub {
  margin: 10px 0 0; font-size: 12.5px;
  color: var(--text-muted); text-align: center;
}

.pricing-foot { text-align: center; margin-top: 36px; color: var(--text-muted); font-size: 14.5px; }

/* ── Page header (subpages) ─────────────────────────────── */
.page-header { padding: 80px 0 48px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-header h1 { margin: 6px 0 16px; max-width: 880px; }
.page-header p {
  font-size: 18px; color: var(--text-muted);
  max-width: 640px; margin: 0; line-height: 1.6;
}

/* ── CTA strip ───────────────────────────────────────────── */
.cta-strip {
  position: relative;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-grad-mid) 60%, var(--accent-grad-end) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 560px at 50% 20%, rgba(0,150,255,.28), transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 14px;
}
.cta-strip h2 em { color: #9fd6ff; }
.cta-strip p {
  color: rgba(255,255,255,.82);
  font-size: 17.5px; margin: 0 0 28px;
}
.cta-strip .btn-primary {
  background: #fff; color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.cta-strip .btn-primary:hover { background: var(--text-strong); color: #fff; }

/* ── Apply page ──────────────────────────────────────────── */
.apply { padding: 96px 0; background: var(--bg-soft); }
.apply-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  align-items: start;
}
.apply-fast {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--text); line-height: 1.6;
}
.apply-fast strong { color: var(--accent-hover); }

.apply-plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.apply-plan-card-eyebrow {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: 8px;
}
.apply-plan-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.apply-plan-card-price {
  font-size: 36px; font-weight: 800;
  letter-spacing: -.025em; line-height: 1;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}
.apply-plan-card-price span {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  margin-left: 6px;
}
.apply-plan-card p { color: var(--text-muted); font-size: 14px; margin: 14px 0 14px; line-height: 1.6; }
.apply-plan-card ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 13.5px; color: var(--text); }
.apply-plan-card ul li {
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.apply-plan-card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    var(--accent-soft)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230096ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l3 3 7-7'/></svg>")
    center / 10px no-repeat;
}
.apply-plan-change { font-size: 13px; color: var(--accent); font-weight: 600; }

.apply-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.apply-form h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.apply-form-sub { color: var(--text-muted); font-size: 13.5px; margin: 0 0 24px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-strong); margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; color: var(--text); background: #fff;
  font-family: var(--font-body);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.label-aux { color: var(--text-muted); font-weight: 500; font-size: 12.5px; }
.text-accent { color: var(--accent); }

.alert {
  padding: 14px 16px; border-radius: 8px;
  font-size: 14px; line-height: 1.5;
  margin: 0 0 18px;
}
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-ok  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ── About page (about.php) ──────────────────────────────── */
.about-block {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-block > div h2 { margin-top: 32px; font-size: clamp(20px, 2.4vw, 28px); }
.about-block > div h2:first-of-type { margin-top: 0; }
.about-block > div p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: sticky; top: 88px;
}
.about-card h3 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 16px;
}
.about-card-foot {
  margin: 18px 0 0;
  font-size: 14px;
}
.about-card-foot a { color: var(--accent); }

/* ── Contact page (contact.php) ──────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-block + .contact-block { margin-top: 24px; }
.contact-block h3 {
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 14px;
}
.contact-block p { color: var(--text-muted); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* ── Generic key/value list — REPLACES bulleted contact-list pattern.
   Used on contact.php (Direct), about.php (Quick facts), anywhere we
   were tempted to use <ul><li><strong>X:</strong> Y</li></ul>. */
.info-list { margin: 0; padding: 0; font-size: 14.5px; }
.info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.info-row:last-child { border-bottom: 0; }
.info-row dt {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13.5px;
}
.info-row dd { margin: 0; color: var(--text); }
.info-row dd a { color: var(--accent); text-decoration: none; }
.info-row dd a:hover { color: var(--accent-hover); text-decoration: underline; }
.about-card .info-list { font-size: 14px; }
.about-card .info-row { grid-template-columns: 88px 1fr; padding: 9px 0; }

/* ── Numbered step list — checkout-success "what happens next" ── */
.step-list {
  list-style: none;
  counter-reset: stepc;
  padding: 0;
  margin: 0 0 18px;
}
.step-list li {
  counter-increment: stepc;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.step-list li:last-child { border-bottom: 0; }
.step-list li::before {
  content: counter(stepc);
  position: absolute;
  left: 0;
  top: 14px;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Hand it off (home + features showpiece) ─────────────── */
.handoff-list {
  list-style: none; padding: 0;
  margin: 36px auto 0; max-width: 880px;
  display: grid; gap: 14px;
}
.handoff-row {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  align-items: start;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.handoff-row:hover { border-color: var(--accent); transform: translateY(-1px); }
.handoff-say {
  color: var(--text);
  font-style: italic;
  font-size: 15.5px; line-height: 1.55;
}
.handoff-arrow {
  color: var(--accent);
  font-weight: 600; font-size: 18px;
  line-height: 1.4;
}
.handoff-do {
  color: var(--text-strong);
  font-weight: 500;
  font-size: 15.5px; line-height: 1.55;
}
.handoff-foot {
  margin: 22px auto 0; max-width: 880px;
  text-align: center;
  color: var(--text-muted); font-size: 13.5px;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--text-strong);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400; font-size: 22px;
  color: var(--accent); flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px; line-height: 1.7;
  max-width: 660px;
}

/* ── Legal pages ─────────────────────────────────────────── */
.legal { padding: 32px 0 88px; }
.legal h2 { margin: 36px 0 14px; font-size: clamp(22px, 2.4vw, 28px); }
.legal h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.legal h4 { margin: 20px 0 6px; font-size: 16px; font-weight: 600; }
.legal p, .legal li { color: var(--text); font-size: 15.5px; line-height: 1.75; }
.legal ul { padding-left: 22px; margin: 8px 0 16px; }
.legal-list { padding-left: 20px; margin: 0 0 14px; color: var(--text); font-size: 15px; line-height: 1.75; }
.legal-meta { color: var(--text-muted); font-size: 13.5px; margin-bottom: 28px; }
.legal-disclaimer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.legal-table {
  width: 100%; border-collapse: collapse;
  font-size: 14.5px;
  margin: 14px 0 22px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-card); overflow: hidden;
}
.legal-table th, .legal-table td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.legal-table th {
  width: 40%;
  color: var(--text-muted);
  font-weight: 600;
  background: var(--bg-soft);
}
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: none; }

/* ── 404 / setup / login ─────────────────────────────────── */
.not-found-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-top: 20px;
}

.setup-shell {
  display: grid; place-items: center;
  min-height: calc(100vh - 68px - 100px);
  padding: 56px 20px;
  background: var(--bg-soft);
}
.setup-card {
  width: 100%; max-width: 540px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  padding: 40px;
}
.setup-card--narrow { max-width: 440px; }
.setup-card h1 { font-size: 32px; margin: 0 0 6px; }
.setup-card .sub { color: var(--text-muted); margin: 0 0 24px; font-size: 15px; }
.setup-card h2 { font-size: 17px; font-weight: 600; margin: 18px 0 14px; }
.setup-card .apply-plan-card { margin-bottom: 24px; }
.setup-card .setup-hint { margin-top: 18px; }
.setup-err {
  background: var(--bg-rail); border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 12.5px; color: #b91c1c; white-space: pre-wrap;
}
.setup-hint { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); }
.setup-form .btn-block { margin-top: 8px; }

/* ── Admin shell ─────────────────────────────────────────── */
.admin-body { background: var(--bg-soft); }
.admin-topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.admin-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 64px;
}
.admin-topbar-section {
  margin-left: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
  border-left: 1px solid var(--border);
  padding-left: 12px;
}
.admin-tabs {
  display: flex; gap: 2px;
  align-items: center;
}
.admin-tab {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.admin-tab:hover { background: var(--bg-soft); color: var(--text-strong); }
.admin-tab--active {
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
}
.admin-topbar-right { display: flex; align-items: center; gap: 14px; font-size: 13.5px; }
.admin-topbar-user { font-weight: 600; color: var(--text-strong); }
.admin-topbar-link { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.admin-topbar-link:hover { color: var(--text-strong); }
.admin-topbar-logout { height: 36px; padding: 0 14px; font-size: 13.5px; }

.admin-main { padding: 36px 0 80px; min-height: calc(100vh - 64px); }
.admin-pageHead { margin: 6px 0 28px; }
.admin-pageHead h1 { font-size: 30px; margin: 0 0 4px; }
.admin-pageHead p  { margin: 0; color: var(--text-muted); font-size: 15px; }
.admin-pageHead--sub { margin-top: 36px; }
.admin-pageHead--sub h1 { font-size: 22px; }
.admin-empty {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 48px;
  text-align: center; color: var(--text-muted);
}
.admin-empty code {
  background: var(--bg-rail); border: 1px solid var(--border-soft);
  padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace; font-size: 13px;
}
.admin-muted { color: var(--text-muted); font-size: 12.5px; }
.admin-note  { color: var(--text-muted); font-size: 12.5px; margin-top: 4px; max-width: 280px; }

.admin-table-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-card);
  overflow: hidden;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px; vertical-align: top;
}
.admin-table th {
  background: var(--bg-soft);
  font-weight: 600; color: var(--text-muted);
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--bg-soft); }
.setup-card .admin-table { display: block; overflow-x: auto; max-width: 100%; }
.admin-inline-form { display: inline-flex; gap: 6px; align-items: center; }
.admin-inline-form select {
  height: 34px; padding: 0 10px;
  border-radius: 6px; border: 1px solid var(--border);
  background: #fff;
}
.admin-btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }

.btn-link-danger {
  background: transparent;
  border: 1px solid transparent;
  color: #b91c1c;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
}
.btn-link-danger:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.admin-bulk-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin: 0 0 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.admin-bulk-bar > span { flex: 1 1 auto; min-width: 0; }
.admin-bulk-bar .btn { flex: 0 0 auto; }

.admin-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.admin-card-muted { background: var(--bg-soft); border-style: dashed; }
.admin-card h2 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.admin-card-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 22px; gap: 16px; flex-wrap: wrap;
}
.admin-card-head h2 { margin: 4px 0 0; font-size: 22px; }
.admin-card-foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-section-h {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.admin-plan-state { display: flex; gap: 18px; font-size: 13.5px; color: var(--text); }
.admin-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; }
.admin-toggle input { width: 16px; height: 16px; }
.admin-check-row { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }
.admin-toggle-field { display: flex; align-items: center; padding-top: 22px; }

.admin-listing-new { margin-bottom: 22px; padding: 16px 28px; }
.admin-listing-new summary { cursor: pointer; font-size: 14.5px; font-weight: 600; padding: 10px 0; outline: none; }
.admin-listing-new[open] summary { margin-bottom: 14px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.admin-listing-row { margin-bottom: 18px; }
.admin-grid-form .field { margin-bottom: 14px; }
.admin-danger { border-color: #fecaca; color: #b91c1c; background: transparent; }
.admin-danger:hover { background: #fef2f2; color: #b91c1c; border-color: #fca5a5; }

.admin-kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-kv th, .admin-kv td {
  text-align: left; padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.admin-kv th {
  color: var(--text-muted); font-weight: 500;
  width: 40%;
}
.admin-kv tr:last-child th, .admin-kv tr:last-child td { border-bottom: none; }
.admin-kv code {
  background: var(--bg-rail); border: 1px solid var(--border-soft);
  padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace; font-size: 13px;
}
.admin-stub-list { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.admin-stub-list code {
  background: var(--bg-rail); border: 1px solid var(--border-soft);
  padding: 1px 5px; border-radius: 3px;
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px;
}

.admin-status-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--bg-rail); color: var(--text-muted);
}
.admin-status-active     { background: rgba(34,197,94,.14);  color: #15803d; }
.admin-status-pending    { background: rgba(0,150,255,.12);  color: var(--accent-hover); }
.admin-status-trialing   { background: rgba(168,85,247,.14); color: #6b21a8; }
.admin-status-past_due,
.admin-status-incomplete { background: rgba(245,158,11,.16); color: #92400e; }
.admin-status-canceled   { background: rgba(239,68,68,.14);  color: #b91c1c; }

.admin-invite-url {
  width: 220px;
  height: 30px;
  padding: 0 8px;
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  background: var(--bg-soft);
}
.admin-invite-url:focus { outline: none; border-color: var(--accent); }
.admin-invite-url--wide { width: 100%; }

/* Admin-empty modifier — left-aligned notice (for "not configured" panels) */
.admin-empty--note {
  text-align: left;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.admin-empty--note h3 { font-size: 17px; margin: 0 0 6px; }
.admin-empty--note p  { margin: 0 0 14px; }

/* Monospace textarea — used for JSON / code-ish input in admin */
.admin-textarea-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
}

/* Inline admin field helper text — sits next to a field, not part of a label */
.admin-field-hint {
  color: var(--text-muted);
  font-size: 13.5px;
}
.admin-field-hint--inset { margin: -6px 0 14px; }
.admin-field-hint--below { margin-top: 6px; }

/* Footer-action link in admin card foots — small muted, not a button */
.admin-foot-link {
  color: var(--text-muted);
  font-size: 13.5px;
  text-decoration: none;
}
.admin-foot-link:hover { color: var(--accent); text-decoration: underline; }

/* Stacked actions in a table cell (e.g. Resend + Revoke in the Invites
   tab). The container owns the spacing; the forms stay clean. */
.admin-row-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }

/* Small meta tag next to the logo on setup/login chrome */
.setup-nav-tag { color: var(--text-muted); font-size: 13px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text-strong);
  color: var(--text-on-dark);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand .nav-logo:hover { color: #fff; }
.footer-tagline {
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  margin: 14px 0 0;
  max-width: 300px;
  line-height: 1.6;
}
.footer-col h4 {
  color: #fff;
  font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a { color: var(--text-on-dark-muted); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-on-dark-muted); font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}
.footer-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Highlights grid: 2-up variant ───────────────────────── */
.highlights-grid--2 {
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Eyebrow kicker for use inside .highlight tiles */
.highlight-kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 10px;
}

/* ── Example Deal — content classes only, card shell uses .plan plan-recommended ── */
.example-deal-section .section-head { max-width: 720px; margin-left: auto; margin-right: auto; }
.example-deal-card {
  max-width: 640px;
  margin: 0 auto;
}
.example-deal-card + .example-deal-card { margin-top: 28px; }
.example-deal-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.example-deal-table th,
.example-deal-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  font-weight: 500;
  color: var(--text);
}
.example-deal-table td {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.example-deal-table tbody tr:last-child th,
.example-deal-table tbody tr:last-child td { border-bottom: none; }
.example-deal-emph th,
.example-deal-emph td { font-weight: 700; color: var(--text-strong); }
.example-deal-total th,
.example-deal-total td {
  padding-top: 18px;
  border-top: 2px solid var(--border);
  font-size: 18px;
}
.example-deal-total td {
  color: var(--accent);
  font-size: 24px;
}
.example-deal-muted {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}
.example-deal-compare {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.example-deal-compare strong { color: var(--text-strong); }
.example-deal-subhead {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text-strong);
}
.example-deal-lead {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ── Per-file fee table ──────────────────────────────────── */
.fee-table-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.fee-table thead th {
  background: var(--bg-soft);
  text-align: left;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.fee-table tbody th,
.fee-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  font-weight: 500;
  color: var(--text);
}
.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-table-amount { text-align: right; font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.fee-table-foot {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── What's-included inner note (lives inside a .highlight tile) ─ */
.whats-included-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.whats-included-note strong { color: var(--text-strong); }

/* ── Cap block ───────────────────────────────────────────── */
.cap-block {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  text-align: center;
}
.cap-block-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cap-block-amounts {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -.01em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cap-block-amounts .sep { color: var(--border); margin: 0 12px; font-weight: 400; }
.cap-block-after {
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 540px;
}
.cap-block-after strong { color: var(--text-strong); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .hero h1 { font-size: clamp(36px, 8vw, 48px); }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .buckets { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .stack-block { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .plans--count-2, .plans--count-3 { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-strip h2 { font-size: 30px; }
  .about-block { grid-template-columns: 1fr; gap: 32px; }
  .about-card  { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .highlights-grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 8px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .how-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .apply-form { padding: 24px; }
  .page-header { padding: 56px 0 32px; }
  .field-row { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; }
  .stack-block { padding: 24px; }
  .handoff-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 18px; }
  .handoff-arrow { display: none; }
  .example-deal-table th,
  .example-deal-table td { padding: 10px 0; font-size: 14px; }
  .example-deal-total th,
  .example-deal-total td { font-size: 16px; }
  .example-deal-total td { font-size: 20px; }
  .cap-block { padding: 24px 20px; }
  .cap-block-amounts { font-size: 22px; }
  .cap-block-amounts .sep { display: block; height: 0; visibility: hidden; }
  .fee-table thead th,
  .fee-table tbody th,
  .fee-table tbody td { padding: 12px 14px; font-size: 14px; }
}
