:root {
  --blue: #3654f4;
  --blue-dark: #2540c9;
  --blue-deep: #1c2f8f;
  --ink: #10131a;
  --ink-soft: #4b5265;
  --bg: #f6f7fb;
  --bg-panel: #eef0fa;
  --white: #ffffff;
  --line: #e2e5f1;
  --good: #1f9d55;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(16, 19, 26, 0.06);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.logo-img { height: 28px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.main-nav a:not(.btn):hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(54, 84, 244, 0.35); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { box-shadow: 0 6px 18px rgba(16, 19, 26, 0.25); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Audience toggle ---------- */
.audience-toggle {
  display: inline-flex; background: var(--bg-panel); padding: 4px; border-radius: 999px;
  border: 1px solid var(--line);
}
.audience-toggle button {
  border: 0; background: transparent; padding: 9px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); cursor: pointer;
}
.audience-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg) 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 0.8rem;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.02em; }
.text-blue { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); }

.stat-bar {
  background: var(--blue); color: var(--white);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stat-bar .stat { text-align: center; padding: 26px 12px; border-right: 1px solid rgba(255,255,255,0.18); }
.stat-bar .stat:last-child { border-right: none; }
.stat-bar .stat strong { display: block; font-size: 1.8rem; font-weight: 800; }
.stat-bar .stat span { font-size: 0.75rem; letter-spacing: 0.04em; opacity: 0.85; text-transform: uppercase; }
.stat-fineprint { text-align: center; font-size: 0.8rem; color: var(--ink-soft); padding: 12px 24px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.section-alt { background: var(--white); }

.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pain-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.pain-card h3 { font-size: 1.05rem; margin: 0 0 10px; }
.pain-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white);
}
.feature-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.compare thead th { background: var(--bg-panel); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.compare th.hero-col, table.compare td.hero-col { background: rgba(54, 84, 244, 0.06); font-weight: 700; }
table.compare tr:last-child td { border-bottom: none; }
.yes { color: var(--good); font-weight: 700; }
.no { color: #b0364a; }

/* ---------- Trust grid ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.trust-card { text-align: left; padding: 22px; border-radius: var(--radius); background: var(--bg-panel); }
.trust-card h3 { margin: 0 0 8px; font-size: 1rem; }
.trust-card p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 4px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1rem; font-weight: 700; color: var(--ink);
}
.faq-q .icon { flex-shrink: 0; transition: transform 0.2s ease; font-size: 1.2rem; color: var(--blue); }
.faq-item[data-open="true"] .icon { transform: rotate(45deg); }
.faq-a { padding: 0 4px 20px; color: var(--ink-soft); font-size: 0.95rem; display: none; }
.faq-item[data-open="true"] .faq-a { display: block; }

/* ---------- Lead form ---------- */
.lead-panel {
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.lead-panel h2 { margin: 0 0 12px; font-size: 1.7rem; }
.lead-panel p { color: rgba(255,255,255,0.72); margin: 0 0 18px; }
.lead-benefits { list-style: none; padding: 0; margin: 0 0 20px; }
.lead-benefits li { padding: 6px 0 6px 28px; position: relative; font-size: 0.92rem; }
.lead-benefits li::before { content: "✓"; position: absolute; left: 0; color: #6fe3a4; font-weight: 800; }
.lead-form { background: var(--white); border-radius: var(--radius-sm); padding: 26px; color: var(--ink); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem;
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.consent { font-size: 0.78rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 16px; }
.consent input { margin-top: 3px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-panel); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; color: var(--ink-soft); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.8rem; color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

@media (max-width: 860px) {
  .lead-panel { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
  h1 { font-size: 1.8rem; }
  .hero { padding: 32px 0 28px; }
  section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Calculator page ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-inputs { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.calc-field { }
.calc-field label { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.calc-field .hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: help;
}
.calc-field .hint::before,
.calc-field .hint::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  position: absolute;
  left: 50%;
  z-index: 30;
}
.calc-field .hint::after {
  content: attr(data-tip);
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  width: max-content;
  max-width: 200px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.calc-field .hint::before {
  content: "";
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.calc-field .hint:hover::after, .calc-field .hint:hover::before,
.calc-field .hint:focus-visible::after, .calc-field .hint:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.calc-field input[type="number"] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem;
}
.calc-field input[type="range"] { width: 100%; accent-color: var(--blue); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-actions { display: flex; gap: 12px; padding-top: 6px; }

.calc-results { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.result-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white); border-radius: var(--radius); padding: 28px; overflow: hidden;
}
.result-hero .label { font-size: 0.85rem; opacity: 0.85; margin-bottom: 6px; font-weight: 700; }
.result-hero .headline {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.15; word-break: break-word; margin-bottom: 14px;
}
.result-hero .sub { font-size: 0.92rem; opacity: 0.9; }
.result-hero .divider { height: 1px; background: rgba(255,255,255,0.25); margin: 18px 0; }
.result-hero .sub-metric-label { font-size: 0.8rem; opacity: 0.8; margin-bottom: 4px; }
.result-hero .sub-metric { font-size: 1.4rem; font-weight: 800; }

.result-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.result-group h4 { margin: 0 0 14px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.result-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.result-line:last-child { border-bottom: none; }
.result-line .val { font-weight: 800; }

.capture-cta {
  background: var(--white); border: 2px solid var(--blue); border-radius: var(--radius); padding: 24px;
  text-align: center;
}
.capture-cta.is-open { text-align: left; }
.capture-cta h3 { margin: 0 0 8px; font-size: 1.15rem; }
.capture-cta p { margin: 0 0 16px; color: var(--ink-soft); font-size: 0.92rem; }
.capture-form { display: none; }
.capture-cta.is-open .capture-form { display: block; }
.capture-cta.is-open .capture-intro { display: none; }
.capture-success { display: none; text-align: center; padding: 12px 0; }
.capture-success.is-visible { display: block; }
.capture-form .calc-row { margin-bottom: 12px; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav (was missing: the toggle set .is-open but nothing styled it) ---------- */
.main-nav .nav-cta { display: none; }
@media (max-width: 720px) {
  .main-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 24px 20px;
  }
  .main-nav.is-open a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open .nav-cta { display: inline-flex; margin-top: 12px; }
}

/* ---------- Awards / proof bar ---------- */
.awards-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.award {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 10px; font-size: 0.84rem; color: var(--ink-soft); box-shadow: var(--shadow);
}
.award strong { color: var(--ink); }
.award .medal {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; flex-shrink: 0;
}
.award.finalist .medal { background: var(--ink-soft); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pillar .kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.pillar h3 { margin: 0 0 10px; font-size: 1.15rem; }
.pillar p { margin: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; }
.pillar a { font-weight: 700; color: var(--blue); text-decoration: none; font-size: 0.92rem; }

/* ---------- Link cards (hubs, sectors, related) ---------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
a.link-card {
  display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: border-color 0.15s ease, transform 0.15s ease;
}
a.link-card:hover { border-color: var(--blue); transform: translateY(-2px); }
a.link-card h3 { margin: 0 0 6px; font-size: 1rem; }
a.link-card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
a.link-card .more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 700; font-size: 0.88rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 12px 32px rgba(54, 84, 244, 0.12); }
.price-card .tier { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.price-card .price { font-size: 2.3rem; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.02em; }
.price-card .unit { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; font-size: 0.92rem; border-top: 1px solid var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* ---------- Long-form content (guides, compare) ---------- */
.prose { max-width: 760px; margin: 0 auto; font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.12rem; margin: 28px 0 8px; }
.prose p, .prose li { color: #2c3140; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); }
.prose .meta { color: var(--ink-soft); font-size: 0.85rem; }
.callout { background: var(--bg-panel); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.callout h3, .callout h4 { margin: 0 0 6px; font-size: 1rem; }
.callout p { margin: 0; font-size: 0.94rem; }
.callout.warn { background: #fff6e8; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 28px; }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 40px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; font-size: 1.7rem; }
.cta-band p { margin: 0 auto 22px; color: rgba(255,255,255,0.75); max-width: 600px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.35); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem; font-family: inherit; min-height: 110px; resize: vertical; }
.form-success { display: none; padding: 18px; border-radius: var(--radius-sm); background: #e9f8ef; color: #135d33; font-weight: 600; }
.form-success.is-visible { display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid.footer-grid-wide { grid-template-columns: repeat(2, 1fr); }
}
.footer-grid.footer-grid-wide { grid-template-columns: 1.3fr repeat(5, 1fr); }
@media (max-width: 860px) { .footer-grid.footer-grid-wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cta-band { padding: 28px 20px; } }
@media (max-width: 720px) {
  table.compare { min-width: 540px; }
  table.compare th, table.compare td { padding: 12px 12px; font-size: 0.86rem; }
}

/* ---------- Lead magnet / newsletter ---------- */
.lead-magnet {
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 36px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
}
.lead-magnet h2 { margin: 0 0 10px; font-size: 1.5rem; }
.lead-magnet p { margin: 0 0 12px; color: rgba(255,255,255,0.75); }
.lead-magnet ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.lead-magnet .lead-form { padding: 22px; }
.lead-magnet.light { background: var(--bg-panel); color: var(--ink); }
.lead-magnet.light p, .lead-magnet.light ul { color: var(--ink-soft); }
@media (max-width: 860px) { .lead-magnet { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Screening question list ---------- */
.q-list { counter-reset: q; list-style: none; padding: 0; margin: 0; }
.q-list li { counter-increment: q; position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--line); }
.q-list li::before {
  content: counter(q); position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.q-list .q { font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
.q-list .listen { color: var(--ink-soft); font-size: 0.93rem; }
.q-list .listen strong { color: var(--good); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #e9f8ef; color: #135d33; margin-left: 8px; vertical-align: middle; }
.tag.ko { background: #fff1e0; color: #8a4b00; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Mini calculator (screening coverage) ---------- */
.mini-calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.mini-calc .result { text-align: center; }
.mini-calc .result strong { display: block; font-size: 3rem; color: var(--blue); line-height: 1.1; }
.mini-calc .result span { color: var(--ink-soft); font-size: 0.9rem; }
@media (max-width: 720px) { .mini-calc { grid-template-columns: 1fr; } }

/* ================= Design feedback round (Andrew, 25 Sep 2026) =================
   - no pill badges: eyebrows removed; awards, tags and status labels become plain text
   - current page marked in the nav
   - warm gold accent for the main call to action
   - homepage hero gets an example screening chat window */
:root { --accent: var(--blue); --accent-dark: var(--blue-dark); }

.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 6px 18px rgba(54, 84, 244, 0.35); }

/* Current page in the primary nav */
.main-nav a:not(.btn)[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); padding-bottom: 6px; }
@media (max-width: 720px) {
  .main-nav.is-open a:not(.btn)[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
}

/* Awards: plain text line, not chips */
.awards-bar { gap: 8px 22px; }
.award { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }

/* Knock-out / nice-to-have tags: plain coloured text, not chips */
.tag { background: none; padding: 0; border-radius: 0; margin-left: 6px; font-size: 0.72rem; color: var(--good); }
.tag.ko { background: none; color: #8a4b00; }

/* Status label on platform cards (was a pill) */
.card-status { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.card-status.live { color: var(--good); }

/* Homepage kicker line (was a pill) */
.hero-kicker { font-weight: 700; color: var(--blue); margin: 0 0 14px; font-size: 0.95rem; }

/* Homepage hero: headline + example chat window */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.chat-mock { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(16, 19, 26, 0.12); overflow: hidden; max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .chat-mock { justify-self: stretch; max-width: none; } }
.chat-mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-panel); }
.chat-mock-head .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }
.chat-mock-head .who { font-weight: 800; font-size: 0.9rem; line-height: 1.2; }
.chat-mock-head .role { font-size: 0.78rem; color: var(--ink-soft); }
.chat-mock-head .live-dot { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--good); display: inline-flex; align-items: center; gap: 6px; }
.chat-mock-head .live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.chat-mock-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.bubble.ai { background: var(--bg-panel); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-mock-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-soft); }
.chat-mock-foot .done { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.chat-mock-caption { font-size: 0.75rem; color: var(--ink-soft); text-align: right; margin-top: 8px; }
@media (max-width: 900px) { .chat-mock-caption { text-align: left; } }

/* ROI calculator: live value next to each slider */
.range-value { font-weight: 800; color: var(--blue); margin-left: 6px; }
@media (max-width: 720px) { .header-actions .btn-accent { display: none; } }

/* Cookie preferences panel (native <dialog>) */
.cookie-prefs { max-width: 480px; width: calc(100% - 32px); border: 0; border-radius: 12px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.cookie-prefs::backdrop { background: rgba(10, 12, 20, .45); }
.cookie-prefs h2 { margin: 0 0 8px; font-size: 1.25rem; }
.cookie-prefs table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.cookie-prefs th, .cookie-prefs td { text-align: left; vertical-align: top; padding: 8px 6px; border-top: 1px solid #e5e7eb; }
.cookie-prefs th { width: 110px; }
.cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* uForge form submissions (forms.js) - error box above the submit button */
.email-submission-status { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fdecec; color: #8a1c1c; font-size: 0.88rem; font-weight: 600; }
.email-submission-status.is-visible { display: block; }

/* ================= Motion (motion.js) =================
   Plays once in view; finished state under prefers-reduced-motion; nothing hidden without JS. */
.mo-chat .bubble, .mo-chat .chat-mock-foot { opacity: 0; transform: translateY(8px); }
.mo-chat.mo-play .bubble, .mo-chat.mo-play .chat-mock-foot { animation: mo-pop .45s ease forwards; }
.mo-chat.mo-play .bubble:nth-child(1) { animation-delay: .2s; }
.mo-chat.mo-play .bubble:nth-child(2) { animation-delay: 1.1s; }
.mo-chat.mo-play .bubble:nth-child(3) { animation-delay: 2s; }
.mo-chat.mo-play .bubble:nth-child(4) { animation-delay: 2.9s; }
.mo-chat.mo-play .chat-mock-foot { animation-delay: 3.7s; }
@keyframes mo-pop { to { opacity: 1; transform: none; } }

.dots200 { margin: 8px auto 36px; max-width: 760px; text-align: center; }
.dots-grid { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; max-width: 520px; margin: 0 auto 14px; }
.dots-grid i { aspect-ratio: 1; border-radius: 50%; background: #d7dbea; transition: background .35s ease, transform .35s ease; }
.dots-grid i.called { background: var(--ink); transform: scale(1.15); }
.dots-grid i.heard { background: var(--blue); }
.dots-grid i.called.heard { background: var(--ink); }
.dots-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); }
.dots-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.dots-legend .l-called::before { background: var(--ink); }
.dots-legend .l-heard::before { background: var(--blue); }
.dots-legend .l-heard { opacity: .35; transition: opacity .4s ease; }
.dots200.stage-all .dots-legend .l-heard, .dots200:not(.stage-called) .dots-legend .l-heard { opacity: 1; }
.dots-caption { font-weight: 700; margin: 10px 0 0; }


.mo-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.mo-reveal.mo-in { opacity: 1; transform: none; }

.calc-bump { animation: mo-bump .6s ease; }
@keyframes mo-bump { 0% { background: rgba(245, 179, 1, .35); } 100% { background: transparent; } }

@media (prefers-reduced-motion: reduce) {
  .mo-chat .bubble, .mo-chat .chat-mock-foot, .mo-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .dots-grid i { transition: none; }
  .calc-bump { animation: none; }
}
@media print { .mo-chat .bubble, .mo-chat .chat-mock-foot, .mo-reveal { opacity: 1 !important; transform: none !important; } }

/* Contrast fixes (scripts/marketing-sites/contrast-audit.js): green text needs a darker green to
   pass 4.5:1 on white and on the tinted comparison column; the tick badge is white on brand blue. */
.yes, .chat-mock-head .live-dot { color: #137a3f; }
.chat-mock-foot .done { color: #fff; }

/* Role-by-role example chats (recruiter feedback, 28 Sep 2026). Without JS the track is a
   scroll-snapped row you can swipe or scroll; motion.js adds auto-advance, tab behaviour and a
   pause button. Tabs follow the nav's current-page treatment: an underline, not a pill. */
.chat-carousel { max-width: 440px; width: 100%; justify-self: end; min-width: 0; }
@media (max-width: 900px) { .chat-carousel { justify-self: stretch; max-width: none; } }
.chat-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0 0 12px; }
.chat-tab { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 4px 0; box-shadow: inset 0 -2px 0 transparent; }
.chat-tab:hover { color: var(--ink); }
.chat-tab[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); }
.chat-pause { margin-left: auto; font: inherit; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.chat-pause:hover { color: var(--ink); border-color: var(--ink-soft); }
.chat-track { position: relative; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 28px; margin: 0 -2px; overscroll-behavior-x: contain; }
.chat-carousel.js .chat-track { scrollbar-width: none; }
.chat-carousel.js .chat-track::-webkit-scrollbar { display: none; }
.chat-track .chat-mock { flex: 0 0 100%; scroll-snap-align: start; max-width: none; justify-self: auto; box-shadow: 0 12px 28px rgba(16, 19, 26, 0.10); }
.chat-carousel .chat-mock-caption { margin-top: -14px; text-align: left; }
.dash-block { background: var(--bg-panel); }
.sector-example h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 12px; }
.dash-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.dash-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.dash-list li strong { color: var(--ink); }
.dash-list li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .chat-track { scroll-behavior: auto; } }
.hero-grid > * { min-width: 0; } /* a grid item never grows to fit the carousel track */

/* ---------- Stacked tables on phones (mobile feedback, 28 Sep 2026) ----------
   Below 640px a data table becomes one card per row instead of scrolling sideways.
   build/responsive-tables.js adds data-label (from the column header), the "stack" and
   "rowhead" classes and ARIA table roles. Desktop is unchanged. */
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  table.compare { min-width: 0; }
  table.compare.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.compare.stack, table.compare.stack tbody, table.compare.stack tr, table.compare.stack td { display: block; width: 100%; }
  table.compare.stack tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 12px; overflow: hidden; }
  table.compare.stack td { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
  table.compare.stack td::before { content: attr(data-label); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); padding-top: 2px; }
  table.compare.stack tr td:last-child { border-bottom: 0; }
  table.compare.stack td:empty { display: none; }
  table.compare.stack.rowhead td:first-child { display: block; background: var(--bg-panel); font-weight: 800; font-size: 0.95rem; }
  table.compare.stack.rowhead td:first-child::before { content: none; }
  table.compare.stack td.hero-col { background: rgba(54, 84, 244, 0.06); }
  /* Two-column tables with no header row (e.g. the DPA): label above value. */
  table.compare:not(.stack), table.compare:not(.stack) tbody, table.compare:not(.stack) tr, table.compare:not(.stack) td { display: block; width: 100%; }
  table.compare:not(.stack) tr { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin: 0 0 12px; }
  table.compare:not(.stack) td { border: 0; padding: 10px 14px 4px; }
  table.compare:not(.stack) td + td { padding: 0 14px 12px; }
}
@media print { table.compare.stack thead { position: static; width: auto; height: auto; clip: auto; } }

/* ROI calculator: the "i" hints sit at the right end of each label, so a tooltip centred on
   the icon ran ~100px past the screen edge (even while hidden, it widened the page on phones).
   Anchor the tooltip to the icon's right edge so it opens leftwards. */
.calc-field .hint::after { left: auto; right: -6px; transform: translateY(4px); }
.calc-field .hint:hover::after, .calc-field .hint:focus-visible::after { transform: none; }

/* ROI calculator on small phones: the single-column layout used 1fr, which cannot shrink below
   its content, so the inputs and results panels ran 40px past a 320px screen. */
@media (max-width: 900px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } .calc-layout > * { min-width: 0; } }
@media (max-width: 420px) { .calc-inputs, .calc-results { padding: 18px; } }

/* ---------- Phone alignment (mobile feedback, 28 Sep 2026) ----------
   1. Button pairs wrapped onto two lines at their own text widths (e.g. 164px over 148px), so
      they stacked ragged. On phones, action buttons are full width and line up.
   2. Card types had different inner padding (28/26/24/22px), so on a one-column phone layout
      the text in stacked cards started at four different distances from the edge. One padding
      on phones; the featured price card's 2px border is offset by 1px less padding. */
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions > .btn, .hero-actions > a.btn { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .price-card, .pain-card, .trust-card, .feature-card, .link-card, .lead-magnet { padding: 20px; }
  .price-card.featured { padding: 19px; }
}

/* ---------- Recruiter summary on each example card (customer feedback, 28 Sep 2026) ----------
   The card shows the candidate's chat, then flips to what the recruiter gets. Without JS or with
   reduced motion, both views show, one under the other; motion.js adds .views and the switch. */
.view-switch, .done-label { display: none; }
.chat-result { border-top: 1px solid var(--line); padding: 16px 18px 18px; font-size: 0.86rem; }
.chat-carousel.views .view-switch { display: flex; gap: 18px; padding: 8px 18px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.view-switch button { font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); background: none; border: 0; padding: 6px 0 8px; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.view-switch button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); }
.view-switch button:hover { color: var(--ink); }
.chat-carousel.views .chat-result { display: none; border-top: 0; }
.chat-carousel.views .chat-mock.show-result .chat-result { display: block; animation: res-in 0.4s ease; }
.chat-carousel.views .chat-mock.show-result .chat-mock-body,
.chat-carousel.views .chat-mock.show-result .chat-mock-foot,
.chat-carousel.views .chat-mock.show-result .live-dot { display: none; }
.chat-carousel.views .chat-mock.show-result .done-label { display: inline; margin-left: auto; font-size: 0.72rem; font-weight: 700; color: #137a3f; }
@keyframes res-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.res-top { margin-bottom: 10px; }
.res-name { font-weight: 800; font-size: 0.9rem; line-height: 1.25; }
.res-sub { font-size: 0.74rem; color: var(--ink-soft); }
.res-summary { margin: 0 0 12px; line-height: 1.5; color: var(--ink); }
.res-h { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin: 0 0 6px; }
.res-musts { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.res-musts li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.res-mark { font-weight: 800; text-align: center; }
.res-musts li.ok .res-mark { color: #137a3f; }
.res-musts li.part .res-mark { color: #8a5a00; font-size: 0.7rem; }
.res-musts li.ask .res-mark { color: var(--blue-dark); }
.res-l { color: var(--ink-soft); }
.res-v { font-weight: 700; text-align: right; }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.res-ask { background: var(--bg-panel); border-radius: 10px; padding: 10px 12px; }
.res-ask p { margin: 0; font-weight: 600; line-height: 1.45; }
/* Must-haves met: one segment per requirement - green met, amber partly, grey still to ask. */
.res-met { margin: 0 0 10px; }
.res-met-label { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 6px; }
.res-met-label strong { color: #137a3f; font-size: 0.95rem; }
.res-met-bar { display: flex; gap: 3px; height: 8px; }
.res-met-bar i { flex: 1; border-radius: 99px; background: #b8bfd3; transform-origin: left center; }
.res-met-bar i.ok { background: #1f9d55; }
.res-met-bar i.part { background: #b07800; }
.chat-carousel.views .chat-mock.show-result .res-met-bar i { animation: bar-grow 0.5s ease both; }
.chat-carousel.views .chat-mock.show-result .res-met-bar i:nth-child(2) { animation-delay: 0.15s; }
.chat-carousel.views .chat-mock.show-result .res-met-bar i:nth-child(3) { animation-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .chat-result, .res-met-bar i { animation: none !important; } }
/* The visually hidden table header is a clipped block anchored to its table, so its cells cannot
   widen the page on small phones (found on the uForge NZ guide; same CSS here). */
@media (max-width: 640px) {
  table.compare.stack { position: relative; }
  table.compare.stack thead { display: block; top: 0; left: 0; margin: -1px; padding: 0; border: 0; }
  table.compare.stack td { overflow-wrap: anywhere; }
}
