/* ============================================================================
 * Statera pricing page — custom layer on top of shadcn tokens.
 * Single accent: emerald (oklch 0.5 .13 165) used sparingly for the highlighted
 * plan + savings + success indicators. Primary stays near-black (shadcn way).
 * ========================================================================== */

:root {
  --accent-emerald: oklch(0.52 0.12 162);
  --accent-emerald-soft: oklch(0.96 0.04 162);
  --accent-emerald-strong: oklch(0.4 0.12 162);
  --grid-line: oklch(0.93 0 0);
  --page-max: 1240px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--background); color: var(--foreground); }
body {
  font-feature-settings: "ss01", "cv11";
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--foreground); color: var(--background); }

/* ---------- shared chrome ---------- */
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--hero { padding: 56px 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-foreground);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.5; }
.eyebrow.center::before { display: none; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  margin: 14px 0 14px;
}
.section-head p { color: var(--muted-foreground); font-size: 17px; line-height: 1.5; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: var(--radius-md);
  font-family: inherit; font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms, color 140ms, border-color 140ms, transform 80ms, opacity 140ms;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: oklch(0.32 0 0); }
.btn-emerald { background: var(--accent-emerald); color: #fff; }
.btn-emerald:hover { background: var(--accent-emerald-strong); }
.btn-outline { background: var(--background); border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--secondary); border-color: oklch(0.85 0 0); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--secondary); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-full { width: 100%; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--background) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.nav-logo {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--foreground); color: var(--background);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
}
.nav-links { display: flex; gap: 4px; }
.nav-link {
  font-size: 14px; color: var(--muted-foreground); font-weight: 500;
  padding: 6px 10px; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 140ms, background 140ms;
}
.nav-link:hover { color: var(--foreground); background: var(--secondary); }
.nav-link.active { color: var(--foreground); }
.nav-right { display: flex; align-items: center; gap: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 32px; text-align: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at center top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center top, #000 30%, transparent 75%);
  opacity: 0.7;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow-row { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-emerald);
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 2px;
  background: var(--accent-emerald); opacity: 0.3;
}
.hero-sub {
  font-size: 19px; line-height: 1.5; color: var(--muted-foreground);
  max-width: 620px; margin: 0 auto 32px;
}
.trust-row {
  margin-top: 40px;
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 24px; padding: 14px 22px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--background);
  font-size: 13px; color: var(--muted-foreground);
}
.trust-row > span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .dot { width: 4px; height: 4px; border-radius: 999px; background: oklch(0.85 0 0); }

/* billing toggle */
.bill-toggle {
  display: inline-flex; align-items: center; gap: 0;
  padding: 4px; background: var(--secondary); border-radius: 999px;
  border: 1px solid var(--border);
  position: relative;
}
.bill-toggle button {
  position: relative; z-index: 1;
  height: 34px; padding: 0 18px;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 999px;
  transition: color 150ms;
  display: inline-flex; align-items: center; gap: 8px;
}
.bill-toggle button.active { color: var(--foreground); }
.bill-toggle .slider {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  background: var(--background);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms cubic-bezier(.32,.72,0,1), width 240ms cubic-bezier(.32,.72,0,1);
  z-index: 0;
}
.bill-toggle .save-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald-strong);
  padding: 2px 6px; border-radius: 4px;
  letter-spacing: 0.04em;
}

/* ---------- pricing grid ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--background);
  position: relative;
  margin-top: 24px;
}
.tier {
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  background: var(--background);
  position: relative;
  border-right: 1px solid var(--border);
}
.tier:last-child { border-right: 0; }

.tier--featured {
  background: var(--foreground);
  color: var(--background);
  margin: -1px;
  border-radius: 18px;
  border: 1px solid var(--foreground);
  box-shadow: 0 30px 60px -20px oklch(0.18 0 0 / 0.35), 0 0 0 1px var(--foreground);
  transform: translateY(-8px);
  z-index: 2;
}
.tier--featured .tier-feat { color: oklch(0.85 0 0); }
.tier--featured .tier-feat i { color: var(--accent-emerald); }
.tier--featured .tier-desc { color: oklch(0.75 0 0); }
.tier--featured .tier-meta { color: oklch(0.7 0 0); }
.tier--featured .tier-divider { background: oklch(1 0 0 / 0.12); }

.tier-badge-row { min-height: 26px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tier-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  background: var(--accent-emerald); color: #fff;
}
.tier-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.tier-desc { font-size: 13px; color: var(--muted-foreground); margin: 0 0 24px; line-height: 1.5; min-height: 38px; }

.tier-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.tier-price {
  font-family: var(--font-mono);
  font-size: 52px; font-weight: 500; letter-spacing: -0.04em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.tier-price-sub { font-size: 14px; color: var(--muted-foreground); font-weight: 500; }
.tier-meta { font-size: 12px; color: var(--muted-foreground); margin: 0 0 22px; min-height: 18px; }
.tier-meta .strike { text-decoration: line-through; opacity: 0.6; margin-right: 4px; }
.tier-meta .save { color: var(--accent-emerald-strong); font-weight: 500; }
.tier--featured .tier-meta .save { color: var(--accent-emerald); }

.tier-cta { margin-bottom: 24px; }
.tier-divider { height: 1px; background: var(--border); margin: 0 0 18px; }
.tier-includes { font-size: 12px; font-weight: 500; color: var(--muted-foreground); margin: 0 0 12px; letter-spacing: 0.02em; }
.tier-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier-feat { font-size: 13.5px; line-height: 1.45; color: var(--foreground); display: flex; align-items: flex-start; gap: 10px; }
.tier-feat i { color: var(--accent-emerald-strong); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.tier-feat strong { font-weight: 600; }

/* ---------- every-plan band ---------- */
.included-band {
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 18px;
  padding: 28px 32px;
  margin-top: 24px;
}
.included-band h3 {
  font-size: 12px; font-family: var(--font-mono); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-foreground); margin: 0 0 18px;
}
.included-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px 28px;
}
.included-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.included-item i { color: var(--accent-emerald-strong); font-size: 14px; }

/* ---------- logos ---------- */
.logos-band { padding: 56px 0 40px; }
.logos-label { text-align: center; font-size: 13px; color: var(--muted-foreground); margin: 0 0 28px; }
.logos-label strong { color: var(--foreground); font-weight: 600; }
.logos-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 28px; align-items: center; justify-items: center;
}
.logo-mark {
  height: 28px; color: oklch(0.55 0 0);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 15px;
  transition: color 200ms, transform 200ms;
}
.logo-mark:hover { color: var(--foreground); }

/* ---------- ROI calculator ---------- */
.roi-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden;
  background: var(--background);
  box-shadow: var(--shadow-sm);
}
.roi-inputs { padding: 36px 40px; border-right: 1px solid var(--border); }
.roi-inputs h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 6px; }
.roi-inputs p { font-size: 14px; color: var(--muted-foreground); margin: 0 0 28px; line-height: 1.5; }
.roi-field { margin-bottom: 22px; }
.roi-field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 500;
  margin-bottom: 10px;
}
.roi-field-label .val { font-family: var(--font-mono); color: var(--accent-emerald-strong); font-weight: 600; font-size: 14px; }
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--border); border-radius: 999px;
  outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px;
  background: var(--background); border: 2px solid var(--foreground);
  border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--background); border: 2px solid var(--foreground);
  border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.roi-results { padding: 36px 40px; background: var(--foreground); color: var(--background); display: flex; flex-direction: column; gap: 18px; }
.roi-results-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: oklch(0.7 0 0); margin: 0;
}
.roi-big {
  font-family: var(--font-mono);
  font-size: 64px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 0.95;
  margin: 0;
  color: var(--accent-emerald);
  font-variant-numeric: tabular-nums;
}
.roi-big-sub { font-size: 14px; color: oklch(0.75 0 0); margin: 0; }
.roi-breakdown { border-top: 1px solid oklch(1 0 0 / 0.12); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.roi-line { display: flex; justify-content: space-between; font-size: 13px; }
.roi-line .lbl { color: oklch(0.7 0 0); }
.roi-line .num { font-family: var(--font-mono); font-weight: 500; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 28px;
  background: var(--background);
  display: flex; flex-direction: column;
  position: relative;
}
.testi-metric {
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 500; letter-spacing: -0.03em;
  color: var(--foreground);
  margin: 0 0 4px;
}
.testi-metric-label { font-size: 13px; color: var(--muted-foreground); margin: 0 0 22px; }
.testi-quote { font-size: 15px; line-height: 1.55; margin: 0 0 24px; flex: 1; color: var(--foreground); }
.testi-attr { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; color: var(--muted-foreground); }
.testi-name { font-size: 14px; font-weight: 600; margin: 0; }
.testi-role { font-size: 12px; color: var(--muted-foreground); margin: 0; }

/* ---------- compare table ---------- */
.compare-wrap { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--background); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead th {
  position: sticky; top: 64px; z-index: 10;
  background: var(--background);
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
}
.compare-table thead th.col-feat { width: 40%; color: var(--muted-foreground); font-weight: 500; }
.compare-table thead th.col-plan { width: 20%; text-align: center; }
.compare-th-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.compare-th-name.featured { color: var(--accent-emerald-strong); }
.compare-th-price { font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground); font-weight: 500; }
.compare-cat-row { background: var(--secondary); cursor: pointer; }
.compare-cat-row td {
  padding: 12px 22px;
  font-size: 11px; font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}
.compare-cat-row td.cat-toggle { display: flex; align-items: center; gap: 8px; }
.compare-cat-row td.cat-toggle i { font-size: 13px; transition: transform 160ms; }
.compare-cat-row.collapsed td.cat-toggle i { transform: rotate(-90deg); }
.compare-row td { padding: 14px 22px; border-bottom: 1px solid var(--border); }
.compare-row td.feat-name { font-size: 14px; color: var(--foreground); }
.compare-row td.feat-name .help { color: var(--muted-foreground); font-size: 12px; margin-top: 2px; }
.compare-row td.feat-val { text-align: center; font-size: 14px; }
.compare-row td.feat-val.featured { background: oklch(0.99 0 0); }
.compare-row td.feat-val i { color: var(--accent-emerald-strong); font-size: 16px; }
.compare-row td.feat-val .dash { color: var(--muted-foreground); }
.compare-row td.feat-val .val { font-weight: 500; }
.compare-row:last-child td { border-bottom: 0; }
.compare-cta-row td { padding: 22px; background: var(--secondary); border-top: 1px solid var(--border); }
.compare-cta-row td.feat-val { text-align: center; }

/* ---------- enterprise band ---------- */
.enterprise {
  border-radius: 22px; padding: 56px 48px;
  background: var(--foreground); color: var(--background);
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.enterprise::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 999px;
  background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}
.enterprise h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 14px; line-height: 1.1; }
.enterprise p.lead { font-size: 17px; color: oklch(0.78 0 0); margin: 0 0 28px; line-height: 1.5; }
.enterprise .eyebrow { color: oklch(0.7 0 0); }
.enterprise-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; position: relative; z-index: 1; }
.ent-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: oklch(0.88 0 0); }
.ent-feat i { color: var(--accent-emerald); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.enterprise-cta-row { display: flex; gap: 10px; margin-top: 28px; }

/* ---------- risk reversal ---------- */
.risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--background); }
.risk-cell { padding: 28px; border-right: 1px solid var(--border); }
.risk-cell:last-child { border-right: 0; }
.risk-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-emerald-soft); color: var(--accent-emerald-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.risk-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.risk-desc { font-size: 13px; color: var(--muted-foreground); margin: 0; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq-aside h2 { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 14px; line-height: 1.1; }
.faq-aside p { font-size: 15px; color: var(--muted-foreground); margin: 0 0 18px; line-height: 1.55; }
.faq-aside .aside-card {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 20px;
  background: var(--secondary);
}
.faq-aside .aside-card-t { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.faq-aside .aside-card-d { font-size: 13px; color: var(--muted-foreground); margin: 0 0 12px; line-height: 1.5; }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  padding: 22px 0;
  background: transparent; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 500;
  color: var(--foreground);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  letter-spacing: -0.005em;
}
.faq-q i { color: var(--muted-foreground); font-size: 16px; transition: transform 200ms; }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--foreground); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 240ms ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 22px; padding-right: 40px; font-size: 14.5px; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- final CTA / scheduler ---------- */
.final-wrap {
  border: 1px solid var(--border); border-radius: 22px;
  background: var(--background);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.final-left {
  padding: 56px 48px;
  background:
    radial-gradient(ellipse at top left, var(--accent-emerald-soft) 0%, transparent 60%),
    var(--background);
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid var(--border);
}
.final-left h2 { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 16px; }
.final-left p.lead { font-size: 17px; color: var(--muted-foreground); margin: 0 0 28px; line-height: 1.5; }
.final-bullets { display: flex; flex-direction: column; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.final-bullet { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.final-bullet i { color: var(--accent-emerald-strong); }
.final-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.scheduler { padding: 36px 40px; }
.sched-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.sched-host { display: flex; align-items: center; gap: 12px; }
.sched-host .av { width: 36px; height: 36px; border-radius: 999px; background: var(--foreground); color: var(--background); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.sched-host .name { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.2; }
.sched-host .role { font-size: 12px; color: var(--muted-foreground); margin: 0; }
.sched-duration { font-family: var(--font-mono); font-size: 12px; color: var(--muted-foreground); display: inline-flex; align-items: center; gap: 5px; }

.cal {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.cal-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.cal-month button { background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--muted-foreground); }
.cal-month button:hover { background: var(--secondary); color: var(--foreground); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 11px; color: var(--muted-foreground); text-align: center; padding: 4px 0; font-weight: 500; }
.cal-day {
  height: 32px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent; border: 0; color: var(--foreground); font-family: inherit;
  position: relative;
}
.cal-day.muted { color: oklch(0.85 0 0); cursor: default; }
.cal-day.has-slot:hover { background: var(--secondary); }
.cal-day.has-slot::after { content: ""; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 999px; background: var(--accent-emerald); }
.cal-day.selected { background: var(--foreground); color: var(--background); }
.cal-day.selected::after { background: var(--accent-emerald); }

.slots-header { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.slots-header .tz { font-size: 11px; color: var(--muted-foreground); font-weight: 500; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; max-height: 232px; overflow-y: auto; padding-right: 4px; }
.slot {
  height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--background); color: var(--foreground);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.slot:hover { border-color: var(--foreground); }
.slot.selected { background: var(--accent-emerald); border-color: var(--accent-emerald); color: #fff; }
.slot.taken { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.sched-confirm-row { margin-top: 18px; display: flex; gap: 8px; align-items: center; }

/* ---------- sticky CTA bar ---------- */
.sticky-bar {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
  opacity: 0; pointer-events: none;
  transition: transform 320ms cubic-bezier(.32,.72,0,1), opacity 280ms;
  z-index: 25;
}
.sticky-bar.visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 18px;
  background: var(--foreground); color: var(--background);
  border-radius: 999px;
  box-shadow: 0 20px 40px -10px oklch(0.18 0 0 / 0.4), 0 0 0 1px oklch(1 0 0 / 0.05);
  font-size: 13.5px;
}
.sticky-inner .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent-emerald);
  box-shadow: 0 0 0 0 oklch(0.55 0.18 162 / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.55 0.18 162 / 0.6); }
  70% { box-shadow: 0 0 0 8px oklch(0.55 0.18 162 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.55 0.18 162 / 0); }
}

/* ---------- chat bubble ---------- */
.chat-bubble {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 20;
}
.chat-fab {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--foreground); color: var(--background);
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px oklch(0.18 0 0 / 0.5);
  font-size: 22px;
  transition: transform 200ms;
  position: relative;
}
.chat-fab:hover { transform: scale(1.05); }
.chat-fab .ring {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 999px; background: var(--accent-emerald);
  border: 2px solid var(--background);
}
.chat-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 320px;
  background: var(--background);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(8px); opacity: 0; pointer-events: none;
  transition: transform 200ms, opacity 200ms;
}
.chat-bubble.open .chat-panel { transform: translateY(0); opacity: 1; pointer-events: auto; }
.chat-head { padding: 16px 18px; background: var(--foreground); color: var(--background); display: flex; gap: 12px; align-items: center; }
.chat-head .av { width: 32px; height: 32px; border-radius: 999px; background: var(--accent-emerald); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; color: #fff; }
.chat-head .name { font-size: 13px; font-weight: 600; margin: 0; }
.chat-head .status { font-size: 11px; color: oklch(0.78 0 0); margin: 0; display: inline-flex; align-items: center; gap: 5px; }
.chat-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-emerald); }
.chat-body { padding: 16px 18px; }
.chat-msg { background: var(--secondary); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
.chat-actions { display: flex; flex-direction: column; gap: 6px; }
.chat-action {
  text-align: left; padding: 10px 12px;
  background: var(--background); border: 1px solid var(--border);
  border-radius: 10px; font-size: 13px; cursor: pointer;
  font-family: inherit; color: var(--foreground);
  transition: background 140ms, border-color 140ms;
  display: flex; align-items: center; gap: 8px;
}
.chat-action:hover { background: var(--secondary); border-color: oklch(0.85 0 0); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; margin-top: 80px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 36px; }
.footer-brand-blurb { font-size: 13px; color: var(--muted-foreground); line-height: 1.55; margin: 12px 0 0; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: var(--muted-foreground); text-decoration: none; }
.footer-col a:hover { color: var(--foreground); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted-foreground); flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; }

/* ---------- helpers ---------- */
.hide { display: none !important; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* lucide font tweaks */
.i { font-family: "lucide" !important; font-style: normal; font-weight: normal; speak: none; display: inline-block; line-height: 1; -webkit-font-smoothing: antialiased; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .testi-grid, .risk-grid { grid-template-columns: 1fr 1fr; }
  .risk-grid > .risk-cell:nth-child(2) { border-right: 0; }
  .risk-grid > .risk-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .risk-grid > .risk-cell:nth-child(4) { border-top: 1px solid var(--border); }
  .roi-wrap, .final-wrap, .enterprise, .faq-wrap { grid-template-columns: 1fr; }
  .roi-inputs, .final-left { border-right: 0; border-bottom: 1px solid var(--border); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-row { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .tier-grid { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--border); }
  .tier:last-child { border-bottom: 0; }
  .tier--featured { transform: none; margin: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .tier-grid, .testi-grid, .risk-grid, .included-grid { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--border); }
  .tier--featured { transform: none; margin: 0; border-radius: 0; }
  .risk-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .risk-cell:last-child { border-bottom: 0; }
  .cal { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
