/* Switchboard · marketing surface.
   ElevenLabs-register: one column, wide gutters, the product shown rather than
   illustrated, a single accent, no gradients. */

/* ── header ──────────────────────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: var(--s5); height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.brand-mark { width: 22px; height: 22px; flex: none; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: var(--s5); margin-left: var(--s4); }
.site-nav a { font-size: 14.5px; color: var(--ink-2); transition: color 160ms ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.head-right { display: flex; align-items: center; gap: var(--s3); margin-left: auto; }
@media (max-width: 860px) { .site-nav { display: none; } }
@media (max-width: 560px) {
  .site-head .wrap { padding-inline: var(--s4); gap: var(--s3); }
  .head-right { gap: var(--s2); }
  .brand-word { display: none; }
  .btn-sm { padding: 6px 11px; }
}

/* ── section rhythm ──────────────────────────────────────────────────────── */
.section { padding-block: var(--s9); }
.section-tight { padding-block: var(--s8); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: var(--s7); }
.section-head h2 { margin-top: var(--s3); }
.section-head p { margin-top: var(--s3); font-size: 17px; }
.center { text-align: center; margin-inline: auto; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding-block: var(--s9) var(--s8); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s8); align-items: center; }
.hero h1 { margin-top: var(--s4); }
.hero-sub { margin-top: var(--s5); font-size: 17.5px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-note { margin-top: var(--s4); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: var(--s2); }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s7); } }

/* ── the live-call panel: the hero's product shot, built from DOM ────────── */
.callcard {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: var(--ground); box-shadow: var(--shadow-pop); overflow: hidden;
}
.callcard-head {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); background: var(--surface);
}
.callcard-head .num { font-family: var(--mono); font-size: 13px; }
.callcard-head .dur { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.callcard-body { padding: var(--s4); display: grid; gap: var(--s3); max-height: 340px; overflow-y: auto; }
.turn { display: grid; gap: 4px; }
.turn .who { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.turn p { font-size: 14.5px; color: var(--ink); }
.turn-agent p {
  background: var(--accent-soft); color: var(--ink);
  padding: 9px 12px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.turn-caller p { background: var(--surface-2); padding: 9px 12px; border-radius: var(--radius); }
.turn-event {
  display: flex; align-items: center; gap: var(--s2);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  padding-block: 2px;
}
.turn-event::before, .turn-event::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.callcard-foot {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding: var(--s3) var(--s4); border-top: 1px solid var(--line); background: var(--surface);
  font-size: 12.5px; color: var(--muted);
}

/* ── trust strip ─────────────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--surface); padding-block: var(--s5); }
.strip-inner { display: flex; align-items: center; gap: var(--s6); flex-wrap: wrap; justify-content: space-between; }
.strip-item { display: flex; align-items: baseline; gap: var(--s2); font-size: 13.5px; color: var(--ink-2); }
.strip-item b { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 15px; }

/* ── logo row (placeholders — see docs/04) ───────────────────────────────── */
.logos { display: flex; align-items: center; justify-content: center; gap: var(--s7); flex-wrap: wrap; }
.logos span {
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  color: var(--muted); opacity: 0.75;
}

/* ── cards / grids ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  padding: var(--s5);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--ground);
  transition: border-color 200ms ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: var(--s2); }
.card p { font-size: 14.5px; }
.card-icon { width: 20px; height: 20px; color: var(--accent); stroke-width: 1.6; margin-bottom: var(--s4); }

.stat { display: grid; gap: 2px; }
.stat b { font-family: var(--mono); font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); counter-reset: step; }
.step { border-top: 2px solid var(--accent); padding-top: var(--s4); }
.step .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.step h3 { margin: var(--s2) 0 6px; }
.step p { font-size: 14.5px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: var(--s5); } }

/* ── sovereignty chain ───────────────────────────────────────────────────── */
.chain { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: stretch; }
.chain-node {
  flex: 1 1 150px; min-width: 0;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ground);
}
.chain-node .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chain-node .v { font-size: 14px; font-weight: 500; margin-top: 3px; }
.chain-node .l { font-family: var(--mono); font-size: 11.5px; color: var(--accent); margin-top: 2px; }

/* ── product shot ────────────────────────────────────────────────────────
   Two images rather than a <picture> media query: the manual theme pin has to
   swap it too, and prefers-color-scheme alone cannot see that pin. */
.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-pop); background: var(--surface); }
.shot img { width: 100%; height: auto; }
.shot .shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .shot-light { display: none; }
  :root:not([data-theme="light"]) .shot .shot-dark { display: block; }
}
:root[data-theme="dark"] .shot .shot-light { display: none; }
:root[data-theme="dark"] .shot .shot-dark { display: block; }
:root[data-theme="light"] .shot .shot-light { display: block; }
:root[data-theme="light"] .shot .shot-dark { display: none; }

/* ── pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); align-items: start; }
.plan { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ground); display: grid; gap: var(--s4); }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-name { display: flex; align-items: center; gap: var(--s2); font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--mono); font-size: 2.1rem; font-weight: 600; letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-size: 13.5px; }
.plan ul { list-style: none; padding: 0; display: grid; gap: var(--s2); font-size: 14px; color: var(--ink-2); }
.plan li { display: flex; gap: var(--s2); align-items: flex-start; }
.plan li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 3px; stroke-width: 2; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ── comparison table ────────────────────────────────────────────────────── */
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { text-align: left; padding: 11px var(--s3); border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cmp td.num, .cmp th.num { text-align: right; font-family: var(--mono); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s4) 0; font-weight: 500; font-size: 16px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px; flex: none;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform 200ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding-bottom: var(--s5); max-width: 62ch; font-size: 14.5px; }

/* ── final CTA ───────────────────────────────────────────────────────────── */
.cta-band { text-align: center; padding-block: var(--s9); border-top: 1px solid var(--line); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band p { margin: var(--s4) auto 0; max-width: 46ch; font-size: 16.5px; }
.cta-band .hero-cta { justify-content: center; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: var(--s7) var(--s6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s6); }
.foot-grid h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: var(--s3); }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center;
  margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.foot-bottom .spacer { margin-left: auto; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); } }

/* The prototype notice. Present on every marketing page on purpose: the logos,
   quotes and figures on these screens are placeholders, and a design mock that
   does not say so is a fabricated testimonial. docs/04 §5. */
.proto-note {
  display: flex; gap: var(--s2); align-items: flex-start;
  padding: var(--s3) var(--s4); margin-top: var(--s5);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  font-size: 12.5px; color: var(--muted); background: var(--surface);
}
.proto-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* ── auth pages ──────────────────────────────────────────────────────────── */
.auth { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-form-side { display: grid; place-items: center; padding: var(--s6); }
.auth-box { width: 100%; max-width: 380px; }
.auth-box h1 { font-size: 1.65rem; letter-spacing: -0.02em; }
.auth-box > p { margin-top: 8px; font-size: 14.5px; }
.auth-fields { display: grid; gap: var(--s4); margin-top: var(--s6); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.auth-alt { margin-top: var(--s5); font-size: 14px; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--accent); font-weight: 500; }
.auth-sep { display: flex; align-items: center; gap: var(--s3); margin-block: var(--s5); color: var(--muted); font-size: 12px; }
.auth-sep::before, .auth-sep::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-oauth { display: grid; gap: var(--s2); }
.auth-aside {
  background: var(--surface); border-left: 1px solid var(--line);
  padding: var(--s7); display: grid; align-content: center; gap: var(--s5);
}
.auth-aside blockquote { font-size: 19px; line-height: 1.5; letter-spacing: -0.012em; max-width: 22em; }
.auth-aside cite { display: block; margin-top: var(--s4); font-style: normal; font-size: 13.5px; color: var(--muted); }
.auth-head { position: absolute; top: var(--s5); left: var(--s6); display: flex; align-items: center; gap: var(--s4); }
.auth-toggle { position: absolute; top: var(--s5); right: var(--s6); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-aside { display: none; } }
