/* ============================================================
   Queryable — Use-case page stylesheet
   Shared by /use-cases/* pages. Built on the same tokens and
   component vocabulary as the home page (see DESIGN_SYSTEM.md).
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --font-serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
:root[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1c1c1c;
  --fg-primary: #f5f5f4;
  --fg-secondary: #a8a29e;
  --fg-tertiary: #78716c;
  --border: #2a2a2a;
  --border-soft: #1f1f1f;
  --accent: #3f46ff;
  --accent-hover: #5a60ff;
  --selection-bg: #3f46ff;
  --selection-fg: #ffffff;
}
:root[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #fafaf9;
  --bg-tertiary: #f5f5f4;
  --fg-primary: #0a0a0a;
  --fg-secondary: #57534e;
  --fg-tertiary: #78716c;
  --border: #e7e5e4;
  --border-soft: #f5f5f4;
  --accent: #3f46ff;
  --accent-hover: #2a31d9;
  --selection-bg: #3f46ff;
  --selection-fg: #ffffff;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'cv11';
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.05; font-weight: 400; }
p { hyphens: auto; line-height: 1.55; max-width: 72ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--selection-bg); color: var(--selection-fg); }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }

.serif { font-family: var(--font-serif); letter-spacing: -0.01em; font-feature-settings: 'ss01'; }
.mono { font-family: var(--font-mono); font-feature-settings: 'ss01', 'zero'; }
.serif-display::before, .serif-display::after { content: ''; display: block; height: 0; }
.serif-display::before { margin-top: -0.18em; }
.serif-display::after { margin-bottom: -0.18em; }

.container-app {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

.skip-link {
  position: fixed; top: 0; left: 0;
  padding: 0.75rem 1rem;
  background: var(--accent); color: #fff; font-weight: 500;
  transform: translateY(-120%);
  transition: transform 200ms ease;
  z-index: 100;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Components ---------- */
.surface {
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}
.surface:hover { border-color: var(--border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-family: var(--font-sans);
  font-weight: 500; font-size: 0.9375rem; line-height: 1;
  border-radius: 9999px;
  white-space: nowrap; cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--fg-primary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-secondary); border-color: var(--fg-tertiary); }
.btn-text { background: transparent; color: var(--fg-primary); padding: 0.5rem 0.75rem; border: 1px solid transparent; }
.btn-text:hover { background: var(--bg-secondary); }
.btn-lg { padding: 0.8125rem 1.375rem; font-size: 1rem; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--fg-secondary);
  font-size: 0.8125rem;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.cat-chip {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-tertiary);
}
.eyebrow-accent { color: var(--accent); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--fg-secondary); font-weight: 500; font-size: 0.9375rem;
  transition: color 150ms ease;
}
.arrow-link .arrow { display: inline-block; transition: transform 150ms ease; }
.arrow-link:hover .arrow, .arrow-link:focus-visible .arrow { transform: translateX(0.2em); }
.arrow-link:hover { color: var(--fg-primary); }

.method-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 7px; border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  min-width: 48px;
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}

.callout {
  position: relative;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 8%, var(--bg-secondary)) 0%, var(--bg-secondary) 100%);
}
.callout-rail {
  position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 3px; border-radius: 0 999px 999px 0;
  background: var(--accent);
}

.noise {
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg-primary) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.logo-mark { width: 22px; height: 22px; flex: none; display: block; }
:root[data-theme="light"] .logo-mark { filter: invert(1); }
.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.75rem; border-radius: 9999px;
  font-size: 0.9063rem; color: var(--fg-secondary);
  transition: color 150ms ease, background 150ms ease;
}
.nav-links a:hover { color: var(--fg-primary); background: var(--bg-secondary); }
.nav-links a[aria-current="page"] { color: var(--fg-primary); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9999px;
  background: transparent; border: 1px solid var(--border);
  color: var(--fg-secondary); cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.theme-toggle:hover { color: var(--fg-primary); background: var(--bg-secondary); border-color: var(--fg-tertiary); }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
@media (min-width: 62em) { .nav-links { display: flex; } }

/* ---------- Use-case hero ---------- */
.uc-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.uc-hero .noise { z-index: 0; }
.uc-hero-blob {
  position: absolute; z-index: 0;
  top: -16%; right: -18%;
  width: clamp(420px, 56vw, 820px);
  opacity: 0.9;
  animation: blobDrift 15s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}
@keyframes blobDrift {
  0%   { transform: translate3d(-4%, 0, 0) scale(0.95) rotate(0deg); }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.02) rotate(-4deg); }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.05) rotate(3deg); }
}
.uc-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 3.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3.5rem, 7vw, 5.5rem);
  align-items: center;
}
@media (min-width: 62em) {
  .uc-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; }
}
.uc-hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.uc-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0 0 1.5rem;
}
.uc-hero h1 em { font-style: italic; color: var(--accent); }
.uc-hero-lead {
  font-size: 1.125rem; color: var(--fg-secondary);
  max-width: 36rem; margin-bottom: 2rem;
}
.uc-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.uc-hero-note { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--fg-tertiary); }

/* ---------- Mock-UI visual vocabulary (shared with home) ---------- */
.uc-visual { position: relative; z-index: 1; min-width: 0; }
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.collage .demo-card:nth-child(1) { transform: rotate(-1.6deg); }
.collage .demo-card:nth-child(2) { transform: rotate(1.4deg) translateY(14px); }
.collage .demo-card:nth-child(3) { transform: rotate(-0.8deg); grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.5rem); margin-top: 8px; }
@media (max-width: 30em) {
  .collage { grid-template-columns: 1fr; }
  .collage .demo-card { transform: none !important; width: 100% !important; height: auto; }
}

.demo-card {
  display: flex; flex-direction: column;
  min-height: 300px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.125rem 1.125rem;
  font-size: 0.8125rem;
  overflow: hidden;
  transition: border-color 200ms ease, transform 300ms ease;
}
.demo-card:hover { border-color: var(--fg-tertiary); }
.demo-head {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-tertiary);
}
.demo-head .spacer { flex: 1; }
.pill-live, .pill-thread, .pill-open {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  padding: 2px 8px; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--bg-tertiary);
  color: var(--fg-secondary);
}
.pill-live { color: #e07a7a; border-color: color-mix(in oklab, #e07a7a 40%, transparent); background: color-mix(in oklab, #e07a7a 10%, transparent); }
.pill-live .dot { width: 5px; height: 5px; border-radius: 50%; background: #e07a7a; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pill-open { color: #6fbf8f; border-color: color-mix(in oklab, #6fbf8f 40%, transparent); background: color-mix(in oklab, #6fbf8f 10%, transparent); }

.demo-title { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--fg-primary); }
.avatars { display: inline-flex; align-items: center; }
.avatar {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 8px; font-weight: 600; color: #fff;
  border: 2px solid var(--bg-secondary);
  margin-left: -6px;
}
.avatar:first-child { margin-left: 0; }
.av-1 { background: #7d6ec9; } .av-2 { background: #3f8f6e; } .av-3 { background: #b3713f; } .av-4 { background: #4a7dbd; } .av-5 { background: #9a4a6e; }
.demo-sub { display: flex; align-items: center; gap: 0.5rem; color: var(--fg-tertiary); font-size: 0.75rem; margin-bottom: 0.75rem; }

.waveform { display: flex; align-items: center; gap: 2px; height: 26px; margin-bottom: 0.75rem; }
.waveform span {
  flex: 1; min-width: 2px; border-radius: 2px;
  background: color-mix(in oklab, var(--accent) 70%, var(--fg-tertiary));
  height: calc(var(--h) * 1%);
  opacity: 0.85;
}

.demo-msg {
  display: flex; gap: 0.5rem; align-items: flex-start;
  padding: 0.5rem 0.625rem;
  border-radius: 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-soft);
  margin-bottom: 0.5rem;
  color: var(--fg-secondary);
  line-height: 1.45;
}
.demo-msg .avatar { flex: none; margin: 1px 0 0; border-color: var(--bg-tertiary); }
.demo-msg b { color: var(--fg-primary); font-weight: 600; display: block; margin-bottom: 1px; }

.demo-foot {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 0.625rem;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  font-size: 0.75rem; color: var(--fg-primary);
}
.demo-foot .gear { color: var(--accent); flex: none; }
.demo-foot .meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-tertiary); white-space: nowrap; }

.gh-labels { display: flex; gap: 0.375rem; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; }
.gh-label {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 8px; border-radius: 9999px;
  border: 1px solid var(--border); color: var(--fg-secondary);
}
.gh-label.bug { color: #d47a7a; border-color: color-mix(in oklab, #d47a7a 45%, transparent); background: color-mix(in oklab, #d47a7a 10%, transparent); }
.gh-label.p1 { color: #c9a227; border-color: color-mix(in oklab, #c9a227 45%, transparent); background: color-mix(in oklab, #c9a227 10%, transparent); }
.gh-label.done { color: #6fbf8f; border-color: color-mix(in oklab, #6fbf8f 45%, transparent); background: color-mix(in oklab, #6fbf8f 10%, transparent); }

/* score / metric rows used in mock panels */
.bar-row { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.55rem; font-size: 0.75rem; color: var(--fg-secondary); }
.bar-row .bar-label { flex: 0 0 5.5rem; color: var(--fg-secondary); }
.bar-track { display: block; flex: 1; height: 6px; border-radius: 999px; background: var(--bg-tertiary); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar-row .bar-val { flex: none; font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-tertiary); }

.kv-list { display: flex; flex-direction: column; gap: 0.5rem; }
.kv {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.625rem; border-radius: 10px;
  background: var(--bg-tertiary); border: 1px solid var(--border-soft);
  font-size: 0.75rem; color: var(--fg-secondary);
}
.kv .k { color: var(--fg-tertiary); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.kv .v { margin-left: auto; color: var(--fg-primary); font-weight: 500; }
.tick-ico { color: var(--accent); flex: none; }

/* query + answer (signature "ask anything" component) */
.query-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--fg-primary);
  font-size: 0.9375rem;
}
.query-bar .q-icon { color: var(--accent); flex: none; }
.query-bar .caret { width: 8px; height: 18px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer-card { padding: 1.375rem 1.5rem; }
.answer-card .eyebrow { margin-bottom: 0.75rem; }
.answer-card p { font-size: 0.9375rem; color: var(--fg-secondary); margin-bottom: 1rem; }
.answer-card p b { color: var(--fg-primary); font-weight: 600; }
.source-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Sections ---------- */
.uc-section { padding-block: clamp(4rem, 8vw, 6rem); }
.section-divider { border-top: 1px solid var(--border-soft); }
.section-intro { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 46rem; }
.section-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0.875rem 0 1rem;
}
.section-intro p { color: var(--fg-secondary); font-size: 1.0625rem; max-width: 42rem; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 48em) { .stat-band { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.stat-card { padding: 1.75rem 1.625rem; }
.stat-card .stat-num { font-family: var(--font-serif); font-size: clamp(2.25rem, 4vw, 2.75rem); line-height: 1; color: var(--fg-primary); }
.stat-card .stat-num em { font-style: normal; color: var(--accent); }
.stat-card .stat-label { margin-top: 0.625rem; font-size: 0.9063rem; color: var(--fg-secondary); }

/* ---------- Workflow split rows (the "before / during / after") ---------- */
.flow-rows { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }
.flow-row { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 62em) {
  .flow-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
  .flow-row.reverse .flow-copy { order: 2; }
  .flow-row.reverse .flow-visual { order: 1; }
}
.flow-step-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.flow-step-tag .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  font-size: 11px;
}
.flow-copy h3 { font-family: var(--font-serif); font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: 0.875rem; }
.flow-copy > p { color: var(--fg-secondary); font-size: 1.0313rem; margin-bottom: 1.25rem; }
.flow-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.flow-list li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; color: var(--fg-secondary); }
.flow-list li b { color: var(--fg-primary); font-weight: 600; }
.flow-list .tick { color: var(--accent); flex: none; margin-top: 3px; }
.flow-visual { position: relative; }
.flow-visual .demo-card { min-height: 0; }

/* a panel that frames a single mock card like a screenshot */
.shot {
  position: relative;
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--border-soft);
  background:
    radial-gradient(120% 120% at 80% 0%, color-mix(in oklab, var(--accent) 9%, transparent) 0%, transparent 55%),
    var(--bg-secondary);
}
.shot .demo-card { transform: none; width: 100%; }

/* ---------- Feature grid ---------- */
.uc-features { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 48em) { .uc-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .uc-features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.75rem 1.625rem; display: flex; flex-direction: column; gap: 0.75rem; }
.feature .glyph {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
  margin-bottom: 0.375rem;
}
.feature h3 { font-family: var(--font-serif); font-size: 1.375rem; }
.feature p { font-size: 0.9063rem; color: var(--fg-secondary); }

/* ---------- Persona cards ---------- */
.persona-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 48em) { .persona-grid { grid-template-columns: repeat(3, 1fr); } }
.persona-card { padding: 1.75rem 1.625rem; }
.persona-card .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.875rem; display: block; }
.persona-card h3 { font-family: var(--font-serif); font-size: 1.375rem; margin-bottom: 0.5rem; }
.persona-card p { font-size: 0.9063rem; color: var(--fg-secondary); }

/* ---------- Ask anything block ---------- */
.ask-flow { display: flex; flex-direction: column; gap: 1rem; max-width: 56rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.875rem; max-width: 52rem; }
.faq-item { padding: 1.375rem 1.5rem; }
.faq-item h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.9375rem; color: var(--fg-secondary); }

/* ---------- Related use-cases ---------- */
.related-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 48em) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { padding: 1.5rem 1.5rem 1.375rem; display: flex; flex-direction: column; gap: 0.625rem; height: 100%; }
.related-card .role { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.related-card h3 { font-family: var(--font-serif); font-size: 1.3125rem; }
.related-card p { font-size: 0.875rem; color: var(--fg-secondary); flex: 1; }
.related-card .arrow-link { margin-top: 0.5rem; }

/* ---------- Final CTA ---------- */
.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}
.cta-box h2 { font-family: var(--font-serif); font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1rem; position: relative; }
.cta-box p { color: var(--fg-secondary); font-size: 1.0625rem; margin: 0 auto 2rem; position: relative; max-width: 40rem; }
.cta-box .uc-hero-ctas { justify-content: center; margin-bottom: 0; position: relative; }
.cta-blob { position: absolute; inset: auto -20% -65% -20%; opacity: 0.55; pointer-events: none; }

/* ---------- Pre-footer + footer ---------- */
.pre-footer { position: relative; overflow: hidden; padding: 5rem 0 2.5rem; }
@media (min-width: 48em) { .pre-footer { padding: 7rem 0 4rem; } }
.pre-footer-word {
  font-size: clamp(4rem, 20vw, 18rem);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--fg-primary); user-select: none; white-space: nowrap;
}
.site-footer { border-top: 1px solid var(--border-soft); padding-top: 1.5rem; padding-bottom: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding-top: 3rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
@media (min-width: 62em) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-brand { grid-column: span 2; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--fg-secondary); max-width: 20rem; }
.footer-col .eyebrow { margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.875rem; color: var(--fg-secondary); transition: color 150ms ease; }
.footer-col a:hover { color: var(--fg-primary); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); text-align: center; font-size: 0.75rem; color: var(--fg-tertiary); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; transition: color 150ms ease; }
.footer-bottom a:hover { color: var(--fg-primary); }
.footer-contact-links { display: flex; gap: 0.625rem; margin-top: 1.25rem; }
.footer-contact-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--border-soft); color: var(--fg-secondary);
  transition: color 150ms ease, border-color 150ms ease;
}
.footer-contact-links a:hover { color: var(--fg-primary); border-color: var(--fg-secondary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
