/* ─────────────────────────────────────────────────────────────
   Growth Ladder — Council Intelligence landing page
   Monochrome base + signature green accent (inherited parent-site feel)
   Mobile-first, progressive enhancement upward.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Base palette — slightly warm monochrome to match parent site */
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #3A3A3A;
  --ink-4: #6B6B6B;
  --ink-5: #9A9A9A;
  --rule: #E6E6E3;
  --rule-2: #EFEFEC;
  --paper: #FAFAF7;
  --paper-2: #F3F3EF;
  --white: #FFFFFF;

  /* Signature green — evolution of parent-site highlight */
  --accent: oklch(0.88 0.22 130);           /* bright chartreuse */
  --accent-ink: oklch(0.42 0.14 130);       /* deep green text on accent */
  --accent-soft: oklch(0.95 0.10 130 / 0.55);

  /* Type */
  --font-sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: transparent; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* ─── Layout shell ─────────────────────────────────────────── */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
@media (min-width: 1100px) { .wrap { padding: 0 48px; } }

section { padding: 56px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 768px) { section { padding: 88px 0; } }
@media (min-width: 1100px) { section { padding: 120px 0; } }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-4);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px; background: var(--ink-4);
}
/* Don't render the leading line when the eyebrow has no label
   (e.g. the rotating hero variant). Otherwise a lone 20×1px hairline
   floats above the headline. */
.eyebrow:empty { display: none; }
.eyebrow:empty::before { display: none; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 500; margin: 0; }
h1 { font-size: clamp(32px, 6.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }

.lede { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; color: var(--ink-3); max-width: 62ch; }

/* Underline accent — used on a single word in the hero headline */
.mark-underline {
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.mark-underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: -0.1em;
  height: 0.28em;
  background-image: url("underline.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* Recolor black SVG to signature green */
  filter: invert(90%) sepia(58%) saturate(658%) hue-rotate(22deg) brightness(105%) contrast(94%);
  pointer-events: none;
}
/* Green swash highlight for phrases on dark-on-light */
.mark-highlight {
  background: linear-gradient(180deg, transparent 55%, var(--accent) 55%, var(--accent) 92%, transparent 92%);
  padding: 0 0.05em;
}

/* ─── Rotating word (hero) ─────────────────────────────────── */
/* Outer wrapper reserves horizontal space for the LONGEST word so the
   rest of the headline never shifts as words cycle. On narrow viewports
   we drop the width-reservation and let the rotator wrap to its own
   line naturally (it still holds its own vertical slot). */
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  /* reserved width is set inline by JS after first paint (measured from the
     longest word). Before JS hydrates, width is auto so the SSR word
     ("councils") renders intrinsically. */
  line-height: inherit;
  /* Height is established by the invisible .rotator-baseline child — do NOT
     set an explicit height here, it de-baselines the inline box and makes
     the rotator sit visibly higher than its sibling words. */
  overflow: visible;       /* we clip on an inner layer, see .rotator-stage */
  white-space: nowrap;
  /* Never overflow the headline's column — if the measured width of the
     longest word exceeds the container, clamp to 100% and let the word
     drop to the next line instead. */
  max-width: 100%;
}
/* Invisible in-flow word — identical metrics to the visible rotating
   words. Establishes the baseline of the outer inline-block so the
   rotator aligns with its sibling text ("Your inside track to ___").
   Absolute-positioned rotator words overlay it on top.                */
.rotator-baseline {
  display: inline-block;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}
/* Clipping layer — overlays the baseline anchor exactly. Absolute-
   positioned rotator words live inside it, so their slide transitions
   are clipped to the headline line and don't bleed up/down. */
.rotator-stage {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}
.rotator-stage .rotator-word { pointer-events: auto; }
@media (max-width: 640px) {
  .rotator {
    /* let the word wrap to its own line on mobile; still reserve the line */
    display: block;
    width: 100% !important;
    white-space: normal;
    height: auto;
    min-height: 1em;
  }
}
.rotator-word {
  position: absolute;
  left: 0; top: 0;
  display: inline-block;
  white-space: nowrap;
  transition: transform 400ms cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 320ms ease;
  will-change: transform, opacity;
}
.rotator-word.is-enter {
  transform: translateY(1em);
  opacity: 0;
}
.rotator-word.is-active {
  transform: translateY(0);
  opacity: 1;
}
.rotator-word.is-exit {
  transform: translateY(-1em);
  opacity: 0;
}
@media (max-width: 640px) {
  /* on mobile the rotator is block-level and may wrap; words flow in normal
     layout instead of absolute-positioning */
  .rotator-word { position: relative; }
  .rotator-word.is-enter,
  .rotator-word.is-exit { position: absolute; }
}
/* The rotating word carries the signature-green underline swash, same as
   the static .mark-underline treatment. Scoped to .rotator so we don't
   double-apply when a word is also wrapped in .mark-underline elsewhere. */
.rotator .mark-underline { display: inline-block; }
/* Accentuate the squiggle under the rotating word — thicker stroke,
   sits a touch lower, a hair wider on each side for visual weight.     */
.rotator .mark-underline::after {
  height: 0.38em;
  left: -4%;
  right: -4%;
  bottom: -0.14em;
  /* slightly more saturated green — stays in-palette */
  filter: invert(82%) sepia(72%) saturate(780%) hue-rotate(18deg) brightness(100%) contrast(98%);
}

/* Reduced motion — no animation, hold the resting state. */
@media (prefers-reduced-motion: reduce) {
  .rotator { overflow: visible; }
  .rotator-word { transition: none; position: relative; transform: none; opacity: 1; }
  .rotator-word[data-rest="false"] { display: none; }
  .rotator-word[data-rest="true"] { display: inline-block; }
}

/* ─── Top bar ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; min-width: 0; color: inherit; text-decoration: none; }
.nav-logo .wm { white-space: nowrap; }
.nav-logo svg { width: 22px; height: 22px; }
.nav-logo .pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--accent); color: #0A1A05;
  border-radius: 999px;
  margin-left: 2px;
}
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: none; gap: 4px; font-size: 14px; color: var(--ink-3); }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Nav link — animated active "bubble" (scroll-spy) + hover embolden.
   Active section still gets the ink-filled pill treatment from scroll-spy.
   Hover on non-active links simply bolds the text — no background wash. */
.nav-link {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  /* Use a stable font-variation trick (font-weight transition) so the layout
     doesn't shift when the text bolds on hover. */
  transition: color .2s var(--ease), font-weight .2s var(--ease);
  z-index: 0;
}
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  /* Glass-like highlight for the active pill — no solid black. A soft
     white-to-transparent gradient over a very light ink wash, with a
     hairline ink-tinted border for definition. Keeps the nav calm. */
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--paper) 92%, transparent) 0%,
      color-mix(in oklab, var(--paper) 65%, transparent) 100%),
    color-mix(in oklab, var(--ink) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--paper) 80%, transparent),
    0 1px 2px color-mix(in oklab, var(--ink) 6%, transparent);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity .25s var(--ease), transform .3s var(--ease);
  z-index: -1;
}
/* Hover on a non-active link: embolden + darken text, no background. */
.nav-link:not(.is-active):hover {
  color: var(--ink);
  font-weight: 600;
}
/* Active link: ink text on glass pill (no more white-on-black). */
.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav-link::before { transform: none; transition: opacity .15s linear; }
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: transform .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-primary .arr { color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-secondary .arr { color: var(--ink); transition: color .15s var(--ease); }
.btn-secondary:hover .arr { color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); height: 40px; padding: 0 14px; font-size: 13px; }
.btn-ghost:hover { border-color: var(--ink); }

/* ─── Book-a-demo nav CTA ───────────────────────────────────
   Higher-intent than a plain ghost link. Ink surface, green
   pulse dot, arrow nudges right on hover. Subtle lift + shadow
   so it reads as the primary action at the top of the page. */
.btn-demo {
  height: 40px;
  padding: 0 6px 0 14px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.btn-demo .btn-demo-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);
  animation: btn-demo-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes btn-demo-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 10%, transparent); }
}
.btn-demo .btn-demo-label { line-height: 1; }
.btn-demo .arr {
  /* Arrow sits inside a small circular chip, chartreuse-on-ink.
     Chip pops green and the arrow slides on hover. */
  width: 26px; height: 26px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--paper) 10%, transparent);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  padding: 6px;
  margin-left: 2px;
}
.btn-demo:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.35), 0 2px 0 rgba(0,0,0,0.04);
}
.btn-demo:hover .arr {
  background: var(--accent);
  color: #0A1A05;
  transform: translateX(2px);
}
.btn-demo:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .btn-demo, .btn-demo .arr, .btn-demo .btn-demo-dot { animation: none; transition: none; }
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.arr { width: 14px; height: 14px; display: inline-block; }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.hero-grid { display: grid; gap: 36px; }
.hero-grid > * { min-width: 0; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; } }
@media (min-width: 1100px) { .hero { padding-top: 72px; padding-bottom: 96px; } }
.hero h1 {
  margin-top: 20px;
  /* Let the browser balance lines so we never get a line with one short word
     followed by a lot of empty space. This is the primary fix for the "orphan
     word" issue when the rotating word's reserved width pushes it onto its
     own line at awkward widths. */
  text-wrap: balance;
}
.hero .lede { margin-top: 22px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero .trust {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; column-gap: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.4;
  /* Sit the trust row on a hairline so the three chunks read as one group */
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.hero .trust > span:not(.trust-sep) {
  /* Uniform chip-style treatment for each chunk so they feel like one unit */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
}
.hero .trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent);
  animation: trust-pulse 2.4s ease-in-out infinite;
}
@keyframes trust-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 15%, transparent); }
}
.hero .trust .trust-pulse {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  font-weight: 500;
}
.hero .trust .trust-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-5);
  display: inline-block;
  flex-shrink: 0;
}
.hero .trust span { display: inline-flex; align-items: center; }
/* Lock the hero right column to a stable max width so the simulation box
   never reflows the left column's headline. The inner sim still breathes
   between its own min/max, but the grid cell itself is fixed-width. */
.hero-grid > :last-child { width: 100%; max-width: 520px; }
@media (min-width: 1000px) {
  .hero-grid > :last-child { justify-self: end; width: 520px; }
}

/* ─── Problem ──────────────────────────────────────────────── */
.problem-grid { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 800px) { .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.problem-card {
  padding: 24px 22px 26px;
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 18px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.08em;
}
.problem-card h3 { margin-top: 4px; line-height: 1.2; }
.problem-card p { color: var(--ink-3); font-size: 15px; }

/* ─── How it works ────────────────────────────────────────── */
.how-grid { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 800px) { .how-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.how-step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 26px 24px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
}
.how-step .step-n {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-4);
}
.how-step .step-art { height: 120px; margin-bottom: 4px; border-radius: 12px; background: var(--paper-2); position: relative; overflow: hidden; flex-shrink: 0; }
.how-step .step-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-step h3 { line-height: 1.2; margin: 0 0 4px; font-size: clamp(19px, 2.1vw, 24px); }
.how-step p { margin: 0; }

/* ─── Section heading row ─────────────────────────────────── */
.sec-head { display: grid; gap: 12px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; } }
.sec-head h2 { max-width: 22ch; }
.sec-head .lede { color: var(--ink-3); }

/* ─── Product sim shells ──────────────────────────────────── */
.sim-shell {
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
}
.sim-tabs {
  display: grid;
  /* Fixed 5-column grid so the tab row never reflows as the active tab
     changes — each tab claims an equal 1/5 of the shell width. On narrow
     viewports we fall back to horizontal scroll. */
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
@media (max-width: 760px) {
  .sim-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
}
.sim-tabs::-webkit-scrollbar { display: none; }
.sim-tab {
  flex: 0 0 auto;
  padding: 9px 12px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s var(--ease), color .15s var(--ease);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-tab:hover { color: var(--ink); }
.sim-tab[data-active="true"] { background: var(--ink); color: var(--paper); }
/* Keep the label legible when hovering the currently-active tab — without
   this, the generic :hover rule would flip the text back to ink-on-ink. */
.sim-tab[data-active="true"]:hover { color: var(--paper); }
.sim-tab .idx { font-family: var(--font-mono); font-size: 11px; opacity: 0.6; }
/* Sim content area is height-locked so switching between tabs (chat,
   alerts, entity, doc, distribute) doesn't cause the whole section to
   jump vertically. We use a fixed height with vertical scroll as a
   safety net — each sim naturally top-aligns inside this envelope, and
   taller sims (e.g. Sync to your workspace) scroll within the box rather
   than growing the section height. */
.sim-body {
  padding: 18px;
  height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (min-width: 800px) {
  .sim-body { padding: 28px; height: 620px; }
}
.sim-body::-webkit-scrollbar { width: 6px; }
.sim-body::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.sim-body::-webkit-scrollbar-track { background: transparent; }

/* ─── Use case cards ──────────────────────────────────────── */
.uc-grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 760px) { .uc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

.uc-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 26px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.uc-card:hover { border-color: var(--ink); }
.uc-card .uc-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-4);
  display: flex; align-items: center; gap: 8px;
}
.uc-card .uc-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.uc-card h3 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.uc-card .uc-query {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px dashed var(--rule);
  border-radius: 10px;
  padding: 10px 12px;
}
.uc-card .uc-query::before { content: "> "; color: var(--accent-ink); }
.uc-card .uc-outcome { font-size: 14.5px; color: var(--ink-3); }
.uc-card .uc-outcome strong { color: var(--ink); font-weight: 500; }
.uc-card .uc-who {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rule-2);
  font-size: 12.5px; color: var(--ink-4);
}

/* ─── Lead magnet ─────────────────────────────────────────── */
.lm {
  background: var(--ink);
  color: var(--paper);
  border-radius: 24px;
  padding: 32px 24px;
  margin-top: 40px;
  display: grid; gap: 28px;
  position: relative;
  overflow: hidden;
}
.lm h2 { line-height: 1.1; }
.lm > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (min-width: 900px) { .lm { grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 48px; } }
.lm h2 { color: var(--paper); }
.lm .lede { color: color-mix(in oklab, var(--paper) 72%, transparent); }
.lm .kicker { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.lm-report {
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
  border-radius: 14px;
  padding: 18px;
  font-size: 13.5px;
  display: flex; flex-direction: column; gap: 10px;
}
.lm-report-cover {
  height: 140px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--paper) 10%, transparent) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 40%, var(--ink)) 0%, var(--ink) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
}
.lm-form { display: grid; gap: 10px; }
.lm-form .row { display: grid; gap: 10px; }
@media (min-width: 520px) { .lm-form .row-2 { grid-template-columns: 1fr 1fr; } }
.lm-input, .lm-select {
  height: 46px; padding: 0 14px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--paper) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
  color: var(--paper);
  outline: none;
  font-size: 14px;
  width: 100%;
}
.lm-input::placeholder { color: color-mix(in oklab, var(--paper) 40%, transparent); }
.lm-input:focus, .lm-select:focus { border-color: var(--accent); }
.lm-btn {
  background: var(--accent);
  color: #0A1A05;
  height: 48px;
  font-weight: 500;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  transition: transform .15s var(--ease), filter .15s var(--ease);
}
.lm-btn:hover { filter: brightness(1.06); }
.lm-hint { font-size: 12px; color: color-mix(in oklab, var(--paper) 55%, transparent); }

/* ─── Why now ─────────────────────────────────────────────── */
.why-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 800px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.why-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.why-card h3 { line-height: 1.2; }
.why-card .wn-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #0A1A05;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.why-card p { color: var(--ink-3); font-size: 15px; }

/* ─── Final CTA ───────────────────────────────────────────── */
.final {
  padding: 72px 20px 88px;
  text-align: center;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 900px) { .final { padding: 140px 20px 160px; } }
.final h2 { max-width: 18ch; margin: 0 auto; }
.final .lede { margin: 20px auto 0; }
.final .ctas { margin-top: 32px; display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.final .postscript {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer { padding: 40px 0 48px; background: var(--paper); }
footer .wrap { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 800px) { footer .wrap { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
footer .fcol { display: flex; flex-direction: column; gap: 12px; }
footer .fmeta { color: var(--ink-4); font-size: 13px; }
footer .flinks { display: flex; gap: 18px; color: var(--ink-3); font-size: 13px; }
footer .flinks a:hover { color: var(--ink); }

/* ─── Utility ─────────────────────────────────────────────── */
.hairline { height: 1px; background: var(--rule); width: 100%; }
.kbd {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--ink-4);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* ═════════════════════════════════════════════════════════
   USE CASE CARD — flipped hierarchy variant
   ═════════════════════════════════════════════════════════ */
.uc-card-v2 { gap: 14px; }
.uc-card-v2 .uc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uc-card-v2 .uc-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.uc-card-v2 .uc-heading {
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}
.uc-card-v2 .uc-sub {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: -4px 0 0;
}
.uc-card-v2 .uc-body {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}
.uc-card-v2 .uc-body strong { color: var(--ink); font-weight: 500; }
.uc-card-v2 .uc-divider {
  height: 1px;
  background: var(--rule-2);
  margin-top: auto;
}
.uc-card-v2 .uc-who {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 17px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
}

/* Corner glyph in the top-right of each use-case card. Uses the signature
   green surface so it reads as a deliberate "tag" rather than decoration. */
.uc-card-v2 { position: relative; padding-right: 80px; }
.uc-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uc-icon svg { width: 22px; height: 22px; display: block; }
@media (max-width: 760px) {
  .uc-card-v2 { padding-right: 24px; }
  .uc-icon { top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 10px; }
  .uc-icon svg { width: 20px; height: 20px; }
}

@media (min-width: 760px) {
  .uc-card-v2 .uc-heading { font-size: 34px; }
}
@media (min-width: 1000px) {
  .uc-card-v2 .uc-heading { font-size: 38px; }
}

/* ═════════════════════════════════════════════════════════
   FAQ ACCORDION — rebuilt
   Default: all collapsed. Click expands answer below question.
   ═════════════════════════════════════════════════════════ */
/* FAQ heading column — stacked above the card (not split into two columns
   like .sec-head). Keeps the heading, lede and FAQ card vertically aligned
   to the same left edge. */
.faq-head {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.faq-head h2 { max-width: 22ch; }
.faq-head .lede { max-width: 62ch; }
.faq-list {
  max-width: 860px;
  margin: 32px auto 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  transition: background .15s var(--ease);
}
.faq-item:last-child { border-bottom: 0; }
.faq-item.is-open {
  background: var(--paper-2);
}

.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  transition: background .12s var(--ease);
}
.faq-q:hover:not(:focus-visible) { background: color-mix(in oklab, var(--paper-2) 60%, transparent); }
.faq-q:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: -2px; }

.faq-n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  font-weight: 500;
}

.faq-q-text {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
}

.faq-chev {
  color: var(--ink-4);
  transition: transform .25s var(--ease), color .15s var(--ease);
  display: inline-flex;
}
.faq-item.is-open .faq-chev {
  transform: rotate(180deg);
  color: var(--ink);
}

/* The collapsible region: animate max-height + opacity */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s var(--ease);
  opacity: 0;
}
.faq-item.is-open .faq-a {
  max-height: 500px;
  opacity: 1;
}
.faq-a-inner {
  padding: 0 24px 24px 58px;
}
.faq-a-inner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 72ch;
}

@media (max-width: 620px) {
  .faq-q { padding: 18px 18px; gap: 12px; }
  .faq-q-text { font-size: 15.5px; }
  .faq-a-inner { padding: 0 18px 20px 18px; }
  .faq-a-inner p { font-size: 14px; }
}
