/* Geist, self-hosted (variable font: one file covers every weight) */
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --mist: #f5f6f8;
  --line: #e6e8ec;
  --line-strong: #d5d8de;
  --ink: #1d1f24;
  --ink-2: #3a3e46;
  --slate: #6b707a;

  --basil: #2a7254;   --basil-bg: #e7f3ed;
  --sky: #3466d6;     --sky-bg: #e9effc;
  --plum: #7a55b3;    --plum-bg: #f1ebfa;
  --saffron: #94640a; --saffron-bg: #fcf2dc;
  --tomato: #b53d33;  --tomato-bg: #fbe9e7;

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(29, 31, 36, .05), 0 8px 24px -12px rgba(29, 31, 36, .12);

  --on-ink: #ffffff;          /* text on ink-coloured buttons and pills */
  --ink-hover: #33363d;
  --surface-alt: #fafbfc;     /* mock table headers */
  --placeholder: #a3a8b0;
  --line-hover: #c2c6cd;
  --glass: rgba(255, 255, 255, .82);   /* sticky nav, cookie banner */
  --feature: #1d1f24;         /* dark cards in both themes: featured plan, bottom CTA */
  --accent-text: var(--ink);  /* coloured words in headlines (green on Sales Intelligence) */

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  color-scheme: light;
}

/* Dark theme: the app's palette. Written twice: once for "follow the device", once for the toggle's choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #111214; --mist: #1a1c1f; --surface-alt: #15171a;
    --line: #2a2d32; --line-strong: #383c42; --line-hover: #4a4f56;
    --ink: #eceef1; --ink-2: #c4c8ce; --slate: #8f959e; --placeholder: #646a73;
    --on-ink: #111214; --ink-hover: #d5d8de;
    --basil: #4cb788;   --basil-bg: #15291f;
    --sky: #6f9bf2;     --sky-bg: #16213a;
    --plum: #a98cd8;    --plum-bg: #231b33;
    --saffron: #e1a93d; --saffron-bg: #2c2311;
    --tomato: #e8695e;  --tomato-bg: #331a17;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    --glass: rgba(17, 18, 20, .82);
    --feature: #1d2024;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111214; --mist: #1a1c1f; --surface-alt: #15171a;
  --line: #2a2d32; --line-strong: #383c42; --line-hover: #4a4f56;
  --ink: #eceef1; --ink-2: #c4c8ce; --slate: #8f959e; --placeholder: #646a73;
  --on-ink: #111214; --ink-hover: #d5d8de;
  --basil: #4cb788;   --basil-bg: #15291f;
  --sky: #6f9bf2;     --sky-bg: #16213a;
  --plum: #a98cd8;    --plum-bg: #231b33;
  --saffron: #e1a93d; --saffron-bg: #2c2311;
  --tomato: #e8695e;  --tomato-bg: #331a17;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --glass: rgba(17, 18, 20, .82);
  --feature: #1d2024;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.2); }
.btn--ink:hover { background: var(--ink-hover); }
.btn--line { background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink); }
.btn--line:hover { background: var(--mist); }
.btn--light { background: #fff; color: #1d1f24; }
.btn--light:hover { background: #eceef1; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name small { margin-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--slate); }

/* product links (Hub | Sales Intelligence) at the start of the main nav */
.nav__product { position: relative; white-space: nowrap; margin: 0 -10px; padding: 6px 10px; border-radius: 999px; transition: background-color .15s, color .15s; }
.nav__product:hover { background: var(--mist); }
/* the product you're on: dark pill, like the hero switch */
.nav__product[aria-current="page"] { background: var(--ink); color: var(--on-ink); font-weight: 500; }
.nav__sep { width: 1px; height: 16px; background: var(--line-strong); align-self: center; }
/* "New" chip on the Sales Intelligence link, always shown */
.nav__new {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; vertical-align: 2px;
  background: var(--basil); color: var(--on-ink); font-size: 9px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
  animation: new-pulse 2s ease-out infinite;
}
@keyframes new-pulse { 0% { box-shadow: 0 0 0 0 rgba(46,125,91,.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(46,125,91,0); } }
/* hero version of the product switch */
.hero-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(29,31,36,.05); font-size: 14px; font-weight: 500;
  margin-bottom: 28px; max-width: 100%;
}
.hero-switch__on { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--on-ink); }
.hero-switch a { padding: 6px 14px; border-radius: 999px; color: var(--ink-2); transition: background-color .15s, color .15s; white-space: nowrap; }
.hero-switch a:hover { background: var(--mist); color: var(--ink); }
.nav__start { display: flex; align-items: center; gap: 20px; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: var(--ink); }
.brand__mark rect, .node__mark rect { fill: var(--ink); }
.brand__core { fill: var(--on-ink); }
.brand__ring { fill: none; stroke: var(--on-ink); stroke-width: 1.6; stroke-dasharray: 3 3.1; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.nav__links { margin-left: auto; } /* links, theme toggle and button sit together on the right */
.nav__inner > .theme-toggle { margin-right: -12px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__menu-cta, .nav__toggle { display: none; }
.nav__toggle { width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); }
.nav__toggle span { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* ---------- Dots & tags ---------- */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--basil { background: var(--basil); }
.dot--live { box-shadow: 0 0 0 3px var(--basil-bg); }

.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 500;
}
.tag--basil { background: var(--basil-bg); color: var(--basil); }
.tag--saffron { background: var(--saffron-bg); color: var(--saffron); }
.tag--sky { background: var(--sky-bg); color: var(--sky); }
.tag--tomato { background: var(--tomato-bg); color: var(--tomato); }
.tag--plum { background: var(--plum-bg); color: var(--plum); }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  /* faint grid, fading out */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
  opacity: .7;
}
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 19ch;
  text-wrap: balance;
}
.lede {
  margin-top: 22px; max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--slate);
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* ---------- Network diagram ---------- */
.network {
  margin: 64px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.network__bar {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--slate);
}
.network__dots { display: flex; gap: 6px; }
.network__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.network__title { color: var(--ink); font-weight: 500; }
.network__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }

.network__stage {
  position: relative;
  aspect-ratio: 1000 / 500;
  background:
    radial-gradient(circle at 50% 50%, rgba(46,125,91,.05), transparent 55%),
    radial-gradient(circle, var(--line) 1px, transparent 1.2px) 0 0 / 22px 22px;
}
.network__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network__lines .spoke { stroke: var(--line-strong); stroke-width: 1.25; fill: none; }
.network__lines .ring { stroke: var(--line); stroke-width: 1; fill: none; stroke-dasharray: 3 5; }
.network__lines .pulse { r: 3; }

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px 8px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(29,31,36,.05), 0 4px 12px -6px rgba(29,31,36,.12);
  white-space: nowrap;
  font-size: 13px; line-height: 1.25;
}
.node strong { display: block; font-weight: 500; color: var(--ink); }
.node span.node__sub { display: block; color: var(--slate); font-size: 12px; }
.node__icon {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none;
}
.node__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.node__icon--initials { font-size: 11px; font-weight: 600; letter-spacing: 0; }

.node--core {
  left: 50%; top: 50%;
  padding: 12px 18px 12px 12px; border-radius: 14px; gap: 12px;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 12px 32px -12px rgba(29,31,36,.25);
  z-index: 2;
}
.node--core strong { font-size: 15px; font-weight: 600; }
.node--core span { display: block; color: var(--slate); font-size: 12px; }
.node__mark { width: 36px; height: 36px; flex: none; }

/* signal map: a brand fires, its spoke lights up, the core registers the hit */
.network__lines .spoke { transition: stroke .3s, stroke-width .3s; }
.network__lines .spoke.is-hot { stroke: var(--ink-2); stroke-width: 1.6; }
.node.is-firing { border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(29,31,36,.06), 0 6px 18px -8px rgba(29,31,36,.25); z-index: 1; }
.node { transition: border-color .3s, box-shadow .3s; }
.node--core.is-hit { animation: core-hit .6s ease-out; }
@keyframes core-hit {
  0% { box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 0 0 7px rgba(46,125,91,.35), 0 12px 32px -12px rgba(29,31,36,.25); }
  100% { box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line), 0 0 0 22px rgba(46,125,91,0), 0 12px 32px -12px rgba(29,31,36,.25); }
}

/* one orchestrated load moment */
.network.is-ready .node:not(.node--core) { animation: node-in .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 250ms); }
.network.is-ready .spoke { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .7s ease-out forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes node-in { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Who we serve ---------- */
.serve { padding: 40px 0 24px; }
.serve__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.serve p { font-size: 14px; color: var(--slate); }
.serve ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.serve li {
  font-size: 14px; color: var(--ink-2);
  padding: 6px 12px; border-radius: 999px; background: var(--mist);
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 96px 0; }
.section--mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head h2, .faq h2 {
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance;
}
.section__cta { margin-top: 24px; }
.section__head p { margin-top: 16px; font-size: 18px; color: var(--slate); max-width: 54ch; text-wrap: pretty; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.services__tabs { display: flex; flex-direction: column; gap: 4px; }
.tab {
  display: flex; gap: 14px; align-items: flex-start; text-align: left;
  width: 100%; padding: 16px; border: 1px solid transparent; border-radius: 12px;
  background: transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.tab:hover { background: var(--mist); }
.tab[aria-selected="true"] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.tab__icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.tab__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab__icon--basil { background: var(--basil-bg); color: var(--basil); }
.tab__icon--sky { background: var(--sky-bg); color: var(--sky); }
.tab__icon--plum { background: var(--plum-bg); color: var(--plum); }
.tab__icon--saffron { background: var(--saffron-bg); color: var(--saffron); }
.tab__icon--ink { background: var(--ink); color: var(--on-ink); }
.tab__icon--tomato { background: var(--tomato-bg); color: var(--tomato); }
.tab__text strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.tab__text span { display: block; margin-top: 4px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.tab:not([aria-selected="true"]) .tab__text span { color: var(--slate); }

.services__panels {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--mist);
  padding: 28px;
  min-height: 100%;
}
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: panel-in .3s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding: 0 4px; }
.panel__points li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.panel__points li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232a7254' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}

/* mock window */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mock__head strong { font-weight: 600; }
.mock__meta { color: var(--slate); font-size: 13px; }

.mock__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mock__table th {
  text-align: left; font-weight: 500; font-size: 12px; color: var(--slate);
  padding: 10px 18px; background: var(--surface-alt); border-bottom: 1px solid var(--line);
}
.mock__table td { padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mock__table tr:last-child td { border-bottom: 0; }
.mock__table td:first-child { color: var(--ink); font-weight: 500; }

.prep { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.prep__stat { padding: 16px 18px; }
.prep__stat + .prep__stat { border-left: 1px solid var(--line); }
.prep__stat span { display: block; font-size: 12px; color: var(--slate); }
.prep__stat strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.cell-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--slate); }

.intel li { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.intel li:last-child { border-bottom: 0; }
.intel__top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--slate); }
.intel strong { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.intel p { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.intel__meta { display: block; margin-top: 6px; font-size: 12px; color: var(--slate); }

/* ---------- Data sources ---------- */
.sources { border-top: 1px solid var(--line-strong); }
.sources__row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.sources__row strong { font-weight: 600; }
.sources__row span { color: var(--ink-2); }
.sources__row span:last-child { color: var(--slate); }
.sources__row--head { padding: 12px 0; font-size: 13px; }
.sources__row--head span, .sources__row--head span:last-child { color: var(--slate); }

/* ---------- Points & stats ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.points--four { grid-template-columns: repeat(4, 1fr); }
.points li { padding: 24px 24px 0 0; }
.points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.points h3 { font-size: 17px; letter-spacing: -0.02em; }
.points p { margin-top: 8px; font-size: 15px; color: var(--slate); text-wrap: pretty; }

.stats {
  margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden;
}
.stats div { padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 14px; color: var(--slate); }
.stats dd { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.plans--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan {
  display: flex; flex-direction: column;
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow);
}
.plan__name { font-size: 20px; letter-spacing: -0.02em; }
.plan__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } /* name + optional chip */
.plan__for { margin-top: 4px; font-size: 15px; color: var(--slate); }
.plan__price { margin-top: 28px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__price strong { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 15px; color: var(--slate); }
.plan__desc { margin-top: 16px; font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.plan__cta { margin-top: 24px; width: 100%; }
.plan__list { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan__list li::before {
  content: ""; width: 16px; height: 16px; flex: none; margin-top: 3px;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232a7254' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}

.plan--featured { background: var(--feature); border-color: var(--feature); color: #fff; box-shadow: 0 20px 48px -24px rgba(29,31,36,.55); }
.plan--featured .plan__for, .plan--featured .plan__price span { color: #a9aeb7; }
.plan--featured .plan__price strong { font-size: 40px; }
.plan--featured .plan__list { border-top-color: rgba(255,255,255,.12); }
.plan--featured .plan__list li { color: #d6d9de; }
.plan--featured .plan__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%237fd1a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}
.plan--featured :focus-visible { outline-color: #fff; }
.plan--featured .plan__desc { color: #c9cdd4; }
.examples { margin-top: 32px; display: flex; gap: 16px 20px; align-items: baseline; flex-wrap: wrap; }
.examples p { font-size: 14px; color: var(--slate); }
.examples ul { display: flex; flex-wrap: wrap; gap: 8px; }
.examples li { font-size: 14px; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.modal__fine { font-size: 13px; color: var(--slate); }

/* ---------- Pipeline animation ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pipeline { margin-bottom: 72px; }
.seg {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--paper);
  margin-bottom: 16px; max-width: 100%;
}
.seg__btn {
  border: 0; background: transparent; cursor: pointer;
  height: 36px; padding: 0 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--slate);
  transition: background-color .15s, color .15s;
}
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

.pipeline .pipeline__window { margin: 0; }
.pipeline__stage {
  position: relative;
  aspect-ratio: 1000 / 430;
  background: radial-gradient(circle, var(--line) 1px, transparent 1.2px) 0 0 / 22px 22px;
}
.pipeline__stage .edge { fill: none; stroke: var(--line-strong); stroke-width: 1.25; transition: opacity .3s; }
.pipeline__stage .edge--hot { stroke: var(--ink-2); stroke-width: 1.6; }
.pipeline__stage .edge--you { stroke: var(--sky); stroke-width: 1.8; }

.pipeline__stage .node--lead:not(.is-active) [data-tag] { display: none; }
.pipeline__stage .node--signal { z-index: 2; border-color: var(--ink-2); transition: opacity .4s, transform .4s; }
.pipeline__stage .node--signal.is-hidden { opacity: 0; transform: translate(-50%, -40%); }
.pipeline__stage .node { transition: opacity .3s, box-shadow .3s, border-color .3s; }
.pipeline__stage .node--hub { padding: 10px 16px 10px 10px; border-radius: 14px; border-color: var(--line-strong); z-index: 2; }
.pipeline__stage .node--hub strong { font-weight: 600; font-size: 14px; }
.pipeline__stage .node--lead.is-active { border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(29,31,36,.06), 0 6px 18px -8px rgba(29,31,36,.25); z-index: 1; }
.pipeline__stage .node--you.is-on { border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-bg), 0 6px 18px -8px rgba(52,102,214,.35); }
.pipeline__stage .node .tag { height: 20px; font-size: 11px; margin-left: 4px; }
.node__icon--ink { background: var(--ink); color: var(--on-ink); }

.timeline {
  --lab: 132px;
  --pad-x: 20px;
  position: relative;
  display: grid; grid-template-columns: var(--lab) 1fr; row-gap: 8px;
  padding: 16px var(--pad-x) 18px; border-top: 1px solid var(--line);
  font-size: 12px;
}
.timeline__lab { color: var(--slate); align-self: center; }
.timeline__steps { display: grid; grid-template-columns: repeat(6, 1fr); }
.timeline__steps span {
  position: relative; padding: 0 0 4px 12px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .2s;
}
.timeline__steps span::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-strong); transition: background-color .2s;
}
.timeline__steps span.is-done { color: var(--ink-2); }
.timeline__steps span.is-done::before { background: var(--ink); }
.timeline__steps span.is-current { color: var(--ink); font-weight: 500; }
.timeline__track { position: relative; height: 28px; border-radius: 7px; background: var(--mist); }
.tbar {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  display: flex; align-items: center; padding: 0 10px;
  border-radius: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-weight: 500;
  transition: left .5s cubic-bezier(.3,.7,.2,1), width .5s cubic-bezier(.3,.7,.2,1), opacity .3s;
}
.tbar--us { background: var(--ink); color: var(--on-ink); }
.tbar--you { background: var(--sky-bg); color: var(--sky); box-shadow: inset 3px 0 0 var(--sky); }
.timeline__play {
  position: absolute; top: 16px; bottom: 18px;
  left: calc(var(--pad-x) + var(--lab)); right: var(--pad-x);
  pointer-events: none;
}
.timeline__head {
  position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; margin-left: -1px;
  background: var(--basil); border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(46,125,91,.15);
}

/* ---------- Quote ---------- */
.quote { max-width: 880px; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 500;
  text-wrap: pretty;
}
.quote__by { margin-top: 24px; color: var(--slate); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.quote__by::before { content: ""; width: 24px; height: 1px; background: var(--line-strong); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 20px; height: 20px; flex: none;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b707a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--slate); max-width: 62ch; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 96px; }
.cta__inner {
  position: relative; overflow: hidden;
  background: var(--feature); color: #fff;
  border-radius: 20px;
  padding: 88px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  max-width: calc(var(--wrap) - 48px);
}
.cta__inner::before {
  /* radial rings echoing the mark */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 120%, transparent 0 46px, rgba(255,255,255,.07) 46px 47px);
}
.cta h2 { position: relative; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance; }
.cta p { position: relative; margin-top: 16px; color: #b6bac2; font-size: 18px; max-width: 46ch; }
.cta .hero__actions { position: relative; }

.btn--ghost { color: #d6d9de; border: 1px solid rgba(255,255,255,.18); }
.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Partner modal ---------- */
.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 64px -16px rgba(29,31,36,.35);
}
.modal::backdrop { background: rgba(29,31,36,.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s cubic-bezier(.2,.7,.2,1); }
.modal[open]::backdrop { animation: fade-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body:has(.modal[open]) { overflow: hidden; }

.modal__head { display: flex; justify-content: space-between; gap: 16px; padding: 24px 24px 4px; }
.modal__head h2 { font-size: 22px; letter-spacing: -0.025em; }
.modal__head p { margin-top: 4px; color: var(--slate); font-size: 15px; }
.modal__close {
  flex: none; width: 32px; height: 32px; margin: -4px -6px 0 0;
  display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--slate);
}
.modal__close:hover { background: var(--mist); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal__body { padding: 20px 24px 4px; display: grid; gap: 14px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px 24px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field input {
  height: 42px; padding: 0 12px; width: 100%;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: var(--placeholder); }
.field input:hover { border-color: var(--line-hover); }
.field input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-bg); }
.field input[aria-invalid="true"] { border-color: var(--tomato); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--tomato-bg); }
/* Module-of-interest dropdown: same look as the text inputs, custom chevron */
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  height: 42px; padding: 0 40px 0 12px; width: 100%;
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 9px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.select::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg); pointer-events: none;
}
.select select:hover { border-color: var(--line-hover); }
.select select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-bg); }
.select select[aria-invalid="true"] { border-color: var(--tomato); }
.field__error { font-size: 13px; color: var(--tomato); min-height: 0; }
.field__error:empty { display: none; }
.form__status { font-size: 14px; color: var(--tomato); }
.form__status:empty { display: none; }
.modal__form button[type="submit"][disabled] { opacity: .6; cursor: progress; }

.modal__done { padding: 40px 28px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.modal__done[hidden] { display: none; }
.modal__check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--basil-bg); color: var(--basil); }
.modal__check svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal__done h2 { margin-top: 16px; font-size: 22px; letter-spacing: -0.025em; }
.modal__done p { margin: 8px 0 24px; color: var(--slate); max-width: 40ch; }

@media (max-width: 520px) {
  .nav .btn--sm { display: none; }
  .modal__head, .modal__body, .modal__foot { padding-left: 18px; padding-right: 18px; }
  .modal__foot .btn { flex: 1; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--slate); }
.footer__links a:hover { color: var(--ink); }
.footer__copy { margin-left: auto; font-size: 14px; color: var(--slate); }

/* ---------- Responsive ---------- */
/* Nav: section links fold into the menu button below 1100px (they wrap and push the button off-screen otherwise) */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner > .theme-toggle { margin-left: auto; margin-right: 0; } /* toggle, button and menu sit together on the right */
  .nav__inner { gap: 12px; }
  .nav.is-open { background: var(--paper); border-bottom-color: var(--line); }
  .nav.is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 64px); overflow-y: auto; padding: 8px max(16px, calc((100% - 1120px) / 2)) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(29,31,36,.08); font-size: 16px; }
  .nav.is-open .nav__links > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__sep { display: none; }
  .nav.is-open .nav__links > a.nav__product { margin: 0; border-radius: 0; }
  .nav.is-open .nav__links > a.nav__product[aria-current="page"] { margin: 6px 0; padding: 12px 14px; border-radius: 10px; border-bottom: 0; }
  .nav.is-open .nav__menu-cta { display: inline-flex; justify-content: center; margin-top: 16px; }
}

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; gap: 24px; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .points--four { grid-template-columns: repeat(2, 1fr); }
  .points--four li:nth-child(3) { padding-left: 0; border-left: 0; }
  .points--four li:nth-child(n+3) { margin-top: 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 16px; } /* minmax: let cards shrink below their content width on small phones */
}

@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav__inner { gap: 12px; }
  .hero { padding: 56px 0 24px; }
  .network { margin-top: 44px; }
  .network__stage { aspect-ratio: 1 / 1.15; }
  .network__title { display: none; }
  .node { padding: 6px 10px 6px 6px; gap: 8px; font-size: 12px; border-radius: 10px; }
  .node .node__sub { display: none !important; }
  .node__icon { width: 24px; height: 24px; border-radius: 7px; }
  .node__icon svg { width: 14px; height: 14px; }
  .node--core { padding: 10px 14px 10px 10px; }
  .node__mark { width: 30px; height: 30px; }
  .section { padding: 80px 0; }
  .section--tight { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .services__panels { padding: 14px; }
  .hide-sm { display: none; }
  .prep__stat { padding: 12px; }
  .prep__stat strong { font-size: 18px; }
  .points, .points--four { grid-template-columns: 1fr; border-top: 0; }
  .points li, .points li + li, .points--four li:nth-child(n) { padding: 20px 0; margin: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .sources__row { grid-template-columns: 1fr; gap: 4px; }
  .sources__row--head { display: none; }
  .stats dd { font-size: 24px; }
  .stats div { padding: 18px; }
  .pipeline { margin-bottom: 48px; }
  .seg { display: flex; flex-direction: column; }
  .pipeline .network__dots { display: none; }
  .pipeline .network__status { margin-left: 0; }
  .pipeline__stage { aspect-ratio: 1 / 1.3; }
  .pipeline__stage .node--lead:not(.is-active) .tag,
  .pipeline__stage .node--lead:not(.is-active) strong { display: none; }
  .pipeline__stage .node--lead:not(.is-active) { padding: 5px; gap: 0; }
  .timeline { --lab: 0px; --pad-x: 12px; grid-template-columns: 1fr; padding: 14px var(--pad-x) 16px; font-size: 11px; }
  .timeline__play { top: 14px; bottom: 16px; }
  .timeline__lab { display: none; }
  .timeline__steps span { padding-left: 9px; }
  .timeline__steps span::before { width: 5px; height: 5px; }
  .tbar { padding: 0 8px; }
  .plan { padding: 24px 20px; }
  .plan__price strong { font-size: 38px; }
  .plan--featured .plan__price strong { font-size: 34px; }
  .cta { padding-bottom: 64px; }
  .cta__inner { padding: 64px 20px; border-radius: 16px; max-width: calc(100% - 32px); }
  .footer__copy { margin-left: 0; width: 100%; }
}

/* ---------- Hub Pro (Hub upgrade) ----------
   Pricing card + a "Post a listing" window. script.js types into .gl__input,
   toggles .is-focus / .is-pressed, and prepends rows to .gl__rows. */
.gl { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 24px; align-items: stretch; }
.gl .network { margin: 0; display: flex; flex-direction: column; }
.gl__stage {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; min-height: 380px;
  background:
    radial-gradient(circle at 50% 50%, rgba(46,125,91,.05), transparent 60%),
    radial-gradient(circle, var(--line) 1px, transparent 1.2px) 0 0 / 22px 22px;
}
.gl__form, .gl__feed { display: grid; gap: 12px; align-content: start; align-self: start; }
.gl__form {
  padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(29,31,36,.05), 0 4px 12px -6px rgba(29,31,36,.12);
}
.gl__types { display: flex; gap: 6px; }
/* unselected look; :where() keeps it weaker than the .tag--color added for the selected type */
:where(.gl__type) { background: var(--mist); color: var(--slate); transition: background-color .2s, color .2s; }
.gl__field { display: grid; gap: 5px; }
.gl__label { font-size: 12px; color: var(--slate); }
.gl__input {
  display: flex; align-items: center; height: 34px; padding: 0 10px; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper);
  font-size: 13px; color: var(--ink); white-space: nowrap;
  transition: border-color .15s, box-shadow .15s;
}
.gl__text { overflow: hidden; text-overflow: ellipsis; }
.gl__caret { display: none; width: 1px; height: 15px; margin-left: 1px; background: var(--ink); flex: none; animation: gl-blink 1s steps(1) infinite; }
.gl__input.is-focus { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-bg); }
.gl__input.is-focus .gl__caret { display: inline-block; }
@keyframes gl-blink { 50% { opacity: 0; } }
.gl__submit {
  display: grid; place-items: center; height: 34px; margin-top: 4px; border-radius: 8px;
  background: var(--ink); color: var(--on-ink); font-size: 13px; font-weight: 500;
  transition: transform .12s, background-color .12s;
}
.gl__submit.is-pressed { transform: scale(.97); background: var(--ink-hover); }
.gl__rows { display: grid; gap: 8px; }
.gl__row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(29,31,36,.05), 0 4px 12px -6px rgba(29,31,36,.12);
  font-size: 13px; line-height: 1.25; transition: border-color .6s, box-shadow .6s;
}
.gl__row > span:nth-child(2) { min-width: 0; flex: 1; }
.gl__row strong { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl__row .node__sub { display: block; color: var(--slate); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl__row .tag { flex: none; }
.gl__row.is-new { border-color: var(--basil); box-shadow: 0 0 0 4px var(--basil-bg), 0 6px 18px -8px rgba(29,31,36,.25); animation: gl-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes gl-in { from { opacity: 0; transform: translateY(-8px); } }
.tag--slate { background: var(--mist); color: var(--slate); }
@media (max-width: 900px) { .gl { grid-template-columns: 1fr; } }
.gl--wide { grid-template-columns: 1fr; } /* demo window only; the Hub Pro card lives with the other plans */
@media (max-width: 560px) { .gl__stage { grid-template-columns: 1fr; padding: 14px; min-height: 0; } }

/* ---------- Sales Intelligence theme: green accents (body.theme-sales on /sales/) ---------- */
.theme-sales {
  --accent: #23704f;        /* buttons, highlights */
  --accent-hover: #1b5c40;
  --accent-deep: #133d2b;   /* featured plan, bottom CTA */
  --accent-soft: #7fd1a8;   /* on dark green */
  --accent-text: var(--accent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sales { --accent-text: #7fd1a8; --accent-deep: #163a2a; }
}
:root[data-theme="dark"] .theme-sales { --accent-text: #7fd1a8; --accent-deep: #163a2a; }
.theme-sales .brand__mark rect { fill: var(--accent); }
.theme-sales .btn--ink { background: var(--accent); }
.theme-sales .btn--ink, .theme-sales .nav__product[aria-current="page"], .theme-sales .hero-switch__on { color: #fff; } /* deep green in both themes */
.theme-sales .btn--ink:hover { background: var(--accent-hover); }
.theme-sales .nav__product[aria-current="page"],
.theme-sales .hero-switch__on { background: var(--accent); }
.theme-sales .hero-switch__on .dot { background: var(--accent-soft); }
.theme-sales .nav__product[aria-current="page"] .nav__new { background: var(--paper); color: var(--accent); }
.theme-sales .hero::before {
  background-image:
    linear-gradient(to right, rgba(46,125,91,.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46,125,91,.16) 1px, transparent 1px);
}
.theme-sales .hero h1 .accent { color: var(--accent-text); }
.theme-sales .section__head::before {
  content: ""; display: block; width: 32px; height: 3px; margin-bottom: 18px;
  border-radius: 2px; background: var(--accent);
}
.theme-sales .text-link { text-decoration-color: var(--accent-soft); }
.theme-sales .text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.theme-sales .plan--featured { background: var(--accent-deep); border-color: var(--accent-deep); box-shadow: 0 20px 48px -24px rgba(19,61,43,.6); }
.theme-sales .plan--featured .plan__for, .theme-sales .plan--featured .plan__price span { color: #a8cbb9; }
.theme-sales .plan--featured .plan__desc, .theme-sales .plan--featured .plan__list li { color: #d3e6dc; }
.theme-sales .cta__inner { background: var(--accent-deep); }
.theme-sales .cta p { color: #b9d6c7; }
.theme-sales .quote__by::before { background: var(--accent); }
.theme-sales .faq details[open] summary { color: var(--accent); }

/* ---------- Light / dark toggle (same as the app's top bar) ---------- */
.theme-toggle {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 0; border-radius: 8px; background: none; color: var(--slate); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.theme-toggle:hover { background: var(--mist); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Cookie consent (consent.js) ---------- */
.consent {
  position: fixed; z-index: 60; left: 50%; bottom: 20px;
  width: min(880px, calc(100% - 32px));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 2px rgba(29,31,36,.06), 0 24px 60px -20px rgba(29,31,36,.35);
  transform: translate(-50%, calc(100% + 32px)); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.consent.is-in { transform: translate(-50%, 0); opacity: 1; }
.consent[hidden] { display: none; }
.consent__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--basil-bg); color: var(--basil);
}
.consent__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.consent__icon circle { fill: currentColor; stroke: none; }
.consent__text strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.consent__text p { margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.consent__actions { display: flex; gap: 8px; }
.consent__actions .btn { min-width: 96px; justify-content: center; }
.footer__btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer__btn:hover { color: var(--ink); }
@media (max-width: 680px) {
  .consent { grid-template-columns: auto 1fr; bottom: 12px; padding: 16px; gap: 12px 14px; border-radius: 16px; }
  .consent__icon { width: 36px; height: 36px; border-radius: 10px; align-self: start; }
  .consent__actions { grid-column: 1 / -1; }
  .consent__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .network.is-ready .spoke { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ---------- Spam trap (visually hidden; people never fill it) ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal__inner { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.04em; }
.legal__meta { margin-top: 10px; color: var(--slate); font-size: 15px; }
.legal__promise { margin-top: 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--mist); }
.legal__promise strong { display: block; font-size: 16px; }
.legal__promise p { margin-top: 6px; color: var(--ink-2); }
.legal h2 { margin-top: 40px; font-size: 20px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Smallest phones (after the 680px block so it wins): tighten the bar so brand and menu fit in 320px */
@media (max-width: 380px) {
  .nav__inner { gap: 6px; padding: 0 12px; }
  .hero-switch { font-size: 13px; }
  .hero-switch__on, .hero-switch a { padding: 6px 10px; }
  .nav__start { gap: 8px; }
  .brand { gap: 8px; font-size: 15px; }
  .nav__toggle { flex: none; margin-right: -10px; }
}
