/* OutreachPilotPro public site. One design system for every logged-out page.
   Dark, product-led: tinted off-black, one violet accent, Geist + Geist Mono. */

:root {
  --bg: #0b0b0e;
  --bg-2: #0f0f13;
  --surface: #141418;
  --surface-2: #1a1a20;
  --surface-3: #212128;
  --line: #24242b;
  --line-2: #30303a;
  --text: #f1f0f4;
  --text-2: #a9a8b2;
  --text-3: #7a7984;
  --accent: #7a62f2;
  --accent-hi: #a594ff;
  --accent-soft: rgba(122, 98, 242, 0.14);
  --accent-line: rgba(165, 148, 255, 0.35);
  --ok: #5fd39a;
  --ok-soft: rgba(95, 211, 154, 0.12);
  --warn: #e7b654;
  --warn-soft: rgba(231, 182, 84, 0.12);
  --bad: #f07a7a;
  --bad-soft: rgba(240, 122, 122, 0.12);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 60px -24px rgba(5, 4, 20, 0.9);
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Fine grain so large dark areas don't read as flat vector fill. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: var(--z-skip);
  background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }
.display {
  font-size: clamp(2.5rem, 4.3vw, 3.95rem);
  line-height: 1.02; letter-spacing: -0.038em; font-weight: 650;
}
.display .ln { display: block; }
@media (min-width: 600px) { .display .ln { white-space: nowrap; } }
.display .accent { color: var(--accent-hi); }
.h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 620; }
.h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 56ch; text-wrap: pretty; }
.body-2 { color: var(--text-2); max-width: 62ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  background: var(--b); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease), color 0.2s var(--ease);
}
.btn:hover { --b: #8a74f6; }
.btn:active { transform: translateY(1px); }
.btn--quiet { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--quiet:hover { background: var(--surface-2); border-color: #3c3c47; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 550; color: var(--text);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(11, 11, 14, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; height: 66px; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; font-size: 16px; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  padding: 8px 12px; border-radius: 7px; font-size: 14.5px; color: var(--text-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-actions .signin { font-size: 14.5px; color: var(--text-2); padding: 8px 10px; }
.header-actions .signin:hover { color: var(--text); }
.menu-btn {
  display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text); transition: transform 0.25s var(--ease); }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: 66px 0 auto 0; z-index: var(--z-menu);
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    display: none; flex-direction: column; gap: 2px;
  }
  .menu-open .mobile-menu { display: flex; }
  .mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .mobile-menu .btn { margin-top: 16px; height: 48px; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 124px) 0 clamp(80px, 11vw, 136px); }
.section--raised { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .h2 + p { margin-top: 18px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero .lead { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); letter-spacing: 0.02em; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -6% -10% 10%; z-index: -1;
  background: radial-gradient(60% 55% at 55% 45%, rgba(122, 98, 242, 0.22), transparent 70%);
  filter: blur(10px);
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Product window ---------- */
.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #121216; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c34; display: block; }
.window-bar .title { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.window-body { padding: 18px; }
.tour-frame { width: 100%; height: 660px; border: 0; background: transparent; display: block; }
@media (max-width: 720px) { .tour-frame { height: 560px; } }
.window--frame { padding: 0; background: #0d0d14; }

.searchbar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 14px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); font-size: 14px; }
.searchbar .q { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar .go { height: 30px; padding: 0 12px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; }
.rows { margin-top: 14px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.row { display: grid; grid-template-columns: 1.1fr 1.3fr auto; gap: 12px; align-items: center; padding: 11px 14px; font-size: 13.5px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
@media (max-width: 520px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 3px; }
  .row .who { grid-column: 1; grid-row: 1; }
  .row .what { grid-column: 1; grid-row: 2; }
  .row > .pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .row--head > span:nth-child(2) { display: none; }
}
.row--head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-2); }
.row .who { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .what { color: var(--text-2); font-family: var(--mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 5px; font-size: 11.5px; font-weight: 550; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--ok); background: var(--ok-soft); }
.pill--warn { color: var(--warn); background: var(--warn-soft); }
.pill--bad { color: var(--bad); background: var(--bad-soft); }
.pill--accent { color: var(--accent-hi); background: var(--accent-soft); }
.pill--plain { color: var(--text-2); background: var(--surface-3); }
.pill--plain::before { display: none; }

.composer { display: grid; gap: 10px; font-size: 14px; }
.composer .line { display: flex; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.composer .line b { color: var(--text-3); font-weight: 500; font-family: var(--mono); font-size: 12px; min-width: 56px; padding-top: 2px; }
.composer .msg { color: var(--text); line-height: 1.65; }
.var { font-family: var(--mono); font-size: 12.5px; color: var(--accent-hi); background: var(--accent-soft); padding: 1px 6px; border-radius: 4px; }
.ai-line { display: block; margin: 8px 0; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--accent-soft); border-radius: 0 6px 6px 0; color: var(--text); }
.ai-line small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 4px; }
.stat-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; margin-top: 14px; }
.stat-mini div { background: var(--surface); padding: 12px 14px; }
.stat-mini b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-mini span { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps-grid .sticky { position: sticky; top: 110px; }
.steps { list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--accent-hi); padding-top: 4px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-2); max-width: 54ch; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 8px; border: 1px solid var(--accent-line); border-radius: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hi); vertical-align: 3px; }
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .sticky { position: static; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
}

/* ---------- Split feature blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(80px, 11vw, 140px); }
.split--flip .split-copy { order: 2; }
.split-copy .h2 { margin-bottom: 18px; }
.ticks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-2); }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 3px; border: 1px solid var(--accent-line); background: linear-gradient(var(--accent), var(--accent)) center / 6px 6px no-repeat; }
.ticks b { color: var(--text); font-weight: 550; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-copy { order: 0; }
}

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 30px 26px 32px 0; border-left: 1px solid var(--line); padding-left: 26px; }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.facts span { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { border-left: 0; padding-left: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.plan--pick { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(122, 98, 242, 0.09), rgba(122, 98, 242, 0) 42%), var(--surface); }
.plan-flag { position: absolute; top: -11px; left: 22px; height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 5px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; min-height: 52px; }
.plan-price b { font-size: 44px; font-weight: 620; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--text-3); font-size: 14px; }
.plan-desc { color: var(--text-2); font-size: 14.5px; min-height: 46px; margin: 0 0 18px; }
.plan ul { list-style: none; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; color: var(--text-2); }
.plan li::before { content: ""; width: 9px; height: 5px; margin-top: 7px; border-left: 1.5px solid var(--accent-hi); border-bottom: 1.5px solid var(--accent-hi); transform: rotate(-45deg); }
.plan li.plus { color: var(--text); }
.plan .btn { margin-top: auto; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.compare td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.compare td:first-child { color: var(--text); }
.compare .yes { color: var(--accent-hi); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.compare-wrap .compare { min-width: 680px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.packs > div { background: var(--surface); padding: 22px; }
.packs b { font-size: 26px; font-weight: 620; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.packs span { display: block; color: var(--text-2); font-size: 14px; margin-top: 4px; }
@media (max-width: 640px) { .packs { grid-template-columns: 1fr; } }

/* ---------- Q&A (side by side, no accordion) ---------- */
.qa { display: grid; border-top: 1px solid var(--line); }
.qa > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 1.02rem; font-weight: 600; }
.qa p { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .qa > div { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.tile .h3 { margin: 14px 0 8px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.tile .ico { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; color: var(--accent-hi); }
.tile .ico svg { width: 18px; height: 18px; }
.tile-link { display: block; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.tile-link:hover { border-color: var(--line-2); background: var(--surface-2); }

.plain-list { list-style: none; display: grid; }
.plain-list li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.plain-list li b { color: var(--text); font-weight: 550; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta-band .h2 { max-width: 18ch; }
.cta-band p { color: var(--text-2); margin: 16px 0 0; max-width: 52ch; }
.cta-band .actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero .meta { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }

/* ---------- Anchor nav (product page) ---------- */
.anchor-nav { position: sticky; top: 66px; z-index: 5; background: rgba(11, 11, 14, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.anchor-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav .wrap::-webkit-scrollbar { display: none; }
.anchor-nav a { flex: none; padding: 14px 12px; font-size: 14px; color: var(--text-2); border-bottom: 1.5px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.anchor-nav a:hover, .anchor-nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.module { scroll-margin-top: 130px; }
.section.module { padding: clamp(56px, 7.5vw, 92px) 0 clamp(60px, 8vw, 100px); }

/* ---------- Tabs (tour) ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { height: 36px; padding: 0 14px; border-radius: 7px; border: 0; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 550; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tour-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.tour-side .body-2 { margin: 0; }
@media (max-width: 760px) { .tour-side { grid-template-columns: 1fr; } }
.tour-side h2 { margin-bottom: 12px; }
.tour-side ol { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.tour-side ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--text-2); font-size: 15px; }
.tour-side ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent-hi); padding-top: 3px; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 550; color: var(--text); }
.field .hint { font-size: 12.5px; color: var(--text-3); }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color .2s var(--ease);
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23a9a8b2' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input::placeholder, .field textarea::placeholder { color: #5b5a64; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3c3c47; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .err { font-size: 12.5px; color: var(--bad); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 9px; font-size: 14.5px; border: 1px solid; }
.notice--ok { color: var(--ok); background: var(--ok-soft); border-color: rgba(95, 211, 154, 0.3); }
.notice--bad, .notice--error, .notice--danger { color: var(--bad); background: var(--bad-soft); border-color: rgba(240, 122, 122, 0.3); }
.notice--info, .notice--message { color: var(--accent-hi); background: var(--accent-soft); border-color: var(--accent-line); }
.notice--warning { color: var(--warn); background: var(--warn-soft); border-color: rgba(231, 182, 84, 0.3); }

/* ---------- Auth pages ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(24px, 6vw, 72px) 32px; }
.auth-main .brand { align-self: flex-start; }
.auth-form { width: 100%; max-width: 400px; margin: auto 0; padding: 48px 0; }
.auth-form h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.08; font-weight: 620; }
.auth-form .sub { color: var(--text-2); margin: 10px 0 28px; }
.oauth { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 550; font-size: 15px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.oauth:hover { background: var(--surface-2); border-color: #3c3c47; }
.oauth + .oauth { margin-top: 10px; }
.or { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--text-3); font-size: 12.5px; font-family: var(--mono); letter-spacing: .04em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-alt { margin-top: 22px; font-size: 14.5px; color: var(--text-2); }
.auth-alt a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.auth-alt a:hover { border-color: var(--accent-hi); }
.auth-fine { font-size: 12.5px; color: var(--text-3); margin-top: 16px; }
.auth-fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-foot { font-size: 12.5px; color: var(--text-3); display: flex; gap: 16px; flex-wrap: wrap; }
.auth-foot a:hover { color: var(--text-2); }
.auth-side { position: relative; background: var(--bg-2); border-left: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 48px clamp(24px, 5vw, 64px); overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -80px; background: radial-gradient(closest-side, rgba(122, 98, 242, 0.2), transparent); pointer-events: none; }
.auth-side .inner { position: relative; width: 100%; max-width: 480px; }
.auth-side .facts-mini { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.auth-side .facts-mini li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-2); font-size: 14.5px; }
.auth-side .facts-mini li::before { content: ""; width: 9px; height: 5px; margin-top: 8px; border-left: 1.5px solid var(--accent-hi); border-bottom: 1.5px solid var(--accent-hi); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

/* ---------- Legal / prose ---------- */
.prose-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose-side { position: sticky; top: 100px; font-size: 14px; }
.prose-side p { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.prose-side a { display: block; padding: 6px 0; color: var(--text-2); }
.prose-side a:hover, .prose-side a[aria-current="page"] { color: var(--text); }
.prose-side a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--accent); padding-left: 10px; }
@media (max-width: 860px) { .prose-layout { grid-template-columns: minmax(0, 1fr); } .prose-side { position: static; display: none; } }
.prose { max-width: 72ch; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin: 2.4em 0 0.7em; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.8em 0 0.5em; color: var(--text); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--text-3); }
.prose a { color: var(--accent-hi); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent-hi); }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .highlight-box, .prose .warning-box, .prose .compliance-box, .prose .contact-box, .prose .contact-cta, .prose .callout {
  margin: 1.6em 0; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface);
}
.prose .warning-box { border-color: rgba(231, 182, 84, 0.35); background: var(--warn-soft); }
.prose .highlight-box, .prose .compliance-box { border-color: var(--accent-line); background: var(--accent-soft); }
.prose .highlight-box > :last-child, .prose .warning-box > :last-child, .prose .compliance-box > :last-child, .prose .contact-box > :last-child, .prose .contact-cta > :last-child { margin-bottom: 0; }

/* ---------- API docs ---------- */
.endpoint { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 0 0 14px; overflow: hidden; }
.endpoint header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.endpoint .verb { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; }
.verb--get { color: var(--ok); background: var(--ok-soft); }
.verb--post { color: var(--accent-hi); background: var(--accent-soft); }
.endpoint .path { font-family: var(--mono); font-size: 14px; color: var(--text); }
.endpoint .body { padding: 14px 16px; color: var(--text-2); font-size: 15px; }
.endpoint .body p:last-child { margin-bottom: 0; }
pre.code { margin: 1em 0 1.4em; padding: 16px 18px; background: #0a0a0d; border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #d9d8e0; }
pre.code .c { color: var(--text-3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr)); gap: 32px; }
.footer-grid p { color: var(--text-2); font-size: 14.5px; max-width: 34ch; margin-top: 14px; }
.footer-grid h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { font-size: 14.5px; color: var(--text-2); transition: color .2s var(--ease); }
.footer-grid a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.footer-base a:hover { color: var(--text-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Error pages ---------- */
.error-page { min-height: calc(100dvh - 66px - 160px); display: flex; align-items: center; padding: 80px 0; }
.error-code { font-family: var(--mono); font-size: 13px; color: var(--accent-hi); letter-spacing: .08em; margin-bottom: 18px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .footer-note { font-size: 14px; color: var(--text-3); }
.notice--success { color: var(--ok); background: var(--ok-soft); border-color: rgba(95, 211, 154, 0.3); }
