/**
 * EIDMI Website — Segmented Pages stylesheet.
 *
 * PRD-004 FR-7.3, populated by `/impeccable extract` at the end of
 * Phase 1 (task 1.12). Houses the reusable component patterns shared
 * across Tier 1 (use-case), Tier 1.5 (feature), Tier 2 (practice-area),
 * and Tier 3 (IT & Compliance) pages, plus the patterns shared between
 * use-case pages and the sandbox landing page.
 *
 * Load order (every PRD-004 page imports both stylesheets):
 *   <link rel="stylesheet" href="/css/styles.css">
 *   <link rel="stylesheet" href="/css/segmented-pages.css">
 *
 * Tokens (--color-*, --space-*, --shadow-*, --font-*, --radius-*) are
 * defined in css/styles.css and consumed here by reference. This file
 * adds NO tokens of its own.
 *
 * Source pages this file was extracted from:
 *   - src/use-cases/document-drafting/index.html (Phase 1)
 *   - src/demo/index.html (FR-8 sandbox; only the patterns shared with
 *     use-case pages are extracted; sandbox-specific layout primitives
 *     stay inline in /demo/'s <style> block)
 *
 * Conventions:
 *   - `.sp-*` prefix for all classes (segmented-page namespace)
 *   - `.sp-sandbox-*` aliases listed alongside `.sp-*` rules where the
 *     /demo/ page reuses the same CSS under a sandbox-specific class
 *     name (avoids HTML rewrites in the demo page).
 *
 * Section index:
 *   1.  Body wrappers (page reset)
 *   2.  Section heading helpers
 *   3.  Use-case page hero
 *   4.  Problem cards (fear / greed)
 *   5.  Sticky-scroll capabilities (.sp-stacked-* + .sp-enables-*)
 *   6.  Scenarios grid + horizontal carousel
 *   7.  Scenario inline CTA (FR-1.12)
 *   8.  Practice audit callout
 *   9.  Stats deck (verified-only display)
 *   10. Final CTA bridge
 *   11. Sandbox secondary CTA (FR-1.12)
 *   12. Media frames (placeholders for screenshots/videos)
 *   13. Reduced-motion fallbacks
 */

/* ============================================================
   1. BODY WRAPPERS
   ============================================================ */
body.use-case-page,
body.sandbox-page {
  background: var(--color-bg);
  color: var(--color-text);
}

/* ============================================================
   2. SECTION HEADING HELPERS
   `.sp-section-*` is the canonical class set; `.sp-sandbox-section-*`
   aliases exist on /demo/ — both render identically.
   ============================================================ */
.sp-section-intro,
.sp-sandbox-section-intro {
  max-width: 56ch;
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);
}
.sp-section-intro .section-label,
.sp-sandbox-section-intro .section-label {
  margin-bottom: 1rem;
}
.sp-section-headline,
.sp-sandbox-section-headline {
  font: 500 clamp(1.875rem, 3.4vw, 2.625rem)/1.1 var(--font-display);
  letter-spacing: -0.012em;
  color: var(--color-text);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.sp-section-deck,
.sp-sandbox-section-deck {
  font: 400 clamp(1rem, 1.2vw, 1.0625rem)/1.55 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   3. USE-CASE PAGE HERO (FR-1.1 step 1)
   Two-column on ≥1100px (text + media), single column below.
   The right column uses .sp-media-frame-hero placeholder until
   real screenshots/video are wired in.
   ============================================================ */
.sp-usecase-hero {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 1100px) {
  .sp-usecase-hero {
    grid-template-columns: 0.9fr 1.25fr;
    align-items: start;
    gap: clamp(3rem, 5vw, 5rem);
  }
}

.sp-usecase-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}
.sp-usecase-hero-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--color-text-subtle);
}

.sp-usecase-hero-h1 {
  font: 500 clamp(2.25rem, 4.6vw, 3.6rem)/1.05 var(--font-display);
  letter-spacing: -0.018em;
  color: var(--color-text);
  margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
  max-width: 18ch;
  text-wrap: balance;
}

.sp-usecase-hero-sub {
  font: 400 clamp(1.0625rem, 1.4vw, 1.1875rem)/1.55 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  max-width: 38ch;
}

.sp-usecase-hero-actions {
  /* Stack the button + "Request a demo" subline as an inline column
     so the wrapper hugs the button width and the subline centers
     directly under it (was a row with subline pinned to the right). */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
/* Inner stack wraps just the primary button. Kept for backward-compat
   with existing markup; column align-center matches the parent. */
.sp-usecase-hero-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.sp-usecase-hero-actions .sp-cta-subline {
  font: 500 0.875rem/1.4 var(--font-sans);
  color: var(--color-text-subtle);
  letter-spacing: 0.01em;
  text-align: center;
}

.sp-usecase-hero-media {
  aspect-ratio: 4 / 3;
  max-width: 540px;
  width: 100%;
  align-self: center;
}
@media (min-width: 1100px) {
  .sp-usecase-hero-media {
    aspect-ratio: 4 / 3;
    max-width: none;
    align-self: stretch;
    min-height: 380px;
    /* Push image top down to align with the H1 headline rather than
       the eyebrow above it. Matches eyebrow line-height (0.7rem) +
       its margin-bottom. */
    margin-top: calc(0.7rem + clamp(1.25rem, 2vw, 1.75rem));
  }
}

/* ============================================================
   4. PROBLEM CARDS (fear / greed drivers)
   Iteration 2026-05-04 v7 treatment:
     - 4px colored left-edge accent strip (fear=risk, greed=accent)
     - 32px circular SVG icon top-right, tinted to driver
     - H3 lead claim + supporting body line
     - Hover lift on desktop
   ============================================================ */
.sp-problem {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
}
.sp-problem-headline-line {
  display: block;
  /* Override .sp-section-headline's `text-wrap: balance` so the
     browser doesn't break a single sentence across two lines for
     visual balance. Each sentence stays on one line when it fits;
     at narrow widths it wraps naturally (and the next sentence
     still starts on its own line via `display: block`). */
  text-wrap: pretty;
}
.sp-problem-headline-line + .sp-problem-headline-line {
  margin-top: 0.15em;
}
/* The section-intro's default 56ch cap is set against the deck's
   body font and is too tight for the H2's larger ch units, which
   forces mid-sentence wrapping on the problem-section H2. Lift
   the cap on the intro container and the headline itself so each
   .sp-problem-headline-line span can render on one line at desktop.
   Keep the deck explicitly narrow for readability. */
.sp-problem .sp-section-intro {
  max-width: none;
}
.sp-problem .sp-section-headline {
  max-width: none;
}
.sp-problem .sp-section-deck {
  max-width: 56ch;
}
.sp-problem-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sp-problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }
}
.sp-problem-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 1rem;
  row-gap: 0.75rem;
  align-content: start;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sp-problem-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-border);
}
.sp-problem-card-fear::before {
  background: var(--color-risk);
}
.sp-problem-card-greed::before {
  background: var(--color-accent);
}
.sp-problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15, 23, 42, 0.18);
}
.sp-problem-card-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-text-subtle);
  flex-shrink: 0;
}
.sp-problem-card-fear .sp-problem-card-icon {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-risk);
}
.sp-problem-card-greed .sp-problem-card-icon {
  background: rgba(38, 99, 235, 0.08);
  color: var(--color-accent);
}
.sp-problem-card-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2;
}
.sp-problem-card-headline {
  grid-column: 1;
  grid-row: 1;
  font: 500 clamp(1.05rem, 1.7vw, 1.2rem)/1.3 var(--font-display);
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.sp-problem-card-body {
  grid-column: 1 / -1;
  grid-row: 2;
  font: 400 0.95rem/1.55 var(--font-sans);
  color: var(--color-text-muted, var(--color-text-subtle));
  margin: 0;
}
@media (max-width: 600px) {
  .sp-problem-card {
    padding: clamp(1.4rem, 5vw, 1.85rem) clamp(1.4rem, 5vw, 1.85rem) clamp(1.4rem, 5vw, 1.85rem) clamp(1.6rem, 5.5vw, 2rem);
  }
  .sp-problem-card-headline {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .sp-problem-card-body {
    font-size: 0.92rem;
  }
}

/* ============================================================
   5. STICKY-SCROLL CAPABILITIES (FR-1.14)
   .sp-enables-* = the static layout (cards in a 2-col grid).
   .sp-stacked-* = the sticky-scroll overlay (cards stack into
   one grid-area; JS toggles `.is-active` / `.is-past` per scroll
   position with a 500ms rate gate so fast scrolls walk through
   each card instead of skipping).
   Falls back to vertical flow when JS is off, viewport <1100px,
   or prefers-reduced-motion.
   ============================================================ */
.sp-enables {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
}
.sp-enables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1100px) {
  .sp-enables-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.sp-enables-item {
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
/* Wrapper introduced 2026-05-07 so the eyebrow + title + body + foot
   group can sit in its own column at desktop while the figure takes
   the other column (Harvey-style 2-col card). At mobile / non-sticky
   the wrapper is a normal flex column and the figure stacks above it. */
.sp-enables-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
/* Big numeral via .sp-enables-num::before removed 2026-05-06 per
   founder direction. The "STEP 1 · CONFIGURE ONCE" eyebrow alone
   carries the step count. counter-reset / counter-increment dropped
   above since no rule consumes the counter anymore. */
.sp-enables-num {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font: 500 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  font-variant-numeric: tabular-nums;
}
.sp-enables-title {
  font: 600 1.25rem/1.25 var(--font-sans);
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.005em;
}
.sp-enables-body {
  font: 400 1rem/1.6 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
}
.sp-enables-foot {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============================================================
   Sticky-stack capability cards (Harvey-style).

   Each card is a sticky element pinned at the same `top:` offset
   below the site header. Cards have progressively higher z-index
   (set inline as `style="z-index: N"`), so when the next card
   scrolls up to its sticky position it visually covers the
   previous one. Pure CSS — no JS. The container's bottom edge
   ends the sticky run, after which all cards scroll out together.

   Mobile / <1100px: cards stack normally, image-then-text vertical.
   Desktop / >=1100px: sticky-stack with image-text 2-col layout.
   ============================================================ */

.sp-stacked-section {
  position: relative;
}

.sp-stacked-section .sp-stacked-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.sp-stacked-section .sp-stacked-card {
  /* Card background must match the page background — opaque so the
     z-index cover effect works, but visually flush with the page so
     there's no "card chrome." */
  background: var(--color-bg);
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.sp-stack-card-head {
  margin: 0;
}
.sp-stack-card-eyebrow {
  display: block;
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 0.75rem;
}
.sp-stack-card-title {
  font: 600 clamp(1.5rem, 2.6vw, 2.125rem)/1.15 var(--font-display, var(--font-sans));
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin: 0;
}

.sp-stack-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile reading order: head → media → body, all stacked vertically. */
  grid-template-areas:
    "head"
    "media"
    "body";
  gap: clamp(1rem, 2vw, 1.5rem);
}
.sp-stack-card-head { grid-area: head; }
.sp-stack-card-media {
  grid-area: media;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-surface-alt);
}
.sp-stack-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-stack-card-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font: 400 1rem/1.6 var(--font-sans);
  color: var(--color-text-muted);
}
.sp-stack-card-body p {
  margin: 0;
}
.sp-stack-card-foot {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.sp-stack-card-body .sp-stack-card-cta,
.sp-stack-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
  font-family: var(--font-sans);
  color: var(--color-accent);
  text-decoration: none;
  transition: gap 0.15s ease, color 0.15s ease;
}
.sp-stack-card-cta::after {
  content: "→";
  display: inline-block;
  font-weight: 500;
  transition: transform 0.15s ease;
}
.sp-stack-card-cta:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.sp-stack-card-cta:hover::after {
  transform: translateX(2px);
}
.sp-stack-card-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .sp-stacked-section .sp-stacked-cards {
    gap: 0; /* seamless cover — next card slides up flush over the previous */
  }
  .sp-stacked-section .sp-stacked-card {
    position: sticky;
    top: 5.5rem; /* sits just below the 5.5rem-tall sticky site header */
    max-height: calc(100vh - 7rem);
  }
  .sp-stack-card-grid {
    /* Image spans the left column at full card height; the header sits
       at the top-right and the body+foot block at the bottom-right.
       Card padding is removed so the image's left edge lines up with
       the section's content edge. */
    grid-template-columns: 7fr 5fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "media head"
      "media body";
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
  }
  .sp-stack-card-media {
    aspect-ratio: auto; /* let the image fill the column height instead */
    height: 100%;
  }
  .sp-stack-card-body {
    align-self: end; /* push body+foot to bottom of right column */
  }
}

/* Stale class names from the previous architecture — render as
   inert blocks so any leftover HTML on yet-unmigrated pages doesn't
   throw layout. Will be removed once all pages are migrated. */
.sp-stacked-pin,
.sp-stacked-sticky-wrapper,
.sp-stacked-stage,
.sp-stacked-stage-inner,
.sp-stacked-stepper {
  display: contents;
}

/* ============================================================
   6. SCENARIOS GRID + HORIZONTAL CAROUSEL (FR-1.15)
   Default layout is a static 1/2/3-column grid (`.sp-scenarios-grid`).
   When wrapped in `.sp-carousel[data-carousel]` markup with the
   carousel-track/-slide/-arrow/-dots structure, JS converts it to
   an infinite-loop carousel: head clone of last slide prepended,
   tail clone of first appended; landing on a clone triggers a
   silent scroll-snap-back to the matching real slide.
   ============================================================ */
.sp-scenarios {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.sp-scenarios-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.sp-scenarios-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-scenarios-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .sp-scenarios-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.sp-scenario {
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.sp-scenario-doc {
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.sp-scenario-body {
  font: 500 0.9375rem/1.55 var(--font-sans);
  color: var(--color-text);
  margin: 0;
}
.sp-scenario-output {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
  font: 500 0.875rem/1.5 var(--font-sans);
  color: var(--color-text);
}
.sp-scenario-output strong {
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
.sp-scenario-close {
  font: 500 0.8125rem/1.5 var(--font-sans);
  color: var(--color-text-subtle);
  margin: 0;
  font-style: italic;
}

/* Carousel container */
.sp-carousel {
  --carousel-slide-width: clamp(280px, 70%, 760px);
  --carousel-slide-gap: clamp(1rem, 2vw, 1.75rem);
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.sp-carousel-viewport-wrap {
  position: relative;
}
.sp-carousel-viewport {
  overflow: visible;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}
.sp-carousel-track {
  display: flex;
  gap: var(--carousel-slide-gap);
  padding: 0 calc((100% - var(--carousel-slide-width)) / 2);
  list-style: none;
  margin: 0;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.sp-carousel-slide {
  flex: 0 0 var(--carousel-slide-width);
  scroll-snap-align: center;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.sp-carousel-slide.is-active > .sp-scenario {
  box-shadow: var(--shadow-soft);
}
/* Clones (head + tail) inherit the same look so the loop is
   visually seamless; aria-hidden + tabindex=-1 are set in JS. */
.sp-carousel-slide.is-clone {
  pointer-events: auto;
}

/* Carousel arrows (desktop) */
.sp-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}
.sp-carousel-prev {
  left: clamp(-0.25rem, 1vw, 0.75rem);
}
.sp-carousel-next {
  right: clamp(-0.25rem, 1vw, 0.75rem);
}
.sp-carousel-arrow:hover {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-50%) scale(1.05);
}
.sp-carousel-arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.sp-carousel-arrow:disabled,
.sp-carousel-arrow[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.sp-carousel-arrow svg {
  display: block;
}

/* Carousel dots (desktop) */
.sp-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding: 0;
}
.sp-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.sp-carousel-dot:hover {
  background: var(--color-text-subtle);
}
.sp-carousel-dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}
.sp-carousel-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* Mobile carousel (≤768px): native scroll-snap, controls hidden */
@media (max-width: 768px) {
  .sp-carousel {
    --carousel-slide-width: 86%;
  }
  .sp-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sp-carousel-viewport::-webkit-scrollbar {
    display: none;
  }
  .sp-carousel-track {
    transition: none;
    transform: none !important;
    padding: 0 7%;
  }
  .sp-carousel-slide {
    transition: none;
  }
  .sp-carousel-arrow,
  .sp-carousel-dots {
    display: none;
  }
}

/* ============================================================
   7. SCENARIO INLINE CTA (FR-1.12)
   Deep-link from a scenario card into a sandbox preset. Muted
   accent until hover so it doesn't compete with the scenario
   body copy.
   ============================================================ */
.sp-scenario-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.5rem;
  font: 600 0.8125rem/1.3 var(--font-sans);
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: gap var(--transition-base);
}
.sp-scenario-cta:hover {
  gap: 0.55rem;
}
.sp-scenario-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================
   8. PRACTICE AUDIT CALLOUT (FR-1.10)
   Dark surface card with a centered action box on the right.
   The mailto-CTA is the working conversion path while the
   structured form backend is built in PRD-005.
   ============================================================ */
.sp-audit {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}
/* Founder feedback 2026-05-11: the dark navy shell + bordered
   action-box wrapper were doing too much. The audit CTA now sits
   on the page's normal background like every other body section
   and the button-side renders open (no inner card border). */
.sp-audit-shell {
  display: grid;
  gap: clamp(1.75rem, 2.5vw, 2.25rem);
  padding: 0;
  background: transparent;
  color: var(--color-text);
}
@media (min-width: 900px) {
  .sp-audit-shell {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 4vw, 3.5rem);
    align-items: center;
  }
}
.sp-audit-headline {
  font: 500 clamp(1.4rem, 2.1vw, 1.75rem)/1.2 var(--font-display);
  color: var(--color-text);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.sp-audit-body {
  font: 400 1rem/1.6 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
}
.sp-audit-action {
  display: grid;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  align-content: start;
  justify-items: center;
  text-align: center;
}
.sp-audit-form-intro {
  font: 400 0.9375rem/1.55 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
}
.sp-audit-mailto {
  align-self: center;
  font-size: 0.9375rem;
}
.sp-audit-mailto:focus-visible {
  outline: 2px solid var(--color-surface-dark);
  outline-offset: 3px;
}
.sp-audit-form-note {
  font: 500 0.8125rem/1.5 var(--font-sans);
  color: var(--color-text-subtle);
  margin: 0;
}

/* ============================================================
   9. STATS DECK
   Renders only entries whose stats.json has last_verified !== null.
   The bootstrap script in <body> sets data-stat-verified on each
   card and data-empty on the section if zero verified.
   ============================================================ */
.sp-stats {
  padding: clamp(3rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
}
.sp-stats[data-empty="true"] {
  display: none;
}
.sp-stats-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.sp-stat {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.sp-stat[data-stat-verified="false"] {
  display: none;
}
.sp-stat-figure {
  font: 700 clamp(2.5rem, 4.5vw, 3.5rem)/1 var(--font-sans);
  color: var(--color-text);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.sp-stat-label {
  font: 500 0.9375rem/1.4 var(--font-sans);
  color: var(--color-text);
  max-width: 28ch;
}
/* Mixed-case attribution per /critique 2026-05-01 P1 typeset fix.
   Long uppercase strings hurt scan speed at small sizes. */
.sp-stat-attr {
  font: 500 0.75rem/1.5 var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text-subtle);
  margin-top: 0.5rem;
}

/* ============================================================
   10. FINAL CTA BRIDGE (FR-1.1 step 7)
   Dark surface section closing every page. Side-by-side actions
   on ≥900px (primary button + secondary text-link via FR-1.12),
   stacked below.
   ============================================================ */
.sp-cta-bridge {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(7rem, 11vw, 10rem);
  background: var(--color-surface-dark);
  color: var(--color-bg);
  margin-top: clamp(3rem, 6vw, 5rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.sp-cta-bridge-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .sp-cta-bridge-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}
.sp-cta-bridge .section-label {
  color: rgba(245, 247, 251, 0.55);
}
.sp-cta-bridge h2 {
  font: 500 clamp(1.625rem, 2.6vw, 2.25rem)/1.15 var(--font-display);
  color: var(--color-bg);
  margin: 0.75rem 0 1rem;
  text-wrap: balance;
}
.sp-cta-bridge p {
  font: 400 1rem/1.6 var(--font-sans);
  color: rgba(245, 247, 251, 0.72);
  margin: 0;
  max-width: 50ch;
}
.sp-cta-bridge-actions {
  /* Inline-flex column hugs the button width so the subline centers
     directly under it. On desktop the wrapper right-aligns inside
     its grid cell via margin-left: auto. */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 900px) {
  .sp-cta-bridge-actions {
    margin-left: auto;
  }
}
.sp-cta-bridge .btn-primary {
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 6px 24px rgba(245, 247, 251, 0.12);
}
.sp-cta-bridge .btn-primary:hover,
.sp-cta-bridge .btn-primary:focus-visible {
  background: #ffffff;
  transform: translateY(-1px);
}
.sp-cta-bridge-subline {
  font: 500 0.8125rem/1.5 var(--font-sans);
  color: rgba(245, 247, 251, 0.55);
  letter-spacing: 0.04em;
}
/* Dark-surface override for .sp-cta-subline when used inside the
   dark CTA bridge - light-on-dark color, otherwise inherits the
   centered-under-button column layout from .sp-cta-bridge-actions. */
.sp-cta-bridge .sp-cta-subline {
  font: 500 0.875rem/1.4 var(--font-sans);
  color: rgba(245, 247, 251, 0.65);
  letter-spacing: 0.01em;
  text-align: center;
}

/* ============================================================
   11. SANDBOX SECONDARY CTA (FR-1.12)
   Text-link CTA placed below every primary button on use-case
   pages, plus inside scenario cards and the final CTA bridge.
   NEVER a competing solid button — text link only.
   ============================================================ */
.sp-cta-secondary {
  font: 500 0.9375rem/1.4 var(--font-sans);
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  min-height: 32px;
  transition: gap var(--transition-base), color var(--transition-base);
}
.sp-cta-secondary:hover {
  gap: 0.6rem;
  color: var(--color-text);
}
.sp-cta-secondary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Dark-surface override (CTA bridge + audit shell) */
.sp-cta-bridge .sp-cta-secondary {
  color: rgba(245, 247, 251, 0.85);
}
.sp-cta-bridge .sp-cta-secondary:hover {
  color: var(--color-bg);
}

/* ============================================================
   12. MEDIA FRAMES
   Placeholder slots for screenshots / videos sourced from the
   Eidmi sandbox at demo.eidmi.com. Replace the inner
   <div class="sp-media-placeholder-frame"> with a real <img>
   or <video> once demo assets are available; the outer
   .sp-media-frame keeps the layout stable.
   ============================================================ */
.sp-media-frame {
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
}
.sp-media-frame-thumb {
  aspect-ratio: 16 / 10;
}
.sp-media-frame-hero {
  aspect-ratio: 16 / 9;
  max-width: 540px;
}
.sp-media-frame img,
.sp-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-media-placeholder-frame {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  font: 600 0.7rem/1.4 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: linear-gradient(
    135deg,
    var(--color-surface) 0%,
    var(--color-surface-alt) 100%
  );
  text-align: center;
}
.sp-media-placeholder-frame::before {
  content: "";
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  border: 1.5px dashed var(--color-text-subtle);
  opacity: 0.5;
}

/* ============================================================
   12.5 "WHERE THIS FITS" CROSS-LINKS (FR-3.4 — feature pages)
   Cross-link grid that sits between scenarios and stats on
   feature pages. Each card represents a practice area where the
   feature is most heavily used. Cards render as either:
     - <a class="sp-where-fits-card"> for live practices
     - <li class="sp-where-fits-card-soon"> for placeholders
   Phase 3 ships all practice pages as `-soon` placeholders;
   Phase 5 swaps them for live links one at a time.
   ============================================================ */
.sp-where-fits {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
}
.sp-where-fits-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-where-fits-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .sp-where-fits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.sp-where-fits-card,
.sp-where-fits-card-soon {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sp-where-fits-card:hover,
.sp-where-fits-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15, 23, 42, 0.18);
  outline: none;
}
.sp-where-fits-card-soon {
  cursor: default;
  opacity: 0.85;
}
.sp-where-fits-card-label {
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}
.sp-where-fits-card-body {
  font: 400 0.95rem/1.55 var(--font-sans);
  color: var(--color-text);
  margin: 0;
}
.sp-where-fits-card-soon .sp-where-fits-card-body {
  color: var(--color-text-muted);
}
.sp-where-fits-card-status {
  margin-top: auto;
  align-self: flex-start;
  font: 600 0.66rem/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  background: var(--color-surface-alt);
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
}

/* ============================================================
   13. PRACTICE-PAGE HERO SECURITY CARD (FR-4.5)
   Right-column variant of .sp-usecase-hero-media. Practice pages
   replace the media placeholder with a practice-specific security
   checklist. Lead items name practice-specific risks (privilege,
   work product, opposing counsel for litigation; counterparty
   confidentiality, escrow data, title-insurer for real estate;
   etc.). Generic items ("hackers can't steal what isn't on the
   internet") sit underneath as supporting bullets.

   Visual treatment mirrors the homepage `.hero-security-card`
   (dark gradient, mono caption, green check rows) but with class
   names scoped to segmented pages so the homepage stays untouched.
   ============================================================ */
.sp-hero-security-card {
  width: min(100%, 480px);
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.88);
  border-radius: 24px;
  background: linear-gradient(180deg, #0a1128 0%, #0f172a 100%);
  box-shadow: 0 26px 60px rgba(10, 17, 40, 0.28);
  align-self: center;
  justify-self: center;
}
@media (min-width: 1100px) {
  .sp-hero-security-card {
    justify-self: end;
  }
}
.sp-hero-security-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sp-hero-security-kicker,
.sp-hero-security-state,
.sp-hero-security-copy,
.sp-hero-security-footer {
  font-family: var(--font-mono);
}
.sp-hero-security-kicker {
  color: rgba(191, 219, 254, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sp-hero-security-state {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}
.sp-hero-security-checklist {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 0;
}
.sp-hero-security-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
/* Supporting (generic) rows render flatter so the practice-specific
   lead rows carry the visual weight per FR-4.5. */
.sp-hero-security-row-support {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
}
.sp-hero-security-check {
  color: #22c55e;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.sp-hero-security-copy {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.79rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: none;
}
.sp-hero-security-row-support .sp-hero-security-copy {
  color: rgba(255, 255, 255, 0.74);
}
.sp-hero-security-footer {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(148, 163, 184, 0.96);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   14. ABOUT PAGE (FR-1.16, /about/ page-specific layout)
   Editorial chapter layout for /about/. The page reads like a
   numbered manifesto: chapter number + heading on the left,
   content body on the right (desktop), stacked on mobile. Light
   surface for chapters 1-4, dark surface for "Where We're Going",
   centered brand outro, and the existing founder block as the
   closing chapter (uses .section-founder + .founder-* classes
   from styles.css unchanged).

   Page-level: .about-page main has its prior padding stripped so
   the dark "vision" section can break the 1280px container.
   ============================================================ */
.about-page main {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ---- Hero / lead block ---- */
.sp-about-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.sp-about-hero-eyebrow {
  font: 600 0.7rem/1 var(--font-sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}
.sp-about-hero-headline {
  font: 500 clamp(2.5rem, 5.5vw, 4.25rem)/1.05 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.sp-about-hero-sub {
  font: 400 clamp(1.0625rem, 1.4vw, 1.1875rem)/1.6 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 60ch;
}

/* ---- Numbered chapter (chapters 01-04, light surface) ---- */
.sp-about-chapter {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 900px) {
  .sp-about-chapter {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
  }
}
/* Editorial divider between chapters. The first chapter has none. */
.sp-about-chapter + .sp-about-chapter {
  border-top: 1px solid var(--color-border);
}

.sp-about-chapter-header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sp-about-chapter-num {
  font: 500 clamp(1.125rem, 1.5vw, 1.4rem)/1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--color-text-subtle);
  font-variant-numeric: tabular-nums;
}
.sp-about-chapter-heading {
  font: 500 clamp(1.75rem, 3.2vw, 2.625rem)/1.1 var(--font-display);
  letter-spacing: -0.012em;
  color: var(--color-text);
  margin: 0;
  text-wrap: balance;
}

.sp-about-chapter-body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
.sp-about-chapter-lead {
  font: 500 clamp(1.0625rem, 1.4vw, 1.25rem)/1.55 var(--font-sans);
  color: var(--color-text);
  margin: 0;
  max-width: 60ch;
}
.sp-about-chapter-body p {
  font: 400 1.0625rem/1.65 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 65ch;
}
.sp-about-chapter-body strong {
  color: var(--color-text);
  font-weight: 600;
}
.sp-about-punchline {
  font: 500 clamp(1.0625rem, 1.4vw, 1.1875rem)/1.5 var(--font-display);
  letter-spacing: -0.005em;
  color: var(--color-text);
  margin: 0;
  max-width: 56ch;
}

/* Editorial bullet list (no default disc) */
.sp-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sp-about-list li {
  position: relative;
  padding-left: 1.5rem;
  font: 400 1.0625rem/1.6 var(--font-sans);
  color: var(--color-text);
  max-width: 65ch;
}
.sp-about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.sp-about-list-strong li {
  font-weight: 500;
  color: var(--color-text);
}

/* ---- Chapter 04: Who We Serve - tightened single-line variant.
   `align-items: center` overrides the section default of `start`
   so the body text vertical-centers with the chapter heading
   (which is the dominant visual element when the body is one
   short sentence). Founder feedback 2026-05-05.

   2026-05-06: at desktop, the chapter-num is lifted out of the
   header's flex flow (position: absolute) so the header box's
   height equals just the heading. This makes `align-items: center`
   center the body to the HEADING's vertical center rather than
   to the (num + gap + heading) column's center, which previously
   landed the body around the num/heading gap. The num still sits
   visually above the heading via `bottom: calc(100% + 0.65rem)`. */
.sp-about-chapter-tight {
  align-items: center;
}
.sp-about-chapter-tight .sp-about-chapter-body {
  gap: 0;
}
.sp-about-chapter-tight .sp-about-chapter-lead {
  font: 500 clamp(1.125rem, 1.6vw, 1.4rem)/1.5 var(--font-display);
  color: var(--color-text);
  letter-spacing: -0.005em;
  max-width: 50ch;
}
@media (min-width: 900px) {
  .sp-about-chapter-tight .sp-about-chapter-header {
    position: relative;
  }
  .sp-about-chapter-tight .sp-about-chapter-num {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    left: 0;
    margin: 0;
  }
}

/* ---- Chapter 06: Where We're Going - dark surface, full-bleed ---- */
.sp-about-vision {
  background: var(--color-surface-dark);
  color: var(--color-bg);
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
  /* full-bleed dark section breaks out of the inner container */
}
.sp-about-vision-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sp-about-vision-inner {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: start;
  }
}
.sp-about-vision .sp-about-chapter-num {
  color: rgba(245, 247, 251, 0.55);
}
.sp-about-vision .sp-about-chapter-heading {
  color: var(--color-bg);
}
.sp-about-vision-lead {
  font: 400 clamp(1.0625rem, 1.4vw, 1.1875rem)/1.65 var(--font-sans);
  color: rgba(245, 247, 251, 0.8);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 60ch;
}

/* Three arrow rows: before -> arrow -> after.
   Typography is the design here: muted serif "before", accent
   arrow, bold display "after". */
.sp-about-arrows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sp-about-arrow-row {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  align-items: baseline;
  gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid rgba(245, 247, 251, 0.12);
}
.sp-about-arrow-row:first-child {
  padding-top: 0;
}
.sp-about-arrow-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sp-about-arrow-before {
  font: 400 clamp(1rem, 1.4vw, 1.1875rem)/1.4 var(--font-sans);
  color: rgba(245, 247, 251, 0.55);
}
.sp-about-arrow-icon {
  font: 500 clamp(1.5rem, 2.4vw, 2rem)/1 var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0;
}
.sp-about-arrow-after {
  font: 500 clamp(1.125rem, 1.8vw, 1.5rem)/1.3 var(--font-display);
  letter-spacing: -0.008em;
  color: var(--color-bg);
}
@media (max-width: 599px) {
  .sp-about-arrow-row {
    gap: 0.5rem;
    align-items: center;
  }
  .sp-about-arrow-before,
  .sp-about-arrow-after {
    font-size: 0.8125rem;
    line-height: 1.25;
    white-space: nowrap;
  }
  .sp-about-arrow-icon {
    font-size: 1rem;
    color: var(--color-accent);
  }
}

/* ---- Brand outro: centered, generous breathing room ---- */
.sp-about-outro {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.sp-about-outro-wordmark {
  font: 500 clamp(3.5rem, 8vw, 6.5rem)/1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin: 0;
}
.sp-about-outro-tagline {
  font: 400 clamp(1rem, 1.3vw, 1.125rem)/1.55 var(--font-sans);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 52ch;
}

/* Colophon line - sits below the EIDMI wordmark + tagline. Mono +
   uppercase + muted treatment marks it as a metadata / sign-off
   line rather than a brand element, so it doesn't compete with
   the wordmark moment above it. Extra margin-top pushes it down
   away from the tagline. */
.sp-about-outro-colophon {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font: 500 0.78rem/1.5 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  max-width: 52ch;
}
.sp-about-outro-colophon a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}
.sp-about-outro-colophon a:hover,
.sp-about-outro-colophon a:focus-visible {
  color: var(--color-text);
  outline: none;
}

/* The about page founder-section spacing tweak was removed
   2026-05-06 along with the founder card itself. The base
   .section-founder rule in styles.css still applies on the
   homepage, where the founder block remains. */

/* ============================================================
   13. REDUCED-MOTION FALLBACK
   Carousel transitions disabled for users who prefer it.
   Sticky-scroll already opts out via the @media query in
   section 5; this catches the carousel-side animations.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .sp-carousel-track,
  .sp-carousel-slide,
  .sp-carousel-dot,
  .sp-carousel-arrow {
    transition: none;
  }
}
