/* ==========================================================================
   StackScopes — Site stylesheet
   Design system: "Instrumentation, not decoration."
   Display: Archivo · Body: IBM Plex Sans · Data/labels: IBM Plex Mono
   Palette: navy ink, cobalt, signal-mint, pale-blue grounds, blueprint hairlines
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink & text */
  --ink: #0a1633;
  --ink-soft: #46526f;
  --muted: #6b7893;

  /* Brand */
  --blue: #1b4de4;
  --blue-strong: #1540c4;
  --blue-soft: #eef3ff;
  --blue-line: #cdd9f7;
  --cyan: #18b9df;

  /* Status */
  --mint: #12b981;
  --mint-strong: #0d9d6d;
  --mint-soft: #e6f8f1;
  --amber: #e2941f;
  --amber-soft: #fcf1dd;
  --red: #e23a4e;
  --red-soft: #fdecee;

  /* Surfaces */
  --surface: #ffffff;
  --surface-alt: #f5f8fe;
  --page: #eef2fb;
  --ink-panel: #0b1631;
  --ink-panel-2: #101f43;

  /* Lines */
  --line: #d6deee;
  --line-strong: #c2cde3;
  --line-soft: #e7ecf7;

  /* Shadows — flat, low, engineered */
  --shadow-sm: 0 1px 0 rgba(10, 22, 51, 0.04), 0 2px 8px rgba(38, 56, 96, 0.05);
  --shadow-md: 0 18px 44px rgba(29, 47, 96, 0.10);
  --shadow-lg: 0 30px 70px rgba(15, 30, 74, 0.16);

  /* Radii — restrained */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Metrics */
  --container: 1180px;
  --shell: 1420px;
  --pad-x: clamp(20px, 5vw, 64px);

  /* Type */
  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, "Cascadia Code", monospace;

  /* Blueprint grid wash */
  --grid-line: rgba(27, 77, 228, 0.06);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}
p { margin: 0; }

::selection { background: rgba(27, 77, 228, 0.16); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.site-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 22px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: clip;
  box-shadow: var(--shadow-md);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section--soft {
  background: var(--surface-alt);
  border-block: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   4. Shared type devices — eyebrow / labels / links
   -------------------------------------------------------------------------- */
.eyebrow,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before,
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}

.card-label,
.example-label,
.blog-meta,
.field-label,
.timeline-title,
.board-title {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid var(--blue-line);
  transition: border-color 0.16s ease;
}
.text-link:hover { border-color: var(--blue); }

/* --------------------------------------------------------------------------
   5. Section headings
   -------------------------------------------------------------------------- */
.section-heading {
  max-width: 60ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-heading .eyebrow { margin-bottom: 18px; }
.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}
.section-heading p {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.section-heading--center {
  max-width: 72ch;
  margin-inline: auto;
  text-align: center;
}
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center p { margin-inline: auto; }

.section-heading--split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px 48px;
  align-items: end;
  max-width: none;
}
.section-heading--split > div { max-width: 46ch; }
.section-heading__note {
  color: var(--muted);
  font-size: 0.98rem;
  padding-left: 22px;
  border-left: 2px solid var(--blue-line);
}
.section-heading__action { align-self: center; justify-self: start; }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 14px 26px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.button:hover {
  background: var(--blue-strong);
  border-color: var(--blue-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(27, 77, 228, 0.28);
}
.button:active { transform: translateY(0); }

.button--secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: none;
}
.button--secondary:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: var(--blue-line);
  box-shadow: none;
}

.button--small {
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
  box-shadow: none;
}
.button--ghost:hover {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: var(--blue-line);
  box-shadow: none;
}

.button--inverse {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}
.button--inverse:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 14px var(--pad-x);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark img { width: 25px; height: 25px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}

.nav-group { position: relative; }
.nav-group > summary,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  transition: color 0.14s ease, background 0.14s ease;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.16s ease;
  opacity: 0.7;
}
.nav-group[open] > summary::after { transform: rotate(-135deg); }
.nav-group > summary:hover,
.nav-link:hover,
.nav-group[open] > summary {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  min-width: 264px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: nav-pop 0.16s ease;
}
@keyframes nav-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-menu a {
  padding: 9px 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: color 0.14s ease, background 0.14s ease;
}
.nav-menu a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-menu a:first-child { color: var(--ink); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Mobile menu */
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu > summary {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 1.35rem;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 45;
  width: min(84vw, 320px);
  display: grid;
  gap: 2px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.mobile-menu__panel a {
  padding: 12px 14px;
  color: var(--ink-soft);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.mobile-menu__panel a:hover { color: var(--blue); background: var(--blue-soft); }
.mobile-menu__actions { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.mobile-menu__actions .button { width: 100%; }

/* --------------------------------------------------------------------------
   8. Home hero
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 6vw, 88px) var(--pad-x);
  background:
    linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(120% 90% at 78% 40%, #000 30%, transparent 72%);
  pointer-events: none;
}
.home-hero__copy { position: relative; z-index: 1; }
.hero-kicker { margin-bottom: 22px; }
.home-hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.home-hero__lead {
  margin-top: 22px;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.5;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.home-hero__actions .button { min-width: 158px; min-height: 52px; }
.home-hero__visual { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   8b. Product board (topology dashboard) — geometry preserved
   -------------------------------------------------------------------------- */
.product-board {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 245px;
  grid-template-rows: minmax(0, 1fr) 72px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.board-rail {
  grid-row: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  background: var(--surface-alt);
  border-right: 1px solid var(--line);
}
.rail-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #5d6a83;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rail-button.is-active { color: var(--blue); background: var(--blue-soft); }

.topology-card { position: relative; min-height: 330px; padding: 14px 18px 6px; }
.board-title {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.topology { position: relative; height: 280px; }

.topology-line {
  position: absolute;
  z-index: 0;
  height: 1px;
  background: #8d9bb3;
  transform-origin: left center;
}
.topology-line::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 6px;
  height: 6px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.topology-line.is-healthy { color: var(--mint); background: var(--mint); }
.topology-line.is-critical { height: 2px; color: var(--red); background: var(--red); }

.line-1 { top: 40px; left: 50%; width: 80px; transform: rotate(20deg); }
.line-2 { top: 76px; left: 47%; width: 100px; transform: rotate(-152deg); }
.line-3 { top: 106px; left: 38%; width: 90px; transform: rotate(32deg); }
.line-4 { top: 108px; left: 58%; width: 88px; transform: rotate(-28deg); }
.line-5 { top: 163px; left: 33%; width: 105px; transform: rotate(23deg); }
.line-6 { top: 162px; left: 52%; width: 98px; transform: rotate(7deg); }
.line-7 { top: 165px; left: 61%; width: 95px; transform: rotate(150deg); }
.line-8 { top: 208px; left: 45%; width: 85px; transform: rotate(88deg); }
.line-9 { top: 208px; left: 55%; width: 115px; transform: rotate(25deg); }

.topology-node {
  position: absolute;
  z-index: 2;
  min-width: 86px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}
.node-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  flex: 0 0 20px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
}
.topology-node.is-healthy { border-color: #6bd0b1; }
.topology-node.is-healthy .node-icon { color: #fff; background: var(--mint); }
.topology-node.is-critical { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.topology-node.is-critical .node-icon { color: #fff; background: var(--red); }

.node-internet { top: 0; left: calc(50% - 45px); }
.node-edge { top: 54px; left: calc(32% - 45px); }
.node-dns { top: 54px; right: 4%; min-width: 60px; }
.node-lb { top: 112px; left: calc(20% - 43px); }
.node-waf { top: 112px; right: 10%; min-width: 65px; }
.node-web { top: 172px; left: 4%; }
.node-app { top: 172px; left: calc(48% - 44px); }
.node-cache { top: 172px; right: 0; }
.node-db { top: 232px; left: 27%; }
.node-object { top: 232px; right: 8%; }

.board-side {
  grid-column: 3;
  grid-row: 1;
  padding: 13px 12px;
  background: var(--surface-alt);
  border-left: 1px solid var(--line);
}
.mini-panel + .mini-panel { margin-top: 10px; }
.mini-panel {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.mini-panel h3 { margin-bottom: 9px; font-size: 0.72rem; letter-spacing: -0.01em; }

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.54rem;
}
.field-value {
  min-width: 105px;
  padding: 4px 7px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  text-transform: none;
  letter-spacing: 0;
}
.run-simulation {
  width: 100%;
  min-height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blast-grid { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 9px; }
.donut {
  position: relative;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0 20%, var(--amber) 20% 44%, var(--mint) 44% 69%, #137387 69% 100%);
}
.donut::after { position: absolute; inset: 11px; content: ""; background: #fff; border-radius: 50%; }
.risk-list { display: grid; gap: 3px; color: var(--ink-soft); font-size: 0.55rem; }
.risk-list span { display: flex; justify-content: space-between; }
.risk-list i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; }

.critical-panel { color: #8f1020; background: var(--red-soft); border-color: #f5a9b1; }
.critical-panel h3 { color: #b20d20; }
.critical-panel p { margin-bottom: 5px; color: #9f2531; font-size: 0.57rem; line-height: 1.45; }
.critical-stats { display: flex; gap: 12px; color: var(--ink); font-size: 0.57rem; font-family: var(--font-mono); }

.board-timeline {
  grid-column: 2 / 4;
  grid-row: 2;
  margin: 0 12px 10px 12px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.timeline-title { margin-bottom: 7px; font-size: 0.55rem; font-weight: 600; color: var(--ink-soft); }
.timeline-track { position: relative; height: 20px; margin-left: 28px; border-top: 1px solid #b7c0d2; }
.timeline-play {
  position: absolute; top: -10px; left: -28px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  color: #fff; background: var(--blue); border-radius: 50%; font-size: 0.48rem;
}
.timeline-dot { position: absolute; top: -3px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.timeline-dot:nth-child(2) { left: 18%; }
.timeline-dot:nth-child(3) { left: 23%; }
.timeline-dot:nth-child(4) { left: 46%; }
.timeline-dot:nth-child(5) { left: 61%; }
.timeline-dot:nth-child(6) { left: 67%; background: var(--amber); }
.timeline-dot:nth-child(7) { left: 88%; background: var(--amber); }

/* --------------------------------------------------------------------------
   9. Signal strip
   -------------------------------------------------------------------------- */
.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px var(--pad-x);
  background: var(--ink-panel);
  color: #fff;
}
.signal {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  padding: 4px 24px;
}
.signal + .signal { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.signal-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #bcd0ff;
  background: rgba(27, 77, 228, 0.22);
  border: 1px solid rgba(120, 160, 255, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}
.signal strong { display: block; font-size: 0.94rem; font-weight: 600; }
.signal span span { display: block; color: #9fb0d4; font-size: 0.8rem; line-height: 1.35; margin-top: 2px; }

/* --------------------------------------------------------------------------
   10. Home workflow band (Detect → Map → Simulate → Recover)
   -------------------------------------------------------------------------- */
.home-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(28px, 4vw, 44px) var(--pad-x);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line-soft);
}
.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 16px;
  padding: 6px 30px;
}
.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px; height: 22px;
  transform: translate(50%, -50%) rotate(45deg);
  border-top: 2px solid var(--blue-line);
  border-right: 2px solid var(--blue-line);
}
.workflow-step + .workflow-step { border-left: 1px solid var(--line); }
.workflow-icon {
  grid-row: 1 / 3;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
}
.workflow-step strong { font-size: 1.06rem; font-weight: 700; }
.workflow-step small { color: var(--muted); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   11. Home — visual suite (3 illustrated cards)
   -------------------------------------------------------------------------- */
.visual-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.visual-suite-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.visual-suite-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.visual-suite-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); border-bottom: 1px solid var(--line-soft); }
.visual-suite-card figure img { width: 100%; height: 100%; object-fit: cover; }
.visual-suite-card__copy { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.visual-suite-card__copy > span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.visual-suite-card__copy h3 { font-size: 1.32rem; }
.visual-suite-card__copy p { color: var(--ink-soft); font-size: 0.98rem; }
.visual-suite-card__copy a {
  margin-top: auto;
  padding-top: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.94rem;
}
.visual-suite-card__copy a:hover { color: var(--blue-strong); }

/* --------------------------------------------------------------------------
   12. Home — explainer grid
   -------------------------------------------------------------------------- */
.home-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-explainer-grid article {
  position: relative;
  padding: 30px 30px 30px 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.home-explainer-grid article > span {
  position: absolute;
  top: 30px; left: 26px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--mint);
}
.home-explainer-grid h3 { font-size: 1.24rem; margin-bottom: 10px; }
.home-explainer-grid p { color: var(--ink-soft); font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   13. Home — questions grid
   -------------------------------------------------------------------------- */
.question-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.question-grid article {
  padding: 26px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.question-grid article:hover { border-color: var(--blue-line); box-shadow: var(--shadow-sm); }
.question-grid article > span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 20px;
}
.question-grid h3 { font-size: 1.14rem; margin-bottom: 8px; line-height: 1.2; }
.question-grid p { color: var(--ink-soft); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   14. Editorial grid & cards (built preview + blog preview)
   -------------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.editorial-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.editorial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.editorial-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line-soft);
}
.editorial-card__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-card__media span {
  position: absolute;
  top: 12px; left: 12px;
  min-width: 30px;
  padding: 5px 9px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 22, 51, 0.82);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
}
.editorial-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.editorial-card__body .card-label { font-size: 0.7rem; color: var(--blue); }
.editorial-card__body h3 { font-size: 1.18rem; line-height: 1.22; }
.editorial-card__body p { color: var(--ink-soft); font-size: 0.94rem; }
.editorial-card__body strong { margin-top: auto; padding-top: 4px; color: var(--blue); font-weight: 600; font-size: 0.92rem; }

.editorial-card--blog .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  font-size: 0.68rem;
  color: var(--muted);
}
.editorial-card--blog .blog-meta span:first-child { color: var(--blue); }
.editorial-card--blog .blog-meta time { color: var(--muted); }

/* --------------------------------------------------------------------------
   15. Home — decisions (solutions + pricing panels)
   -------------------------------------------------------------------------- */
.decision-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}
.decision-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--radius-xl);
}
.decision-panel h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.decision-panel > p { color: var(--ink-soft); }
.decision-panel .button { align-self: flex-start; margin-top: auto; }

.decision-panel--solutions {
  background: var(--ink-panel);
  color: #fff;
}
.decision-panel--solutions h2, .decision-panel--solutions .eyebrow { color: #fff; }
.decision-panel--solutions .eyebrow { color: #bcd0ff; }
.decision-panel--solutions > p { color: #a9b9da; }
.decision-panel--solutions .button--secondary { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.24); }
.decision-panel--solutions .button--secondary:hover { background: rgba(255,255,255,0.14); color: #fff; }

.audience-list { display: grid; gap: 8px; }
.audience-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.audience-list a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(160, 190, 255, 0.4); transform: translateX(3px); }
.audience-list strong { display: block; font-size: 1rem; color: #fff; }
.audience-list small { display: block; margin-top: 3px; color: #a9b9da; font-size: 0.84rem; line-height: 1.4; }
.audience-list b { color: #9fb6ef; font-size: 1.05rem; }

.decision-panel--pricing {
  background: #fff;
  border: 1px solid var(--line);
}
.price-list { display: grid; gap: 8px; }
.price-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.price-list a:hover { border-color: var(--blue-line); background: var(--surface-alt); }
.price-list a.is-featured { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.price-list strong { display: block; font-size: 1rem; }
.price-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.82rem; }
.price-list b { font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }
.price-list b small { font-size: 0.72rem; color: var(--muted); font-family: var(--font); }
.price-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 6px;
}
.price-includes span {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.price-includes span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: translateY(-70%) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   16. Home — endcap
   -------------------------------------------------------------------------- */
.home-endcap__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 4vw, 56px);
  background: var(--ink-panel);
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-endcap__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(90% 120% at 100% 0%, #000, transparent 70%);
}
.home-endcap__copy { position: relative; z-index: 1; }
.home-endcap__copy .eyebrow { color: #bcd0ff; }
.home-endcap__copy h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.5rem); margin-top: 16px; }
.home-endcap__copy > p { margin-top: 14px; max-width: 48ch; color: #a9b9da; font-size: 1.05rem; }
.home-endcap__copy .home-hero__actions { margin-top: 26px; }
.home-endcap .assurance-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.assurance-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.assurance-list a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(160, 190, 255, 0.4); }
.assurance-list a > span {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #bcd0ff;
  background: rgba(27, 77, 228, 0.28);
  border-radius: var(--radius-sm);
}
.assurance-list strong { display: block; font-size: 0.96rem; color: #fff; }
.assurance-list small { display: block; margin-top: 2px; color: #a9b9da; font-size: 0.82rem; }

/* --------------------------------------------------------------------------
   17. Inner hero + breadcrumb
   -------------------------------------------------------------------------- */
.inner-hero {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px);
  background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(80% 120% at 90% 0%, #000, transparent 70%);
  pointer-events: none;
}
.inner-hero__content { position: relative; z-index: 1; max-width: 62ch; }
.inner-hero .eyebrow { margin-bottom: 16px; }
.inner-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.inner-hero__lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
}
.inner-hero .button { margin-top: 26px; }

.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--blue); }

/* --------------------------------------------------------------------------
   18. Content grid & cards (product / solutions / services / integrations)
   -------------------------------------------------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.content-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  border-radius: 0 0 3px 3px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.content-card:hover::before { opacity: 1; }
.content-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
}
.content-card h3 { font-size: 1.2rem; }
.content-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.content-card__link { color: var(--blue); font-weight: 600; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px 40px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--ink-panel);
  border-radius: var(--radius-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(80% 130% at 95% 0%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.cta-band p { margin-top: 10px; max-width: 54ch; color: #a9b9da; }
.cta-band .button { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .button:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.cta-band--large { padding: clamp(40px, 5vw, 68px); }

/* --------------------------------------------------------------------------
   20. Detail layout + prose + sidebar
   -------------------------------------------------------------------------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.prose { max-width: 72ch; color: var(--ink-soft); }
.prose > h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: var(--ink);
}
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose > h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.28rem;
  color: var(--ink);
}
.prose p { margin-bottom: 16px; font-size: 1.04rem; line-height: 1.72; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 4px; list-style: none; display: grid; gap: 9px; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; font-size: 1.02rem; line-height: 1.6; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.6em;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 2px;
  transform: rotate(45deg);
}
.prose ol { counter-reset: prose-ol; }
.prose ol li { counter-increment: prose-ol; }
.prose ol li::before {
  content: counter(prose-ol);
  position: absolute;
  left: 0; top: 0.05em;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 5px;
}
.prose ol li strong:first-child { color: var(--ink); }
.prose blockquote {
  margin: 0 0 18px;
  padding: 18px 22px;
  color: var(--ink);
  background: var(--surface-alt);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.prose blockquote p { margin: 0; font-size: 1rem; }
.prose a { color: var(--blue); font-weight: 500; border-bottom: 1px solid var(--blue-line); }
.prose a:hover { border-color: var(--blue); }
.prose code {
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--blue-strong);
  background: var(--blue-soft);
  border-radius: 4px;
}
.prose > figure { margin: 26px 0; }

.example-box {
  margin: 0 0 26px;
  padding: 24px 26px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.example-box .example-label,
.example-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.example-box h3 { margin: 0 0 8px; font-size: 1.2rem; color: var(--ink); }
.example-box p { color: var(--ink-soft); }
.example-box ul { margin-top: 14px; }

.callout {
  margin: 26px 0;
  padding: 22px 24px 22px 26px;
  background: var(--mint-soft);
  border: 1px solid #bce6d6;
  border-left: 3px solid var(--mint);
  border-radius: var(--radius-md);
}
.callout strong { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.callout p { margin: 0; color: #276852; font-size: 0.98rem; }

.sidebar-card {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h2 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sidebar-card a:not(.button) {
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.14s ease, padding 0.14s ease;
}
.sidebar-card a:not(.button):hover { color: var(--blue); padding-left: 6px; }
.sidebar-card .button { margin-top: 16px; }

/* what-we-built prose wrapper */
.built-copy { color: var(--ink-soft); }
.built-copy > h2 { margin-top: 42px; margin-bottom: 14px; font-size: clamp(1.5rem, 2.4vw, 1.95rem); color: var(--ink); }
.built-copy > h2:first-child { margin-top: 0; }
.built-copy > h3 { margin-top: 30px; margin-bottom: 10px; font-size: 1.28rem; color: var(--ink); }
.built-copy p { margin-bottom: 16px; font-size: 1.04rem; line-height: 1.72; }
.built-copy ul { margin: 0 0 18px; padding-left: 4px; list-style: none; display: grid; gap: 9px; }
.built-copy ul li { position: relative; padding-left: 30px; font-size: 1.02rem; line-height: 1.6; }
.built-copy ul li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); }
.built-copy a { color: var(--blue); font-weight: 500; border-bottom: 1px solid var(--blue-line); }
.built-copy a:hover { border-color: var(--blue); }
.what-built-hero-media { margin-top: 0; }

/* --------------------------------------------------------------------------
   21. Pricing
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card h2 { font-size: 1.35rem; }
.price-card > p { color: var(--ink-soft); font-size: 0.95rem; margin: 12px 0 20px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.price-card .price small { font-family: var(--font); font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0 26px; list-style: none; }
.price-card ul li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 0.94rem; }
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}
.price-card .button { margin-top: auto; width: 100%; }
.price-card.is-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow-md);
}
.price-card__badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 20px;
}

/* Comparison table */
.table-hint { margin-bottom: 14px; color: var(--muted); font-size: 0.88rem; font-family: var(--font-mono); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.comparison-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.comparison-table th, .comparison-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
}
.comparison-table thead th {
  position: sticky;
  top: 0;
  background: var(--ink-panel);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comparison-table thead th:first-child { border-top-left-radius: var(--radius-lg); }
.comparison-table thead th:last-child { border-top-right-radius: var(--radius-lg); }
.comparison-table tbody th { color: var(--ink); font-weight: 600; }
.comparison-table tbody td { color: var(--ink-soft); }
.comparison-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.comparison-table tbody tr:hover { background: var(--blue-soft); }
.comparison-table tbody tr:last-child th, .comparison-table tbody tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------------------
   22. FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; max-width: 78ch; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.faq-item[open] { border-color: var(--blue-line); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px; height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   23. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-layout > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.contact-card:hover { border-color: var(--blue-line); box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 12px; }
.contact-card a { color: var(--blue); font-weight: 600; font-size: 0.94rem; word-break: break-word; }
.contact-card--company { grid-column: 1 / -1; background: var(--surface-alt); }
.contact-card address, .contact-company, .footer-company {
  font-style: normal;
  display: grid;
  gap: 3px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.contact-card address strong { color: var(--ink); font-size: 1rem; }
.contact-card address a { color: var(--blue); font-weight: 500; }

.demo-brief {
  position: sticky;
  top: 92px;
  padding: 28px 26px;
  background: var(--ink-panel);
  border-radius: var(--radius-lg);
  color: #fff;
}
.demo-brief .eyebrow { color: #bcd0ff; }
.demo-brief h2 { color: #fff; font-size: 1.4rem; margin: 14px 0 10px; }
.demo-brief p { color: #a9b9da; font-size: 0.95rem; }
.demo-brief ul { display: grid; gap: 9px; margin: 18px 0 22px; list-style: none; }
.demo-brief ul li { position: relative; padding-left: 24px; color: #cdd8ef; font-size: 0.9rem; }
.demo-brief ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--mint);
  border-radius: 50%;
}
.demo-brief .button { width: 100%; }
.demo-brief small { display: block; margin-top: 12px; color: #8fa2c8; font-size: 0.78rem; }

/* --------------------------------------------------------------------------
   24. Blog index (blog-grid / blog-card)
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.blog-card__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); border-bottom: 1px solid var(--line-soft); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.blog-card__body .blog-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.68rem; color: var(--muted); }
.blog-card__body .blog-meta span:first-child { color: var(--blue); }
.blog-card__body h2 { font-size: 1.16rem; line-height: 1.24; }
.blog-card__body p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.blog-card__link { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   25. Article (blog post) layout
   -------------------------------------------------------------------------- */
.article-header { padding-block: clamp(36px, 5vw, 64px); background: linear-gradient(180deg, #fff, var(--surface-alt)); border-bottom: 1px solid var(--line-soft); }
.article-header__inner { max-width: 76ch; }
.article-header .eyebrow { margin-bottom: 14px; }
.article-header h1 { font-size: clamp(2rem, 4.2vw, 3.15rem); font-weight: 800; letter-spacing: -0.025em; }
.article-standfirst { margin-top: 18px; color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; }
.article-header .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 0.74rem;
  color: var(--muted);
}
.article-header .blog-meta span:first-child { color: var(--ink); font-weight: 600; }

.article-hero-media { margin: clamp(28px, 4vw, 44px) 0 0; }
.article-hero-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.article-hero-media figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}
.article-hero-media figcaption span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.article-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 48px);
}
.article-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 2px;
  padding: 22px 20px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 0.86rem;
}
.article-toc strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-toc a { padding: 6px 8px; color: var(--ink-soft); border-radius: var(--radius-sm); transition: color 0.14s ease, background 0.14s ease; }
.article-toc a:hover { color: var(--blue); background: var(--blue-soft); }

.article-body { max-width: 74ch; }
.article-copy { color: var(--ink-soft); }
.article-copy > h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--ink);
  scroll-margin-top: 90px;
}
.article-copy > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-copy > h3 { margin-top: 30px; margin-bottom: 10px; font-size: 1.28rem; color: var(--ink); scroll-margin-top: 90px; }
.article-copy p { margin-bottom: 17px; font-size: 1.06rem; line-height: 1.75; }
.article-copy ul, .article-copy ol { margin: 0 0 20px; padding-left: 4px; list-style: none; display: grid; gap: 10px; }
.article-copy ul li { position: relative; padding-left: 30px; font-size: 1.04rem; line-height: 1.6; }
.article-copy ul li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); }
.article-copy ol { counter-reset: art-ol; }
.article-copy ol li { counter-increment: art-ol; position: relative; padding-left: 34px; font-size: 1.04rem; line-height: 1.6; }
.article-copy ol li::before {
  content: counter(art-ol);
  position: absolute;
  left: 0; top: 0.05em;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 5px;
}
.article-copy blockquote {
  margin: 0 0 20px;
  padding: 20px 24px;
  color: var(--ink);
  background: var(--surface-alt);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
}
.article-copy blockquote p { margin: 0; }
.article-copy a { color: var(--blue); font-weight: 500; border-bottom: 1px solid var(--blue-line); }
.article-copy a:hover { border-color: var(--blue); }
.article-copy code { padding: 2px 6px; font-family: var(--font-mono); font-size: 0.86em; color: var(--blue-strong); background: var(--blue-soft); border-radius: 4px; }

.article-visual { margin: 30px 0; }
.article-visual__frame {
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.article-visual__frame img { width: 100%; }
.article-visual figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.article-visual figcaption span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.article-visual--inline { margin: 26px 0; }

.article-faq { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-faq h2 { font-size: 1.5rem; margin-bottom: 20px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 128px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-line); }
.related-card strong { font-family: var(--font-display); font-size: 1.04rem; line-height: 1.25; color: var(--ink); }
.related-card span { color: var(--blue); font-weight: 600; font-size: 0.88rem; }

.article-body .cta-band { margin-top: 40px; }

/* --------------------------------------------------------------------------
   26. Legal prose
   -------------------------------------------------------------------------- */
.legal-prose { max-width: 76ch; color: var(--ink-soft); }
.legal-prose h2 { margin-top: 34px; margin-bottom: 12px; font-size: 1.4rem; color: var(--ink); }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin-bottom: 15px; font-size: 1.02rem; line-height: 1.72; }
.legal-prose ul { margin: 0 0 18px; padding-left: 4px; list-style: none; display: grid; gap: 8px; }
.legal-prose ul li { position: relative; padding-left: 28px; line-height: 1.6; }
.legal-prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 7px; height: 7px; background: var(--blue); border-radius: 2px; transform: rotate(45deg); }
.legal-prose a { color: var(--blue); border-bottom: 1px solid var(--blue-line); }

/* --------------------------------------------------------------------------
   27. 404
   -------------------------------------------------------------------------- */
.not-found {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding: clamp(48px, 8vw, 100px) var(--pad-x);
  text-align: center;
}
.not-found > div { max-width: 56ch; }
.not-found__code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.not-found h1 { margin-top: 12px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.not-found p { margin-top: 14px; color: var(--ink-soft); font-size: 1.06rem; }
.not-found .home-hero__actions { justify-content: center; margin-top: 28px; }

/* --------------------------------------------------------------------------
   28. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-panel);
  color: #cdd8ef;
}
.footer-intro {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(36px, 4vw, 52px);
}
.footer-brand .wordmark--footer { color: #fff; margin-bottom: 20px; }
.footer-brand .wordmark--footer img { width: 28px; height: 28px; }
.footer-brand h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; }
.footer-brand > p { margin-top: 14px; max-width: 42ch; color: #a9b9da; font-size: 0.96rem; }
.footer-company {
  font-style: normal;
  display: grid;
  gap: 3px;
  margin-top: 22px;
  color: #a9b9da;
  font-size: 0.9rem;
}
.footer-company strong { color: #fff; font-size: 0.96rem; }
.footer-company a { color: #bcd0ff; }
.footer-company a:hover { color: #fff; }
.footer-demo { margin-top: 24px; background: #fff; color: var(--ink); border-color: #fff; }
.footer-demo:hover { background: var(--blue-soft); border-color: var(--blue-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-column h2 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa2c8;
}
.footer-column a { display: block; padding: 6px 0; color: #cdd8ef; font-size: 0.94rem; transition: color 0.14s ease; }
.footer-column a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 22px var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { color: #8fa2c8; font-size: 0.86rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #a9b9da; font-size: 0.84rem; }
.footer-legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   29. Legacy / defensive classes (emitted by unused generators)
   -------------------------------------------------------------------------- */
.story-grid, .story-stack { display: grid; gap: 20px; }
.story-panel, .story-node, .story-copy {
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-tile { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: var(--radius-sm); font-family: var(--font-mono); }
.feature-arrow { color: var(--blue); font-weight: 600; }
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; }
.assurance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.check-list { display: grid; gap: 10px; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 8px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.home-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pricing-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pricing-preview-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* --------------------------------------------------------------------------
   30. Responsive — 1180 / 980 / 680
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero__visual { max-width: 620px; }
  .visual-suite-grid, .editorial-grid, .content-grid, .blog-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .question-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid { grid-template-columns: 1fr; }
  .home-endcap__grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; }
}

@media (max-width: 980px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .signal:nth-child(3) { border-left: none; }
  .signal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; }
  .signal:nth-child(1), .signal:nth-child(2) { border-top: none; }
  .home-workflow { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .workflow-step:nth-child(2)::after, .workflow-step:not(:last-child)::after { display: none; }
  .workflow-step:nth-child(odd) { border-left: none; }
  .section-heading--split { grid-template-columns: 1fr; }
  .section-heading__note { padding-left: 0; border-left: none; border-top: 2px solid var(--blue-line); padding-top: 16px; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card, .demo-brief { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-intro { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-shell { width: 100%; margin: 0; border-inline: none; border-radius: 0; }
  .visual-suite-grid, .editorial-grid, .content-grid, .blog-grid, .related-grid,
  .pricing-grid, .home-explainer-grid, .question-grid, .contact-layout > div {
    grid-template-columns: 1fr;
  }
  .home-hero__actions .button, .home-endcap .home-hero__actions .button { flex: 1 1 100%; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .button { justify-self: start; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal { border-left: none; }
  .home-workflow { grid-template-columns: 1fr; }
  .workflow-step { border-left: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .product-board { grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .board-side { grid-column: 1 / -1; grid-row: 3; border-left: none; border-top: 1px solid var(--line); }
  .board-timeline { grid-column: 1 / -1; grid-row: 2; }
}

/* --------------------------------------------------------------------------
   31. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .sidebar-card, .demo-brief, .mobile-menu, .article-toc, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .site-shell { width: 100%; margin: 0; border: none; box-shadow: none; }
  a { color: #000; text-decoration: underline; }
  .prose, .article-body, .legal-prose, .built-copy { max-width: none; }
}
