/* Redaccel, redesign 2026-10.
   Light by default, ink-dark accent bands, one red for the one action (the free audit).
   Direction and contrast table: redaccel/os-v2/site-redesign/DIRECTION.md
   Tokens: Paper #FFFFFF, Mist #F6F6F3, Ink #0A0B0F, Slate #3D424D, Muted #5F6573,
           Signal red #D92D20 (buttons), Red ink #B42318 (text), Night #0B0C10 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-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;
}
/* Metric-matched fallback so the font swap does not shift the layout */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --mist: #F6F6F3;
  --mist-2: #EFEFEB;
  --ink: #0A0B0F;
  --slate: #3D424D;
  --muted: #5F6573;
  --line: #E6E6E3;
  --line-2: #D9D9D4;
  --red: #D92D20;
  --red-hover: #B42318;
  --red-ink: #B42318;
  --red-wash: #FDECEA;
  --green: #1F7A4D;
  --green-wash: #E8F3EC;
  --night: #0B0C10;
  --night-2: #14161D;
  --night-line: #262A35;
  --night-ink: #F2F3F5;
  --night-muted: #A3A9B6;
  --red-on-night: #FF6B57;

  --sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --fs-display: clamp(2.5rem, 1.4rem + 3.9vw, 4.1rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.6rem);
  --fs-h3: 1.1875rem;
  --fs-lede: clamp(1.0938rem, 1.03rem + .3vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  --shell: 76rem;
  --measure: 43rem;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8rem);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-1: 0 1px 2px rgba(10, 11, 15, .05);
  --shadow-2: 0 1px 2px rgba(10, 11, 15, .04), 0 12px 32px -14px rgba(10, 11, 15, .16);
  --shadow-3: 0 2px 4px rgba(10, 11, 15, .04), 0 30px 60px -24px rgba(10, 11, 15, .26);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
::selection { background: #FBD5D0; color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 650; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.032em; line-height: 1.06; }
h2 { font-size: var(--fs-h2); letter-spacing: -.028em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.012em; }
.h-soft { color: #6B717E; }
p { text-wrap: pretty; }
strong, b { color: var(--ink); font-weight: 600; }

a { color: var(--red-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: rgba(180, 35, 24, .35); transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.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; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 1rem; color: #fff; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: var(--fs-small); color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--red); flex: none; }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--slate); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .9375rem/1.1 var(--sans); letter-spacing: -.005em;
  padding: .8rem 1.15rem; min-height: 44px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 1px 2px rgba(180, 35, 24, .3), 0 6px 16px -6px rgba(217, 45, 32, .5); }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-on-night { background: rgba(255, 255, 255, .06); color: var(--night-ink); border-color: var(--night-line); }
.btn-on-night:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #3A3F4C; }
.btn-lg { padding: 1rem 1.4rem; min-height: 52px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .55rem .9rem; min-height: 38px; font-size: .875rem; border-radius: 9px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1875rem; letter-spacing: -.035em; flex: none; }
.wordmark:hover { color: var(--ink); }
.wordmark .wordmark-icon { color: var(--red); }
.wordmark-light { color: var(--night-ink); }
.wordmark-light:hover { color: #fff; }
.wordmark-light .wordmark-icon { color: var(--red-on-night); }

.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 1rem; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: .1rem; }
.nav-links { margin-left: 1.25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font: 500 .9375rem/1 var(--sans); color: var(--slate); text-decoration: none;
  padding: .6rem .7rem; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-menu-btn[aria-expanded="true"] { color: var(--ink); background: var(--mist); }
.nav-link[aria-current="page"], .nav-menu[data-current] > .nav-menu-btn { color: var(--ink); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 2px 2px; }
.nav-actions .btn { margin-left: .5rem; }

.nav-menu { position: relative; }
.nav-menu-btn::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: .3rem; transition: transform .2s; }
.nav-menu-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.nav-menu-panel {
  position: absolute; top: calc(100% + .5rem); left: -.5rem; width: 22rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s, transform .16s var(--ease), visibility .16s;
}
.nav-menu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
.nav-menu:hover .nav-menu-panel, .nav-menu.open .nav-menu-panel { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .nav-menu:focus-within .nav-menu-panel { opacity: 1; visibility: visible; transform: none; }
.nav-menu-panel a { display: block; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; }
.nav-menu-panel a:hover { background: var(--mist); }
.nav-menu-panel b { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.nav-menu-panel span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: .1rem; }
.nav-menu-panel a[aria-current="page"] b { color: var(--red-ink); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), background-color .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 4rem; left: 0; right: 0; max-height: calc(100vh - 4rem); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-links, .nav-actions { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav-link { padding: .95rem .25rem; font-size: 1.0625rem; border-radius: 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-link:hover, .nav-menu-btn[aria-expanded="true"] { background: none; }
  .nav-link[aria-current="page"] { box-shadow: none; color: var(--red-ink); border-radius: 0; }
  .nav-menu-btn { width: 100%; text-align: left; }
  .nav-menu-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: .25rem 0 .5rem; display: none; border-bottom: 1px solid var(--line); }
  .nav-menu-panel::before { display: none; }
  .nav-menu.open .nav-menu-panel { display: block; }
  .nav-menu-panel a { padding: .6rem .25rem .6rem 1rem; border-radius: 0; }
  .nav-actions { padding-top: 1rem; gap: .6rem; }
  .nav-actions .nav-link { border-bottom: 0; padding: .6rem .25rem; }
  .nav-actions .btn { margin: 0; min-height: 50px; font-size: 1rem; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-mist { background: var(--mist); }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1rem; font-size: var(--fs-lede); line-height: 1.6; }
.section-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.section-foot.center { justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.75rem, 1.5rem + 5vw, 6rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 28%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 28%, #000 0%, transparent 75%);
  opacity: .7;
}
.hero::after {
  content: ''; position: absolute; z-index: -1; width: 60rem; height: 40rem; right: -18rem; top: -16rem;
  background: radial-gradient(closest-side, rgba(217, 45, 32, .12), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent 15rem, #000 26rem);
  mask-image: linear-gradient(to bottom, transparent 15rem, #000 26rem);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.042em; margin-top: 1.4rem; }
.hero .lede { margin-top: 1.4rem; max-width: 35rem; }
.offer-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .3rem .85rem .3rem .35rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; line-height: 1.35; max-width: 100%;
}
.offer-pill:hover { border-color: var(--line-2); color: var(--ink); }
.offer-pill .tag { flex: none; background: var(--red-wash); color: var(--red-ink); font-weight: 600; font-size: .75rem; padding: .25rem .55rem; border-radius: 999px; }
.offer-pill .arrow { color: var(--red); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.4rem; font-size: .875rem; color: var(--muted); list-style: none; }
.ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.ticks li::before { content: ''; width: 16px; height: 16px; flex: none; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23E8F3EC'/%3E%3Cpath d='M4.8 8.2l2.1 2.1 4.3-4.6' fill='none' stroke='%231F7A4D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.night .ticks { color: var(--night-muted); }

/* audit preview card (illustration in the hero) */
.mock-wrap { position: relative; }
.mock-wrap::before { content: ''; position: absolute; inset: 10% -3% -5% 8%; border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(217, 45, 32, .18), rgba(217, 45, 32, 0) 60%); filter: blur(30px); z-index: -1; }
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-3); overflow: hidden; font-size: .875rem; color: var(--slate);
}
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); background: #FBFBF9; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-title { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.mock-label { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; }
.mock-body { padding: 1.1rem 1.1rem 1.2rem; }
.mock-query { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink); font-weight: 500; }
.mock-query svg { flex: none; color: var(--muted); }
.mock-grid { margin-top: .9rem; display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mock-grid > div { padding: .55rem .8rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .5rem; min-height: 2.5rem; }
.mock-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.mock-grid .mh { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #FBFBF9; }
.mock-grid .engine { color: var(--ink); font-weight: 500; }
.mk { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; white-space: nowrap; }
.mk::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none; background: no-repeat center/18px; }
.mk-yes { color: var(--green); }
.mk-yes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23E8F3EC'/%3E%3Cpath d='M5.4 9.2l2.4 2.4 4.8-5.2' fill='none' stroke='%231F7A4D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.mk-no { color: var(--red-ink); }
.mk-no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23FDECEA'/%3E%3Cpath d='M6.3 6.3l5.4 5.4M11.7 6.3l-5.4 5.4' fill='none' stroke='%23B42318' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mock-sources { margin-top: .9rem; }
.mock-sources > p { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: .5rem; }
.mock-sources ul { list-style: none; display: grid; gap: .4rem; }
.mock-sources li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px; font-family: var(--mono); font-size: .75rem; color: var(--slate); }
.mock-sources li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-sources li span:last-child { font-family: var(--sans); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line-2); }
.mock-foot b { font-size: .875rem; }
.mock-foot span { font-size: .75rem; color: var(--muted); }
.mock-caption { margin-top: .9rem; font-size: .8125rem; color: var(--muted); text-align: center; }

/* prompt chips: the questions buyers ask engines */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9375rem; color: var(--ink); box-shadow: var(--shadow-1); }
.chips 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'%3E%3Ccircle cx='7' cy='7' r='5' fill='none' stroke='%235F6573' stroke-width='1.6'/%3E%3Cpath d='M11 11l3.5 3.5' stroke='%235F6573' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- engine strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.strip-row > p { font-size: .875rem; color: var(--muted); }
.engines { display: flex; flex-wrap: wrap; gap: .5rem 2rem; list-style: none; }
.engines li { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em; color: #2A2E37; display: inline-flex; align-items: center; gap: .5rem; }
.engines li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 899px) { .stats { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; } .stats .stat { padding: 1.4rem 0; } .stats .stat b { font-size: 2.25rem; } .stats .stat span { font-size: .875rem; } }
@media (min-width: 900px) { .stats .stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); } }
.stat b { display: block; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.25rem); font-weight: 650; letter-spacing: -.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .75rem; font-size: .9375rem; line-height: 1.5; color: var(--slate); max-width: 20rem; }

/* stat strip used by case-study pages */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 2rem 0; }
.stat-strip .stat { background: var(--paper); padding: 1.4rem 1.3rem; border: 0; }
.stat-strip .stat b { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-1);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin-bottom: .55rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card:has(h3 a):hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card p { font-size: .9688rem; }
.card ul { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; font-size: .9375rem; }
.card ul li { padding-left: 1.6rem; position: relative; }
.card ul li::before { content: ''; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.6' fill='none' stroke='%23B42318' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--red-wash); color: var(--red-ink); margin-bottom: 1.1rem; flex: none; }
.card-mist { background: var(--mist); border-color: transparent; box-shadow: none; }
.card-flag { position: absolute; top: -.75rem; left: 1.4rem; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; line-height: 1.2; }
.card-featured { border-color: var(--ink); box-shadow: var(--shadow-2); }
.card-cta { margin-top: 1.1rem; font-size: .9375rem; }
.card-cta a { font-weight: 600; text-decoration: none; }
.card-cta .small { margin-left: .4rem; }
.more-link { font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; }
.more-link::after { content: '\2192'; transition: transform .2s var(--ease); color: var(--red); }
.more-link:hover { color: var(--red-ink); }
.more-link:hover::after { transform: translateX(3px); }
.night .more-link { color: #fff; }

/* steps */
.steps { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); counter-reset: step; }
.steps > li { position: relative; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); counter-increment: step; }
.steps > li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8125rem; color: var(--muted); margin-bottom: 2rem; }
.steps > li.is-free { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }
.steps > li.is-free::before { color: var(--red-ink); }
.steps h3 { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin-bottom: .6rem; }
.steps .when { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.steps p { font-size: .9375rem; }
.badge { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; background: var(--red-wash); color: var(--red-ink); line-height: 1.3; }

/* plans */
.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow-1); }
.plan h3 { font-size: 1.25rem; }
.plan .plan-for { margin-top: .45rem; font-size: .9375rem; color: var(--muted); }
.plan .price { margin-top: 1.25rem; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.plan .price b { font-size: 2.25rem; font-weight: 650; letter-spacing: -.045em; line-height: 1; margin-right: .2rem; }
.plan .btn { margin-top: 1.25rem; width: 100%; }
.plan ul { list-style: none; display: grid; gap: .6rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.plan ul li { padding-left: 1.6rem; position: relative; }
.plan ul li::before { content: ''; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.6' fill='none' stroke='%23B42318' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-featured { border: 1.5px solid var(--ink); box-shadow: var(--shadow-3); }
.plan-free { background: var(--night); border-color: var(--night); color: var(--night-muted); }
.plan-free h3, .plan-free .price, .plan-free strong { color: #fff; }
.plan-free .plan-for { color: var(--night-muted); }
.plan-free ul { border-top-color: var(--night-line); color: var(--night-ink); }
.plan-free ul li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.6' fill='none' stroke='%23FF6B57' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plans-note { margin-top: 1.75rem; font-size: .9375rem; color: var(--muted); text-align: center; }

/* price callout */
.price-callout { display: grid; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--mist); }
@media (min-width: 900px) { .price-callout { grid-template-columns: auto 1fr; } }
.price-callout .big { font-size: clamp(2.6rem, 2rem + 2.4vw, 3.75rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.price-callout .big small { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.price-callout p { max-width: 40rem; }

/* case cards */
.case { display: flex; flex-direction: column; gap: .9rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); position: relative; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.case:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.case .case-kicker { font-size: .8125rem; color: var(--muted); }
.case h3 a { color: var(--ink); text-decoration: none; }
.case h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.case .case-metric { display: flex; flex-direction: column; gap: .45rem; padding-top: 1.1rem; margin-top: auto; border-top: 1px solid var(--line); }
.case .case-metric b { font-size: 2.25rem; font-weight: 650; letter-spacing: -.045em; line-height: 1; color: var(--ink); flex: none; }
.case .case-metric span { font-size: .875rem; line-height: 1.4; color: var(--slate); }
.case p { font-size: .9375rem; }

/* split feature rows */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split-rev > :first-child { order: 2; } }
.split h2 { margin-top: .9rem; }
.split p { margin-top: 1rem; }
.checks { list-style: none; display: grid; gap: .9rem; margin-top: 1.5rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--red-wash) no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.6' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks li strong { display: block; }

/* the "what we don't do" list */
.nots { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.nots li { padding: 1.25rem 1.25rem 1.25rem 3.2rem; position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); font-size: .9375rem; }
.nots li::before { content: ''; position: absolute; left: 1.2rem; top: 1.35rem; width: 20px; height: 20px; background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23FDECEA'/%3E%3Cpath d='M6.3 6.3l5.4 5.4M11.7 6.3l-5.4 5.4' fill='none' stroke='%23B42318' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.nots li strong { display: block; margin-bottom: .2rem; }

/* surface list (what-we-do) */
.surface { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.surface > div { background: var(--paper); padding: 1.5rem; }
.surface h3 { font-size: 1.0625rem; }
.surface p { font-size: .9375rem; margin-top: .45rem; }
.surface .why { font-size: .8125rem; color: var(--muted); margin-top: .7rem; }

/* ---------- night (dark accent) band ---------- */
.night { background: var(--night); color: var(--night-muted); position: relative; overflow: hidden; isolation: isolate; }
.night::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 0%, #000, transparent 70%); }
.night::after { content: ''; position: absolute; z-index: -1; width: 50rem; height: 34rem; right: -16rem; top: -18rem; background: radial-gradient(closest-side, rgba(255, 107, 87, .2), transparent); }
.night h2, .night h3, .night strong, .night b { color: #fff; }
.night p, .night .lede { color: var(--night-muted); }
.night .eyebrow { color: var(--night-muted); }
.night .eyebrow::before { background: var(--red-on-night); }
.night .h-soft { color: #8B92A0; }
.night a:not(.btn) { color: var(--red-on-night); text-decoration-color: rgba(255, 107, 87, .4); }
.night a:not(.btn):hover { color: #fff; }
.night .checks li { color: var(--night-muted); }
.night .checks li::before { background-color: rgba(255, 107, 87, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.9 2.9 6.1-6.6' fill='none' stroke='%23FF6B57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.deliverables { display: grid; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-xl); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.deliverables > div { background: var(--night-2); padding: 1.6rem; }
.deliverables .num-chip { font-family: var(--mono); font-size: .75rem; color: var(--red-on-night); }
.deliverables h3 { margin: .9rem 0 .5rem; font-size: 1.0625rem; }
.deliverables p { font-size: .9375rem; }

/* ---------- final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.038em; max-width: 16em; margin: .9rem auto 0; }
.cta-band .lede { max-width: 36rem; margin: 1.1rem auto 0; }
.cta-band .hero-actions, .cta-band .ticks { justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); margin-top: 1.25rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; color: var(--ink); font-size: 1.0625rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 1v8M1 5h8' stroke='%230A0B0F' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red-ink); }
.faq-a { padding: 0 2.5rem 1.3rem 0; }
.faq-a p + p { margin-top: .8rem; }
.faq-wrap { display: grid; gap: 2rem 4rem; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 19rem 1fr; } .faq-wrap .faq-list { margin-top: 0; } }

/* ---------- page header (inner marketing pages) ---------- */
.page-hero { padding: clamp(2.75rem, 1.75rem + 4vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 90% 0%, #000, transparent 70%); opacity: .6; }
.page-hero h1 { margin-top: 1.1rem; max-width: 17em; }
.page-hero .lede { margin-top: 1.2rem; max-width: 40rem; }
.page-hero .hero-actions { margin-top: 1.75rem; }

/* ---------- article layout (guides, blog, case studies) ---------- */
.crumbs { font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

main.article { padding: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0 var(--section); }
main.article > .shell { max-width: calc(var(--measure) + var(--gutter) * 2); }
main.article h1 { margin-top: 1.1rem; font-size: clamp(2.05rem, 1.5rem + 2.3vw, 3.1rem); }
.dateline { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; margin-top: 1.25rem; font-size: .875rem; color: var(--muted); }
.dateline .flag { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); background: var(--mist); border: 1px solid var(--line); padding: .25rem .65rem; border-radius: 999px; font-size: .8125rem; }
.dateline .flag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

main.article .shell > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin: 3.25rem 0 1rem; letter-spacing: -.024em; }
main.article .shell > h3 { margin: 2rem 0 .6rem; }
main.article .shell > p, main.article .shell > ul, main.article .shell > ol, main.article .shell > details.more, main.article .shell > blockquote { margin-top: 1.1rem; }
main.article .shell > ul, main.article .shell > ol, .faq-a ul, .faq-a ol, details.more ul, details.more ol { padding-left: 1.3rem; }
main.article .shell > ul li, main.article .shell > ol li { margin-top: .55rem; padding-left: .2rem; }
main.article .shell > ul li::marker { color: var(--red); }
main.article .shell > ol li::marker { color: var(--muted); font-size: .9em; }
main.article blockquote { border-left: 3px solid var(--red); padding: .25rem 0 .25rem 1.25rem; color: var(--ink); font-size: 1.125rem; }
mark { background: linear-gradient(transparent 60%, #FBD5D0 60%); color: var(--ink); padding: 0 .05em; }

.extract { margin-top: 2rem; padding: 1.35rem 1.5rem 1.5rem; background: var(--mist); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 4px var(--r-lg) var(--r-lg) 4px; color: var(--ink); font-size: 1.0938rem; line-height: 1.65; }
.extract p + p { margin-top: .8rem; }
.extract-chip { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; font-size: .75rem; color: var(--muted); font-family: var(--mono); }
.extract-chip .tag { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; color: var(--red-ink); background: var(--red-wash); padding: .2rem .5rem; border-radius: 4px; }

details.more { border: 1px solid var(--line); border-radius: var(--r); padding: 0 1rem; background: var(--paper); }
details.more > summary { cursor: pointer; list-style: none; padding: .7rem 0; font-size: .875rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .55rem; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ''; width: 6px; height: 6px; border-right: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg); transition: transform .2s; }
details.more[open] > summary::before { transform: rotate(45deg); }
details.more[open] { padding-bottom: 1rem; }
details.more > * + * { margin-top: .8rem; }
details.more > summary + * { margin-top: 0; }

.table-wrap { margin: 1.75rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); -webkit-overflow-scrolling: touch; }
@media (min-width: 1100px) { main.article .table-wrap { margin-left: -3rem; margin-right: -3rem; } }
table { width: 100%; border-collapse: collapse; font-size: .9063rem; line-height: 1.5; }
caption { caption-side: top; text-align: left; padding: .9rem 1.1rem; font-size: .8125rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); background: #FBFBF9; }
th, td { text-align: left; vertical-align: top; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
th { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FBFBF9; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
td strong { color: var(--ink); }

sup.cite { font-size: .7em; line-height: 0; margin-left: .1em; }
sup.cite a { text-decoration: none; color: var(--red-ink); font-weight: 600; }

details.sources { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: .875rem; color: var(--muted); }
details.sources > summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: .4rem 0; }
details.sources ol { margin-top: .75rem; padding-left: 1.4rem; display: grid; gap: .5rem; }
details.sources li { padding-left: .2rem; }
details.sources li:target { background: var(--red-wash); border-radius: 4px; }
.section details.sources { margin-top: 2.5rem; }

.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: 2rem; }

/* CTA panel (appended to every article by the blog publisher) */
.cta-panel { margin-top: 3.5rem; padding: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: var(--night); color: var(--night-muted); position: relative; overflow: hidden; isolation: isolate; }
.cta-panel::after { content: ''; position: absolute; z-index: -1; width: 30rem; height: 24rem; right: -10rem; top: -12rem; background: radial-gradient(closest-side, rgba(255, 107, 87, .25), transparent); }
.cta-panel .eyebrow { color: var(--night-muted); }
.cta-panel .eyebrow::before { background: var(--red-on-night); }
main.article .shell .cta-panel h2, .cta-panel h2 { color: #fff; margin: .7rem 0 .6rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.cta-panel p { color: var(--night-muted); max-width: 34rem; }
.cta-panel a:not(.btn) { color: var(--red-on-night); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.4rem; }
.cta-note { font-size: .8125rem; color: var(--night-muted); }

/* reading progress + on-this-page */
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--red); z-index: 60; }
.toc { display: none; }
@media (min-width: 1360px) {
  .toc { display: block; position: fixed; top: 7rem; left: max(1.5rem, calc((100vw - var(--measure)) / 2 - 18rem)); width: 14rem; font-size: .8125rem; max-height: calc(100vh - 9rem); overflow-y: auto; }
  .toc h2 { font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .75rem; }
  .toc ul { list-style: none; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -1px; border-left: 1.5px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
  .toc a:hover { color: var(--ink); }
  .toc a.active { color: var(--ink); border-left-color: var(--red); font-weight: 500; }
}

/* blog hub */
main.blog-hub > .shell { max-width: var(--shell); }
.hub-head { max-width: 46rem; }
.hub-head .lede { margin-top: 1.1rem; }
.post-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin-top: 2.5rem; }
.post { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); position: relative; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.post:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.post h2 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.018em; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.post p { font-size: .9375rem; }
.post .post-meta { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.post-featured { grid-column: 1 / -1; background: var(--mist); border-color: var(--line); padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.post-featured h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); letter-spacing: -.03em; max-width: 22em; }
.post-featured p { font-size: 1.0625rem; max-width: 42rem; }

/* end-of-article note */
.byline-box { margin-top: 3rem; display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); font-size: .9063rem; }
.byline-box .wordmark-icon { color: var(--red); flex: none; margin-top: .15rem; }

/* ---------- forms ---------- */
.audit-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .8125rem; display: block; margin-top: .1rem; }
.audit-form input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .95rem; min-height: 48px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.audit-form input::placeholder { color: #6B717E; }
.audit-form input:hover { border-color: #BEBFB9; }
.audit-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 11, 15, .08); }
.audit-form button { width: 100%; margin-top: .3rem; }
.form-status:empty { display: none; }
.form-status { font-size: .9375rem; padding: .85rem 1rem; border-radius: 10px; }
.form-status.ok { background: var(--green-wash); color: #145C39; }
.form-status.err { background: var(--red-wash); color: #8A1C13; }
.form-note { font-size: .8125rem; color: var(--muted); text-align: center; }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow-3); }
.form-card h2 { font-size: 1.375rem; letter-spacing: -.02em; }
.form-card > p { margin-top: .4rem; margin-bottom: 1.4rem; font-size: .9375rem; color: var(--muted); }

.audit-layout { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 1024px) { .audit-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); } .audit-layout .form-card { position: sticky; top: 5.5rem; } }
.audit-layout h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); letter-spacing: -.04em; margin-top: 1.1rem; }

/* contact channels */
.channel { display: flex; gap: 1rem; align-items: flex-start; }
.channel .icon { margin: 0; }
.channel h3 { margin-bottom: .25rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2rem; font-size: .9375rem; }
.site-footer a { color: var(--night-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--night-line); }
.footer-cta .eyebrow { color: var(--night-muted); }
.footer-cta .eyebrow::before { background: var(--red-on-night); }
.footer-cta-line { margin-top: .7rem; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.2; color: #fff; max-width: 24em; }
.site-footer .btn-primary, .site-footer .btn-primary:hover { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 1rem; max-width: 22rem; line-height: 1.6; }
.site-footer h2 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); font-size: .8125rem; }
.footer-meta a { color: var(--night-muted); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- 404 ---------- */
.notfound { padding: var(--section) 0; text-align: center; }
.notfound .code { font-family: var(--mono); font-size: .875rem; color: var(--red-ink); }
.notfound h1 { margin-top: .75rem; }
.notfound p { margin: 1rem auto 0; max-width: 32rem; }
.notfound .hero-actions { justify-content: center; }
.notfound .grid { margin-top: 3rem; text-align: left; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .mock .mk, .mock-sources li { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0s); }
  .js .mock.pending .mk, .js .mock.pending .mock-sources li { opacity: 0; transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 639px) {
  body { font-size: 1rem; }
  .hero-actions .btn, .cta-actions .btn, .footer-cta .btn { width: 100%; }
  .mock { font-size: .8125rem; }
  .mock-body { padding: .85rem; }
  .mock-grid { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
  .mk { font-size: 0; gap: 0; }
  .mock-grid .mh { font-size: .625rem; letter-spacing: .04em; }
  .mock-grid > div { padding: .5rem .6rem; }
  .mock-sources li span:last-child { display: none; }
  th, td { padding: .7rem .8rem; }
  .faq-a { padding-right: 0; }
  .offer-pill { font-size: .8125rem; }
}

@media print {
  .site-header, .site-footer, .cta-panel, .toc, .progress-bar, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ---------- page-level helpers ---------- */
.card-big { margin-top: 1rem; font-size: 1.5rem; letter-spacing: -.025em; }
.card-mist > p { margin-top: .75rem; }
.card-mist > p:last-child { margin-top: 1.25rem; }
.faq-title { margin-top: .9rem; }
.faq-sub { margin-top: 1rem; }
.pricing-extract { max-width: 48rem; margin-top: 2.25rem; }
.callout-h { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin-bottom: .6rem; }
.why-grid { margin-top: 1.25rem; }
.table-after { margin-top: 1.25rem; max-width: 48rem; }
.section-head-sub { margin-top: clamp(3rem, 2rem + 3vw, 5rem); margin-bottom: 0; }
.section .table-wrap { margin-top: 1.5rem; }
.audit-engines { margin-top: 1.5rem; }
.audit-h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin: 2.5rem 0 1.1rem; }
.audit-deliverables .card h3 { margin-top: .7rem; }
.audit-small { margin-top: 1.1rem; }
.audit-layout .ticks { margin-top: 1.1rem; }
.page-hero .ticks { margin-top: 1.1rem; }
.founders { margin-top: 1.75rem; }
.founders .card p.small { margin-top: -.2rem; margin-bottom: .6rem; }
.contact-note { margin-top: 1.5rem; }
.card details.more { margin-top: 1rem; }
.card-mist .checks { margin-top: 1rem; }
.steps-compact { grid-template-columns: 1fr; gap: .75rem; margin-top: 1rem; }
.steps-compact > li { padding: 1.1rem 1.2rem; }
.steps-compact > li::before { margin-bottom: .6rem; }
.steps-compact h3 { font-size: 1rem; margin-bottom: .2rem; }
.split > div > .lede { margin-top: 1rem; }
.plan-free .price b { color: #fff; }
.post .badge { align-self: flex-start; }
.audit-deliverables { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.audit-layout { grid-template-areas: "intro" "form" "details"; }
.audit-intro { grid-area: intro; }
.audit-layout .form-card { grid-area: form; }
.audit-details { grid-area: details; }
@media (min-width: 1024px) {
  .audit-layout { grid-template-areas: "intro form" "details form"; row-gap: 0; }
  .audit-details > .extract:first-child { margin-top: 2rem; }
}
