/* ==========================================================================
   APEX marketing — shared styles for the public static pages
   (index.html, pricing/, contact/). Consumes tokens.css.

   Light, technical, minimal decoration — matching the apex-light mockup.
   Intentional DARK anchor sections contrast with the light page: the hero
   terminal, the classification panel, the CTA, and the footer.
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.02em;
}
.wordmark em {
  font-style: normal;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: var(--text-hi);
}
/* Mobile nav toggle — CSS-only (checkbox hack), no JS. Hidden on desktop. */
.nav-toggle {
  display: none;
}
.nav-burger {
  display: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* --- Buttons --- */
.btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    border-color 0.15s,
    color 0.15s;
  display: inline-block;
  white-space: nowrap;
}
.btn-v {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 14px rgba(15, 118, 110, 0.25);
}
.btn-v:hover {
  box-shadow: 0 6px 26px rgba(15, 118, 110, 0.38);
  transform: translateY(-1px);
}
.btn-g {
  background: transparent;
  color: var(--muted);
  border-color: var(--border-strong);
}
.btn-g:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-lg {
  font-size: 15px;
  padding: 13px 26px;
}
.btn-block {
  width: 100%;
  text-align: center;
}
/* Quiet secondary action — keeps one filled primary per surface (one action
   owns the accent; the alternative reads as a plain link, not a rival button). */
.btn-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 13px 4px;
  display: inline-block;
}
.btn-text:hover {
  color: var(--accent-2);
}

/* --- Eyebrow / section heads --- */
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--border-accent);
}
.s-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--border-accent);
}
.s-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.s-p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
}

section {
  padding: 100px 32px;
}
.s-in {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* --- Hero --- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 64px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-in {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}
/* Tonal emphasis (weight + scale + value), not accent-colour emphasis: the
   lead-in sits lighter and smaller; the payoff line carries full weight. */
.hero h1 .h-lead {
  display: block;
  font-size: 0.6em;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.hero-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 470px;
  margin-bottom: 34px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.hero-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 420px;
}
.live-d {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* --- Terminal widget (DARK anchor) --- */
.terminal {
  background: var(--d-bg-2);
  border: 1px solid var(--d-border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(15, 118, 110, 0.14),
    0 24px 56px rgba(15, 23, 42, 0.2);
}
.t-bar {
  background: #0b0f1c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--d-border);
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-3);
  margin-left: 8px;
  letter-spacing: 0.04em;
}
.t-body {
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
}
.t-dim {
  color: var(--d-4);
}
.t-v {
  color: #5eead4;
}
.t-c {
  color: var(--cyan);
}
.t-g {
  color: #34d399;
}
.t-w {
  color: var(--d-text);
}
.sig {
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--d-surf);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}
.sig.hot {
  border-left-color: var(--red);
  background: rgba(239, 68, 68, 0.06);
}
.sig.med {
  border-left-color: var(--amber);
}
.sig.low {
  border-left-color: var(--d-4);
}
.ip {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
  display: inline-block;
}
.ip-h {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.ip-m {
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.ip-l {
  background: var(--d-surf-2);
  color: var(--d-3);
  border: 1px solid var(--d-border);
}
/* --- Ticker (light) --- */
.ticker {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.t-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #059669;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  padding-right: 14px;
}
.tick-pulse {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: tp 1.5s ease-in-out infinite;
}
@keyframes tp {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.tick-track {
  display: flex;
  animation: tick 34s linear infinite;
  white-space: nowrap;
  padding: 11px 0 11px 180px;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.t-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  border-right: 1px solid var(--border);
  color: var(--muted);
}

/* --- Sources strip (light) --- */
.sources {
  background: var(--panel);
  padding: 44px 32px;
  border-bottom: 1px solid var(--border);
}
.src-in {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.src-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
  flex-shrink: 0;
}
.src-list {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}
.src-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-display);
  transition: color 0.2s;
}
.src-chip:hover {
  color: var(--text-hi);
}
.src-ic {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: var(--panel-2);
  border: 1px solid var(--border);
}

/* --- Proof stats (light) --- */
.proof-grid {
  display: grid;
  /* auto-fit so the row stays full whether 3 or 4 proof cells are live
     (one is hidden until the active-team count is credible). */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proof-cell {
  background: var(--panel);
  padding: 36px 32px;
  text-align: center;
}
.proof-val {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text-hi);
}
.proof-lbl {
  font-size: 13px;
  color: var(--text);
}
.proof-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* --- How it works (light) --- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 60px;
}
.h-step {
  display: flex;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}
.h-step:first-child {
  border-top: 1px solid var(--border);
}
.h-step:hover {
  padding-left: 8px;
}
.h-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  width: 28px;
  flex-shrink: 0;
  padding-top: 2px;
}
.h-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 7px;
  letter-spacing: -0.02em;
}
.h-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Classification panel (DARK anchor) --- */
.panel {
  background: var(--d-bg-2);
  border: 1px solid var(--d-border-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(15, 118, 110, 0.1),
    0 12px 40px rgba(15, 23, 42, 0.18);
}
.p-head {
  background: #0b0f1c;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--d-border);
}
.p-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-muted);
  letter-spacing: 0.07em;
}
.p-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s-row {
  background: var(--d-surf);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--d-border);
  position: relative;
  overflow: hidden;
}
.s-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.s-row.shot::before {
  background: var(--red);
}
.s-row.smed::before {
  background: var(--amber);
}
.s-row.slow::before {
  background: var(--d-4);
}
.s-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s-src {
  font-size: 10px;
  color: var(--d-3);
  font-family: var(--font-mono);
}
.s-time {
  font-size: 10px;
  color: var(--d-4);
  margin-left: auto;
  font-family: var(--font-mono);
}
.s-snip {
  font-size: 12px;
  color: var(--d-muted);
  font-family: var(--font-mono);
  line-height: 1.5;
}
.s-score {
  font-size: 10px;
  font-family: var(--font-mono);
  margin-top: 3px;
}
.s-row .t-dim {
  color: var(--d-4);
}
.t-r {
  color: #f87171;
}
.t-a {
  color: var(--amber);
}
.p-foot {
  padding: 9px 12px;
  background: var(--d-surf-2);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--d-3);
}

/* --- Features (light) --- */
/* Features as a numbered editorial definition list — deliberately NOT the
   icon-card grid (the loudest layout tell). Term column = index + heading;
   value column = body + stat; hairline-separated rows. */
.feat-list {
  margin-top: 56px;
  border-top: 1px solid var(--border);
}
.feat-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}
.feat-k {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.feat-n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.feat-k h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-hi);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feat-v p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.f-stat {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}

/* --- Quote (light) --- */
.quote-section {
  background: var(--panel);
  padding: 88px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-in {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.q-mark {
  font-size: 72px;
  color: rgba(15, 118, 110, 0.16);
  line-height: 0.8;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.q-text {
  font-size: 19px;
  color: var(--text-hi);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 28px;
  font-weight: 300;
}
.q-text strong {
  font-weight: 600;
  color: var(--accent);
  font-style: normal;
}
.q-attr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.q-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  background: var(--accent);
  flex-shrink: 0;
}
.q-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  text-align: left;
}
.q-role {
  font-size: 12px;
  color: var(--muted);
  text-align: left;
}

/* --- Pricing (light) --- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.p-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
}
.p-card.fea {
  border-color: var(--border-accent);
  background: var(--panel);
  box-shadow: 0 10px 36px rgba(15, 118, 110, 0.08);
}
.fea-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.p-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.p-amt {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.p-amt sup {
  font-size: 20px;
  vertical-align: super;
  letter-spacing: 0;
}
.p-amt .per {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.p-per {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.p-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.p-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.p-feats li {
  font-size: 13px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ck {
  color: var(--accent);
  flex-shrink: 0;
}
.ck-d {
  color: var(--text-4);
  flex-shrink: 0;
}
.p-feats li.na {
  color: var(--text-3);
}

/* --- CTA (DARK anchor) --- */
.cta-sec {
  background: var(--d-bg);
  padding: 116px 32px;
  position: relative;
  overflow: hidden;
}
.cta-in {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-in .s-tag {
  color: #5eead4;
}
.cta-in h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  color: var(--d-text);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-in p {
  font-size: 17px;
  color: var(--d-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-sec .btn-text {
  color: #99f6e4;
}
.cta-sec .btn-text:hover {
  color: #fff;
}
.cta-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-4);
  letter-spacing: 0.04em;
}

/* --- Footer (DARK anchor) --- */
.footer {
  background: var(--d-bg);
  border-top: 1px solid var(--d-border);
  padding: 52px 32px 36px;
}
/* Footer signature broken off the 4-column median: wordmark embedded inline
   with a single horizontal link row, no stacked columns. */
.ft-top {
  max-width: var(--maxw);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.ft-wm {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--d-text);
  letter-spacing: -0.03em;
}
.ft-wm em {
  font-style: normal;
  color: #5eead4;
}
.ft-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.ft-nav a {
  font-size: 13px;
  color: var(--d-3);
  transition: color 0.14s;
}
.ft-nav a:hover {
  color: var(--d-text);
}
.ft-st {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #34d399;
  margin-top: 14px;
  letter-spacing: 0.05em;
}
.ft-bot {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--d-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ft-bot p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--d-4);
  letter-spacing: 0.04em;
}
.ft-bot a {
  color: var(--d-3);
}

/* --- Page header (pricing/contact sub-pages) --- */
.page-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px 20px;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
}

/* --- Comparison table (pricing) --- */
.cmp-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  overflow-x: auto;
}
.cmp {
  width: 100%;
  /* Keep columns readable on narrow screens — scroll (.cmp-wrap overflow-x)
     instead of squishing four columns into a phone width. */
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}
.cmp th,
.cmp td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cmp th {
  font-family: var(--font-display);
  color: var(--text-hi);
  font-size: 13px;
}
.cmp thead th {
  border-bottom: 1px solid var(--border-strong);
}
.cmp tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-body);
}
.cmp td {
  color: var(--muted);
}
.cmp .col-fea {
  background: rgba(15, 118, 110, 0.05);
  color: var(--text);
}
.cmp .yes {
  color: var(--accent);
  font-weight: 700;
}
.cmp .no {
  color: var(--text-4);
}
.cmp tbody tr:hover td,
.cmp tbody tr:hover th {
  background: rgba(15, 23, 42, 0.02);
}
.cmp tbody tr:hover .col-fea {
  background: rgba(15, 118, 110, 0.08);
}

/* --- FAQ --- */
.faq-grid {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-hi);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Contact --- */
.contact-grid {
  max-width: 960px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--panel-2);
  color: var(--text-hi);
  padding: 11px 13px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-ok {
  display: none;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #059669;
}
.form-err {
  display: none;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #dc2626;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-hi);
  margin-bottom: 14px;
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-row .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.info-row .v {
  font-size: 14px;
  color: var(--text-hi);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-in,
  .how-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feat-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .nav-links {
    display: none;
  }
  /* Focusable-but-invisible checkbox drives the dropdown; label is the button. */
  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    font-size: 22px;
    line-height: 1;
    color: var(--text-hi);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 2px solid var(--border-accent);
    outline-offset: 2px;
  }
  .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    padding: 8px 18px 14px;
    gap: 2px;
  }
  .nav-toggle:checked ~ .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
  }
  /* Tap targets — interactive elements ≥44px touch height on small screens. */
  .nav-right .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .ft-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Phone: compact the nav so the wordmark + CTAs fit one row, and stack the
   proof tiles (no orphaned cell from an odd count). */
@media (max-width: 600px) {
  .nav-in {
    padding: 0 18px;
    gap: 10px;
  }
  .status-badge {
    display: none;
  }
  .nav-right {
    gap: 8px;
  }
  .nav-right .btn {
    padding-left: 13px;
    padding-right: 13px;
    font-size: 12px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
}

/* Caption under the hero terminal — labels the demo as illustrative so the
   fictional product name can never read as real customer data. */
.t-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Plain source enumeration (distinct from .src-list, which lays out chips). */
.src-line {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.9;
}

/* Proof panel — the dark "live system" anchor reused to show one real
   classified lead. Same treatment as the hero terminal on purpose: dark means
   this is the product, not the pitch (design/leadsurface/DESIGN-PLAN.md). */
.proof-panel {
  max-width: 820px;
  margin: 32px auto 0;
}
.proof-panel .p-foot a {
  color: var(--cyan);
  text-decoration: none;
}
.proof-panel .p-foot a:hover {
  text-decoration: underline;
}
