/* /v2 — calm, precise, Natural-style system. Loaded after styles.css, scoped to body.v2. */

body.v2 {
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --card: #ffffff;
  --ink: #161514;
  --ink-2: #4a4a46;
  --muted: #8d8d87;
  --line: #ebebe8;
  --accent: #1e4d3f;
  --accent-ink: #ffffff;
  --accent-soft: #e7efeb;
  --ok: #2f7a55;
  --signal: #b4502a;
  --mark-you: #f3e1d6;
  --mark-doc: #dbeee6;
  --mark-agent: #f5e6bd;
  --mark-auto: #ececea;
  --radius: 16px;
  --serif: "Geist", "Inter", system-ui, sans-serif;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  letter-spacing: -0.003em;
}
@media (prefers-color-scheme: dark) {
  body.v2 {
    --paper: #0f1110; --paper-2: #181a19; --card: #1c1f1d; --ink: #f1f1ee; --ink-2: #c4c5c0; --muted: #8b8d88;
    --line: #2a2d2b; --accent: #9fd1bb; --accent-ink: #0f1110; --accent-soft: #1f2c27;
    --mark-you: #4a3328; --mark-doc: #1f3a31; --mark-agent: #4a3f20; --mark-auto: #2a2d2b;
  }
}

/* Type: one family, normal weights, headline + softer continuation */
body.v2 h1, body.v2 h2, body.v2 h3 { font-family: var(--sans); font-weight: 400; letter-spacing: -0.02em; }
body.v2 h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; max-width: 30ch; }
body.v2 h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; max-width: 28ch; }
body.v2 h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
body.v2 h1 em, body.v2 h2 em { font-style: normal; color: inherit; }
body.v2 .soft { color: var(--muted); }
body.v2 .lede { font-size: 17px; color: var(--ink-2); }
body.v2 .eyebrow { font: 400 14px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 12px; }
body.v2 .section-head { margin-bottom: 36px; }
body.v2 .section-head p { font-size: 16px; color: var(--muted); margin-top: 10px; }
body.v2 section { padding: 88px 0; }
body.v2 .rule { border-top: 0; }

/* Header + buttons: small black pills */
body.v2 .site-header { background: color-mix(in srgb, var(--paper) 90%, transparent); }
body.v2 .site-header.scrolled { border-bottom-color: var(--line); }
body.v2 .brand { font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
body.v2 .nav { font-size: 14px; gap: 24px; }
body.v2 .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); font: 500 14px/1 var(--sans); padding: 10px 16px; }
body.v2 .nav a.btn, body.v2 .nav a.btn:hover { color: var(--paper); }
body.v2 .btn.ghost { background: transparent; color: var(--ink); border-color: transparent; }
body.v2 .btn.ghost:hover { border-color: var(--line); }
body.v2 .btn.sm { padding: 8px 14px; font-size: 13.5px; }
body.v2 .status { background: transparent; border-color: var(--line); font-size: 13px; color: var(--ink-2); }
body.v2 .assure li { background: transparent; border-color: var(--line); font-size: 12.5px; }
body.v2 .assure svg { color: var(--ink-2); }
body.v2 .check { background: var(--ink); color: var(--paper); }

/* Hero: words, then the environment */
.v2-hero { padding: 64px 0 40px !important; }
.v2-hero h1 { margin-top: 24px; }
.v2-hero .hero-cta { margin-top: 28px; }
.v2-hero .wrap + .wrap { margin-top: 48px; }

/* Photo panels with floating UI */
.photo-panel { position: relative; border-radius: 20px; overflow: hidden; background: var(--paper-2); isolation: isolate; }
.photo-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.photo-panel .float { display: flex; justify-content: center; align-items: center; padding: 64px 24px; }
.hero-panel { min-height: min(78vh, 760px); display: grid; }
.hero-panel > img { object-position: 50% 50%; }
.hero-panel .float { justify-content: flex-end; padding: 48px; }
.scope-panel > img { object-position: 50% 0% !important; } /* alt mood: frame the window, not the person */
@media (max-width: 760px) { .hero-panel .float { justify-content: center; padding: 120px 12px 12px; } .hero-panel > img { object-position: 45% 10%; } }
body.v2 .inbox { box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); border-radius: 18px; }
body.v2 .inbox-top strong { font-family: var(--sans); font-weight: 500; font-size: 16px; }
body.v2 .inbox-foot strong { font-family: var(--sans); font-weight: 500; font-size: 22px; }
body.v2 .ib-state, body.v2 .ib-owner span { font-family: var(--mono); }

/* Outcomes: grey inset + caption */
body.v2 .outcome { border-color: var(--line); padding: 12px 12px 22px; gap: 18px; border-radius: 18px; }
body.v2 .outcome .inset { background: var(--paper-2); border-radius: 12px; height: 260px; box-sizing: border-box; display: grid; place-items: center; padding: 24px; }
body.v2 .outcome .inset svg { max-height: 120px; }
body.v2 .outcome figcaption { padding: 0 12px; font-size: 14.5px; color: var(--muted); }
body.v2 .outcome figcaption strong { font-family: var(--sans); font-weight: 500; font-size: 15px; margin-bottom: 4px; }
body.v2 .o-cost .cn, body.v2 .o-acc .noea { fill: var(--ink); }
body.v2 .o-acc .t2 { fill: var(--paper); }
body.v2 .o-acc .line { stroke: var(--ink); }
body.v2 .o-ring strong { font-family: var(--sans); font-weight: 500; font-size: 18px; }
body.v2 .ring .ring-fg { stroke: var(--ok); }

/* Scope: white card on a landscape */
.scope-panel .float { padding: 96px 24px; }
.scope-panel .float.wide > .scope { width: 100%; max-width: 980px; background: var(--card); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); }
body.v2 .scope-col h3 { color: var(--ink); font-size: 15px; font-weight: 500; border-bottom-color: var(--line); padding-bottom: 10px; margin-bottom: 12px; }
body.v2 .scope-col li { color: var(--ink-2); font-size: 14px; }
body.v2 .scope-col .check { background: var(--ink); color: var(--paper); }

/* When it's time to change: photo cards */
body.v2 .center-h { font-size: clamp(24px, 2.6vw, 32px); }

/* People */
.people-grid { display: grid; grid-template-columns: 0.9fr 2fr; gap: 20px; align-items: stretch; }
.people-photo { min-height: 320px; }
@media (max-width: 860px) { .people-grid { grid-template-columns: 1fr; } .people-photo { min-height: 260px; } }
body.v2 .person-card { border-radius: 18px; }
body.v2 .person-card strong { font-family: var(--sans); font-weight: 500; font-size: 16px; }
body.v2 .avatar { font-family: var(--sans); background: var(--paper-2); color: var(--ink); }

/* Technology: precise grey panel */
.panel-stage { background: var(--paper-2) !important; min-height: 0 !important; }
.panel-stage .stage-label { color: var(--muted); }
body.v2 .live { box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); }
body.v2 .case-title { font-family: var(--sans); font-weight: 500; font-size: 18px; }
body.v2 .live-tabs [role=tab][aria-selected=true] { background: var(--ink); color: var(--paper); }

/* Report on a landscape */
.photo-stage { position: relative; isolation: isolate; background: var(--paper-2); }
.photo-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -1; }
.photo-stage .stage-label { color: rgba(255,255,255,.9); }
body.v2 .ring strong { font-family: var(--sans); font-weight: 500; }
body.v2 .mini-bars rect { fill: #161514; }


/* Forms, FAQ, switching, footer */
body.v2 fieldset.chips label span { font-size: 13.5px; }
body.v2 fieldset.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
body.v2 input, body.v2 select, body.v2 textarea { border-radius: 10px; font-family: var(--sans); }
body.v2 .faq summary { font-family: var(--sans); font-size: 16px; }
body.v2 .faq summary::after { color: var(--ink); }
body.v2 .path strong { font-family: var(--sans); font-weight: 500; font-size: 16px; }
body.v2 .path .node { border-color: var(--ink); color: var(--ink); }
body.v2 .path li:last-child .node { background: var(--ink); color: var(--paper); }
body.v2 .path::before { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px); }
body.v2 .gets { font-size: 16px; }
body.v2 .anchor { font-family: var(--sans); font-size: 22px; color: var(--ink); }
body.v2 .site-footer { border-top-color: var(--line); }

/* Fixes */
.panel-stage .stage-bg { display: none; }
body.v2 .check.todo, body.v2 .check.now { background: transparent; }
body.v2 .check.now { border-color: var(--ink); }
body.v2 .check.now::after { background: var(--ink); }
body.v2 .center-h { margin-left: auto; margin-right: auto; max-width: none; }
.photo-stage > img { object-position: 50% 55%; }

/* Provably correct */
.proof-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--ink); }
.proof-mini li { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 10px; padding: 10px 14px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.25); }
.proof { margin: 0; width: 100%; max-width: 460px; background: var(--card); border-radius: 18px; padding: 20px 22px 16px; box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); }
.proof-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.proof-top strong { font-weight: 500; font-size: 16px; }
.proof-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); margin-bottom: 18px; }
.proof-tabs button { font: 500 12.5px/1 var(--sans); border: 0; background: transparent; color: var(--muted); padding: 7px 11px; border-radius: 999px; cursor: pointer; }
.proof-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.rec-decision { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 14px; }
.rec dl { margin: 0; display: grid; }
.rec dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.rec dt { font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.rec dd { margin: 0; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.rec dd .check { flex: none; margin-top: 1px; }
.rec.in dl div { animation: rec-in .35s ease both; }
.rec.in dl div:nth-child(2) { animation-delay: .08s; } .rec.in dl div:nth-child(3) { animation-delay: .16s; } .rec.in dl div:nth-child(4) { animation-delay: .24s; }
@keyframes rec-in { from { opacity: 0; transform: translateY(4px); } }
.proof-foot { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .rec.in dl div { animation: none; } }
@media (max-width: 460px) { .rec dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Logo: Noea™ wordmark */
.brand .reg { font-size: .42em; font-weight: 400; vertical-align: top; position: relative; top: .3em; margin-left: 0; }
body.v2 h1 .reg { font-size: .4em; vertical-align: top; position: relative; top: .35em; margin-left: 1px; }

/* Inbox: centre the status dot on the first line of the title */
body.v2 .inbox-list .ib-title { line-height: 20px; }
body.v2 .inbox-list li::before { top: calc(10px + (20px - 6px) / 2); }


/* Trigger row scrolls sideways, which clips vertically: leave room for the hover lift and shadow */

/* Status dot: a calm "live" pulse */
.status .dot { position: relative; box-shadow: none; }
.status .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--ok); opacity: .45; animation: status-pulse 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}
@keyframes status-pulse {
  0% { transform: scale(1); opacity: .45; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status .dot::after { animation: none; transform: scale(2); opacity: .2; }
}

/* Check marks: smaller tick inside the circle, a little more space to the text */
body.v2 .check { width: 18px; height: 18px; flex: none; }
body.v2 .check svg { width: 8px; height: 8px; }
.proof-mini li, .scope-col li, .rec dd, .proof-foot, .ready li, .gets li { gap: 11px; }

/* Accountability diagram: lighter, matches the pill buttons */
body.v2 .o-acc .line { stroke-width: 1.5; }
body.v2 .o-acc .t { font: 500 9.5px var(--sans); }
body.v2 .o-acc .t2 { font: 500 10.5px var(--sans); }

/* ---------- Whimsy in the outcome figures (subtle, and off for reduced motion) ---------- */

/* Fewer errors: checks land one after another, each card lifts a hair, then reset */
@keyframes tick-in {
  0%, 6% { transform: scale(.3); opacity: 0; }
  12% { transform: scale(1.18); opacity: 1; }
  16%, 86% { transform: scale(1); opacity: 1; }
  94%, 100% { transform: scale(.3); opacity: 0; }
}
@keyframes card-lift { 0%, 10% { translate: 0 0; } 13% { translate: 0 -3px; } 20%, 100% { translate: 0 0; } }
.reveal.in .proof-mini .check { animation: tick-in 5.2s cubic-bezier(.3,.7,.3,1) infinite both; }
.reveal.in .proof-mini li { animation: card-lift 5.2s ease-out infinite; }
.reveal.in .proof-mini li:nth-child(2), .reveal.in .proof-mini li:nth-child(2) .check { animation-delay: .45s; }
.reveal.in .proof-mini li:nth-child(3), .reveal.in .proof-mini li:nth-child(3) .check { animation-delay: .9s; }

/* Accountability: the vendor lines flicker and run; one dot carries the hand-off */
@keyframes march { to { stroke-dashoffset: -14; } }
@keyframes flicker { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
.o-acc .ghost path { animation: march 1.6s linear infinite; }
.o-acc .ghost circle { animation: flicker 2.2s ease-in-out infinite; }
.o-acc .ghost circle:nth-of-type(2) { animation-delay: -.5s; } .o-acc .ghost circle:nth-of-type(3) { animation-delay: -1.1s; } .o-acc .ghost circle:nth-of-type(4) { animation-delay: -1.6s; }
.o-acc .handoff { fill: var(--ok); }

@media (prefers-reduced-motion: reduce) {
  .proof-mini li, .proof-mini .check, .o-acc .ghost path, .o-acc .ghost circle { animation: none !important; }
  .o-acc .handoff { display: none; }
}

/* Hand-off goes one way and lands in Noea */
.o-acc .landing { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .o-acc .landing { display: none; } }
body.v2 .o-acc .t2 .tm { font-size: 5.5px; font-weight: 400; }

/* ---------- Report: three cards, one height ---------- */

/* ---------- One form: price or call ---------- */
.intent label span { font-weight: 500; }

/* ---------- Reliability: flow canvas ---------- */
.flow-canvas {
  position: relative; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background-color: var(--paper-2);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.3px);
  background-size: 18px 18px;
}
.fc-scroll { overflow-x: auto; padding: 44px 24px 96px; scrollbar-width: none; }
.fc-scroll::-webkit-scrollbar { display: none; }
.fc-board { position: relative; }
.fc-wires { position: absolute; inset: 0; overflow: visible; }
.fc-link { fill: none; stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 1.4; }
.fc-link.loop { stroke-dasharray: 4 4; }
.fc-port { fill: var(--card); stroke: color-mix(in srgb, var(--ink) 25%, transparent); stroke-width: 1.2; }
.fc-route { fill: none; stroke: none; }
.fc-token { fill: var(--ok); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--ok) 60%, transparent)); }

.fc-node {
  position: absolute; box-sizing: border-box; padding: 0 10px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; cursor: default;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.3);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fc-head { display: flex; align-items: center; gap: 9px; height: 46px; }
.fc-node.has-rows .fc-head { height: 40px; }
.fc-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #2b2a26; }
.fc-ic svg { width: 14px; height: 14px; }
.fc-ic.t-start { background: #dcefe4; } .fc-ic.t-rule, .fc-ic.t-branch { background: #f5e6b8; }
.fc-ic.t-auto { background: #e2e6fa; } .fc-ic.t-person { background: #f3e1d6; }
.fc-ic.t-file, .fc-ic.t-record { background: #dcefe4; }
.fc-txt { display: grid; line-height: 1.2; min-width: 0; }
.fc-txt strong { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.fc-txt small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-rows { display: grid; gap: 4px; margin-top: 8px; }
.fc-row { height: 26px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; border-radius: 6px; background: var(--paper-2); font-size: 11px; color: var(--ink-2); transition: background .25s, color .25s; }

.fc-node.passed { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.fc-node.active { border-color: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 16%, transparent), 0 10px 24px -14px rgba(0,0,0,.35); transform: translateY(-1px); }
.fc-node.active .fc-row:first-child, .fc-node.passed .fc-row:first-child { background: color-mix(in srgb, var(--ok) 14%, var(--card)); color: var(--ink); }

.fc-bar {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(0,0,0,.3); font-size: 13.5px; color: var(--ink);
}
.fc-step { font: 500 11.5px/1 var(--mono); color: var(--muted); flex: none; }
.fc-note { margin-top: 14px; font-size: 13px; }
@media (max-width: 600px) { .fc-bar { border-radius: 14px; width: auto; left: 12px; right: 12px; transform: none; max-width: none; font-size: 13px; } }

/* Abbreviations: experts read them as-is, everyone else hovers or taps */
body.v2 abbr[title], body.v2 abbr[data-t] { text-decoration: underline dotted color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; cursor: help; }
.tip { position: fixed; z-index: 60; max-width: 260px; padding: 7px 10px; border-radius: 8px; background: var(--ink); color: var(--paper); font: 400 12px/1.35 var(--sans); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip.on { opacity: 1; transform: none; }

/* Audit trail: the case as an inspector sees it */
.trail { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.trail::backdrop { background: rgba(15,17,16,.45); backdrop-filter: blur(3px); }
.trail[open] { animation: trail-in .35s cubic-bezier(.2,.8,.2,1); }
@keyframes trail-in { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.trail-doc { padding: 26px 28px 24px; }
.trail-top { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.trail-kicker { font: 500 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.trail-top h3 { font: 500 22px/1.2 var(--mono); margin: 8px 0 0; letter-spacing: -.01em; }
.trail-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.trail-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.trail-meta div { background: var(--paper-2); border-radius: 10px; padding: 10px 12px; }
.trail-meta dt { font-size: 11px; color: var(--muted); }
.trail-meta dd { margin: 4px 0 0; font: 500 13px/1.3 var(--mono); }
.trail-meta dd.ok { color: var(--ok); }
.trail-log { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.trail-log li { display: grid; grid-template-columns: 78px 120px 1fr auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.trail[open] .trail-log li { animation: trail-row .4s both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
@keyframes trail-row { from { opacity: 0; transform: translateX(-6px); } }
.trail-log time { font: 400 12px/1 var(--mono); color: var(--muted); }
.trail-log b { font-weight: 500; }
.trail-log span { color: var(--ink-2); }
.trail-log i { font-style: normal; font: 400 11px/1 var(--mono); color: var(--muted); text-align: right; }
.trail-clock { position: relative; height: 6px; border-radius: 3px; background: var(--paper-2); margin-top: 22px; }
.trail-clock span { position: absolute; inset: 0 auto 0 0; width: calc(var(--d) / 15 * 100%); border-radius: 3px; background: var(--ok); transform-origin: left; }
.trail[open] .trail-clock span { animation: trail-fill 1s .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes trail-fill { from { transform: scaleX(0); } }
.trail-clock em { position: absolute; right: 0; top: 12px; font: 400 11px/1 var(--mono); font-style: normal; color: var(--muted); }
.trail-doc { padding-bottom: 40px; }
@media (max-width: 600px) {
  .trail-doc { padding: 20px 18px 40px; }
  .trail-meta { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .trail-log li { grid-template-columns: 64px 1fr; gap: 2px 10px; }
  .trail-log span, .trail-log i { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .trail[open], .trail[open] .trail-log li, .trail[open] .trail-clock span { animation: none; } }
.fc-node[data-node="record"] { cursor: pointer; }
img.avatar { object-fit: cover; }
img.avatar { object-fit: cover; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.calc-in, .calc-out { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.calc-in { display: grid; gap: 26px; align-content: start; background: var(--paper-2); border-color: transparent; }
.calc-in label { display: grid; gap: 12px; }
.calc-in label > span { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.calc-in output { font: 500 15px/1 var(--mono); color: var(--ink); }
body.v2 .calc-in input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; padding: 0; margin: 9px 0; border: 0; border-radius: 2px; background: var(--line); box-shadow: none; outline: none; }
.calc-in input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: grab; transition: transform .15s; }
.calc-in input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 4px solid var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: grab; }
.calc-in input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.calc-in input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 30%, transparent); }
.calc-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.calc-head { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.calc-head [data-contracts] { color: #b4532a; }
.calc-lines { list-style: none; margin: 0; padding: 0; }
.calc-lines li { display: grid; grid-template-columns: 170px 1fr 56px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.cl-l { display: grid; line-height: 1.25; }
.cl-l small { font-size: 11px; color: var(--muted); }
.cl-bar { height: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.cl-bar i { display: block; height: 100%; border-radius: 4px; background: color-mix(in srgb, #b4532a 55%, var(--paper-2)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.cl-v { font: 500 13px/1 var(--mono); text-align: right; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .calc-in, .calc-out { padding: 20px; }
  .calc-lines li { grid-template-columns: 1fr 52px; }
  .cl-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .cl-bar i { transition: none; } }
.fc-scroll { padding-bottom: 44px; }
.fc-open { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--paper-2); color: var(--ink-2); transition: background .2s, color .2s; }
.fc-node[data-node="record"]:hover .fc-open, .fc-node[data-node="record"].active .fc-open { background: var(--ok); color: #fff; }
.fc-node[data-node="record"].active .fc-open { animation: fc-nudge 1.2s ease-in-out infinite; }
@keyframes fc-nudge { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 20%, transparent); } }

/* Calculator summary: a receipt. Today, minus Noea, equals the saving. */
.calc-sum { margin: 0; padding: 18px 0 20px; }
.calc-sum > div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.calc-sum dt { font-size: 15px; color: var(--ink-2); }
.calc-sum dd { margin: 0; font: 500 22px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.calc-sum .cs-save { margin-top: 10px; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.calc-sum .cs-save dt { font-size: 17px; font-weight: 500; color: var(--ink); }
.calc-sum .cs-save dd { font-size: 40px; letter-spacing: -.02em; color: var(--ok); }
.calc-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-cta > span { font-size: 13px; color: var(--muted); }

/* Standards bar under the flow */
.standards { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
.standards li { display: grid; place-items: center; padding: 20px 10px; border-left: 1px solid var(--line); text-align: center; cursor: default; }
.standards li:first-child { border-left: 0; }
.standards svg { width: 76px; height: 76px; color: var(--ink); }
.standards .st { fill: currentColor; }
.standards .gl { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.standards text { font: 600 10.5px/1 var(--sans); fill: currentColor; text-anchor: middle; letter-spacing: .01em; }
@media (max-width: 900px) { .standards { grid-template-columns: repeat(3, 1fr); } .standards li:nth-child(4) { border-left: 0; } .standards li:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .standards { grid-template-columns: repeat(2, 1fr); } .standards li { border-left: 0; border-top: 1px solid var(--line); } .standards li:nth-child(even) { border-left: 1px solid var(--line); } .standards li:nth-child(-n+2) { border-top: 0; } }
.standards text.sm { font-size: 9px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dk { display: inline-block; width: 15px; height: 11px; margin-left: 5px; vertical-align: -1px; border-radius: 1px; }
footer .reg { font-size: .6em; vertical-align: top; position: relative; top: .1em; margin-left: 1px; }
/* Simon's card: the whole card opens LinkedIn */
body.v2 .person-card:has(a.li) { position: relative; cursor: pointer; transition: background-color .2s ease; }
body.v2 .person-card a.li { position: absolute; inset: 0; border-radius: inherit; }
body.v2 .person-card:has(a.li):hover { background: var(--paper-2); }
body.v2 .person-card a.li:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.v2 .person-card a.li::after { content: "↗"; position: absolute; right: 20px; bottom: 16px; font-size: 16px; color: var(--ink-2); opacity: 0; transform: translate(-3px, 3px); transition: opacity .2s ease, transform .2s ease; }
body.v2 .person-card:has(a.li):hover a.li::after, body.v2 .person-card a.li:focus-visible::after { opacity: 1; transform: none; }

/* Motion: FAQ eases open, the audit trail leaves the way it came in */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }
.trail.closing { animation: trail-out .22s ease forwards; }
.trail.closing::backdrop { animation: trail-fade .22s ease forwards; }
@keyframes trail-out { to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes trail-fade { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .faq details::details-content { transition: none; } .trail.closing, .trail.closing::backdrop { animation: none; } }

/* Reliability → Safety Desk: a sticky stage, the camera move is in scene.js */
:root { --stage-h: min(780px, calc(100vh - 104px)); }
.flow-scene { position: relative; height: calc(var(--stage-h) + 120vh); }
.scene-stage { position: sticky; top: 88px; height: var(--stage-h); }
.scene-photo, .scene-shot { position: absolute; inset: 0; }
.scene-photo { opacity: 0; background: #2b2a26; }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.scene-shot { clip-path: inset(0 100% 100% 0); }
.scene-shot iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 1000px; border: 0; transform-origin: 0 0; background: transparent; pointer-events: none; }
.scene-glow { position: absolute; opacity: 0; border-radius: 14px 14px 0 0; box-shadow: 0 30px 80px -24px rgba(0,0,0,.55); pointer-events: none; }
.desk-foot { display: flex; justify-content: flex-end; margin: 12px 0 0; font-size: 13px; }
.desk-foot a { color: var(--ink); text-decoration: none; }
.desk-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.flow-native { display: none; }
.desk-mobile { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; background: var(--card); }
.desk-mobile strong { font-weight: 500; font-size: 16px; }
.desk-mobile span:not(.arrow) { grid-column: 1; font-size: 13px; color: var(--ink-2); }
.desk-mobile .arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 18px; }
@media (max-width: 899px) {
  .flow-scene, .desk-foot { display: none; }
  .flow-native { display: block; }
}
@media (prefers-reduced-motion: reduce) { .flow-scene { height: var(--stage-h); } }

/* Alt: stacked step cards (Intake → Clock → Evidence → Sign-off → Desk) */
:root { --card-h: min(620px, calc(100vh - 190px)); --stack-top: 131px; } /* header 69 + 14 + tabs 34 + 14: the tab bar sits evenly between header and cards */
.stack-tabs { position: sticky; top: 83px; z-index: 6; display: flex; justify-content: center; gap: 4px; margin: 0 auto 14px; width: max-content; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.stack-tabs a { padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; }
.stack-tabs a.on { color: var(--ink); background: var(--paper-2); }
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: var(--stack-top); height: var(--card-h); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); border-radius: 22px; background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(0,0,0,.35); clip-path: inset(0 round 22px); transform-origin: 50% 0; will-change: transform; }
.stack-card.wide { grid-template-columns: minmax(0, .75fr) minmax(0, 2.25fr); }
.sc-text { align-self: center; padding: 40px; display: grid; gap: 14px; }
body.v2 .sc-text h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.15 var(--sans); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.sc-text p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0; max-width: 30em; }
.sc-link { color: var(--ink); font-size: 14px; text-decoration: none; } .sc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-media { position: relative; overflow: hidden; display: grid; place-items: center; padding: 32px; }
.sc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.frag { position: relative; z-index: 1; width: min(440px, 100%); background: rgba(255,255,255,.96); border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.5); font-size: 13px; color: #161514; }
.frag .ok { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: #e3f0e8; color: #2f7a55; flex: none; }
.frag .ok svg { width: 9px; height: 9px; }
.frag-head { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 10px; font-weight: 500; }
.frag-pill { font: 400 11.5px/1 var(--mono); color: #7d7d77; background: #f4f4f2; padding: 5px 8px; border-radius: 999px; }

/* Intake: rows arrive, then resolve */
.ib-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 4px; border-top: 1px solid #ececea; }
.ib-ch { width: 26px; height: 26px; border-radius: 8px; background: #f4f4f2; display: grid; place-items: center; font-size: 13px; color: #4a4a46; }
.ib-who { display: grid; line-height: 1.25; min-width: 0; } .ib-who b { font-weight: 500; } .ib-who small { color: #7d7d77; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-st { position: relative; display: grid; justify-items: end; font-size: 11.5px; }
.ib-wait, .ib-res { grid-area: 1 / 1; white-space: nowrap; }
.ib-wait { display: inline-flex; align-items: center; gap: 6px; color: #7d7d77; }
.ib-wait i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #d9d9d4; border-top-color: #7d7d77; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.ib-res { padding: 3px 8px; border-radius: 999px; opacity: 0; }
.ib-res.r-ok { background: #e3f0e8; color: #2f7a55; } .ib-res.r-warn { background: #f6ead2; color: #a86a00; } .ib-res.r-plain { background: #f4f4f2; color: #4a4a46; }
.stack-card.on .ib-row { animation: rise .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 140ms + 150ms); }
.stack-card.on .ib-wait { animation: out .25s ease both; animation-delay: calc(var(--i) * 260ms + 1100ms); }
.stack-card.on .ib-res { animation: pop .35s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 260ms + 1150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes out { to { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* Clock: the days fill, the count lands */
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-top b { font-weight: 500; font-size: 14px; }
.chip-serious { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: #f7e3d9; color: #d65a2a; }
.fc-count { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 14px; }
.fc-count b { font: 400 64px/1 var(--sans); letter-spacing: -.04em; color: #b4302a; }
.fc-count span { color: #7d7d77; }
.fc-segs { display: flex; gap: 3px; height: 12px; }
.fc-segs i { flex: 1; border-radius: 3px; background: #ececea; }
.stack-card.on .fc-segs i:nth-child(-n+13) { animation: seg .3s ease both; animation-delay: calc(var(--i) * 70ms + 300ms); }
@keyframes seg { to { background: #b4302a; } }
.fc-lab { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: #4a4a46; }
.fc-lab span { display: grid; } .fc-lab small { color: #7d7d77; font-size: 11px; } .fc-lab .mid { text-align: center; } .fc-lab span:last-child { text-align: right; }
.stack-card.on .fc-count b { animation: pop .5s cubic-bezier(.2,.8,.2,1) both 1.3s; }

/* Evidence: quotes light up with their decision */
.fe-src { margin: 0 0 14px; line-height: 1.65; color: #4a4a46; font-size: 13.5px; }
.fe-src mark { background: transparent; color: inherit; border-radius: 3px; padding: 0 1px; transition: background-color .3s; }
.fe-dec { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fe-dec li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; background: #f4f4f2; opacity: .35; }
.fe-dec .sev { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; background: #f7e3d9; color: #d65a2a; font-size: 11px; font-weight: 600; }
.stack-card.on .fe-src .m1 { animation: hl .4s ease both .4s; } .stack-card.on .fe-dec .d1 { animation: lit .4s ease both .55s; }
.stack-card.on .fe-src .m2 { animation: hl .4s ease both 1.1s; } .stack-card.on .fe-dec .d2 { animation: lit .4s ease both 1.25s; }
.stack-card.on .fe-src .m3 { animation: hl .4s ease both 1.8s; } .stack-card.on .fe-dec .d3 { animation: lit .4s ease both 1.95s; }
.stack-card.on .fe-src .m4 { animation: hl .4s ease both 2.5s; } .stack-card.on .fe-dec .d4 { animation: lit .4s ease both 2.65s; }
@keyframes hl { to { background: #f5e6bd; } }
@keyframes lit { to { opacity: 1; } }

/* Sign-off: note, press, filed, acknowledged */
.fs-head { display: grid; gap: 2px; } .fs-head b { font-weight: 500; font-size: 14px; } .fs-head span { color: #7d7d77; font-size: 12px; }
.fs-note { margin: 12px 0; padding: 10px 12px; border: 1px solid #e6e6e2; border-radius: 10px; min-height: 58px; color: #4a4a46; line-height: 1.5; }
.fs-type { display: inline-block; clip-path: inset(0 100% 0 0); }
.stack-card.on .fs-type { animation: type 1.4s steps(40, end) both .3s; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.fs-act { display: flex; align-items: center; justify-content: space-between; }
.fs-btn { padding: 8px 14px; border-radius: 999px; background: #161514; color: #fff; font-size: 12.5px; }
.stack-card.on .fs-btn { animation: press .35s ease both 1.9s; }
@keyframes press { 50% { transform: scale(.94); } to { background: #2f7a55; } }
.fs-by { font-size: 12px; color: #7d7d77; }
.fs-log { margin-top: 12px; display: grid; gap: 6px; }
.fs-log div { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; background: #f4f4f2; opacity: 0; }
.fs-log time { margin-left: auto; font: 400 11.5px/1 var(--mono); color: #7d7d77; }
.stack-card.on .fs-log .l1 { animation: arrive .45s ease both 2.2s; } .stack-card.on .fs-log .l2 { animation: arrive .45s ease both 2.8s; } .stack-card.on .fs-log .l3 { animation: arrive .45s ease both 3.4s; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Desk: the real product, bleeding off the card */
.stack-card.wide .sc-media { place-items: start; padding: 44px 0 0 44px; }
.sc-desk { position: relative; z-index: 1; width: 1280px; height: 1000px; transform-origin: 0 0; transform: scale(var(--ds, .6)); border-radius: 14px 0 0 0; overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0,0,0,.55); background: #f4f4f2; }
.sc-desk iframe { width: 1280px; height: 1000px; border: 0; display: block; background: transparent; }

@media (max-width: 899px) {
  /* Phones: a deck you swipe through. The next card peeks in; neighbours sit back a touch. */
  .stack-tabs { position: static; width: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; margin: 0 0 12px; backdrop-filter: none; }
  .stack-tabs::-webkit-scrollbar { display: none; }
  .stack-tabs a { flex: none; }
  .stack { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 24px; position: relative; }
  .stack::-webkit-scrollbar { display: none; }
  /* Every card splits the same way: a fixed text band, then the photo */
  .stack-card, .stack-card.wide { flex: 0 0 86%; position: relative; top: 0; height: 600px; display: grid; grid-template-rows: 220px minmax(0, 1fr); grid-template-columns: 1fr; scroll-snap-align: center; scroll-snap-stop: always; transform-origin: 50% 50%; transition: transform .2s ease-out, opacity .2s ease-out; }
  .sc-text { align-self: start; padding: 22px 20px 14px; gap: 10px; overflow: hidden; }
  body.v2 .sc-text h3 { font-size: 24px; }
  .sc-text p { font-size: 14px; }
  .sc-media { min-height: 0; padding: 20px 14px; }
  .frag { font-size: 12.5px; padding: 14px; }
  .stack-card.wide .sc-media { place-items: start; padding: 22px 0 0 18px; overflow: hidden; }
  .stack-card.wide .sc-desk { position: absolute; left: 18px; top: 22px; }
  .stack-card.wide .sc-desk iframe { pointer-events: none; }
  .stack-card.wide .sc-media::after { content: "Tap to open ↗"; position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12px; color: #161514; }
}
@media (prefers-reduced-motion: reduce) {
  .stack-card *, .stack-card.on * { animation: none !important; }
  .ib-wait { display: none; } .ib-res, .fe-dec li, .fs-log div { opacity: 1; } .fs-type { clip-path: none; } .fc-segs i:nth-child(-n+13) { background: #b4302a; } .fe-src mark { background: #f5e6bd; }
}

.stack + .standards { margin-top: 28px; }

/* Hero: the databases we work on top of, as a quiet wordmark row */
.works-with { margin-top: 28px; display: grid; gap: 12px; }
.ww-label { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ww-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; }
.ww-marks img { display: block; width: auto; filter: brightness(0); opacity: .55; }
.lg-oracle { height: 14px; }
.lg-veeva { height: 24px; }
.lg-aris { height: 20px; }
.tm-note { display: block; width: 100%; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }

/* End to end: five stages, then the foundation */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.stages li { position: relative; display: grid; align-content: start; gap: 10px; padding: 22px 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.stages li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 12px; height: 1px; background: var(--line); }
.st-n { font: 500 12px/1 var(--mono); color: var(--muted); }
body.v2 .stages h3 { font: 500 17px/1.25 var(--sans); margin: 0; }
.stages p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.foundation { margin-top: 12px; padding: 22px; border-radius: 18px; background: var(--paper-2); display: grid; gap: 16px; }
.fd-label { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.foundation ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.foundation li { display: grid; align-content: start; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--card); }
.foundation strong { font-weight: 500; font-size: 15px; }
.foundation span { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1080px) { .stages, .foundation ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stages li::after { display: none; } }
@media (max-width: 600px) { .stages, .foundation ul { grid-template-columns: 1fr; } .ww-marks { gap: 12px 24px; } }

/* What we deliver: five selectable modules over one foundation */
.mods { display: grid; gap: 20px; }
/* Bento: each module shows the thing it produces */
.mod-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.mod-list > li { grid-column: span 2; }
.mod-list > li.t4, .mod-list > li.t5 { grid-column: span 3; }
.mod { position: relative; height: 100%; box-sizing: border-box; display: grid; grid-template-rows: 1fr auto; gap: 18px; padding: 16px 16px 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); cursor: pointer; transition: border-color .2s, opacity .25s; }
.mod:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); }
.mod input { position: absolute; opacity: 0; pointer-events: none; }
.mod-switch { position: absolute; top: 16px; right: 16px; z-index: 2; width: 34px; height: 20px; border-radius: 999px; background: var(--line); transition: background-color .2s ease; }
.mod-switch i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.mod input:checked ~ .mod-switch { background: var(--ink); }
.mod input:checked ~ .mod-switch i { transform: translateX(14px); }
.mod input:focus-visible ~ .mod-switch { outline: 2px solid var(--ink); outline-offset: 2px; }
.mod:has(input:not(:checked)) { opacity: .5; }
.mod:has(input:not(:checked)) .mod-vis { filter: grayscale(1); }
.mod-vis { min-height: 230px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; padding: 28px 22px 22px; overflow: hidden; transition: filter .25s; }
.mod-cap { display: grid; gap: 6px; padding: 0 6px; }
.mod-n { font: 500 12px/1 var(--mono); color: var(--muted); }
body.v2 .mod-cap strong { font: 500 19px/1.25 var(--sans); letter-spacing: -.01em; }
.mod-items { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* The artifacts */
.v-card { width: min(280px, 100%); background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 16px 34px -20px rgba(0,0,0,.35); font-size: 12px; color: #161514; display: grid; gap: 10px; }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 500; font-size: 12.5px; }
.v-mono { font: 400 10.5px/1.3 var(--mono); color: #7d7d77; }
.v-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.v-chip { font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: #f4f4f2; color: #4a4a46; white-space: nowrap; }
.v-chip.ok { background: #e3f0e8; color: #2f7a55; } .v-chip.warn { background: #f7e3d9; color: #b4532a; }
.v-ok { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; background: #e3f0e8; color: #2f7a55; flex: none; }
.v-ok svg { width: 8px; height: 8px; }
.v-icsr ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v-icsr li { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; background: #f4f4f2; }
.v-e2b { justify-items: start; }
.v-e2b .v-big .v-ok { width: 34px; height: 34px; } .v-e2b .v-big .v-ok svg { width: 16px; height: 16px; }
.v-e2b strong { font-weight: 500; font-size: 14px; }
.v-days { width: 100%; height: 6px; border-radius: 3px; background: #ececea; overflow: hidden; }
.v-days i { display: block; height: 100%; width: calc(var(--d) / 15 * 100%); background: #2f7a55; border-radius: 3px; }
.v-e2b .v-foot { width: 100%; }
.v-signal svg { width: 100%; height: auto; display: block; }
.v-signal rect { fill: #d9d9d4; } .v-signal rect.hot { fill: #b4532a; }
.v-signal .thr { stroke: #b4532a; stroke-dasharray: 3 3; stroke-width: 1; }
.v-signal text { font: 9px var(--mono); fill: #b4532a; }
.v-doc { position: relative; width: 200px; height: 220px; }
.v-page { position: absolute; inset: 0; border-radius: 10px; background: #fff; box-shadow: 0 16px 34px -20px rgba(0,0,0,.35); }
.v-page.b2 { transform: rotate(-6deg) translate(-14px, 6px); opacity: .55; }
.v-page.b1 { transform: rotate(-3deg) translate(-7px, 3px); opacity: .8; }
.v-page.front { display: grid; align-content: start; gap: 6px; padding: 16px; font-size: 12px; color: #161514; }
.v-page.front strong { font-weight: 500; font-size: 16px; }
.v-table { display: grid; gap: 4px; margin: 6px 0 2px; }
.v-table i { height: 6px; border-radius: 3px; background: #ececea; } .v-table i:nth-child(odd) { width: 86%; }
.v-page.front svg { width: 100%; height: 30px; } .v-page.front path { fill: none; stroke: #2f7a55; stroke-width: 1.8; stroke-linejoin: round; }
.v-page.front .v-chip { justify-self: start; }
.v-label { width: min(340px, 100%); }
.v-line { margin: 0; padding: 7px 9px; border-radius: 8px; background: #f4f4f2; font-size: 12px; }
.v-line.del { text-decoration: line-through; color: #a3a39d; }
.v-line.add { background: #e3f0e8; color: #1f5a3d; }
.v-line.add::before { content: "+ "; font-weight: 600; }
@media (max-width: 1080px) { .mod-list > li, .mod-list > li.t4, .mod-list > li.t5 { grid-column: span 3; } }
@media (max-width: 680px) { .mod-list { grid-template-columns: 1fr; } .mod-list > li, .mod-list > li.t4, .mod-list > li.t5 { grid-column: auto; } .mod-vis { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .mod-switch, .mod-switch i { transition: none; } }
.mod-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 12px 12px 12px 24px; border: 1px solid var(--line); border-radius: 999px; }
.mod-sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.mod-sum strong { font-weight: 500; }
.mod-sum span { font-size: 13.5px; color: var(--muted); }
.mod-bar .btn.is-off { opacity: .4; pointer-events: none; }
.mod-base { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mod-base > span { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.mod-base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mod-base li { padding: 7px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; color: var(--ink-2); }
@media (max-width: 1080px) { .mod-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mod-list { grid-template-columns: 1fr; } .mod-bar { border-radius: 18px; } }

/* Module subtext as a slow marquee */
.mod-items { display: block; min-width: 0; }
.mq { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq var(--mq, 22s) linear infinite; }
.mq-set { display: flex; flex: none; }
.mq-set span { display: inline-flex; align-items: center; white-space: nowrap; font-size: 13.5px; color: var(--muted); }
.mq-set span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; margin: 0 14px; background: color-mix(in srgb, var(--ink) 25%, transparent); }
/* Still until you point at a tile; touch screens have no hover, so there it keeps running */
@media (hover: hover) {
  .mq-track { animation-play-state: paused; }
  .mod:hover .mq-track, .mod:focus-within .mq-track { animation-play-state: running; }
}
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mq { -webkit-mask-image: none; mask-image: none; }
  .mq-track { animation: none; width: auto; }
  .mq-set { flex-wrap: wrap; row-gap: 4px; } .mq-set + .mq-set { display: none; }
}

/* One plane: the tile is the surface, the artifact sits right on it */
.mod { background: var(--paper-2); border: 0; padding: 14px 14px 24px; gap: 8px; }
.mod:hover { border: 0; background: color-mix(in srgb, var(--ink) 5%, var(--paper-2)); }
.mod-vis { background: transparent; padding: 34px 18px 10px; }
.mod-cap { padding: 0 10px; }
.mod:has(input:not(:checked)) { opacity: .45; }

/* Case processing: the reporter's words become a MedDRA term, then E2B XML */
.v-code { width: min(300px, 100%); gap: 12px; }
.vc-map { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vc-verb { font-size: 12.5px; color: #4a4a46; font-style: italic; }
.vc-arrow { color: #a3a39d; }
.vc-pt { display: grid; padding: 6px 10px; border-radius: 9px; background: #e3f0e8; }
.vc-pt b { font-weight: 500; font-size: 13px; color: #1f5a3d; }
.vc-pt i { font-style: normal; font: 400 10px/1.2 var(--mono); color: #2f7a55; }
.vc-xml { margin: 0; padding: 10px 12px; border-radius: 9px; background: #f4f4f2; font: 400 10.5px/1.6 var(--mono); color: #4a4a46; white-space: pre; overflow: hidden; }
.vc-xml .t { color: #7d7d77; } .vc-xml .a { color: #275a73; } .vc-xml .v { color: #b4532a; }

/* Signal management: a forest plot, one pair clearly above 1 */
.v-sig2 { width: min(290px, 100%); }
.v-forest { width: 100%; height: auto; display: block; }
.v-forest .ref { stroke: #a3a39d; stroke-dasharray: 3 3; stroke-width: 1; }
.v-forest .ci { stroke: #a3a39d; stroke-width: 1.6; } .v-forest .ci.hot { stroke: #b4532a; }
.v-forest .pt { fill: #7d7d77; } .v-forest .pt.hot { fill: #b4532a; }
.v-forest .lab { font: 400 10.5px var(--sans); fill: #4a4a46; } .v-forest .lab.hot { fill: #b4532a; font-weight: 500; }
.v-forest .ax { font: 400 9.5px var(--mono); fill: #a3a39d; }

/* Application: a folded package leaflet, the new side effect marked */
.v-leaf { position: relative; width: 270px; height: 200px; }
.lf-back { position: absolute; inset: 10px 6px 0 6px; border-radius: 4px; background: #fff; box-shadow: 0 16px 34px -22px rgba(0,0,0,.35); }
.lf-back.b2 { transform: rotate(-5deg) translate(-12px, 4px); opacity: .45; }
.lf-back.b1 { transform: rotate(-2.5deg) translate(-6px, 2px); opacity: .75; }
.lf { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.35fr 1fr; filter: drop-shadow(0 16px 22px rgba(0,0,0,.16)); }
.lf-p { display: grid; align-content: start; gap: 6px; padding: 16px 10px; background: #fff; }
.lf-p:nth-child(1) { transform: perspective(500px) rotateY(14deg); transform-origin: right; background: linear-gradient(90deg, #f6f6f3, #fff); border-radius: 4px 0 0 4px; }
.lf-p:nth-child(3) { transform: perspective(500px) rotateY(-14deg); transform-origin: left; background: linear-gradient(270deg, #f1f1ee, #fbfbf9); border-radius: 0 4px 4px 0; }
.lf-p i { display: block; height: 4px; border-radius: 2px; background: #e4e4df; }
.lf-p i:nth-child(3n) { width: 70%; }
.lf-p.mid b { font: 600 9.5px/1.2 var(--sans); color: #161514; margin-bottom: 2px; }
.lf-p.mid em { display: flex; align-items: center; gap: 4px; padding: 4px 5px; border-radius: 4px; background: #e3f0e8; font-style: normal; font-size: 8.5px; line-height: 1.15; color: #1f5a3d; }
.lf-p.mid em span { font-weight: 700; color: #2f7a55; }
/* A switched-off module stands still, even under the pointer */
.mod:has(input:not(:checked)) .mq-track { animation-play-state: paused !important; }
/* One word space between "Get a price" and "for …", not the button's flex gap */
[data-mod-go] { gap: 0; }
[data-mod-go] [data-mod-for]:not(:empty) { margin-left: .28em; }
[data-mod-go] .arrow { margin-left: 8px; }

/* Coding as a field mapping: reported words → MedDRA term, on one grid */
.vm { margin: 0; display: grid; }
.vm > div { display: grid; grid-template-columns: 74px 1fr auto; align-items: baseline; gap: 10px; padding: 8px 0; }
.vm > div + div { border-top: 1px solid #ececea; }
.vm dt { font: 500 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #a3a39d; }
.vm dd { margin: 0; font-size: 13px; color: #161514; display: flex; align-items: center; gap: 7px; }
.vm .coded dd { color: #1f5a3d; font-weight: 500; }
.vm .coded dd i { width: 6px; height: 6px; border-radius: 50%; background: #2f7a55; flex: none; }
.vm span { font: 400 10.5px/1 var(--mono); color: #a3a39d; }
.vm dd i { width: 6px; height: 6px; border-radius: 50%; background: #c9c9c3; flex: none; }
.vm .coded dd i { background: #2f7a55; }

/* Ramp-style grid: six equal tiles, name top, description bottom, the sixth is the CTA */
.mod-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mod-list > li, .mod-list > li.t4, .mod-list > li.t5 { grid-column: auto; }
.mod { height: 100%; min-height: 420px; grid-template-rows: auto 1fr auto; gap: 0; padding: 26px 26px 24px; border: 0; border-radius: 20px; background: var(--paper-2); }
.mod:hover { border: 0; background: color-mix(in srgb, var(--ink) 4%, var(--paper-2)); }
.mod-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.v2 .mod-top strong { font: 400 23px/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.mod .mod-switch { position: relative; top: auto; right: auto; }
.mod-vis { min-height: 0; background: transparent; padding: 22px 0 18px; display: grid; place-items: center; }
.mod-vis .v-card { transform: scale(.92); }
.mod-desc { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.mod-cta { height: 100%; min-height: 420px; box-sizing: border-box; display: grid; grid-template-rows: auto 1fr auto; padding: 26px; border-radius: 20px; background: var(--ink); color: var(--paper); }
body.v2 .mod-cta .mod-top strong { color: var(--paper); }
.cta-sum { align-self: end; display: grid; gap: 6px; margin-bottom: 20px; }
.cta-sum strong { font: 400 23px/1.2 var(--sans); letter-spacing: -.02em; }
.cta-sum span { font-size: 14.5px; line-height: 1.45; color: color-mix(in srgb, var(--paper) 65%, transparent); }
body.v2 .mod-cta .btn { justify-self: start; background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 1080px) { .mod-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .mod-list { grid-template-columns: 1fr; } .mod, .mod-cta { min-height: 0; } .mod-cta { min-height: 240px; } }
.mod input:checked ~ .mod-top .mod-switch { background: var(--ink); }
.mod input:checked ~ .mod-top .mod-switch i { transform: translateX(14px); }
.mod input:focus-visible ~ .mod-top .mod-switch { outline: 2px solid var(--ink); outline-offset: 2px; }
.mod-vis .v-leaf { transform: scale(.86); }
.mod-vis .v-doc { transform: scale(.94); }

/* Fit the grid to one screen; every illustration as tall as the ICSR card */
.mod, .mod-cta { min-height: 0; height: clamp(300px, calc((100vh - 150px) / 2), 380px); }
.mod-vis { padding: 14px 0 12px; overflow: hidden; }
.mod-vis > .v-card { height: 163px; box-sizing: border-box; overflow: hidden; }
.v-code { gap: 8px; }
.vm > div { padding: 5px 0; }
.vc-xml { padding: 7px 10px; font-size: 9.5px; line-height: 1.45; }
.v-sig2 { gap: 6px; }
.v-sig2 .v-forest { height: 104px; width: 100%; }
.mod-vis > .v-doc { transform: scale(.74); margin: -29px 0; }
.mod-vis > .v-leaf { transform: scale(.815); margin: -18px 0; }
@media (max-width: 680px) { .mod, .mod-cta { height: auto; } }
.mod-vis .v-card { transform: none; }
#modules .section-head { text-align: center; margin-left: auto; margin-right: auto; }
#modules .section-head h2 { margin-left: auto; margin-right: auto; max-width: none; }
/* Every section headline centered, like the modules */
body.v2 .section-head { text-align: center; margin-left: auto; margin-right: auto; }
body.v2 .section-head h2 { margin-left: auto; margin-right: auto; }
body.v2 .section-head { max-width: none; } body.v2 .section-head h2 { max-width: 24ch; text-wrap: balance; }

/* Hero: two layers under the headline, buttons then a quiet logo row */
.v2-hero .works-with { margin-top: 44px; gap: 14px; }
.v2-hero .ww-label { font: 400 13px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.v2-hero .ww-marks { gap: 16px 40px; }
.v2-hero .ww-marks img { opacity: .38; }
.nowrap { white-space: nowrap; }

/* Variant: the hero shows the product itself */
.hero-panel { display: block; }
.hero-desk { position: relative; z-index: 1; margin: 56px 0 0 56px; height: calc(var(--hs, .6) * 760px); overflow: hidden; border-radius: 14px 0 0 0; box-shadow: 0 30px 80px -24px rgba(0,0,0,.55); }
.hero-desk iframe { width: 1280px; height: 1000px; border: 0; transform: scale(var(--hs, .6)); transform-origin: 0 0; background: #0d0f0e; pointer-events: none; }
@media (max-width: 760px) { .hero-desk { margin: 28px 0 0 18px; } }
.hero-panel { min-height: 0 !important; }
/* Oracle lockup: logo, hairline, product name in spaced caps */
.ww-marks .lg-lockup { display: grid; justify-items: stretch; gap: 5px; }
.ww-marks .lg-lockup img { justify-self: start; }
.ww-marks .lg-lockup span { padding-top: 5px; border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); font: 600 7.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--ink) 50%, transparent); white-space: nowrap; }
.mod input { inset: 0; width: 100%; height: 100%; margin: 0; }




/* Governance: four numbered blocks, each a claim, three points and a sample proof card */
#governance .section-head p { max-width: 46ch; margin-left: auto; margin-right: auto; color: var(--muted); }
#governance .section-head .eyebrow { display: block; margin-bottom: 10px; }
.gv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gv-block { display: grid; grid-template-rows: auto 1fr; gap: 24px; padding: 28px; border-radius: 20px; background: var(--paper-2); }
.gv-text { display: grid; gap: 12px; align-content: start; }
.gv-n { font: 500 12px/1 var(--mono); color: var(--muted); }
body.v2 .gv-text h3 { font: 400 23px/1.25 var(--sans); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.gv-k { display: block; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gv-text ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.gv-text li { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.gv-text li b { font-weight: 500; color: var(--ink); }
.gv-proof { position: relative; align-self: end; display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 16px 34px -22px rgba(0,0,0,.35); font-size: 12.5px; color: #161514; min-height: 168px; align-content: start; }
.gv-sample { position: absolute; top: 14px; right: 14px; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #7d7d77; padding: 4px 7px; border: 1px solid #e6e6e2; border-radius: 999px; }
.gv-head { display: grid; gap: 3px; padding-right: 64px; }
.gv-head span { font-weight: 500; font-size: 13px; }
.gv-head em { font-style: normal; color: #7d7d77; }
.gv-rules { list-style: none; margin: 0; padding: 0; display: grid; }
.gv-rules li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid #f0f0ed; }
.gv-rules b { font-weight: 500; } .gv-rules span { color: #7d7d77; font-size: 11.5px; } .gv-rules em { font: 400 11px/1 var(--mono); font-style: normal; color: #7d7d77; }
.gv-ok { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; background: #e3f0e8; color: #2f7a55; flex: none; }
.gv-ok svg { width: 8px; height: 8px; }
.gv-bar { height: 6px; border-radius: 3px; background: #2f7a55; margin: 4px 0 10px; }
.gv-test p, .gv-sign { margin: 0; display: flex; align-items: center; gap: 8px; }
.gv-test b { font-weight: 500; }
.gv-sign { padding-top: 10px; border-top: 1px solid #f0f0ed; color: #4a4a46; }
.gv-log { list-style: none; margin: 0; padding: 0; display: grid; }
.gv-log li { display: grid; grid-template-columns: 40px 104px 1fr; gap: 10px; align-items: baseline; padding: 6px 0; border-top: 1px solid #f0f0ed; }
.gv-log time { font: 400 11px/1 var(--mono); color: #7d7d77; } .gv-log b { font-weight: 500; font-size: 12px; } .gv-log span { color: #4a4a46; font-size: 12px; line-height: 1.35; }
.gv-flow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 26px 0 8px; }
.gv-node { padding: 10px 14px; border-radius: 10px; border: 1px solid #e6e6e2; font-size: 12.5px; white-space: nowrap; }
.gv-node.dark { background: #161514; color: #fff; border-color: #161514; }
.gv-arr { color: #a3a39d; font-size: 15px; }
.gv-note { margin: 0; text-align: center; color: #7d7d77; font-size: 11.5px; }
@media (max-width: 900px) { .gv { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .gv-block { padding: 22px 18px; } .gv-log li { grid-template-columns: 38px 1fr; row-gap: 3px; } .gv-log span { grid-column: 2; } .gv-rules li { grid-template-columns: 1fr auto; } .gv-rules span { display: none; } .gv-flow { flex-direction: column; } .gv-arr { transform: rotate(90deg); } }
/* Eyebrow above every centered section headline */
body.v2 .section-head .eyebrow { display: block; margin-bottom: 10px; }
/* The header always stays above the sticky step tabs as they scroll away */
body.v2 .site-header { z-index: 20; }

/* Governance, skimmable: icon, short headline, one line */
.gv2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gv2 li { display: grid; align-content: start; gap: 10px; padding: 26px 24px 28px; border-radius: 20px; background: var(--paper-2); }
.gv2-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--card); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 20px -14px rgba(0,0,0,.3); }
.gv2-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.v2 .gv2 h3 { font: 400 20px/1.25 var(--sans); letter-spacing: -.015em; margin: 0; }
.gv2 p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) { .gv2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gv2 { grid-template-columns: 1fr; } }
/* Governance: 2×2, generous cards */
.gv2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.gv2 li { min-height: 260px; padding: 36px 36px 38px; border-radius: 24px; align-content: end; gap: 12px; position: relative; }
.gv2-ic { position: absolute; top: 36px; left: 36px; width: 52px; height: 52px; border-radius: 14px; margin: 0; }
.gv2-ic svg { width: 24px; height: 24px; }
body.v2 .gv2 h3 { font-size: 26px; letter-spacing: -.02em; }
.gv2 p { font-size: 16px; max-width: 32ch; }
@media (max-width: 680px) { .gv2 { grid-template-columns: 1fr; } .gv2 li { min-height: 220px; padding: 28px; } .gv2-ic { top: 28px; left: 28px; } }

/* Stacked avatars */
.av-group { display: flex; align-items: center; margin-bottom: 10px; padding-left: 10px; height: 52px; }
.av-group > * { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; box-shadow: 0 0 0 3px var(--card); object-fit: cover; background: var(--paper-2); position: relative; }
.av-more { display: grid; place-items: center; font: 500 12.5px/1 var(--sans); color: var(--ink-2); }
.av-group { height: 44px; margin-bottom: 10px; }
/* Governance cards: headlines on one line across the row, whatever the text length */
.gv2 li { align-content: start; }
.gv2-ic { position: static; margin: 0 0 44px; }
.gv2 p { max-width: 36ch; }
