/* ════════════════════════════════════════════════════════════════
   AI ResearchPartner — Section-level styles
   Hero, audience selector, how-it-works, comparison, pricing, etc.
   ════════════════════════════════════════════════════════════════ */

/* ── Site nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 237, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border2); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.nav-brand strong { color: var(--brand-deep); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text2);
  border-radius: 7px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.nav-links a.active { color: var(--brand-deep); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ring);
  border-radius: 8px;
  /* >= 44px tap target (WCAG 2.5.8): 12px vertical padding + 18px glyph */
  padding: 12px 14px;
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}

/* The desktop row (brand + 7 links, no CTAs) needs ~950px. Below 1080px
   the links collapse behind the hamburger; above it everything fits on
   one line without squishing. */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 12px var(--gutter) 18px;
    border-bottom: 1px solid var(--border2);
    gap: 0;
  }
  .nav-links.open a { padding: 12px 0; }
}

/* ── Hero ── */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(201, 100, 66, 0.08), transparent 70%),
    radial-gradient(50% 40% at 5% 30%, rgba(217, 119, 87, 0.05), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--brand-deep); font-style: italic; font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; }

.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text2);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border2);
}
.hero-trust-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}
.hero-trust-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-pill {
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px dashed var(--ring);
  background: transparent;
  color: var(--text3);
  font-size: 11.5px;
  font-weight: 500;
}

/* ── Hero rotator (laptop frame + cycling charts) ── */
.hero-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.hero-rotator-frame {
  position: absolute;
  inset: 22px;
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero-rotator-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text3);
}
.hero-rotator-bar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ring);
}
.hero-rotator-bar .dot.r { background: #ed6a5e; }
.hero-rotator-bar .dot.y { background: #f5be4f; }
.hero-rotator-bar .dot.g { background: #62c554; }
.hero-rotator-bar .url {
  margin-left: 12px;
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text3);
  font-family: 'SF Mono', Menlo, monospace;
}
.hero-rotator-stage {
  position: relative;
  height: calc(100% - 36px);
  padding: 18px 22px;
}
.hero-slide {
  position: absolute;
  inset: 18px 22px;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-slide.on { opacity: 1; pointer-events: auto; }

.hero-slide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.hero-slide-head h5 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-slide-head .meta {
  font-size: 11px;
  color: var(--text3);
}
.hero-slide-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}

/* Phones: the 4/3 aspect leaves only ~60px of chart once the frame insets,
   URL bar, and slide head are paid for — the card reads as squished. Trade
   the aspect for an explicit height and slim the chrome so the chart gets
   real room (~250px). */
@media (max-width: 640px) {
  .hero-rotator { aspect-ratio: auto; height: 400px; }
  .hero-rotator-frame { inset: 12px; }
  .hero-rotator-stage { padding: 12px 14px; }
  .hero-slide { inset: 12px 14px; }
}

.hero-rotator-dots {
  position: absolute;
  bottom: -28px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
/* 24px hit area (WCAG target-size) with the same 7px visual dot drawn
   via ::before — the buttons double as the rotator's pause toggle. */
.hero-rotator-dots button {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: transparent;
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.hero-rotator-dots button::before {
  content: '';
  position: absolute;
  inset: 8.5px;
  border-radius: 50%;
  background: var(--ring);
}
.hero-rotator-dots button.on::before {
  background: var(--brand);
  transform: scale(1.3);
}

/* ── Hero terminal — "analysis in progress" micro-animation ── */
.hero-terminal {
  margin-top: 44px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  box-shadow: var(--shadow-whisper);
  overflow: hidden;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}
.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 10.5px;
  color: var(--text-inv2);
  letter-spacing: 0.04em;
}
.hero-terminal-bar .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
.terminal-lines {
  padding: 12px 14px 4px;
  min-height: 92px;
}
.terminal-lines .tl {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-inv2);
  animation: fadeUp 0.35s var(--ease) both;
}
.terminal-lines .tl:last-child { color: var(--coral); }
.hero-terminal-cursor {
  display: inline-block;
  width: 7px; height: 13px;
  margin: 0 0 10px 14px;
  background: var(--coral);
  animation: pulse 1.1s steps(2, start) infinite;
}

/* ── Early-signals / methodology section ── */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .signals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .signals-grid { grid-template-columns: 1fr; } }

.signal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.signal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-whisper); }
.signal-card .sig-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.signal-card h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.signal-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text2);
}
.signal-example {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 22px 26px;
}
.signal-example .lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
}
.signal-example p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
}
.signal-example .fine {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  color: var(--text3);
  margin-top: 10px;
}

/* Compact variant for persona pages — no grid-template-columns here so the
   .signals-grid 3/2/1 responsive rules win (was clamping to 3 at all widths). */
.signals-compact .signal-card { padding: 20px; }
.signals-compact .signal-card h4 { font-size: 17px; }
.signals-compact .signal-card p { font-size: 12.5px; }

/* ── Three-pillar band ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand);
}
.pillar.coral::after { background: var(--coral); }
.pillar.amber::after { background: var(--amber); }

.pillar-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
}
.pillar.coral .pillar-num { color: var(--coral); }
.pillar.amber .pillar-num { color: var(--amber); }

.pillar h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 20px;
}
.pillar-proof {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pillar-proof .num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pillar-proof .ctx {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border2);
}
.source-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border2);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text2);
}

/* ── Audience selector / "Choose your path" ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--brand);
}
.audience-card.coral::before { background: var(--coral); }

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
  border-color: var(--ring);
}
.audience-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.audience-card.coral .audience-eyebrow { color: var(--coral); }

.audience-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.audience-card .lead {
  font-style: normal;
  font-family: inherit;
  font-size: 15px;
  color: var(--text2);
}
.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience-card li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
}
.audience-card li::before {
  content: '→';
  color: var(--brand-deep);
  font-weight: 700;
  flex-shrink: 0;
}
.audience-card.coral li::before { color: var(--coral); }
.audience-card .arrow {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.audience-card.coral .arrow { color: var(--coral); }
.audience-card .arrow::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.audience-card:hover .arrow::after { transform: translateX(4px); }

/* ── How it works (4-step diagram) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 22px;
  position: relative;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.step p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.55;
}
.step-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}
.step-tools span {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--bg);
  color: var(--text3);
  font-weight: 500;
}

/* ── Live dashboard sample (tabbed) ── */
.demo-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.demo-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg);
}
.demo-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-meta .domain {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
}
.demo-meta .sub {
  font-size: 12px;
  color: var(--text3);
}
.demo-tabs {
  display: flex;
  gap: 2px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border2);
  background: var(--surface);
  overflow-x: auto;
}
.demo-tab {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text3);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.demo-tab:hover { color: var(--text); }
.demo-tab.on { color: var(--brand-deep); border-bottom-color: var(--brand); }

.demo-panel { padding: 28px; display: none; }
.demo-panel.on { display: block; animation: fadeUp 0.3s var(--ease); }

.chart-wrap {
  position: relative;
  height: 320px;
}
.chart-wrap.tall { height: 400px; }
.chart-wrap.short { height: 240px; }

/* ── Use case cards ── */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .uc-grid { grid-template-columns: 1fr; } }

.uc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 30px;
  border-top: 4px solid var(--brand);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uc-card.coral { border-top-color: var(--coral); }
.uc-card.amber { border-top-color: var(--amber); }
.uc-card.sky { border-top-color: var(--sky); }
.uc-card.green { border-top-color: var(--green); }

.uc-card .uc-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.uc-card.coral .uc-tag { color: var(--coral); }
.uc-card.amber .uc-tag { color: var(--amber); }
.uc-card.sky .uc-tag { color: var(--sky); }

.uc-card h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.uc-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
}
.uc-card .uc-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border2);
  font-size: 12.5px;
  color: var(--text3);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.uc-card .uc-meta strong { color: var(--text); font-weight: 600; }

/* ── Comparison table styling overrides ── */
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  /* Scroll the comparison table instead of clipping it on narrow screens
     (mirrors .tbl-card in components.css). */
  overflow-x: auto;
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.cmp-table th, .cmp-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.cmp-table th {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text3);
  background: var(--bg);
}
.cmp-table th.us { color: var(--brand-deep); }
.cmp-table td.us {
  color: var(--text);
  font-weight: 600;
  background: rgba(201, 100, 66, 0.04);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table .row-lbl {
  font-weight: 600;
  color: var(--text);
}
.cmp-check { color: var(--green); font-weight: 700; font-size: 16px; }
.cmp-x { color: var(--text3); font-weight: 500; }
.cmp-partial { color: var(--amber); font-weight: 600; }

/* ── Pricing cards ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}
@media (max-width: 1000px) { .price-card.featured { transform: none; } }

.price-card .featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  /* '/ seat / yr' may drop below the figure on narrow cards instead of
     forcing the card wider than a phone viewport. */
  flex-wrap: wrap;
}
.price-amount .num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.price-amount .per { font-size: 14px; color: var(--text3); }

.price-card .what {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
  min-height: 52px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.5;
}
.price-card li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.price-card li.minus { color: var(--text3); }
.price-card li.minus::before { content: '—'; color: var(--ring); }

.price-card .price-note {
  font-size: 12px;
  color: var(--text3);
  font-style: italic;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* Pin the CTA to the bottom so buttons align across cards of unequal
   bullet count (same pattern as .pillar-proof / .uc-card). The price-note,
   if present, follows below it. */
.price-card > .btn { margin-top: auto; }
.price-card > .btn + .price-note { margin-top: 0; }

/* ── Shared PRO treatment — the premium tier's gold accent, used on the
      pricing page AND the homepage teaser so they read as one system.
      The tag is a dark gradient with gold text (WCAG AA), not white-on-gold. ── */
.price-card.pro-card { border: 2px solid var(--gold); box-shadow: var(--shadow-soft); }
.price-card.pro-card .price-tier { color: var(--brand-deep); }
.price-card .featured-tag.pro-tag {
  background: linear-gradient(135deg, #1e1810 0%, #2a1f12 100%);
  color: #f0c869;
  border: 1px solid rgba(217, 164, 65, 0.4);
}
.btn-pro {
  background: linear-gradient(135deg, #1e1810 0%, #2a1f12 100%);
  color: #f0c869;
  border: 1px solid var(--gold);
}
.btn-pro:hover { color: #fff; border-color: var(--gold); box-shadow: 0 8px 24px rgba(201, 161, 75, 0.28); }

/* ── Enterprise / design-partner band (no productized price) ── */
.enterprise-band {
  margin-top: 24px;
  background: var(--bg-dark);
  color: var(--text-inv);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.enterprise-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 85% 20%, rgba(201, 100, 66, 0.16), transparent 70%);
  pointer-events: none;
}
.enterprise-band > * { position: relative; }
.enterprise-band h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--text-inv);
  margin-bottom: 8px;
}
.enterprise-band p {
  color: var(--text-inv2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 640px;
}
.enterprise-band .eb-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ── Final CTA ── */
.cta-band {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: clamp(56px, 7vw, 96px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(201, 100, 66, 0.18), transparent 70%),
    radial-gradient(45% 55% at 75% 70%, rgba(217, 119, 87, 0.10), transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--text-inv);
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--text-inv2);
  margin: 0 auto 32px;
  font-size: 17px;
  max-width: 580px;
}
.cta-band-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-band .btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 26px rgba(201, 100, 66, 0.44); }
.cta-band .btn-outline {
  color: var(--text-inv);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.cta-band .btn-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.45);
}
.cta-band .footnote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-inv2);
}
.cta-band .footnote a { color: var(--coral); border-bottom: 1px solid rgba(217, 119, 87, 0.35); }
.cta-band .footnote a:hover { border-bottom-color: var(--coral); }

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .nav-brand { color: var(--text-inv); margin-bottom: 16px; }
.footer-brand .nav-brand-mark { background: var(--brand); }
.footer-brand p { color: var(--text-inv2); font-size: 13.5px; max-width: 280px; line-height: 1.6; }

.footer-col h5 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-inv);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--text-inv2); font-size: 13.5px; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: var(--text-inv2);
}
.footer-bottom .made {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
}
