/* ============================================================
   Magixis — Design System
   Monochrome, warm paper-and-ink. v1.
   ============================================================ */

/* --- Bricolage Grotesque + IBM Plex Mono are loaded via <link> in each page's <head>
   (preconnect + stylesheet). No CSS @import here — keeps the font
   fetch off the critical-CSS path and avoids a render-blocking import. --- */

:root {
  /* Color — Neutrals (warm paper, deep ink) */
  --ink-900: #14130F;            /* primary text — slightly warm near-black */
  --ink-700: #2B2A26;            /* strong UI surfaces */
  --ink-500: #56544D;            /* body text */
  --ink-400: #76746C;            /* tertiary text */
  --ink-300: #A8A69C;            /* placeholder / disabled text */

  --paper-000: #FFFFFF;
  --paper-050: #FBFAF6;          /* off-white app bg */
  --paper-100: #F4F2EB;          /* surface alt */
  --paper-200: #ECE9DF;          /* hover surface */
  --paper-300: #DEDBCF;          /* divider strong */
  --paper-400: #C8C4B5;          /* border emphasized */

  --line-soft: #EAE7DC;          /* default borders */
  --line: #DEDBCF;               /* card outlines */

  /* Semantic — quiet, harmonized with the warm palette */
  --success-50:  #E9F2EB;
  --success-500: #2F6B47;
  --success-700: #214D33;
  --warning-50:  #F6EDD8;
  --warning-500: #8A6516;
  --warning-700: #5F4509;
  --error-50:    #F4E1DE;
  --error-500:   #94342B;
  --error-700:   #6C231C;
  --info-50:     #E4E8F0;
  --info-500:    #36476C;
  --info-700:    #25334F;

  /* Typography */
  --font-sans: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;      /* was referenced by components but never defined — added in site audit */
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-44: 2.75rem;
  --fs-60: 3.75rem;
  --fs-80: 5rem;

  --lh-tight: 1.05;
  --lh-snug: 1.18;
  --lh-normal: 1.4;
  --lh-relaxed: 1.55;

  /* Spacing (4pt-rooted; 8pt system) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-30: 120px;
  --s-40: 160px;

  /* Radius */
  --r-2: 4px;
  --r-3: 6px;
  --r-4: 8px;
  --r-5: 10px;
  --r-6: 12px;
  --r-8: 16px;
  --r-full: 999px;

  /* Shadows — layered, low-saturation */
  --sh-1: 0 1px 0 rgba(20,19,15,0.04), 0 1px 2px rgba(20,19,15,0.05);
  --sh-2: 0 1px 0 rgba(20,19,15,0.04), 0 6px 16px -6px rgba(20,19,15,0.10);
  --sh-3: 0 1px 0 rgba(20,19,15,0.04), 0 16px 40px -12px rgba(20,19,15,0.14);
  --sh-4: 0 2px 0 rgba(20,19,15,0.04), 0 28px 64px -16px rgba(20,19,15,0.22);

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 500ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Focus */
  --focus: 0 0 0 2px var(--paper-050), 0 0 0 4px var(--ink-900);
}

/* ============================================================ Reset / Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-relaxed);
  color: var(--ink-900);
  background: var(--paper-050);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }
::selection { background: var(--ink-900); color: var(--paper-050); }

/* ============================================================ Type */
.h-display { font-size: clamp(2.5rem, 5.5vw, var(--fs-80)); line-height: var(--lh-tight); letter-spacing: -0.035em; font-weight: 500; }
.h1 { font-size: clamp(2rem, 4.4vw, var(--fs-60)); line-height: var(--lh-tight); letter-spacing: -0.03em; font-weight: 500; margin: 0; }
.h2 { font-size: clamp(1.625rem, 3.2vw, var(--fs-44)); line-height: var(--lh-snug); letter-spacing: -0.025em; font-weight: 500; margin: 0; }
.h3 { font-size: clamp(1.25rem, 2.2vw, var(--fs-32)); line-height: var(--lh-snug); letter-spacing: -0.02em; font-weight: 500; margin: 0; }
.h4 { font-size: var(--fs-24); line-height: var(--lh-snug); letter-spacing: -0.015em; font-weight: 500; margin: 0; }
.h5 { font-size: var(--fs-20); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; margin: 0; }
.h6 { font-size: var(--fs-18); line-height: 1.3; letter-spacing: -0.005em; font-weight: 500; margin: 0; }

.lede { font-size: var(--fs-20); line-height: 1.5; color: var(--ink-500); font-weight: 400; max-width: 60ch; }
.body-lg { font-size: var(--fs-18); line-height: 1.55; }
.body { font-size: var(--fs-16); line-height: 1.55; color: var(--ink-700); }
.body-sm { font-size: var(--fs-14); line-height: 1.5; color: var(--ink-500); }
.caption { font-size: var(--fs-13); line-height: 1.4; color: var(--ink-400); }
.tiny { font-size: var(--fs-12); line-height: 1.4; color: var(--ink-400); }

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.mono-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 400;
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.text-pretty { text-wrap: pretty; }
.text-balance { text-wrap: balance; }
.muted { color: var(--ink-500); }
.faint { color: var(--ink-400); }

/* ============================================================ Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: var(--container-wide); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.divide-top { border-top: 1px solid var(--line-soft); }
.divide-bot { border-bottom: 1px solid var(--line-soft); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: row; }
.row-wrap { display: flex; flex-direction: row; flex-wrap: wrap; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; }
.gap-6 { gap: 24px; } .gap-8 { gap: 32px; } .gap-10 { gap: 40px; } .gap-12 { gap: 48px; } .gap-16 { gap: 64px; } .gap-20 { gap: 80px; }
.mt-1 {margin-top:4px;} .mt-2{margin-top:8px;} .mt-3{margin-top:12px;} .mt-4{margin-top:16px;} .mt-6{margin-top:24px;}
.mt-8{margin-top:32px;} .mt-10{margin-top:40px;} .mt-12{margin-top:48px;} .mt-16{margin-top:64px;} .mt-20{margin-top:80px;}
.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================ Site chrome */
/* Wrapper must not confine the sticky nav to its own (nav-height) box. */
[data-mount="nav"], [data-chrome="nav"] { display: contents; }
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper-050) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-nav.is-scrolled { border-bottom-color: var(--line-soft); }
.site-nav__inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: var(--s-8);
}
.brand { display: inline-flex; align-items: center; }
.brand .mark, .brand .dot, .wordmark { font-family: 'cc-ultimatum-force-variable', var(--font-sans); font-variation-settings: 'wght' 900, 'ital' 0; font-weight: 900; letter-spacing: -0.01em; }
.brand-img { display: block; height: 40px; width: auto; }
.mobile-drawer__head .brand-img { height: 26px; }
.site-footer__brand .brand-lockup { display: block; height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--s-1); margin-left: var(--s-6); }
.nav-link {
  padding: 8px var(--nav-link-px, 12px);
  white-space: nowrap;
  border-radius: var(--r-3);
  font-size: var(--fs-14);
  color: var(--ink-700);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  position: relative;
}
.nav-link:hover { background: var(--paper-100); color: var(--ink-900); }
.nav-link[aria-current="page"] { color: var(--ink-900); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--nav-link-px, 12px); right: var(--nav-link-px, 12px); bottom: 4px;
  height: 1px; background: var(--ink-900);
}
.nav-link--live { display: inline-flex; align-items: center; gap: 8px; }
/* Hand-drawn wavy underline marks the live link out from the rest of the nav
   (and replaces the straight current-page line when dashboard is the active page). */
.nav-links .nav-link--live::after {
  content: ""; position: absolute; left: var(--nav-link-px, 12px); right: var(--nav-link-px, 12px); bottom: 2px;
  height: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5'%3E%3Cpath d='M0 3.5 Q3 .8 6 3.5 T12 3.5' fill='none' stroke='%23DCAB5C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 12px 5px;
}
.nav-secondary { display: flex; align-items: center; gap: var(--s-1); margin-left: auto; flex: none; }
.nav-cta { padding: 8px 14px; flex: none; }
.nav-menu-btn { display: none; padding: 8px; border-radius: var(--r-3); flex: none; }
.nav-menu-btn:hover { background: var(--paper-100); }
.nav-menu-btn svg { width: 20px; height: 20px; flex: none; }

/* The nav holds seven sections plus Contact and the CTA. Rather than dropping the whole
   set into a burger the moment the window is under a large desktop, tighten it in two
   steps and only collapse once it genuinely cannot fit. */
@media (max-width: 1180px) {
  .site-nav { --nav-link-px: 9px; }
  .site-nav__inner { gap: var(--s-5); }
  .nav-links { margin-left: var(--s-3); }
}
@media (max-width: 1040px) {
  /* Contact drops out of the bar here, so the drawer — the only other route to it —
     has to appear at the same width, not at the collapse breakpoint. */
  .nav-secondary .nav-link:not(.nav-cta):not(.brand) { display: none; }
  .nav-menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-secondary { gap: var(--s-2); }
}

.mobile-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper-050);
  display: none; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.mobile-drawer.is-open { display: flex; opacity: 1; pointer-events: auto; }
.mobile-drawer__head { display: flex; align-items: center; padding: 14px var(--gutter); border-bottom: 1px solid var(--line-soft); }
.mobile-drawer__close { margin-left: auto; padding: 8px; border-radius: var(--r-3); }
.mobile-drawer__nav { padding: var(--s-6) var(--gutter); display: flex; flex-direction: column; gap: 0; overflow: auto; }
.mobile-drawer__nav a { padding: 14px 4px; font-size: var(--fs-20); border-bottom: 1px solid var(--line-soft); color: var(--ink-900); }
.mobile-drawer__nav a:last-child { border-bottom: 0; }
.mobile-drawer__foot { margin-top: auto; padding: var(--s-6) var(--gutter) var(--s-10); display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-soft); }

/* ---- Founding-offer bar (under nav, scrolls away): inset pill on a quiet band ---- */
/* The bar carries the background of the page it sits on, not the nav's — pages whose
   first section is not the body colour set --offer-bar-bg to that section's tone
   (index.html does, for its --paper-100 hero). Band and pill share the value so the
   whole banner reads as one surface. */
.offer-bar { background: var(--offer-bar-bg, var(--paper-050)); overflow: hidden; transition: opacity var(--t-base) var(--ease); }
.offer-bar.is-gone { opacity: 0; }
.offer-bar__inner { max-width: var(--container-wide); margin-inline: auto; padding: 7px var(--gutter); }
.offer-bar__pill { display: flex; align-items: center; gap: var(--s-4); background: var(--offer-bar-bg, var(--paper-050)); border: 1px solid var(--line); border-radius: var(--r-5); box-shadow: var(--sh-1); padding: 7px var(--s-4); }
.offer-bar__tag { flex: none; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--success-700); padding: 0; border-radius: var(--r-2); }
.offer-bar__copy { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--fs-13); color: var(--ink-500); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-bar__meter { flex: none; width: 64px; height: 4px; border-radius: var(--r-full); background: var(--paper-200); overflow: hidden; }
.offer-bar__meter-fill { display: block; height: 100%; border-radius: var(--r-full); background: var(--success-500); }
.offer-bar__copy strong { font-weight: 500; color: var(--ink-900); }
.offer-bar__clock { flex: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }
.offer-bar__left { color: var(--ink-900); }
.offer-bar__clock time { border-left: 1px solid var(--paper-400); padding-left: 8px; }
.offer-bar__link { flex: none; font-size: var(--fs-13); color: var(--ink-900); border-bottom: 1px solid var(--paper-400); padding-bottom: 1px; }
.offer-bar__link:hover { border-bottom-color: var(--ink-900); }
.offer-bar__close { flex: none; padding: 5px; margin-right: -5px; border-radius: var(--r-2); color: var(--ink-400); }
.offer-bar__close:hover { background: var(--paper-200); color: var(--ink-900); }
.offer-bar__close svg { width: 14px; height: 14px; display: block; }
@media (max-width: 1100px) { .offer-bar__meter { display: none; } }
@media (max-width: 860px) { .offer-bar__detail { display: none; } .offer-bar__link { display: none; } }
@media (max-width: 560px) { .offer-bar__pill { gap: var(--s-2); padding: 7px var(--s-3); } .offer-bar__tag { display: none; } .offer-bar__clock time { display: none; border-left: 0; padding-left: 0; } }

/* ============================================================ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-4);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
  cursor: pointer;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-sm { padding: 7px 12px; font-size: var(--fs-13); border-radius: var(--r-3); }
.btn-lg { padding: 14px 22px; font-size: var(--fs-16); border-radius: var(--r-4); }

.btn-primary { background: var(--ink-900); color: var(--paper-050); }
.btn-primary:hover { background: var(--ink-700); }
.btn-primary:active { background: var(--ink-900); }

.btn-secondary { background: var(--paper-000); color: var(--ink-900); border-color: var(--paper-300); box-shadow: var(--sh-1); }
.btn-secondary:hover { background: var(--paper-050); border-color: var(--paper-400); }

.btn-ghost { background: transparent; color: var(--ink-900); }
.btn-ghost:hover { background: var(--paper-100); }

.btn-destructive { background: var(--error-500); color: #fff; }
.btn-destructive:hover { background: var(--error-700); }

.btn-icon { padding: 8px; min-width: 36px; }
.btn-icon svg { width: 16px; height: 16px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Loading spinner */
.btn.is-loading { color: transparent !important; position: relative; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 1.5px solid currentColor; border-top-color: transparent;
  border-radius: 50%;
  color: var(--paper-050);
  animation: spin 700ms linear infinite;
}
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { color: var(--ink-900); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ Inputs */
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: var(--fs-13); font-weight: 500; color: var(--ink-900); }
.help { font-size: var(--fs-12); color: var(--ink-400); }
.help-err { font-size: var(--fs-12); color: var(--error-500); }

.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  font-size: var(--fs-14);
  background: var(--paper-000);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  color: var(--ink-900);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--paper-400); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  outline: none;
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px rgba(20,19,15,0.07);
}
.input.has-error, .textarea.has-error { border-color: var(--error-500); }
.input.has-error:focus-visible, .textarea.has-error:focus-visible { box-shadow: 0 0 0 3px rgba(148,52,43,0.12); }
.input[disabled], .textarea[disabled], .select[disabled] { background: var(--paper-100); color: var(--ink-400); cursor: not-allowed; }
.textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23565448' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* Checkbox / radio */
.check, .radio {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--paper-400);
  background: var(--paper-000);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  cursor: pointer; flex: none;
}
.check { border-radius: 4px; }
.radio { border-radius: 50%; }
.check:hover, .radio:hover { border-color: var(--ink-500); }
.check:checked, .radio:checked { background: var(--ink-900); border-color: var(--ink-900); }
.check:checked::after {
  content: ""; width: 9px; height: 9px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'><path d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.radio:checked::after { content: ""; width: 6px; height: 6px; background: var(--paper-050); border-radius: 50%; }
.check:focus-visible, .radio:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(20,19,15,0.1); }

/* Switch */
.switch { position: relative; display: inline-block; width: 36px; height: 20px; }
.switch input { position: absolute; opacity: 0; }
.switch__track { position: absolute; inset: 0; background: var(--paper-300); border-radius: var(--r-full); transition: background var(--t-fast) var(--ease); }
.switch__knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: white; border-radius: 50%; transition: transform var(--t-fast) var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.switch input:checked + .switch__track { background: var(--ink-900); }
.switch input:checked + .switch__track .switch__knob { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { box-shadow: 0 0 0 3px rgba(20,19,15,0.1); }

/* ============================================================ Cards */
.card {
  background: var(--paper-000);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  padding: var(--s-6);
}
.card-elevated {
  background: var(--paper-000);
  border-radius: var(--r-6);
  padding: var(--s-6);
  box-shadow: var(--sh-2);
}
.card-interactive {
  background: var(--paper-000);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  padding: var(--s-6);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  cursor: pointer;
}
.card-interactive:hover { transform: translateY(-2px); box-shadow: var(--sh-3); border-color: var(--paper-300); }
.card-flat { background: var(--paper-100); border-radius: var(--r-6); padding: var(--s-6); }

/* ============================================================ Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  font-size: var(--fs-12);
  font-weight: 500;
  border-radius: var(--r-full);
  background: var(--paper-100);
  color: var(--ink-700);
  border: 1px solid var(--line-soft);
  white-space: nowrap;
  line-height: 1.4;
}
.badge-lg { padding: 5px 11px; font-size: var(--fs-13); }
.badge-success { background: var(--success-50); color: var(--success-700); border-color: color-mix(in srgb, var(--success-500) 20%, transparent); }
.badge-warning { background: var(--warning-50); color: var(--warning-700); border-color: color-mix(in srgb, var(--warning-500) 20%, transparent); }
.badge-error { background: var(--error-50); color: var(--error-700); border-color: color-mix(in srgb, var(--error-500) 25%, transparent); }
.badge-info { background: var(--info-50); color: var(--info-700); border-color: color-mix(in srgb, var(--info-500) 25%, transparent); }
.badge-ink { background: var(--ink-900); color: var(--paper-050); border-color: var(--ink-900); }
.badge-outline { background: transparent; border-color: var(--paper-400); color: var(--ink-700); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live .dot { background: var(--success-500); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================ Avatar */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-200); color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  border-radius: var(--r-full);
  width: 32px; height: 32px;
  overflow: hidden;
  flex: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 24px; height: 24px; font-size: 10px; }
.avatar-lg { width: 48px; height: 48px; font-size: var(--fs-14); }
.avatar-xl { width: 72px; height: 72px; font-size: var(--fs-18); }

/* ============================================================ Link */
.link {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--paper-300);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.link:hover { text-decoration-color: var(--ink-900); }
.link-standalone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
  font-size: var(--fs-14);
  color: var(--ink-900);
}
.link-standalone svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.link-standalone:hover svg { transform: translateX(3px); }
.link-quiet { color: var(--ink-500); transition: color var(--t-fast) var(--ease); }
.link-quiet:hover { color: var(--ink-900); }

/* ============================================================ Skeletons */
.sk {
  background: linear-gradient(90deg, var(--paper-100) 0%, var(--paper-200) 50%, var(--paper-100) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s var(--ease) infinite;
  border-radius: var(--r-3);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.sk-line { height: 12px; border-radius: 999px; }
.sk-line.w-half { width: 50%; }
.sk-line.w-3q { width: 75%; }
.sk-circle { width: 40px; height: 40px; border-radius: 50%; }
.sk-image { width: 100%; aspect-ratio: 16/10; border-radius: var(--r-4); }

/* ============================================================ FAQ accordion */
.faq { border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__btn {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-6);
  padding: 24px 4px;
  text-align: left;
  font-size: var(--fs-18);
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  transition: color var(--t-fast) var(--ease);
}
.faq__btn:hover { color: var(--ink-700); }
.faq__icon { flex: none; width: 20px; height: 20px; margin-top: 4px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink-700); transition: transform var(--t-base) var(--ease); }
.faq__icon::before { left: 4px; right: 4px; top: 9px; height: 2px; }
.faq__icon::after { top: 4px; bottom: 4px; left: 9px; width: 2px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; }
.faq__body p { margin: 0 0 24px; color: var(--ink-500); font-size: var(--fs-16); line-height: 1.6; max-width: 70ch; }
.faq__body p:first-child { padding-top: 4px; }

/* ============================================================ Logo strip (placeholders) */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-6);
  overflow: hidden;
}
.logo-cell {
  background: var(--paper-000);
  padding: 28px 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-500);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: -0.01em;
}
.logo-cell .lc-mark { font-weight: 500; color: var(--ink-700); }
.logo-cell .lc-sub { color: var(--ink-400); margin-left: 4px; font-size: var(--fs-12); }

/* ============================================================ Image placeholders (striped) */
.img-slot {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(20,19,15,0.04) 11px 12px),
    var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-400);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.02em;
  text-align: center;
  overflow: hidden;
  min-height: 200px;
  padding: 16px;
}
.img-slot small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); display: block; margin-top: 4px; }
.img-slot.is-dark { background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(251,250,246,0.06) 11px 12px),
    var(--ink-900);
  color: var(--paper-300);
  border-color: transparent;
}

/* ============================================================ Footer */
/* Same treatment as the final-CTA band that sits directly above it on the
   landing page: the deeper #0E0D0A ground plus the identical radial veil,
   so the two dark blocks read as one continuous close rather than two
   near-black surfaces of slightly different value. */
.site-footer {
  background:
    radial-gradient(700px 360px at 70% 30%, rgba(251,250,246,0.05), transparent 70%),
    #0E0D0A;
  color: var(--paper-200);
  border-top: 1px solid var(--ink-700);
}
.site-footer__cta {
  padding: clamp(64px, 8vw, 96px) var(--gutter);
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  border-bottom: 1px solid var(--ink-700);
  flex-wrap: wrap;
}
.site-footer__cta h2 { color: var(--paper-050); max-width: 22ch; }
.site-footer__cta .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.site-footer__cta .btn-primary { background: var(--paper-050); color: var(--ink-900); }
.site-footer__cta .btn-primary:hover { background: var(--paper-200); }
.site-footer__cta .btn-secondary { background: transparent; color: var(--paper-050); border-color: var(--ink-700); box-shadow: none; }
.site-footer__cta .btn-secondary:hover { background: var(--ink-700); border-color: var(--ink-500); }

.site-footer__cols {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--s-10);
}
@media (max-width: 980px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__brand .brand { color: var(--paper-050); font-size: var(--fs-24); }
.site-footer__brand p { color: var(--paper-300); font-size: var(--fs-14); max-width: 28ch; line-height: 1.55; margin-top: 12px; }
.fcol h6, .fcol h3 { color: var(--paper-050); font-size: var(--fs-13); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); font-weight: 400; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fcol a { color: var(--paper-300); font-size: var(--fs-14); transition: color var(--t-fast) var(--ease); }
.fcol a:hover { color: var(--paper-050); }

.site-footer__trust {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--ink-700);
  display: flex; flex-wrap: wrap; gap: var(--s-6); align-items: center; justify-content: space-between;
}
.site-footer__trust .marks { display: flex; flex-wrap: wrap; gap: var(--s-6); font-family: var(--font-mono); font-size: var(--fs-12); color: var(--paper-300); }
.site-footer__trust .marks span { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__trust .marks .k { color: var(--ink-300); }
.site-footer__bottom {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 16px var(--gutter) 24px;
  border-top: 1px solid var(--ink-700);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: var(--fs-12); color: var(--ink-300);
  font-family: var(--font-mono);
}

/* ============================================================ Misc utility components */

/* Eyebrow with horizontal rule */
.eyebrow-rule { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-rule::before { content: ""; width: 24px; height: 1px; background: var(--ink-400); }

/* Pill nav */
.pill-nav { display: inline-flex; padding: 4px; background: var(--paper-100); border: 1px solid var(--line-soft); border-radius: var(--r-full); gap: 4px; }
.pill-nav button {
  padding: 7px 14px; font-size: var(--fs-13); border-radius: var(--r-full);
  color: var(--ink-500); transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.pill-nav button:hover { color: var(--ink-900); }
.pill-nav button.is-active { background: var(--paper-000); color: var(--ink-900); box-shadow: var(--sh-1); }

/* Section header */
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; margin-bottom: var(--s-12); }
.sec-head .h2 { letter-spacing: -0.025em; }

/* Stat block */
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-family: var(--font-mono); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink-900); font-weight: 400; }
.stat__num sup { font-size: 0.5em; vertical-align: top; padding-top: 0.45em; display: inline-block; margin-left: 2px; font-weight: 400; color: var(--ink-400); }
.stat__label { font-size: var(--fs-14); color: var(--ink-500); max-width: 28ch; line-height: 1.45; }

/* Define a quiet bordered list */
.bordered-list { border-top: 1px solid var(--line-soft); }
.bordered-list > li { list-style: none; padding: 18px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: var(--s-6); align-items: flex-start; }
.bordered-list > li > .num { width: 32px; flex: none; color: var(--ink-400); padding-top: 1px; font-size: var(--fs-13); }

/* Quiet code chip */
.kbd, .chip-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  padding: 2px 6px;
  background: var(--paper-100);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: var(--ink-700);
}

/* Section reveal */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Wave / canvas styles */
.canvas-wrap { position: relative; border-radius: var(--r-8); overflow: hidden; background: var(--ink-900); aspect-ratio: 16/10; }
.canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.canvas-overlay { position: absolute; inset: 0; pointer-events: none; }

/* Transcript widget */
.transcript {
  background: var(--paper-000);
  border: 1px solid var(--line);
  border-radius: var(--r-6);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  font-size: var(--fs-14);
  line-height: 1.55;
}
.transcript .turn { display: flex; gap: 10px; }
.transcript .turn .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
  padding-top: 2px;
  flex: none;
  width: 60px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.transcript .turn .msg { color: var(--ink-900); }
.transcript .turn.is-agent .msg { color: var(--ink-700); }
.transcript .caret { display: inline-block; width: 7px; height: 16px; vertical-align: -3px; background: var(--ink-900); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Marquee row of logos (no animation by default — pure grid) */
.marquee { overflow: hidden; }
.marquee__track { display: flex; gap: 48px; align-items: center; animation: marquee 50s linear infinite; }
.marquee__track > * { flex: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Number callout */
.callout {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--paper-000);
  box-shadow: var(--sh-1);
}
.callout .num { font-size: var(--fs-16); }
.callout .label { font-size: var(--fs-13); color: var(--ink-500); }

/* Anchor link mark */
.anchor-mark { color: var(--ink-400); font-family: var(--font-mono); font-size: var(--fs-12); }

/* For form rows */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* Page hero base */
.page-hero {
  padding: clamp(72px, 11vw, 140px) 0 clamp(64px, 8vw, 96px);
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { margin-bottom: 24px; max-width: 18ch; }
.page-hero .lede { max-width: 56ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }

/* Two-col section */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Sticky in-page table of contents */
.toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line-soft); }
.toc a { font-size: var(--fs-13); color: var(--ink-500); padding: 4px 0; transition: color var(--t-fast) var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--ink-900); }

/* MD body for blog + trust */
.prose { max-width: 70ch; }
.prose p { font-size: var(--fs-18); line-height: 1.7; color: var(--ink-700); margin: 0 0 24px; }
.prose h2 { font-size: var(--fs-32); letter-spacing: -0.025em; margin: 56px 0 16px; font-weight: 500; color: var(--ink-900); }
.prose h3 { font-size: var(--fs-24); letter-spacing: -0.015em; margin: 40px 0 12px; font-weight: 500; color: var(--ink-900); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 24px; color: var(--ink-700); font-size: var(--fs-18); line-height: 1.7; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 2px solid var(--ink-900); margin: 32px 0; padding: 8px 0 8px 24px; font-size: var(--fs-20); line-height: 1.6; color: var(--ink-900); letter-spacing: -0.01em; }
.prose code { font-family: var(--font-mono); font-size: 0.92em; padding: 2px 6px; background: var(--paper-100); border-radius: 4px; }
.prose hr { margin: 48px 0; }
.prose a { text-decoration: underline; text-decoration-color: var(--paper-300); text-underline-offset: 3px; transition: text-decoration-color var(--t-fast) var(--ease); }
.prose a:hover { text-decoration-color: var(--ink-900); }

/* Tooltip dot for footnote */
.fn { font-family: var(--font-mono); font-size: 11px; vertical-align: super; color: var(--ink-400); padding: 0 2px; }

/* ============================================================ Vertical landing pages */
.vert-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.vert-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 980px) { .vert-hero__grid { grid-template-columns: 1fr; } }
.vert-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; max-width: 18ch; }
.vert-hero h1 em { font-style: normal; color: var(--ink-400); }
.vert-hero .lede { margin-top: 20px; max-width: 50ch; font-size: var(--fs-20); }
.vert-hero__hero-card {
  background: var(--ink-900); color: var(--paper-050);
  border-radius: var(--r-8); padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.vert-hero__hero-card .label { font-family: var(--font-mono); font-size: 11px; color: var(--paper-300); text-transform: uppercase; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px; }
.vert-hero__hero-card .label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success-500); animation: pulse 1.6s infinite; }
.vert-hero__hero-card .num { font-family: var(--font-mono); font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1; color: var(--paper-050); }
.vert-hero__hero-card .note { font-size: var(--fs-14); color: var(--paper-300); }
.vert-hero__hero-card .ctas { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--ink-700); }
.vert-hero__hero-card .btn-primary { background: var(--paper-050); color: var(--ink-900); }
.vert-hero__hero-card .btn-primary:hover { background: var(--paper-200); }
.vert-hero__hero-card .btn-secondary { background: transparent; color: var(--paper-050); border-color: var(--ink-700); box-shadow: none; }
.vert-hero__hero-card .btn-secondary:hover { background: var(--ink-700); border-color: var(--ink-500); }

/* Vertical-aware breadcrumb */
.crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 32px; }
.crumb a { color: var(--ink-400); transition: color var(--t-fast) var(--ease); }
.crumb a:hover { color: var(--ink-900); }
.crumb .sep { color: var(--ink-300); }

/* Pain points grid */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { padding: 28px; background: var(--paper-000); border: 1px solid var(--line); border-radius: var(--r-6); display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.pain-card .pain-meta { font-family: var(--font-mono); font-size: 11px; color: var(--error-500); text-transform: uppercase; letter-spacing: 0.06em; }
.pain-card h3 { font-size: var(--fs-18); font-weight: 500; letter-spacing: -0.01em; }
.pain-card p { font-size: var(--fs-14); color: var(--ink-500); line-height: 1.55; }
.pain-card .num-loss { font-family: var(--font-mono); font-size: var(--fs-24); color: var(--ink-900); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-soft); letter-spacing: -0.02em; }

/* Scenarios / transcripts */
.scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .scenarios { grid-template-columns: 1fr; } }
.scenario-card { background: var(--paper-000); border: 1px solid var(--line); border-radius: var(--r-6); overflow: hidden; }
.scenario-card .head { padding: 18px 22px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.scenario-card .head .title { font-size: var(--fs-16); font-weight: 500; letter-spacing: -0.01em; }
.scenario-card .head .badge { font-size: 11px; }
.scenario-card .body { padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: var(--fs-14); line-height: 1.55; }
.scenario-card .turn { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.scenario-card .turn .who { font-family: var(--font-mono); font-size: 10px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 3px; }
.scenario-card .turn .msg { color: var(--ink-900); }
.scenario-card .turn.is-agent .msg { color: var(--ink-700); }
.scenario-card .outcome { margin-top: 4px; padding: 12px 14px; background: var(--paper-100); border-radius: var(--r-3); font-family: var(--font-mono); font-size: 12px; color: var(--ink-700); display: flex; align-items: center; gap: 8px; }
.scenario-card .outcome .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-500); }

/* Plain table */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.table thead th { font-weight: 500; color: var(--ink-500); font-size: var(--fs-13); }
.table tbody td:first-child { font-weight: 500; color: var(--ink-900); }
.table .check-cell { color: var(--ink-900); }
.table .x-cell { color: var(--ink-300); }


/* ============================================================
   Responsive / mobile layer — appended last so it wins specificity
   Targets: ≤980 (tablet), ≤720 (handset), ≤480 (small handset)
   ============================================================ */

/* Universal — small-screen safety */
@media (max-width: 720px) {
  :root { --gutter: clamp(16px, 5vw, 24px); }
  body { font-size: 15.5px; }

  /* Tighten section padding */
  .section { padding-block: clamp(48px, 9vw, 80px); }
  .section-sm { padding-block: clamp(36px, 6vw, 56px); }

  /* Headings — shrink slightly more aggressively */
  .h-display { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .h3 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .lede { font-size: var(--fs-18); }

  /* Default card padding */
  .card, .card-elevated, .card-interactive, .card-flat { padding: 20px; }

  /* Section heads — reduce bottom gap */
  .sec-head { margin-bottom: var(--s-8); }
}

/* Tables — wrap in scrollable container at any size where they'd overflow */
@media (max-width: 800px) {
  .table { font-size: var(--fs-13); display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .table thead, .table tbody, .table tr { display: table; width: 100%; table-layout: fixed; min-width: 600px; }
  .table th, .table td { padding: 12px 12px; }
  /* sub-processor table needs wider */
  .subproc-table { font-size: var(--fs-12); display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .subproc-table thead, .subproc-table tbody, .subproc-table tr { display: table; width: 100%; table-layout: fixed; min-width: 640px; }
  .subproc-table th, .subproc-table td { padding: 10px 10px; }

  /* Visible scroll affordance — subtle right-edge fade */
  .card:has(> .table), .card:has(> .subproc-table) { overflow-x: auto; }
}

/* Navigation — keep CTA visible, hide secondary on very small */
@media (max-width: 560px) {
  .site-nav__inner { padding: 12px var(--gutter); gap: var(--s-4); }
  .nav-secondary { gap: var(--s-1); }
  .nav-cta { padding: 7px 11px; font-size: var(--fs-13); }
  .nav-cta svg { display: none; }
  .nav-secondary a:not(.nav-cta):not(.brand) { display: none; }
  .brand { font-size: var(--fs-16); }
}

/* Homepage variant toggle — fixed-position chip becomes thinner on mobile */
@media (max-width: 720px) {
  .variant-toggle { font-size: 10px; padding: 3px; bottom: 12px; }
  .variant-toggle a { padding: 5px 10px; }
}

/* Hero — homepage live console row */
@media (max-width: 720px) {
  .console__pad { padding: 18px; height: 380px; }
  .console__head { font-size: 10px; }
  .console__head .caller .num { font-size: var(--fs-13); }
  .console__transcript .turn { gap: 8px; }
  .console__transcript .turn .who { width: 48px; font-size: 9px; }
  .console__transcript .turn .msg { font-size: var(--fs-13); line-height: 1.45; }
  .booking { grid-template-columns: auto 1fr; }
  .booking__cta { grid-column: 1 / -1; justify-self: start; }
}

/* Reception hero — rx-console row layout becomes 2-col grid on mobile */
@media (max-width: 720px) {
  .rx-console__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "num tag" "scenario scenario" "time time";
    gap: 6px 12px;
    padding: 12px 14px;
  }
  .rx-console__row .time { grid-area: time; font-size: 10px; }
  .rx-console__row .num { grid-area: num; font-size: 11px; }
  .rx-console__row .caption { grid-area: scenario; font-size: 11px; color: var(--ink-500); }
  .rx-console__row .tag { grid-area: tag; font-size: 9px; padding: 2px 6px; }
}

/* Hero on homepage v1 — phone button + actions wrap */
@media (max-width: 560px) {
  .hero__phone { width: 100%; max-width: none; }
  .hero__phone .ph-num { font-size: var(--fs-16); }
  .rx-hero__phone { width: 100%; }
}

/* Editorial hero v2 — large display headline needs lower upper bound on phones */
@media (max-width: 720px) {
  .hero-ed h1 { font-size: clamp(2.25rem, 11vw, 4rem); }
  .hero-ed__pre { font-size: 9.5px; gap: 6px 12px; padding-bottom: 12px; margin-bottom: 32px; }
  .hero-ed__phone { padding: 24px; }
  .hero-ed__phone .number { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .hero-ed__door { padding: 24px; }
}

/* Doors grid on homepage — already collapses, just tighten */
@media (max-width: 720px) {
  .hero__doors { gap: 8px; }
  .door { padding: 14px 16px; }
}

/* Two-paths cards — reduce padding */
@media (max-width: 720px) {
  .path-card__body { padding: 24px; }
  .path-card .ftrs { font-size: var(--fs-13); }
  .path-card__cta { flex-wrap: wrap; }
  .path-card__cta .btn { flex: 1; min-width: 140px; justify-content: center; }
}

/* Case-feature dark band — reduce padding and stack */
@media (max-width: 720px) {
  .case-feature { padding: 32px 24px; gap: 24px; }
  .case-feature .metric { font-size: clamp(3rem, 14vw, 5rem); }
}

/* Audit band — reduce padding */
@media (max-width: 720px) {
  .audit-band { padding: 28px 22px; gap: 28px; }
}

/* Loss aversion calculator — reduce padding, ensure sliders thumb-tappable */
@media (max-width: 720px) {
  .calc { padding: 28px 22px; gap: 28px; }
  .calc__output { padding: 24px 22px; }
  .calc__field input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; }
  .calc__field input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; }
}

/* Pricing cards — reduce padding, stack lists */
@media (max-width: 720px) {
  .price-card { padding: 24px; }
  .price-card.is-recommended { transform: none; }
}

/* Trust page — TOC becomes a horizontal scroll pill bar on mobile.
   Uses body. prefix + !important to beat the inline <style> block on trust.html. */
@media (max-width: 980px) {
  body .trust-body { grid-template-columns: 1fr !important; gap: 24px !important; }
  body .trust-body .toc {
    position: static !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--line-soft) !important;
    margin-bottom: 16px;
  }
  body .trust-body .toc a {
    border-left: 0 !important;
    padding: 6px 12px !important;
    margin-left: 0 !important;
    flex: none;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-full) !important;
    background: var(--paper-000);
    white-space: nowrap;
  }
  body .trust-body .toc a.is-active { background: var(--ink-900) !important; color: var(--paper-050) !important; border-color: var(--ink-900) !important; }
  body .trust-body .toc a:hover { background: var(--paper-100); color: var(--ink-900); }
  body .trust-body .toc a.is-active:hover { background: var(--ink-900) !important; color: var(--paper-050) !important; }
}

/* Case-study TOC — same treatment, bumped specificity to beat inline <style>. */
@media (max-width: 980px) {
  body .case-body { grid-template-columns: 1fr !important; gap: 24px !important; }
  body .case-body .toc {
    position: static !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--line-soft) !important;
    margin-bottom: 16px;
  }
  body .case-body .toc a {
    flex: none;
    padding: 6px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r-full) !important;
    white-space: nowrap;
    background: var(--paper-000);
  }
}

/* Trust summary cells — keep 2 col at very small */
@media (max-width: 480px) {
  .trust-summary { grid-template-columns: 1fr 1fr; }
  .trust-summary .cell { padding: 16px 18px; }
  .trust-summary .cell .v { font-size: var(--fs-14); }
  .trust-badges { grid-template-columns: 1fr 1fr; }
}

/* Metrics grid on case study — keep readable */
@media (max-width: 720px) {
  .metrics-grid .cell { padding: 20px 18px; }
  .metrics-grid .cell .v { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* HOW IT WORKS page — sticky side column should stop sticking */
@media (max-width: 980px) {
  .timeline { position: static; margin-bottom: 24px; }
  .hiw-step { padding: 32px 0; }
}

/* Demo page — three-ways cards no longer need 380px min-height */
@media (max-width: 720px) {
  .three-ways { gap: 12px; }
  .way-card { min-height: auto; padding: 24px; }
}

/* Cal embed — calendar grid on tiny phones */
@media (max-width: 480px) {
  .cal-embed__sidebar { padding: 24px; }
  .cal-embed__main { padding: 20px; gap: 16px; }
  .cal-grid .dh, .cal-grid .day { font-size: 11px; }
  .cal-times { grid-template-columns: repeat(3, 1fr); }
}

/* Contact page — routes 1col on tiny */
@media (max-width: 480px) {
  .routes { grid-template-columns: 1fr; gap: 12px; }
  .route { padding: 24px; }
  .contact-form-card { padding: 28px 22px; gap: 24px; }
  .office { padding: 28px 22px; gap: 24px; }
}

/* About page — founders grid is 2col, single col on small */
@media (max-width: 720px) {
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { padding: 28px; }
  .ethos { padding: 28px; gap: 24px; }
}

/* Long mono content — allow break for long numbers + emails */
@media (max-width: 480px) {
  .num, .mono { overflow-wrap: anywhere; word-break: break-word; }
  /* but keep stat__num clean */
  .stat__num, .console__pad .num, .hero__phone .ph-num, .price-card .price-block .monthly,
  .calc__output .figure, .work-card__visual .metric, .case-feature .metric,
  .hero-ed__phone .number, .vert-hero__hero-card .num {
    word-break: normal; overflow-wrap: normal;
  }
}

/* Footer — already responsive, just tighten paddings on small */
@media (max-width: 560px) {
  .site-footer__cta { padding: 56px var(--gutter); gap: 20px; }
  .site-footer__cta h2 { font-size: 1.75rem; }
  .site-footer__cols { padding: 48px var(--gutter); gap: 32px; }
  .site-footer__trust { padding: 20px var(--gutter); }
  .site-footer__trust .marks { font-size: 10.5px; gap: 12px; }
  .site-footer__bottom { font-size: 10.5px; padding: 12px var(--gutter) 24px; }
}

/* Service card on /ops — was set to min-height 360px which forces empty space */
@media (max-width: 720px) {
  .service-card { min-height: auto; padding: 22px; }
  .service-card.is-recommended { transform: none; }
}

/* Logo-strip wrap on small */
@media (max-width: 480px) {
  .logo-cell { padding: 22px 12px; font-size: var(--fs-13); }
  .stack-grid .cell { padding: 20px 14px; }
}

/* Newsletter on insights — input wraps full width */
@media (max-width: 560px) {
  .newsletter form { gap: 8px; }
  .newsletter input { min-width: 100%; }
  .newsletter .btn { width: 100%; justify-content: center; }
}

/* CTA bands in footer — actions wrap on mobile, full-width */
@media (max-width: 560px) {
  .site-footer__cta .actions { width: 100%; flex-direction: column; align-items: stretch; }
  .site-footer__cta .actions .btn { width: 100%; justify-content: center; }
}

/* Ops pain claims — already 1col, just tighten */
@media (max-width: 720px) {
  .ops-pain__inner { padding: 56px var(--gutter); }
  .ops-pain__claim { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .ops-pain__claim .num { font-size: 2.25rem; }
}

/* Reception scenarios → outcome banner should wrap */
@media (max-width: 480px) {
  .scenario-card .body { padding: 18px; }
  .scenario-card .turn { grid-template-columns: 60px 1fr; gap: 8px; }
  .scenario-card .turn .who { font-size: 9.5px; }
  .scenario-card .outcome { font-size: 11px; flex-wrap: wrap; }
}

/* Workflow SVG in /ops needs to stay legible */
@media (max-width: 720px) {
  .workflow-card { padding: 22px; }
}

/* Map card on /about — slightly less padding */
@media (max-width: 560px) {
  .map-card { padding: 24px; }
}

/* Design-system page tweaks for mobile (it's marketing-y, not critical) */
@media (max-width: 720px) {
  .type-row { padding: 18px 0; }
  .ds-section { padding: 64px 0; }
  .ds-section__head { margin-bottom: 32px; }
  .swatch__color { height: 64px; }
}

/* Avoid horizontal scroll due to negative margins or wide content */
html, body { overflow-x: hidden; }

/* Reduce sticky nav top-padding (offset) when content scrolls — anchor adjustment */
[id] { scroll-margin-top: 84px; }

/* Touch target floor */
@media (max-width: 720px) {
  .btn, .nav-link, .faq__btn, .build-card, .work-card, .case-card { min-height: 40px; }
  .btn-sm { min-height: 36px; }
  .btn-icon { min-height: 36px; min-width: 36px; }
}

/* Page hero on small */
@media (max-width: 720px) {
  .page-hero { padding-block: clamp(48px, 8vw, 80px); }
}

/* Variant toggle should never overlap CTAs at bottom of viewport */
@media (max-width: 480px) {
  body { padding-bottom: 48px; }
}

/* ============================================================ Vertical SEO pages — shared components
   Promoted to global so the reception/* vertical pages share one source of truth.
   (Identical to the page-local copies they previously each carried.) */

/* CRM field grid */
.integrations { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-6); overflow: hidden; }
@media (max-width: 800px) { .integrations { grid-template-columns: repeat(2, 1fr); } }
.integrations .cell { background: var(--paper-000); padding: 28px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.integrations .cell .mark { font-size: var(--fs-15); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-900); }
.integrations .cell .desc { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.04em; }

/* Vertical cross-link chips */
.vertical-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.vertical-chips a { padding: 6px 11px; border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-13); color: var(--ink-700); background: var(--paper-000); transition: all var(--t-fast) var(--ease); }
.vertical-chips a:hover { background: var(--ink-900); color: var(--paper-050); border-color: var(--ink-900); }
.vertical-chips a.is-active { background: var(--ink-900); color: var(--paper-050); border-color: var(--ink-900); }

/* Case-study dark band */
.case-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; background: var(--ink-900); color: var(--paper-050); border-radius: var(--r-8); overflow: hidden; padding: 56px; align-items: center; }
@media (max-width: 900px) { .case-feature { grid-template-columns: 1fr; padding: 36px; } }
.case-feature .metric { font-family: var(--font-mono); font-size: clamp(4rem, 9vw, 7rem); line-height: 0.95; letter-spacing: -0.05em; color: var(--paper-050); font-weight: 400; }
.case-feature .metric small { font-size: 0.32em; color: var(--paper-300); letter-spacing: -0.02em; }
.case-feature h3 { font-size: var(--fs-24); font-weight: 500; letter-spacing: -0.015em; color: var(--paper-050); margin: 0; }
.case-feature .body { color: var(--paper-300); font-size: var(--fs-16); line-height: 1.6; }
.case-feature .client { font-family: var(--font-mono); font-size: 11px; color: var(--paper-300); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }

/* Loss-aversion calculator (promoted from reception/index.html) */
.calc { background: var(--paper-100); border-radius: var(--r-8); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc__inputs { display: flex; flex-direction: column; gap: 28px; }
.calc__field label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.calc__field label .name { font-size: var(--fs-14); color: var(--ink-700); font-weight: 500; }
.calc__field label .value { font-family: var(--font-mono); font-size: var(--fs-18); color: var(--ink-900); letter-spacing: -0.01em; }
.calc__field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--paper-300); border-radius: var(--r-full); outline: none; }
.calc__field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-900); cursor: pointer; border: 3px solid var(--paper-050); box-shadow: var(--sh-2); }
.calc__field input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink-900); cursor: pointer; border: 3px solid var(--paper-050); box-shadow: var(--sh-2); }
.calc__output { background: var(--paper-000); border-radius: var(--r-6); padding: 32px; border: 1px solid var(--line); }
.calc__output .label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.06em; }
.calc__output .figure { font-family: var(--font-mono); font-size: clamp(3rem, 6vw, 4.5rem); color: var(--ink-900); letter-spacing: -0.04em; line-height: 1; margin: 12px 0; transition: opacity var(--t-fast) var(--ease); font-weight: 400; }
.calc__output .small { font-family: var(--font-mono); font-size: var(--fs-12); color: var(--ink-500); }
.calc__output .diff { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.calc__output .diff .v { font-family: var(--font-mono); font-size: var(--fs-20); color: var(--success-500); letter-spacing: -0.02em; }
.calc__output .cta-row { margin-top: 20px; }

/* ============================================================ Call-data platform section (§ product expansion) */
.platform-dash { background: var(--ink-900); color: var(--paper-050); border-radius: var(--r-8); padding: clamp(28px, 4vw, 48px); }
.platform-dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.platform-dash__head .k { font-family: var(--font-mono); font-size: 11px; color: var(--paper-300); text-transform: uppercase; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px; }
.platform-dash__head .k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success-500); }
.platform-dash__head h3 { color: var(--paper-050); font-size: var(--fs-24); font-weight: 500; letter-spacing: -0.015em; margin: 8px 0 0; max-width: 24ch; }
.platform-dash__example { text-align: center; font-family: var(--font-mono); font-size: 11px; color: var(--paper-300); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.5; padding: 16px 18px; margin-bottom: 18px; border: 1px dashed var(--ink-700); border-radius: var(--r-6); background: rgba(255,255,255,0.015); }
.platform-dash__example strong { color: var(--paper-050); font-weight: 500; }
.platform-dash__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-700); border: 1px solid var(--ink-700); border-radius: var(--r-6); overflow: hidden; }
@media (max-width: 800px) { .platform-dash__grid { grid-template-columns: 1fr 1fr; } }
.platform-dash__tile { background: #100F0B; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.platform-dash__tile .tk { font-family: var(--font-mono); font-size: 10px; color: var(--paper-300); text-transform: uppercase; letter-spacing: 0.05em; }
.platform-dash__tile .tv { font-family: var(--font-mono); font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--paper-050); letter-spacing: -0.03em; line-height: 1; margin-top: auto; }
.platform-dash__tile .td { font-size: var(--fs-12); color: var(--paper-300); line-height: 1.4; }
.platform-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .platform-caps { grid-template-columns: 1fr; } }
.platform-cap { padding: 24px; background: var(--paper-000); border: 1px solid var(--line); border-radius: var(--r-6); display: flex; flex-direction: column; gap: 10px; }
.platform-cap .n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); letter-spacing: 0.04em; }
.platform-cap h4, .platform-cap h3 { font-size: var(--fs-16); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-900); }
.platform-cap p { font-size: var(--fs-14); color: var(--ink-500); line-height: 1.55; }

/* ============================================================ Service-area section (§ local targeting) */
.areas__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.areas__town { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--ink-700); background: var(--paper-000); border: 1px solid var(--line); border-radius: var(--r-full); padding: 8px 14px; letter-spacing: -0.01em; }
.areas__town.is-core { background: var(--ink-900); color: var(--paper-050); border-color: var(--ink-900); }
.areas__context { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
@media (max-width: 900px) { .areas__context { grid-template-columns: 1fr; } }
.areas__note { padding-top: 16px; border-top: 1px solid var(--line); }
.areas__note .e { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.05em; }
.areas__note .h { font-size: var(--fs-15); font-weight: 500; color: var(--ink-900); margin: 6px 0; letter-spacing: -0.01em; }
.areas__note p { font-size: var(--fs-13); color: var(--ink-500); line-height: 1.55; }

/* ============================================================ Inline lead capture */
.lead-capture { background: var(--paper-100); border-radius: var(--r-8); padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .lead-capture { grid-template-columns: 1fr; } }
.lead-capture__head h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.02em; margin: 8px 0 12px; line-height: 1.1; }
.lead-capture__head p { font-size: var(--fs-14); color: var(--ink-700); line-height: 1.55; margin: 0 0 16px; }
.lead-capture__head .assure { font-family: var(--font-mono); font-size: var(--fs-13); color: var(--ink-700); padding: 12px 14px; background: var(--paper-000); border-radius: var(--r-3); border: 1px solid var(--line-soft); line-height: 1.5; }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lead-form__row { grid-template-columns: 1fr; } }
.lead-success { background: var(--ink-900); color: var(--paper-050); border-radius: var(--r-6); padding: 28px; display: none; }
.lead-success.is-shown { display: block; }
.lead-success h4, .lead-success h3 { color: var(--paper-050); font-size: var(--fs-18); margin: 0 0 8px; font-weight: 500; }
.lead-success p { color: var(--paper-300); font-size: var(--fs-14); margin: 0; line-height: 1.5; }

/* ============================================================
   Global reduced-motion backstop (catch-all).
   Complements — does not replace — the per-section
   prefers-reduced-motion handling elsewhere. Disables smooth
   scroll, freezes/hides the fixed call-progress bar, and zeroes
   transitions/animations site-wide. Durations are set to ~0
   rather than `none` so transitionend/animationend still fire
   and JS that gates on them never hangs.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  /* The fixed top "call timer" / progress bar is decorative — remove it entirely. */
  .call-progress { display: none !important; }
}


/* ============================================================ Dark-surface focus rings (site audit)
   The shared --focus ring is built for light backgrounds: its inner halo is
   var(--paper-050), which disappears against #0E0D0A / var(--ink-900). Invert
   the halo on every dark surface the site uses. */
.site-footer a:focus-visible, .site-footer button:focus-visible,
.vert-hero__hero-card a:focus-visible, .vert-hero__hero-card button:focus-visible,
.case-feature a:focus-visible, .platform-dash a:focus-visible, .platform-dash button:focus-visible,
.lead-success a:focus-visible, .img-slot.is-dark a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0E0D0A, 0 0 0 4px var(--paper-050);
  border-radius: var(--r-3);
}

/* ============================================================ Coarse-pointer touch floor (site audit)
   Every control reaches 44px where the primary pointer is a finger. */
@media (pointer: coarse) {
  .btn, .btn-sm, .btn-lg, .nav-link, .faq__btn, .pill-nav button, .vertical-chips a,
  .offer-bar__close, .nav-menu-btn, .mobile-drawer__close, .toc a { min-height: 44px; }
  .btn, .btn-sm, .btn-lg, .pill-nav button, .vertical-chips a { display: inline-flex; align-items: center; }
  .btn-icon, .offer-bar__close, .nav-menu-btn, .mobile-drawer__close { min-width: 44px; justify-content: center; }
  /* The announcement bar's close is the one exception to the 44px floor: that square
     is what sets the bar's height on a phone. It keeps the full 44px width and drops
     to 32px tall — clear of the 24px WCAG 2.2 AA minimum (2.5.8), short of the 44px
     AAA target (2.5.5) the rest of the site holds. */
  .offer-bar__close { min-height: 32px; display: inline-flex; align-items: center; }
  /* 22px sat just under the 24px AA floor (2.5.8) — the one control on the site
     that was failing outright rather than merely missing the AAA target. */
  .check, .radio { width: 24px; height: 24px; }

  /* Standalone links — breadcrumbs, source citations, "read more" links, table
     links, the footer credit. Each of these owns its own line or row, so giving
     it a 44px box costs a few px of row height and nothing else. Links inside a
     sentence or paragraph are exempt from 2.5.8 and are deliberately not listed. */
  .crumb a,
  .vstat__src a,
  .fig-src a,
  .src a,
  .post-meta a,
  .link-standalone,
  .link-quiet,
  .site-footer__bottom a,
  .dv2-cta__s,
  th a,
  .val a.link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .switch { width: 44px; height: 26px; }
  .switch__knob { width: 22px; height: 22px; }
  .switch input:checked + .switch__track .switch__knob { transform: translateX(18px); }
}

/* ============================================================ Vertical-page SEO additions */
.trust-strip { border-top: 1px solid var(--line-soft); background: var(--paper-100); }
.trust-strip__list {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--font-mono); font-size: var(--fs-13); color: var(--ink-500);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.trust-strip__list li { display: flex; align-items: center; gap: 10px; }
.trust-strip__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--success-500); flex: none; }

.explainer p { font-size: var(--fs-18); line-height: 1.65; color: var(--ink-500); max-width: 64ch; }
.explainer p + p { margin-top: 18px; }
.explainer a { color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--paper-400); transition: text-decoration-color var(--t-fast) var(--ease); }
.explainer a:hover { text-decoration-color: var(--ink-900); }

.sticky-call { display: none; }
@media (max-width: 720px) {
  .sticky-call {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper-050) 92%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line);
  }
  .sticky-call .btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }
  .sticky-call .btn-primary { flex: 1.5 1 0; }
  body { padding-bottom: 78px; }
}


/* ============================================================ Dual entry
   Two routes in: our own agent on the line, or the booking form. On mobile the
   phone is already in the hand, so the line leads; on desktop the form leads.
   Same markup either way — only the polarity swaps. */
.cta-duo { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cta-duo [data-cta="call"] .num { font-family: var(--font-mono); }
.site-footer__cta-note { margin-top: 16px; font-size: var(--fs-14); line-height: 1.55; color: rgba(251,250,246,0.62); max-width: 52ch; }
@media (max-width: 720px) {
  .cta-duo { width: 100%; }
  .cta-duo [data-cta] { flex: 1 1 100%; justify-content: center; }
  .cta-duo [data-cta="call"] { order: -1; background: var(--ink-900); color: var(--paper-050); border-color: var(--ink-900); box-shadow: none; }
  .cta-duo [data-cta="call"]:hover { background: var(--ink-700); }
  .cta-duo [data-cta="form"] { background: var(--paper-000); color: var(--ink-900); border-color: var(--paper-300); box-shadow: var(--sh-1); }
  .cta-duo [data-cta="form"]:hover { background: var(--paper-050); border-color: var(--paper-400); }
  .site-footer__cta .cta-duo [data-cta="call"] { background: var(--paper-050); color: var(--ink-900); border-color: var(--paper-050); }
  .site-footer__cta .cta-duo [data-cta="call"]:hover { background: var(--paper-200); }
  .site-footer__cta .cta-duo [data-cta="form"] { background: transparent; color: var(--paper-050); border-color: var(--ink-700); box-shadow: none; }
  .site-footer__cta .cta-duo [data-cta="form"]:hover { background: rgba(251,250,246,0.06); }
}


/* ============================================================ Brand moments — emblem + MAGIXIS wordmark */
/* Sticky-nav repair: overflow-x hidden on body makes it the sticky scrollport and kills
   position: sticky on the nav — clip clips without creating a scroll container. */
html, body { overflow-x: clip; overflow-y: visible; }
/* Nav: wordmark slides in beside the emblem once scrolled (.is-scrolled from chrome.js) */
.brand .brand-word { display: block; height: 17px; width: auto; margin-left: 12px; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.site-nav.is-scrolled .brand-word { opacity: 1; transform: none; }
.brand .brand-img { transition: transform var(--t-fast) var(--ease); }
.brand:hover .brand-img { transform: scale(1.05); }
.mobile-drawer__head .brand-word { display: block; height: 13px; width: auto; margin-left: 10px; opacity: 1; transform: none; }
/* Emblem divider — hairline through the mark */
.mgbrand-divider { max-width: var(--container-wide); margin: 56px auto 48px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.mgbrand-divider::before, .mgbrand-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.mgbrand-divider img { height: 22px; width: auto; opacity: .5; }
/* Page-hero emblem watermark, one quiet fade-in */
.page-hero, .about-hero { position: relative; overflow: hidden; }
.page-hero .container, .about-hero .container { position: relative; z-index: 1; }
.mgbrand-page-mark { position: absolute; top: -36px; right: -56px; width: clamp(280px, 26vw, 480px); height: auto; opacity: 0; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(200deg, #000 40%, transparent 85%); mask-image: linear-gradient(200deg, #000 40%, transparent 85%); }
/* Fade waits for decode (.is-ready from chrome.js) — animating a part-painted PNG flickers. */
.mgbrand-page-mark.is-ready { animation: mgbrand-in 1.4s var(--ease) .05s forwards; }
@keyframes mgbrand-in { to { opacity: .038; } }
@media (max-width: 720px) {
  .mgbrand-page-mark { display: none; }
  .brand .brand-word { height: 14px; margin-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .mgbrand-page-mark, .mgbrand-page-mark.is-ready { animation: none; opacity: .038; }
  .brand .brand-word, .brand .brand-img { transition: none; }
}

/* Skip-to-content link — first focusable element, revealed on focus (WCAG 2.4.1) */
.skip-link { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; white-space: normal; padding: 10px 16px; background: var(--ink-900); color: var(--paper-050); border-radius: var(--r-3); font-family: var(--font-mono); font-size: var(--fs-13); text-decoration: none; box-shadow: var(--sh-2); }

/* ============================================================
   Vertical landing pages - sourced stats band + comparison table
   Promoted from the 14 reception/* pages, which each carried a
   byte-identical copy of this block inline. Completes the promotion
   described at the 'Vertical SEO pages - shared components' heading
   above, which moved .integrations / .vertical-chips / .case-feature /
   .calc* / .platform-dash* but left these two families behind.
   ============================================================ */
  /* Page-scoped: sourced stats band + comparison table (tokens from styles.css). */
  .vstat { display: grid; grid-template-columns: repeat(3, 1fr); }
  .vstat__cell { padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px); border-right: 1px solid var(--line-soft); }
  .vstat__cell:first-child { padding-left: 0; }
  .vstat__cell:last-child { border-right: 0; padding-right: 0; }
  .vstat__num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink-900); margin-top: 10px; }
  .vstat__head { font-size: var(--fs-14); color: var(--ink-700); max-width: 28ch; line-height: 1.45; margin-top: 10px; }
  .vstat__src { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); margin-top: 14px; }
  .vstat__src a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
  .vstat__src a:hover { color: var(--ink-700); text-decoration-color: currentColor; }
  @media (max-width: 800px) {
    .vstat { grid-template-columns: 1fr; }
    .vstat__cell { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-soft); }
    .vstat__cell:last-child { border-bottom: 0; }
  }
  .vcmp { width: 100%; border-collapse: collapse; border: 1px solid var(--line-soft); border-radius: var(--r-4); overflow: hidden; font-size: var(--fs-14); }
  .vcmp th, .vcmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
  .vcmp thead th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); font-weight: 500; background: var(--paper-100); }
  .vcmp tbody th { font-weight: 500; color: var(--ink-900); width: 22%; }
  .vcmp td { color: var(--ink-500); }
  .vcmp td.is-mg { color: var(--ink-900); }
  .vcmp .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .vcmp-note { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); margin-top: 14px; line-height: 1.7; }
  .vcmp-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
  .vcmp-wrap { overflow-x: auto; }
  @media (max-width: 640px) { .vcmp { min-width: 560px; } }
