@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --blue: #1d9bf0;
  --blue-dark: #1586d0;
  --ink: #0e1220;
  --ink-soft: #1a2134;
  --paper: #ffffff;
  --mist: #eef1f8;
  --line: #d0d5dd;
  --muted: #5c6579;
  --text: #283044;
  --blue-wash: rgba(29, 155, 240, 0.1);
  --shadow:
    0 1px 2px rgba(14, 18, 32, 0.04),
    0 8px 24px rgba(14, 18, 32, 0.06),
    0 24px 70px rgba(14, 18, 32, 0.08);
  --shadow-card:
    0 1px 2px rgba(14, 18, 32, 0.04),
    0 4px 12px rgba(14, 18, 32, 0.04),
    0 14px 34px rgba(14, 18, 32, 0.05);
  --shadow-raise:
    0 2px 4px rgba(14, 18, 32, 0.05),
    0 10px 24px rgba(14, 18, 32, 0.07),
    0 28px 60px rgba(14, 18, 32, 0.1);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --content: 1120px;
  /* Dark-surface text tiers — kept ≥ AA for their sizes. */
  --dark-body: rgba(255, 255, 255, 0.74);
  --dark-soft: rgba(255, 255, 255, 0.66);
  --dark-fine: rgba(255, 255, 255, 0.58);
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Sora', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

::selection { background: rgba(29, 155, 240, 0.28); }

[id] { scroll-margin-top: 96px; }

p, li, dd { text-wrap: pretty; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--blue);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus { transform: translateY(0); }

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 18, 32, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 146px; height: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-links a {
  position: relative;
  padding: 10px 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--paper); }
.nav-links a.active { color: var(--paper); }
.nav-links a.active::after { transform: scaleX(1); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  background: var(--blue);
  color: var(--paper);
  font: 600 14px/1 'Sora', Arial, sans-serif;
  text-decoration: none;
  transition-property: transform, background-color, box-shadow, border-color, color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 4px 10px rgba(29, 155, 240, 0.18), 0 12px 26px rgba(29, 155, 240, 0.22); }
.button:active { transform: translateY(0) scale(0.96); box-shadow: none; }
.button--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: var(--paper); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.button--dark { background: var(--ink); }
.button--dark:hover { background: var(--ink-soft); box-shadow: 0 12px 24px rgba(14, 18, 32, 0.15); }

.button:focus-visible, .nav-links a:focus-visible, .brand:focus-visible, summary:focus-visible, .text-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
  color: var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  right: -260px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,155,240,0.16), rgba(29,155,240,0) 68%);
}

.hero-grid {
  width: min(calc(100% - 40px), var(--content));
  min-height: 640px;
  margin: 0 auto;
  padding: 94px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(320px, 0.83fr);
  align-items: center;
  gap: 80px;
  position: relative;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--ink); margin-top: 0; letter-spacing: -0.03em; text-wrap: balance; }
h3 { letter-spacing: -0.015em; }

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--paper);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.04;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 640px; margin: 0 0 34px; color: var(--dark-body); font-size: clamp(17px, 2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.signal-panel {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
  overflow: hidden;
}

.signal-rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.signal-rings i {
  position: absolute;
  left: -190px;
  top: 50%;
  border: 2px solid var(--blue);
  border-left-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
}
.signal-rings i:nth-child(1) { width: 310px; height: 310px; opacity: 0.9; }
.signal-rings i:nth-child(2) { width: 430px; height: 430px; opacity: 0.44; }
.signal-rings i:nth-child(3) { width: 560px; height: 560px; opacity: 0.18; }

.measure-list { position: relative; margin: 0; padding: 34px; list-style: none; }
.measure-list li { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.measure-list li:last-child { border-bottom: 0; }
.measure-kicker { display: block; margin-bottom: 4px; color: rgba(255,255,255,0.45); font: 11px/1.4 'JetBrains Mono', monospace; }
.measure-value { color: var(--paper); font-size: 17px; font-weight: 600; }
.measure-value::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(29,155,240,0.1); }

.page-hero .hero-grid { min-height: 450px; grid-template-columns: minmax(0, 760px) 1fr; padding-top: 80px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.page-hero .signal-panel { min-height: 280px; }

.section { padding: 96px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: var(--dark-body); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.wrap { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.wrap--narrow { width: min(calc(100% - 40px), 760px); margin: 0 auto; }

.section-head { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-intro { max-width: 680px; margin: 0; font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  transition-property: transform, box-shadow, border-color;
  transition-duration: 200ms;
  transition-timing-function: var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raise); }
.card::before { content: ''; position: absolute; left: 30px; top: 0; width: 42px; height: 3px; background: var(--blue); transition: width 200ms var(--ease-out); }
.card:hover::before { width: 66px; }
.card h3 { margin-bottom: 12px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card-number { display: block; margin-bottom: 34px; color: var(--blue); font: 12px 'JetBrains Mono', monospace; }
.card--dark { border-color: rgba(255,255,255,0.1); background: var(--ink-soft); box-shadow: none; }
.card--dark h3 { color: var(--paper); }
.card--dark p { color: rgba(255,255,255,0.62); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 30px 28px 0 0; }
.process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--line); }
.process-step span { color: var(--blue); font: 12px 'JetBrains Mono', monospace; }
.process-step h3 { margin: 42px 0 10px; font-size: 20px; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

.proof-line { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.proof-line:last-child { border-bottom: 1px solid var(--line); }
.proof-mark { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-wash); color: var(--blue); font: 600 12px 'JetBrains Mono', monospace; }
.proof-line h3 { margin: 1px 0 5px; font-size: 18px; }
.proof-line p { margin: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.split h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.split-copy > p { margin-top: 0; font-size: 17px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; }
td { font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.yes { color: var(--blue-dark); font-weight: 700; }
.no { color: var(--muted); }

.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.price-card { padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-card); transition-property: transform, box-shadow; transition-duration: 220ms; transition-timing-function: var(--ease-out); }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-raise); }
.price-card--featured { border-color: var(--blue); background: linear-gradient(180deg, rgba(29,155,240,0.08), var(--paper) 35%); }
.price-name { margin: 0 0 20px; color: var(--muted); font: 12px 'JetBrains Mono', monospace; }
.price { margin: 0; color: var(--ink); font-size: clamp(44px, 6vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; }
.price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-note { min-height: 54px; margin: 14px 0 26px; color: var(--muted); font-size: 14px; }
.feature-list { margin: 0 0 30px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); font-size: 14px; }
.feature-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.callout { padding: 38px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--ink); color: rgba(255,255,255,0.72); }
.callout h2, .callout h3 { color: var(--paper); }
.callout p:last-child { margin-bottom: 0; }

.quote { margin: 0; padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.35; letter-spacing: -0.025em; }
.quote em { color: var(--blue); font-style: normal; }

.details-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 23px 44px 23px 0; position: relative; color: var(--ink); font-size: 17px; font-weight: 600; transition: color 160ms var(--ease-out); }
summary:hover { color: var(--blue-dark); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 5px; top: 20px; color: var(--blue); font-size: 24px; line-height: 1.2; transition: transform 240ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 760px; margin: -5px 0 24px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  details[open] p { animation: faq-in 260ms var(--ease-out) both; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
}

.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; color: var(--blue-dark); font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.text-link::after { content: '→'; transition: transform 200ms var(--ease-out); }
.text-link:hover::after { transform: translateX(4px); }

.cta-band { background: var(--blue); color: var(--paper); }
.cta-inner { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 66px 0; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-inner h2 { max-width: 650px; margin: 0; color: var(--paper); font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }

.footer { background: var(--ink); color: rgba(255,255,255,0.54); }
.footer-grid { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 54px 0 30px; display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 50px; }
.footer img { width: 138px; margin-bottom: 16px; }
.footer p { max-width: 430px; margin: 0; font-size: 13px; }
.footer h3 { margin-bottom: 14px; color: var(--paper); font-size: 13px; letter-spacing: 0; }
.footer a { display: block; width: fit-content; margin: 8px 0; color: rgba(255,255,255,0.64); font-size: 13px; text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer-bottom { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); font: 11px 'JetBrains Mono', monospace; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy-block > * { animation: rise 560ms ease both; }
  .hero-copy-block > *:nth-child(2) { animation-delay: 90ms; }
  .hero-copy-block > *:nth-child(3) { animation-delay: 160ms; }
  .hero-copy-block > *:nth-child(4) { animation-delay: 230ms; }
  .signal-panel { animation: rise 650ms 180ms ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
}

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-grid { padding-top: 76px; }
  .signal-panel, .page-hero .signal-panel { min-height: 320px; }
  .section-head, .split { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .price-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .process-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .stage-ribbon { font-size: 10px; }
  .nav { width: min(calc(100% - 28px), var(--content)); min-height: 64px; }
  .brand img { width: 126px; }
  .nav .button { min-height: 40px; padding: 9px 13px; font-size: 12px; }
  .hero-grid, .wrap, .wrap--narrow, .cta-inner, .footer-grid, .footer-bottom { width: min(calc(100% - 32px), var(--content)); }
  .hero-grid { min-height: auto; padding: 66px 0 64px; }
  .hero h1 { font-size: 43px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .signal-panel { min-height: 360px; }
  .measure-list { padding: 24px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .card, .price-card { padding: 26px; }
  .process { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step, .process-step:nth-child(3) { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-step:first-child { border-top: 0; }
  .process-step h3 { margin-top: 18px; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* Standard multi-page website components. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(14,18,32,0.95);
  backdrop-filter: blur(16px);
}
.site-header .nav-shell {
  position: static;
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  background: transparent;
}
.nav-links a.active { color: var(--paper); }
.button-small { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,0.2); color: var(--paper); }
.button-ghost:hover { background: rgba(255,255,255,0.06); box-shadow: none; }
.button-dark { background: var(--ink); }
.button-dark:hover { background: var(--ink-soft); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero h1 span, .page-hero h1 span { display: block; color: var(--blue); }
.signal-stage {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  box-shadow: 0 34px 90px rgba(0,0,0,0.28);
  overflow: hidden;
}
.signal-rings i:nth-child(4) { width: 690px; height: 690px; opacity: 0.08; }
.signal-rings b { position: absolute; left: 113px; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); transform: translateY(-50%); box-shadow: 0 0 0 8px rgba(29,155,240,0.12); }
@media (prefers-reduced-motion: no-preference) {
  .signal-rings i { animation: ring-drift 36s linear infinite; }
  .signal-rings i:nth-child(2) { animation-duration: 52s; animation-direction: reverse; }
  .signal-rings i:nth-child(3) { animation-duration: 70s; }
  .signal-rings i:nth-child(4) { animation-duration: 90s; animation-direction: reverse; }
  .signal-rings b { animation: dot-pulse 3.2s var(--ease-out) infinite; }
  @keyframes ring-drift {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
  }
  @keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(29,155,240,0.12); }
    50% { box-shadow: 0 0 0 14px rgba(29,155,240,0.05); }
  }
}
.measurement-panel { position: relative; padding: 34px; }
.mono-label { margin: 0 0 16px; color: var(--blue); font: 500 11px/1.4 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
.metric-list { margin: 0; padding: 0; list-style: none; }
.metric-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.metric-list li:last-child { border-bottom: 0; }
.metric-list span { color: rgba(255,255,255,0.76); font-size: 14px; }
.metric-list strong { color: var(--blue); font: 500 11px 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.page-hero {
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
  color: var(--paper);
}
.page-hero > div { width: min(calc(100% - 40px), var(--content)); min-height: 430px; margin: 0 auto; padding: 92px 0 76px; display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; color: var(--paper); font-size: clamp(42px, 5vw, 66px); line-height: 1.05; }
.page-hero p:last-child { max-width: 720px; margin: 0; color: var(--dark-body); font-size: 18px; }

.section > * { width: min(calc(100% - 40px), var(--content)); margin-left: auto; margin-right: auto; }
.section-dark { background: var(--ink); color: var(--dark-body); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-tint { background: var(--mist); }
.eyebrow.dark { color: var(--blue-dark); }
.section-heading { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 14px 70px; align-items: end; margin-bottom: 50px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-heading > p:last-child { grid-column: 2; max-width: 680px; margin: 0; font-size: 17px; }
.section-dark .section-heading > p:last-child { color: var(--dark-body); }

.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card { min-height: 0; }
.feature-card > p { margin-bottom: 18px; }
.check-list { margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 24px; border-top: 1px solid var(--line); font-size: 14px; }
.check-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.prompt-example { margin-top: 24px !important; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink) !important; font: 12px/1.6 'JetBrains Mono', monospace !important; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.14); }
.process-grid li { padding: 30px 26px 0 0; }
.process-grid li + li { padding-left: 26px; border-left: 1px solid rgba(255,255,255,0.14); }
.process-grid span { color: var(--blue); font: 12px 'JetBrains Mono', monospace; }
.process-grid h3 { margin: 42px 0 10px; font-size: 20px; }
.process-grid p { margin: 0; color: var(--dark-body); font-size: 14.5px; }
.light-process { border-color: var(--line); }
.light-process li + li { border-color: var(--line); }
.light-process h3 { color: var(--ink); }
.light-process p { color: var(--muted); }

.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route-card { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; box-shadow: var(--shadow-card); transition-property: transform, border-color, box-shadow; transition-duration: 200ms; transition-timing-function: var(--ease-out); }
.route-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.route-card:active { transform: translateY(-1px) scale(0.99); }
.route-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-raise); }
.route-card > span { color: var(--blue); font: 11px 'JetBrains Mono', monospace; }
.route-card h3 { margin: 40px 0 12px; font-size: 24px; }
.route-card p { color: var(--muted); font-size: 14px; }
.route-card b { display: block; margin-top: 28px; color: var(--blue-dark); font-size: 13px; transition: transform 200ms var(--ease-out); }
.route-card:hover b { transform: translateX(4px); }

.proof-lines { margin: 0; padding: 0; list-style: none; }
.proof-lines li { position: relative; padding: 18px 0 18px 30px; border-top: 1px solid var(--line); }
.proof-lines li:last-child { border-bottom: 1px solid var(--line); }
.proof-lines li::before { content: ''; position: absolute; left: 3px; top: 27px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.small-note { margin-top: 24px; color: var(--muted); font-size: 13px; }

.evidence-ladder { counter-reset: ladder; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,0.12); }
.evidence-ladder li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.evidence-ladder li > span { color: var(--blue); font: 12px 'JetBrains Mono', monospace; }
.evidence-ladder h3 { margin: 0 0 5px; font-size: 19px; }
.evidence-ladder p { margin: 0; color: var(--dark-body); }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.term-path { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto 34px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.term-path li { min-height: 210px; padding: 28px; }
.term-path li + li { border-left: 1px solid var(--line); }
.term-path span { color: var(--blue); font: 500 10px 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
.term-path h2, .term-path h3 { margin: 42px 0 10px; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; }
.term-path p { margin: 0; color: var(--muted); font-size: 14px; }
.price-card.featured { border-color: var(--blue); background: linear-gradient(180deg, rgba(29,155,240,0.08), var(--paper) 35%); box-shadow: 0 1px 2px rgba(29,155,240,0.06), 0 10px 30px rgba(29,155,240,0.1), 0 26px 60px rgba(14,18,32,0.08); }
.price-card h2, .price-card .price-figure { margin: 6px 0; color: var(--ink); font-size: clamp(48px, 6vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-card h2 span, .price-card .price-figure span { font-size: 25px; font-weight: 600; vertical-align: top; }
.price-card > p:not(.mono-label):not(.price-unit):not(.price-figure) { color: var(--muted); }
.price-unit { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.baseline-callout { margin-top: 34px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--mist); }
.baseline-callout h2 { margin-bottom: 8px; }
.baseline-callout p:last-child { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }

.founder-mark { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; border-radius: 22px; background: var(--ink); }
.founder-mark span { position: relative; z-index: 2; color: var(--paper); font-size: clamp(72px, 10vw, 128px); font-weight: 700; letter-spacing: -0.08em; }
.founder-mark i { position: absolute; width: 390px; height: 390px; border: 2px solid var(--blue); border-radius: 50%; }
.founder-mark i:last-child { width: 260px; height: 260px; opacity: 0.35; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.12); }
.facts-grid > div { padding: 26px 24px 26px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.facts-grid dt { margin-bottom: 8px; color: var(--blue); font: 11px 'JetBrains Mono', monospace; text-transform: uppercase; }
.facts-grid dd { margin: 0; color: var(--paper); font-size: 17px; }
.facts-grid a { color: var(--paper); }
.definition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.definition-grid article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.definition-grid h3 { margin-bottom: 8px; }
.definition-grid p { margin: 0; color: var(--muted); }

.cta-section { padding: 66px max(20px, calc((100% - var(--content)) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--blue); color: var(--paper); }
.cta-section .eyebrow { color: var(--paper); opacity: 0.72; }
.cta-section h2 { max-width: 720px; margin: 0; color: var(--paper); font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.cta-section .button { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.cta-section .button:hover { background: rgba(255,255,255,0.9); color: var(--ink); box-shadow: 0 12px 26px rgba(14,18,32,0.18); }
.site-footer { padding: 56px max(20px, calc((100% - var(--content)) / 2)) 48px; display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 50px; border-top: 1px solid rgba(255,255,255,0.08); background: var(--ink); color: var(--dark-soft); }
.site-footer img { width: 138px; margin-bottom: 14px; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer a { display: block; width: fit-content; margin: 7px 0; padding: 2px 0; color: rgba(255,255,255,0.74); font-size: 13px; text-decoration: none; transition: color 160ms var(--ease-out); }
.site-footer a:hover { color: var(--blue); }

.plain-strip {
  margin-top: 56px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: 0.42fr 1.3fr auto;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.plain-strip .mono-label { margin: 0; }
.plain-strip h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.plain-strip p:not(.mono-label) { max-width: 720px; margin: 0; color: var(--muted); font-size: 14.5px; }
.plain-strip .text-link { white-space: nowrap; font-size: 13px; }

.entity-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 90px; align-items: start; }
.entity-narrative h2 { max-width: 620px; margin: 0 0 28px; color: var(--paper); font-size: clamp(38px, 4.5vw, 58px); line-height: 1.06; }
.entity-narrative > p:not(.eyebrow) { max-width: 640px; color: var(--dark-body); }
.entity-narrative .entity-lead { color: var(--paper) !important; font-size: 19px; font-weight: 600; }
.entity-register { padding-top: 4px; }
.entity-register .facts-grid { grid-template-columns: repeat(2, 1fr); }
.entity-register .facts-grid > div { padding-right: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-grid > div:first-child > *, .page-hero > div > * { animation: rise 560ms ease both; }
  .hero-grid > div:first-child > *:nth-child(2), .page-hero > div > *:nth-child(2) { animation-delay: 80ms; }
  .hero-grid > div:first-child > *:nth-child(3), .page-hero > div > *:nth-child(3) { animation-delay: 150ms; }
  .signal-stage { animation: rise 650ms 180ms ease both; }
}

@media (max-width: 900px) {
  .site-header .nav-shell { min-height: 64px; }
  .site-header .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .card-grid.three, .card-grid.two, .route-grid, .pricing-grid { grid-template-columns: 1fr; }
  .term-path { grid-template-columns: 1fr; }
  .term-path li { min-height: 0; }
  .term-path li + li { border-top: 1px solid var(--line); border-left: 0; }
  .term-path h2, .term-path h3 { margin-top: 22px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p:last-child { grid-column: 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 0; }
  .process-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .plain-strip { grid-template-columns: 1fr; gap: 14px; }
  .plain-strip .text-link { margin-top: 8px; }
  .entity-layout { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 620px) {
  .site-header .nav-shell, .page-hero > div, .section > * { width: min(calc(100% - 32px), var(--content)); }
  .site-header .nav-shell { gap: 12px; }
  .site-header .brand img { width: 104px; }
  .site-header .button-small { min-height: 40px; padding: 8px 11px; font-size: 11px; white-space: nowrap; }
  .page-hero > div { min-height: 380px; padding: 66px 0 58px; }
  .page-hero h1 { font-size: 42px; }
  .signal-stage { min-height: 350px; }
  .button-row { flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li + li, .process-grid li:nth-child(3) { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .process-grid li:first-child { border-top: 0; }
  .light-process li, .light-process li + li, .light-process li:nth-child(3) { border-top-color: var(--line); }
  .process-grid h3 { margin-top: 16px; }
  .baseline-callout { align-items: stretch; flex-direction: column; padding: 28px; }
  .facts-grid, .definition-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:first-child { grid-column: auto; }
  .plain-strip { padding-top: 24px; }
  .entity-register .facts-grid { grid-template-columns: 1fr; }
}

/* Source-of-truth panel brought forward from the older landing-page edit and
   reworked for the staged editorial system. */
.truth-section { padding: 84px 20px; background: var(--paper); }
.truth-panel { width: min(100%, 960px); margin: 0 auto; display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.8fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.truth-index { position: relative; overflow: hidden; padding: 42px 34px; background: var(--ink); }
.truth-index::after { content: ''; position: absolute; right: -85px; bottom: -85px; width: 230px; height: 230px; border: 1px solid rgba(29,155,240,0.3); border-radius: 50%; box-shadow: 0 0 0 35px rgba(29,155,240,0.08), 0 0 0 70px rgba(29,155,240,0.04); }
.truth-index h2 { position: relative; z-index: 1; max-width: 220px; margin: 30px 0 70px; color: var(--paper); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.truth-index > p:last-child { position: relative; z-index: 1; max-width: 210px; margin: 0; color: var(--dark-fine); font-size: 12px; }
.truth-copy { padding: 42px 46px 0; }
.truth-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.truth-copy .truth-lead { color: var(--ink); font-size: 18px; font-weight: 600; }
.truth-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px -46px 0; padding: 0 46px; border-top: 1px solid var(--line); }
.truth-facts > div { padding: 20px 14px 24px 0; }
.truth-facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.truth-facts dt { margin-bottom: 5px; color: var(--muted); font: 500 10px 'JetBrains Mono', monospace; letter-spacing: 0.07em; text-transform: uppercase; }
.truth-facts dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.45; }

/* Services v2: an operational field guide rather than another stack of cards. */
.service-v2 { background: var(--paper); }
.service-opening { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr); background: var(--ink); color: var(--paper); }
.service-opening__copy { padding: 96px max(40px, calc((100vw - var(--content)) / 2)) 88px; padding-right: 72px; background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px); background-size: 52px 52px; }
.service-opening h1 { max-width: 760px; margin: 0 0 26px; color: var(--paper); font-size: clamp(48px, 6vw, 78px); line-height: 1.02; }
.service-opening h1 span { display: block; color: var(--blue); }
.service-opening__copy > p:not(.eyebrow) { max-width: 640px; margin: 0 0 34px; color: var(--dark-body); font-size: 18px; }
.service-opening__link { color: var(--paper); }
.service-opening__link::after { display: none; }
.service-opening__brief { align-self: stretch; padding: 94px 48px 64px; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid rgba(255,255,255,0.1); background: var(--ink-soft); }
.brief-question { max-width: 340px; margin: 30px 0 auto; color: var(--paper); font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; line-height: 1.18; letter-spacing: -0.035em; }
.service-opening__brief dl { margin: 80px 0 0; }
.service-opening__brief dl > div { padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.service-opening__brief dt { margin-bottom: 4px; color: var(--blue); font: 10px 'JetBrains Mono', monospace; text-transform: uppercase; }
.service-opening__brief dd { margin: 0; color: rgba(255,255,255,0.8); font-size: 13.5px; }

.engagement-map { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 116px 0; display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 90px; align-items: start; }
.engagement-map__rail { position: sticky; top: 112px; }
.engagement-map__rail h2 { margin: 26px 0 20px; font-size: clamp(38px, 4vw, 54px); line-height: 1.06; }
.engagement-map__rail > p:last-child { max-width: 320px; color: var(--muted); }
.engagement-map__steps { border-top: 1px solid var(--line); }
.engagement-step { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.engagement-step__number { padding-top: 5px; color: var(--blue); font: 500 12px 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
.engagement-step h3 { max-width: 620px; margin-bottom: 13px; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.15; }
.engagement-step p { max-width: 660px; margin: 0; color: var(--muted); }
.deliverables { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.deliverables li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font: 10px 'JetBrains Mono', monospace; }

.boundary-ledger { display: grid; grid-template-columns: 0.82fr 1.18fr; background: var(--ink); color: var(--paper); }
.boundary-ledger__statement { min-height: 590px; padding: 90px max(46px, calc((100vw - var(--content)) / 2)); padding-right: 70px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.1); }
.boundary-ledger__statement h2 { max-width: 500px; margin: 28px 0 20px; color: var(--paper); font-size: clamp(40px, 5vw, 62px); line-height: 1.04; }
.boundary-ledger__statement > p:last-child { max-width: 430px; color: var(--dark-body); }
.boundary-ledger__rules { display: grid; grid-template-columns: repeat(2, 1fr); }
.boundary-ledger__rules > div { min-height: 295px; padding: 44px 38px; border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.boundary-ledger__rules span { color: var(--blue); font: 500 10px 'JetBrains Mono', monospace; text-transform: uppercase; }
.boundary-ledger__rules strong { display: block; margin: 55px 0 10px; color: var(--paper); font-size: 19px; }
.boundary-ledger__rules p { margin: 0; color: var(--dark-body); font-size: 14px; }

.fit-test { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; padding: 116px 0; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 100px; align-items: start; }
.fit-test__question { position: relative; min-height: 430px; padding: 48px; overflow: hidden; border-radius: 20px; background: var(--mist); }
.fit-test__mark { position: absolute; right: -18px; bottom: -86px; color: rgba(29,155,240,0.12); font-size: 380px; font-weight: 700; line-height: 1; }
.fit-test__question h2 { position: relative; z-index: 1; max-width: 400px; margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; }
.fit-test__lead { margin: 0 0 28px; color: var(--ink); font-size: 22px; font-weight: 600; }
.fit-test__answer ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fit-test__answer li { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.fit-test__answer li span { color: var(--blue); font: 11px 'JetBrains Mono', monospace; }
.fit-test__note { margin-top: 24px; color: var(--muted); font-size: 14px; }

.service-close { padding: 96px max(20px, calc((100% - var(--content)) / 2)); display: grid; grid-template-columns: 0.45fr 1.2fr auto; gap: 46px; align-items: center; background: var(--blue); color: var(--paper); }
.service-close .mono-label { color: var(--paper); opacity: 0.7; }
.service-close h2 { margin: 0; color: var(--paper); font-size: clamp(34px, 4vw, 50px); line-height: 1.08; }
.service-close .button { border-color: var(--paper); background: var(--paper); color: var(--ink); white-space: nowrap; }
.service-close .button:hover { background: rgba(255,255,255,0.9); color: var(--ink); box-shadow: 0 12px 26px rgba(14,18,32,0.18); }

@media (prefers-reduced-motion: no-preference) {
  .service-opening__copy > * { animation: rise 560ms ease both; }
  .service-opening__copy > *:nth-child(2) { animation-delay: 90ms; }
  .service-opening__copy > *:nth-child(3) { animation-delay: 160ms; }
  .service-opening__copy > *:nth-child(4) { animation-delay: 230ms; }
  .service-opening__brief { animation: rise 650ms 160ms ease both; }
}

@media (max-width: 900px) {
  .truth-panel, .service-opening, .engagement-map, .boundary-ledger, .fit-test { grid-template-columns: 1fr; }
  .truth-index h2 { margin-bottom: 34px; }
  .truth-facts { grid-template-columns: 1fr; }
  .truth-facts > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .service-opening__copy { padding: 82px 40px 72px; }
  .service-opening__brief { min-height: 460px; padding: 54px 40px; border-top: 1px solid rgba(255,255,255,0.1); border-left: 0; }
  .engagement-map { gap: 48px; }
  .engagement-map__rail { position: static; }
  .boundary-ledger__statement { min-height: 440px; padding: 78px 40px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .fit-test { gap: 48px; }
  .service-close { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .service-close .button { width: fit-content; }
}

@media (max-width: 620px) {
  .truth-section { padding: 60px 16px; }
  .truth-index, .truth-copy { padding: 30px 26px; }
  .truth-copy { padding-bottom: 0; }
  .truth-facts { margin-right: -26px; margin-left: -26px; padding: 0 26px; }
  .service-opening__copy { padding: 66px 20px 58px; }
  .service-opening h1 { font-size: 43px; }
  .service-opening__brief { padding: 42px 24px; }
  .engagement-map, .fit-test { width: min(calc(100% - 32px), var(--content)); padding: 78px 0; }
  .engagement-step { grid-template-columns: 42px 1fr; gap: 10px; }
  .boundary-ledger__statement { min-height: 400px; padding: 68px 24px; }
  .boundary-ledger__rules { grid-template-columns: 1fr; }
  .boundary-ledger__rules > div { min-height: 230px; padding: 34px 24px; }
  .boundary-ledger__rules strong { margin-top: 36px; }
  .fit-test__question { min-height: 350px; padding: 34px 28px; }
  .service-close { padding: 72px 20px; }
}

/* SEO foundation: a literal layered system rather than another feature grid. */
.search-stack {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mist);
  box-shadow: var(--shadow);
}
.search-stack__intro { padding: 58px 48px; background: var(--ink); }
.search-stack__intro h2 { margin: 28px 0 24px; color: var(--paper); font-size: clamp(38px, 4.2vw, 56px); line-height: 1.04; }
.search-stack__intro h2 span { color: var(--blue); }
.search-stack__intro > p:last-child { margin: 0; color: var(--dark-body); font-size: 15px; }
.search-stack__layers { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.search-layer { position: relative; padding: 25px 28px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); box-shadow: 0 12px 30px rgba(14,18,32,0.06); }
.search-layer:nth-child(1) { margin-left: 0; }
.search-layer:nth-child(2) { margin-left: 22px; }
.search-layer:nth-child(3) { margin-left: 44px; }
.search-layer > span { color: var(--blue-dark); font: 500 10px 'JetBrains Mono', monospace; letter-spacing: 0.06em; }
.search-layer h3 { margin: 16px 0 7px; font-size: 19px; }
.search-layer p { margin: 0; color: var(--muted); font-size: 14px; }
.search-layer--outloud { border-color: var(--ink-soft); background: var(--ink-soft); }
.search-layer--outloud > span { color: var(--blue); }
.search-layer--outloud h3 { color: var(--paper); }
.search-layer--outloud p { color: var(--dark-body); }
.search-layer--shared { background: linear-gradient(90deg, rgba(29,155,240,0.08), var(--paper) 32%); }
.search-stack__boundary { grid-column: 1 / -1; margin: 0; padding: 20px 48px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }

/* Methodology bridge: SEO evidence and AI-answer evidence stay adjacent but separate. */
.measurement-bridge { padding: 108px max(20px, calc((100% - var(--content)) / 2)); background: var(--mist); }
.measurement-bridge__intro { max-width: 900px; margin-bottom: 52px; }
.measurement-bridge__intro h2 { max-width: 880px; margin: 22px 0 18px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.06; }
.measurement-bridge__intro > p:last-child { max-width: 780px; margin: 0; color: var(--muted); font-size: 17px; }
.measurement-bridge__systems { display: grid; grid-template-columns: 1fr 82px 1fr; align-items: stretch; }
.measurement-bridge__systems article { padding: 42px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.measurement-bridge__systems article:last-child { border-color: var(--ink); background: var(--ink); color: var(--dark-body); }
.measurement-bridge__systems article > span { color: var(--blue-dark); font: 500 10px 'JetBrains Mono', monospace; letter-spacing: 0.07em; }
.measurement-bridge__systems article:last-child > span { color: var(--blue); }
.measurement-bridge__systems h3 { margin: 26px 0 22px; font-size: 28px; }
.measurement-bridge__systems article:last-child h3 { color: var(--paper); }
.measurement-bridge__systems ul { margin: 0 0 24px; padding: 0; list-style: none; }
.measurement-bridge__systems li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.measurement-bridge__systems li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.measurement-bridge__systems article:last-child li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.82); }
.measurement-bridge__systems article > p { margin: 0; color: var(--muted); font-size: 12px; }
.measurement-bridge__systems article:last-child > p { color: var(--dark-fine); }
.measurement-bridge__connector { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.measurement-bridge__connector i { width: 1px; flex: 1; background: var(--line); }
.measurement-bridge__connector b { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; margin: 12px 0; border: 1px solid var(--blue); border-radius: 50%; background: var(--paper); color: var(--blue); font: 500 18px 'JetBrains Mono', monospace; }

@media (max-width: 900px) {
  .search-stack { grid-template-columns: 1fr; }
  .search-stack__boundary { grid-column: 1; }
  .measurement-bridge__systems { grid-template-columns: 1fr; gap: 18px; }
  .measurement-bridge__connector { height: 58px; flex-direction: row; }
  .measurement-bridge__connector i { width: auto; height: 1px; }
  .measurement-bridge__connector b { margin: 0 12px; }
}

@media (max-width: 620px) {
  .search-stack { width: min(calc(100% - 32px), var(--content)); margin-bottom: 78px; }
  .search-stack__intro { padding: 42px 28px; }
  .search-stack__layers { padding: 22px; }
  .search-layer, .search-layer:nth-child(2), .search-layer:nth-child(3) { margin-left: 0; padding: 23px; }
  .search-stack__boundary { padding: 18px 28px; }
  .measurement-bridge { padding: 78px 16px; }
  .measurement-bridge__systems article { padding: 30px 26px; }
}

/* Mobile navigation drawer (checkbox-driven, zero JS). */
.nav-drawer-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }
.nav-drawer { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    row-gap: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span {
    grid-area: 1 / 1;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--paper);
    transition: transform 240ms var(--ease-out);
  }
  .nav-toggle span:nth-child(1) { transform: translateY(-3.5px); }
  .nav-toggle span:nth-child(2) { transform: translateY(3.5px); }
  .nav-drawer-toggle:checked ~ .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
  .nav-drawer-toggle:checked ~ .nav-toggle span:nth-child(2) { transform: rotate(-45deg); }
  .nav-drawer-toggle:focus-visible ~ .nav-toggle { outline: 3px solid var(--blue); outline-offset: 3px; }

  .nav-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(14,18,32,0.98);
    backdrop-filter: blur(16px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
  }
  .nav-drawer-toggle:checked ~ .nav-drawer {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .nav-drawer a {
    padding: 15px 2px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }
  .nav-drawer a:first-child { border-top: 0; }
  .nav-drawer a.active { color: var(--blue); }
  .nav-drawer .button { margin-top: 14px; border-top: 0; color: var(--paper); font-size: 14px; }
}

/* Scroll-linked reveals — progressive enhancement, opacity only. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .route-card, .price-card, .search-layer,
    .engagement-step, .measurement-bridge__systems article,
    .boundary-ledger__rules > div, .definition-grid article {
      animation: scroll-reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 45%;
    }
    @keyframes scroll-reveal { from { opacity: 0.12; } to { opacity: 1; } }
  }
}

/* CTA email fallback — for visitors with no mail client wired to mailto. */
.cta-action { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cta-email { margin: 0; color: rgba(255,255,255,0.82); font-size: 13px; }
.cta-email a { color: var(--paper); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-email a:hover { color: rgba(255,255,255,0.85); }
@media (max-width: 900px) {
  .cta-action { align-items: flex-start; }
}
