/* REVIEWIT — public site stylesheet, v3 "editorial premium"
   No card grammar: structure comes from hairlines, generous rhythm, and
   ink/paper contrast. Same class names as v2 so the pages need no rewrite. */

:root {
  --ri-bg: #fcfcfd;
  --ri-paper: #ffffff;
  --ri-surface: transparent;
  --ri-surface-2: #f4f5f8;
  --ri-grid: #ecedf1;
  --ri-line: #e4e6ec;
  --ri-line-2: #cfd3dd;
  --ri-ink: #0c1220;
  --ri-ink-2: #16203a;
  --ri-text: #1c2433;
  --ri-text-2: #545f75;
  --ri-muted: #6b7486;
  --ri-caption: #8a93a6;
  --ri-accent: #004E8C;
  --ri-accent-hover: #003a69;
  --ri-accent-tint: rgba(0, 78, 140, 0.08);
  --ri-accent-border: rgba(0, 78, 140, 0.22);
  --ri-lilac: rgba(99, 85, 216, 0.10);
  --ri-green: #0e700e;
  --ri-green-tint: #edf6ed;
  --ri-amber: #8a5200;
  --ri-amber-tint: #fdf3e3;
  --ri-red: #a3231c;
  --ri-red-tint: #fceceb;
  --ri-radius: 4px;
  --ri-radius-s: 3px;
  --ri-shadow: none;
  --ri-shadow-lg: 0 40px 80px -40px rgba(12, 18, 32, .35);
  --ri-font-head: "Manrope", "Segoe UI", -apple-system, "Helvetica Neue", sans-serif;
  --ri-font-body: "Public Sans", "Segoe UI", -apple-system, "Helvetica Neue", "Manrope", sans-serif;
  --ri-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ri-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ri-text);
  background: var(--ri-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--ri-font-head); color: var(--ri-ink); margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -0.04em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ri-text-2); max-width: 62ch; }
.muted { color: var(--ri-muted); }
.wrap { width: min(var(--ri-max), calc(100% - 56px)); margin: 0 auto; }

/* ── Header ───────────────────────────────────────────────────────── */
.header-wrap { position: sticky; top: 0; z-index: 40; background: rgba(252,252,253,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--ri-line); }
.header-shell { position: relative; height: 72px; display: flex; align-items: center; }
.header-shell .tint { display: none; }
.hdr-brand { display: flex; align-items: center; gap: 14px; height: 100%; }
.hdr-logo { height: 28px; width: auto; }
.hdr-rule { width: 1px; height: 18px; background: var(--ri-line-2); }
.hdr-caption { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ri-caption); white-space: nowrap; }
.hdr-nav { display: flex; align-items: center; gap: 28px; height: 100%; margin-left: 44px; }
.hdr-nav a { display: flex; align-items: center; height: 100%; font-size: 14px; font-weight: 500; color: var(--ri-text-2); white-space: nowrap; box-shadow: inset 0 -1px 0 transparent; transition: color .15s; }
.hdr-nav a:hover { color: var(--ri-ink); }
.hdr-nav a.is-active { color: var(--ri-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ri-ink); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--ri-line-2); border-radius: var(--ri-radius-s); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.hdr-burger span { display: block; width: 18px; height: 1.5px; background: var(--ri-ink); box-shadow: 0 -6px 0 var(--ri-ink), 0 6px 0 var(--ri-ink); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 22px; border-radius: var(--ri-radius-s);
  font-family: var(--ri-font-body); font-size: 14.5px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer; transition: background .16s, border-color .16s, color .16s, transform .16s;
  white-space: nowrap;
}
.btn-primary { background: var(--ri-ink); color: #fff; border-color: var(--ri-ink); }
.btn-primary:hover { background: #000; border-color: #000; }
.btn-tonal { background: transparent; color: var(--ri-accent); border-color: var(--ri-accent-border); }
.btn-tonal:hover { background: var(--ri-accent-tint); border-color: var(--ri-accent); }
.btn-ghost { background: transparent; color: var(--ri-ink); border-color: var(--ri-line-2); }
.btn-ghost:hover { border-color: var(--ri-ink); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.link { color: var(--ri-accent); font-weight: 600; box-shadow: inset 0 -1px 0 var(--ri-accent-border); }
.link:hover { box-shadow: inset 0 -1px 0 var(--ri-accent); }

/* ── Layout primitives ────────────────────────────────────────────── */
.section { padding: 112px 0; }
.section-tight { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ri-caption); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head .lede { margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }
.grid { display: grid; gap: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards become editorial columns separated by hairlines. */
.card {
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  padding: 34px 34px 34px 0; position: relative;
}
.grid .card { border-top: 1px solid var(--ri-line); }
.grid-2 .card:nth-child(n+3), .grid-3 .card:nth-child(n+4), .grid-4 .card:nth-child(n+5) { border-top: 1px solid var(--ri-line); }
.grid-2 .card:not(:nth-child(2n)), .grid-3 .card:not(:nth-child(3n)), .grid-4 .card:not(:nth-child(4n)) { border-right: 1px solid var(--ri-line); padding-right: 34px; }
.grid-2 .card:nth-child(2n), .grid-3 .card:nth-child(3n), .grid-4 .card:nth-child(4n) { padding-left: 34px; }
.grid-2 .card:not(:nth-child(2n)), .grid-3 .card:not(:nth-child(3n)), .grid-4 .card:not(:nth-child(4n)) { padding-left: 0; }
.grid-3 .card:nth-child(3n-1), .grid-4 .card:nth-child(4n-1), .grid-4 .card:nth-child(4n-2) { padding-left: 34px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ri-text-2); font-size: 15px; }
.card .icon { width: 34px; height: 34px; border-radius: 0; display: grid; place-items: center; background: transparent; color: var(--ri-accent); margin-bottom: 18px; margin-left: -3px; }
.card .icon svg { width: 22px; height: 22px; }
.card .more { display: inline-block; margin-top: 16px; }
.card-soft { background: transparent; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 7px; height: 25px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; border: 1px solid var(--ri-line-2); color: var(--ri-text-2); background: transparent; white-space: nowrap; }
.pill-green { color: var(--ri-green); border-color: rgba(14,112,14,.3); }
.pill-amber { color: var(--ri-amber); border-color: rgba(138,82,0,.3); }
.pill-red { color: var(--ri-red); border-color: rgba(163,35,28,.3); }
.pill-accent { color: var(--ri-accent); border-color: var(--ri-accent-border); }
.pill-lilac { color: #4b3fb5; border-color: rgba(99,85,216,.3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rule { height: 1px; background: var(--ri-line); border: 0; margin: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--ri-muted); }
.kv dd { margin: 0; color: var(--ri-ink); font-weight: 600; text-align: right; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; font-size: 15px; color: var(--ri-text-2); }
.list-check li { position: relative; padding-left: 26px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--ri-accent); }
.list-check strong { color: var(--ri-ink); font-weight: 600; }

.hero-grid > *, .feature > *, .grid > *, .editions > *, .band > *, .steps > *, .policies > *, .eco > *, .facts > *, .foot-grid > * { min-width: 0; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 104px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 72px; align-items: center; }
.hero h1 { margin: 0 0 26px; }
.hero h1 em { font-style: normal; color: var(--ri-accent); }
.hero .lede { font-size: 20px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--ri-muted); }
.hero-visual { position: relative; }
.shot { background: transparent; border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: var(--ri-shadow-lg); overflow: hidden; }
.shot img { width: 100%; height: auto; }
.shot-caption { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--ri-line); font-size: 12.5px; color: var(--ri-muted); background: var(--ri-paper); }
.shot-caption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ri-green); }
.float-card { position: absolute; background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: var(--ri-shadow-lg); padding: 14px 16px; font-size: 13px; min-width: 200px; color: var(--ri-text-2); }
.float-card strong { display: block; font-family: var(--ri-font-head); font-size: 15px; color: var(--ri-ink); }
.float-card.tl { left: -34px; top: 26px; }
.float-card.br { right: -26px; bottom: 34px; }

/* ── Fact strip ───────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 0; border-top: 1px solid var(--ri-ink); border-radius: 0; background: transparent; overflow: visible; }
.fact { padding: 28px 32px 4px 0; border-right: 1px solid var(--ri-line); }
.fact:not(:first-child) { padding-left: 32px; }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--ri-font-head); font-size: 40px; font-weight: 700; letter-spacing: -.04em; color: var(--ri-ink); line-height: 1.05; }
.fact span { font-size: 13.5px; color: var(--ri-muted); }

/* ── Feature rows ─────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature.rev > :first-child { order: 2; }
.feature h2 { margin-bottom: 18px; }
.feature .lede { font-size: 17.5px; }
.feature ul { margin-top: 26px; }
.feature .cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Stepper ──────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--ri-ink); }
.step { position: relative; background: transparent; border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 26px 22px 8px 0; box-shadow: none; }
.step:not(:first-child) { padding-left: 22px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--ri-font-head); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--ri-accent); }
.step h4 { margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--ri-text-2); }
.step::after { display: none; }

/* ── Mock UI blocks ───────────────────────────────────────────────── */
.mock { background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: var(--ri-shadow-lg); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--ri-line); background: transparent; font-weight: 600; color: var(--ri-ink); }
.mock-bar .sp { margin-left: auto; font-weight: 500; color: var(--ri-muted); font-size: 12px; }
.mock-body { padding: 6px 18px 18px; display: grid; gap: 0; }
.mock-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ri-line); border-radius: 0; }
.mock-row:last-child { border-bottom: 0; }
.mock-row .res { font-weight: 600; color: var(--ri-ink); }
.mock-row .sub { display: block; font-size: 11.5px; color: var(--ri-muted); font-weight: 400; }
.mock-row .c { color: var(--ri-text-2); font-size: 12.5px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 12px; }
.mock-kpi { border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 4px 16px 4px 0; }
.mock-kpi:not(:first-child) { padding-left: 16px; }
.mock-kpi:last-child { border-right: 0; }
.mock-kpi strong { display: block; font-family: var(--ri-font-head); font-size: 26px; letter-spacing: -.03em; color: var(--ri-ink); }
.mock-kpi span { font-size: 12px; color: var(--ri-muted); }
.mock-kpi .delta { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 600; }
.mock-kpi .delta.up { color: var(--ri-green); }
.mock-kpi .delta.down { color: var(--ri-red); }
.mock-chat { display: grid; gap: 14px; padding-top: 12px; }
.bubble { max-width: 88%; padding: 0 0 0 14px; border-radius: 0; font-size: 14px; line-height: 1.5; }
.bubble.me { justify-self: end; background: transparent; color: var(--ri-ink); border: 0; border-left: 2px solid var(--ri-ink); text-align: left; }
.bubble.rita { justify-self: start; background: transparent; border: 0; border-left: 2px solid var(--ri-accent); color: var(--ri-text-2); }
.bubble .who { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ri-caption); margin-bottom: 5px; }
.mock-foot { padding: 12px 18px; border-top: 1px solid var(--ri-line); background: transparent; font-size: 12px; color: var(--ri-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seal-chain { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seal-node { border: 1px solid var(--ri-line); border-radius: var(--ri-radius-s); padding: 9px 13px; background: transparent; font-size: 12.5px; color: var(--ri-text-2); }
.seal-node strong { display: block; font-family: var(--ri-font-head); font-size: 13px; color: var(--ri-ink); }
.seal-node.sealed { border-color: rgba(14,112,14,.4); }
.seal-link { width: 18px; height: 1px; background: var(--ri-line-2); }
.bars { display: grid; gap: 12px; padding-top: 12px; }
.bar { display: grid; grid-template-columns: 150px 1fr 48px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ri-text-2); }
.bar i { display: block; height: 2px; border-radius: 0; background: var(--ri-grid); overflow: hidden; }
.bar i b { display: block; height: 100%; background: var(--ri-ink); }
.bar i b.warn { background: #b57500; }
.bar i b.bad { background: var(--ri-red); }
.bar em { font-style: normal; font-weight: 600; color: var(--ri-ink); text-align: right; }

/* ── Policy library ───────────────────────────────────────────────── */
.policies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ri-line); }
.policy { background: transparent; border: 0; border-right: 1px solid var(--ri-line); border-bottom: 1px solid var(--ri-line); border-radius: 0; padding: 22px 20px 22px 0; box-shadow: none; }
.policy:not(:nth-child(4n+1)) { padding-left: 20px; }
.policy:nth-child(4n) { border-right: 0; }
.policy strong { display: block; font-family: var(--ri-font-head); color: var(--ri-ink); font-size: 15px; margin-bottom: 5px; letter-spacing: -.01em; }
.policy span { font-size: 13.5px; color: var(--ri-text-2); }
.policy.custom { border-style: solid; background: transparent; box-shadow: none; }
.policy.custom strong { color: var(--ri-accent); }

/* ── Editions ─────────────────────────────────────────────────────── */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ri-ink); }
.edition { background: transparent; border: 0; border-radius: 0; padding: 40px 44px 40px 0; box-shadow: none; display: flex; flex-direction: column; }
.edition:not(:first-child) { border-left: 1px solid var(--ri-line); padding-left: 44px; padding-right: 0; }
.edition .pill { align-self: flex-start; }
.edition .name { font-family: var(--ri-font-head); font-size: 34px; font-weight: 700; letter-spacing: -.04em; color: var(--ri-ink); margin: 14px 0 6px; }
.edition .for { color: var(--ri-text-2); font-size: 15.5px; min-height: 48px; }
.edition ul { margin: 26px 0 32px; }
.edition .cta { margin-top: auto; }
.edition.featured { border-color: var(--ri-line); box-shadow: none; }
.edition.featured .name { color: var(--ri-accent); }

/* ── Ecosystem ────────────────────────────────────────────────────── */
.eco { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border-top: 1px solid var(--ri-line); }
.eco div { background: transparent; border: 0; border-right: 1px solid var(--ri-line); border-bottom: 1px solid var(--ri-line); border-radius: 0; padding: 18px 10px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ri-ink); }
.eco div:nth-child(7n) { border-right: 0; }
.eco div small { display: block; font-weight: 500; font-size: 11px; color: var(--ri-muted); margin-top: 3px; }
.eco div.soon { background: transparent; border-style: solid; color: var(--ri-muted); }

/* ── Callout / band ───────────────────────────────────────────────── */
.callout { background: transparent; border: 0; border-left: 2px solid var(--ri-accent); border-radius: 0; padding: 6px 0 6px 26px; color: var(--ri-text-2); font-size: 17px; line-height: 1.55; }
.callout strong { font-family: var(--ri-font-head); color: var(--ri-ink); }
.band { background: var(--ri-ink); color: #fff; border-radius: 0; padding: 88px 72px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.band h2 { color: #fff; letter-spacing: -.045em; }
.band p { color: rgba(255,255,255,.7); font-size: 17.5px; margin-top: 16px; }
.band .cta { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.band .btn-primary { background: #fff; color: var(--ri-ink); border-color: #fff; }
.band .btn-primary:hover { background: #e6e9f0; border-color: #e6e9f0; }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.band .btn-ghost:hover { background: transparent; border-color: #fff; color: #fff; }

/* ── Page hero ────────────────────────────────────────────────────── */
.page-hero { padding: 88px 0 56px; border-bottom: 1px solid var(--ri-line); }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 18ch; margin: 0 0 22px; }
.page-hero .lede { font-size: 19px; }
.page-hero .tags { margin-top: 28px; }
.page-hero .hero-cta { margin-top: 32px; }

/* ── Tables ───────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 0; border-top: 1px solid var(--ri-ink); border-radius: 0; background: transparent; box-shadow: none; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--ri-line); vertical-align: top; }
th { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ri-caption); background: transparent; font-weight: 700; padding-top: 18px; padding-bottom: 14px; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ri-ink); }
td { color: var(--ri-text-2); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--ri-line); }
.faq details { background: transparent; border: 0; border-bottom: 1px solid var(--ri-line); border-radius: 0; padding: 0; box-shadow: none; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--ri-font-head); font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--ri-ink); display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--ri-muted); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; color: var(--ri-accent); }
.faq details p { padding: 0 0 24px; color: var(--ri-text-2); font-size: 15.5px; max-width: 70ch; }
.faq-group { margin-bottom: 52px; }
.faq-group h3 { margin-bottom: 18px; }

/* ── Forms ────────────────────────────────────────────────────────── */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ri-caption); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15.5px; letter-spacing: normal; text-transform: none; padding: 11px 0; border: 0; border-bottom: 1px solid var(--ri-line-2); border-radius: 0; background: transparent; color: var(--ri-text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ri-ink); border-bottom-width: 2px; padding-bottom: 10px; }
.form textarea { min-height: 110px; resize: vertical; }
.form .hint { font-size: 12.5px; color: var(--ri-muted); text-transform: none; letter-spacing: normal; font-weight: 400; }
.form .ok { display: none; padding: 14px 0; border-top: 1px solid rgba(14,112,14,.3); color: var(--ri-green); font-weight: 600; }

/* ── Prose ────────────────────────────────────────────────────────── */
.prose { max-width: 760px; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--ri-line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 17.5px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ri-text-2); font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose .meta { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ri-caption); margin-bottom: 32px; }

/* ── Footer ───────────────────────────────────────────────────────── */
footer { margin-top: 0; padding: 72px 0 32px; border-top: 1px solid var(--ri-line); background: transparent; }
.foot-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 40px; }
.foot-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 14px; color: var(--ri-text-2); max-width: 34ch; }
.foot-col h4 { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ri-caption); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--ri-text-2); padding: 5px 0; }
.foot-col a:hover { color: var(--ri-ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ri-line); font-size: 12.5px; color: var(--ri-muted); flex-wrap: wrap; }

/* ── Reveal ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hdr-caption, .hdr-rule { display: none; }
  .hdr-nav { gap: 20px; margin-left: 32px; }
  .hdr-nav a { font-size: 13.5px; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { border-bottom: 1px solid var(--ri-line); padding-bottom: 22px; }
  .step:nth-child(3n) { border-right: 0; }
  .policies { grid-template-columns: repeat(3, 1fr); }
  .policy:nth-child(4n) { border-right: 1px solid var(--ri-line); }
  .policy:not(:nth-child(3n+1)) { padding-left: 20px; }
  .policy:nth-child(3n) { border-right: 0; }
  .eco { grid-template-columns: repeat(4, 1fr); }
  .eco div:nth-child(7n) { border-right: 1px solid var(--ri-line); }
  .eco div:nth-child(4n) { border-right: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .card:nth-child(2n) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: var(--ri-shadow-lg); padding: 8px; height: auto; }
  .hdr-nav.open a { height: 46px; padding: 0 14px; box-shadow: none; }
  .hero-grid, .feature, .editions, .band, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .feature.rev > :first-child { order: 0; }
  .grid .card, .grid-2 .card, .grid-3 .card, .grid-4 .card { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; border-top: 1px solid var(--ri-line); }
  .edition:not(:first-child) { border-left: 0; border-top: 1px solid var(--ri-line); padding-left: 0; }
  .edition { padding-right: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--ri-line); padding-bottom: 24px; }
  .float-card { display: none; }
  .section { padding: 76px 0; }
  .hero { padding: 64px 0 48px; }
  .band { padding: 52px 28px; }
  .band .cta { justify-content: flex-start; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps, .policies, .eco, .grid-4 { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3n), .policy:nth-child(3n), .eco div:nth-child(4n) { border-right: 1px solid var(--ri-line); }
  .step:nth-child(2n), .policy:nth-child(2n), .eco div:nth-child(2n) { border-right: 0; }
  .policy:not(:nth-child(2n+1)), .step:not(:nth-child(2n+1)) { padding-left: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hdr-caption, .hdr-rule, .hdr-actions .btn-ghost { display: none; }
  .wrap { width: calc(100% - 36px); }
  .mock-row { grid-template-columns: 1fr auto; }
  .mock-row .c { display: none; }
  h1 { font-size: 38px; }
}


/* ══ v5 — new components in the v3 editorial grammar ═══════════════════ */
:root { --ri-accent-2: #1757d0; --ri-lilac-ink: #4b3fb5; --ri-ink-deep: #07101d; }

.grad-text { color: var(--ri-accent); background: none; -webkit-background-clip: initial; background-clip: initial; }

/* ── Alternating grounds: ink → open → paper ──────────────────────── */
section.section, section.section-tight, section.hero, section.page-hero { position: relative; }
section:not(.ink):not(.hero):not(.page-hero):nth-of-type(even)::before,
section.paper::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--ri-paper);
  border-top: 1px solid var(--ri-line);
  border-bottom: 1px solid var(--ri-line);
}
section:not(.ink):not(.hero):not(.page-hero):nth-of-type(even) > .wrap,
section.paper > .wrap { position: relative; z-index: 1; }
section.open::before { display: none; }

/* ── Ink sections ─────────────────────────────────────────────────── */
.ink { position: relative; color: #fff; background: var(--ri-ink); }
.ink::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 75%); }
.ink > .wrap { position: relative; z-index: 1; }
.ink h2, .ink h3, .ink h4 { color: #fff; }
.ink .lede, .ink p { color: rgba(255,255,255,.68); }
.ink .eyebrow { color: rgba(255,255,255,.55); }
.ink .card { border-color: rgba(255,255,255,.14) !important; }
.ink .grid .card { border-top-color: rgba(255,255,255,.14); }
.ink .card p { color: rgba(255,255,255,.68); }
.ink .card .icon { color: #8fb6f5; }
.ink .link { color: #8fb6f5; box-shadow: inset 0 -1px 0 rgba(143,182,245,.4); }
.ink .ledger { border-top-color: rgba(255,255,255,.24); }
.ink .ledger > div { border-right-color: rgba(255,255,255,.14); }
.ink .ledger .num, .ink .rail-step .n, .ink .phase .n { color: #8fb6f5; }
.ink .ledger p { color: rgba(255,255,255,.68); }
.ink .pill { border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.82); }
.ink .btn-primary { background: #fff; color: var(--ri-ink); border-color: #fff; }
.ink .btn-primary:hover { background: #e6e9f0; border-color: #e6e9f0; }
.ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.ink .btn-ghost:hover { border-color: #fff; }
.ink .btn-tonal { color: #8fb6f5; border-color: rgba(143,182,245,.4); }
.ink .btn-tonal:hover { background: rgba(143,182,245,.10); }
.ink .big-num { color: #fff; }
.ink .muted, .ink .fact span, .ink .step p { color: rgba(255,255,255,.6); }
.ink .facts, .ink .steps, .ink .policies, .ink .eco, .ink .rail, .ink .phases, .ink .faq, .ink .editions, .ink .table-wrap { border-top-color: rgba(255,255,255,.24); }
.ink .fact, .ink .step, .ink .policy, .ink .eco div, .ink .rail-step, .ink .phase { border-color: rgba(255,255,255,.14); }
.ink .fact strong, .ink .policy strong, .ink .eco div, .ink .phase strong, .ink .quorum strong, .ink .vocab strong, .ink .tier .lvl, .ink .tl-step b { color: #fff; }
.ink .policy span, .ink .eco div small, .ink .tier .val, .ink .quorum span, .ink .vocab div { color: rgba(255,255,255,.66); }
.ink .list-check { color: rgba(255,255,255,.72); }
.ink .list-check li::before { background: #8fb6f5; }
.ink .list-check strong { color: #fff; }
.ink .callout { border-left-color: #8fb6f5; color: rgba(255,255,255,.72); }
.ink .callout strong { color: #fff; }
.ink th { color: rgba(255,255,255,.5); }
.ink td { color: rgba(255,255,255,.68); border-bottom-color: rgba(255,255,255,.12); }
.ink td strong { color: #fff; }
.ink .tier, .ink .quorum div, .ink .vocab div, .ink .badge-src, .ink .seal-node { border-color: rgba(255,255,255,.16); background: transparent; }
.ink .faq details { border-bottom-color: rgba(255,255,255,.14); }
.ink .faq summary { color: #fff; }
.ink .faq details p { color: rgba(255,255,255,.68); }

/* ── Ledger (numbered editorial columns) ──────────────────────────── */
.ledger { display: grid; gap: 0; border-top: 1px solid var(--ri-ink); }
.ledger-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.ledger-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.ledger-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.ledger > div { padding: 32px 32px 36px 0; border-right: 1px solid var(--ri-line); position: relative; }
.ledger > div:not(:first-child) { padding-left: 32px; }
.ledger > div:last-child { border-right: 0; padding-right: 0; }
.ledger .num { font-family: var(--ri-font-head); font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--ri-accent); margin-bottom: 20px; }
.ledger h3 { margin-bottom: 10px; }
.ledger p { color: var(--ri-text-2); font-size: 15px; }
.ledger .tags { margin-top: 18px; }
.ledger .more { display: inline-block; margin-top: 16px; }

/* ── Window chrome on screenshots ─────────────────────────────────── */
.shot .chrome { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: transparent; border-bottom: 1px solid var(--ri-line); }
.shot .chrome i { width: 8px; height: 8px; border-radius: 50%; background: var(--ri-line-2); }
.shot .chrome span { margin-left: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ri-caption); font-weight: 600; }

/* ── Rails & phases ───────────────────────────────────────────────── */
.rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border-top: 1px solid var(--ri-ink); }
.rail-step { position: relative; background: transparent; border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 24px 18px 12px 0; }
.rail-step:not(:first-child) { padding-left: 18px; }
.rail-step:last-child { border-right: 0; padding-right: 0; }
.rail-step .n { font-family: var(--ri-font-head); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--ri-accent); }
.rail-step h4 { margin: 12px 0 8px; font-size: 16px; }
.rail-step p { font-size: 13.5px; color: var(--ri-text-2); line-height: 1.5; }
.rail-step .lock { display: inline-block; margin-top: 14px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ri-green); background: transparent; border: 1px solid rgba(14,112,14,.3); border-radius: 999px; padding: 3px 9px; }
.rail-step .lock.locked { color: var(--ri-amber); border-color: rgba(138,82,0,.3); }
.rail-9 { grid-template-columns: repeat(9, 1fr); }
.rail-9 .rail-step { padding: 20px 12px 12px 0; }
.rail-9 .rail-step:not(:first-child) { padding-left: 12px; }
.rail-9 .rail-step p { font-size: 12.5px; }
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ri-ink); }
.phase { border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 24px 20px 24px 0; background: transparent; font-size: 14px; color: var(--ri-text-2); }
.phase:not(:first-child) { padding-left: 20px; }
.phase:last-child { border-right: 0; padding-right: 0; }
.phase strong { display: block; font-family: var(--ri-font-head); color: var(--ri-ink); font-size: 17px; letter-spacing: -.02em; margin: 10px 0 6px; }
.phase .n { font-family: var(--ri-font-head); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--ri-accent); }

/* ── Tiers, quorum, vocab, timeline ───────────────────────────────── */
.tiers { display: grid; gap: 0; border-top: 1px solid var(--ri-line); }
.tier { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 16px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ri-line); border-radius: 0; background: transparent; font-size: 14px; }
.tier .lvl { font-family: var(--ri-font-head); font-weight: 700; color: var(--ri-ink); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.tier .val { color: var(--ri-text-2); }
.tier.campaign { border-color: var(--ri-line); background: transparent; }
.tier.campaign .lvl { color: var(--ri-accent); }
.badge-src { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--ri-line-2); color: var(--ri-caption); background: transparent; }
.badge-src.ws { color: var(--ri-lilac-ink); border-color: rgba(99,85,216,.35); }
.badge-src.cp { color: var(--ri-accent); border-color: var(--ri-accent-border); }
.quorum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ri-line); }
.quorum div { border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 18px 18px 18px 0; background: transparent; }
.quorum div:not(:first-child) { padding-left: 18px; }
.quorum div:last-child { border-right: 0; }
.quorum strong { display: block; font-family: var(--ri-font-head); color: var(--ri-ink); font-size: 15px; letter-spacing: -.01em; }
.quorum span { font-size: 13px; color: var(--ri-text-2); }
.quorum .heads { display: flex; gap: 5px; margin: 10px 0 7px; }
.quorum .heads i { width: 16px; height: 16px; border-radius: 50%; background: transparent; border: 1px solid var(--ri-line-2); }
.quorum .heads i.on { background: var(--ri-ink); border-color: var(--ri-ink); }
.vocab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ri-line); }
.vocab div { border: 0; border-right: 1px solid var(--ri-line); border-radius: 0; padding: 16px 16px 16px 0; background: transparent; font-size: 13.5px; color: var(--ri-text-2); }
.vocab div:not(:first-child) { padding-left: 16px; }
.vocab div:last-child { border-right: 0; }
.vocab strong { display: block; font-family: var(--ri-font-head); font-size: 14.5px; margin-bottom: 3px; letter-spacing: -.01em; }
.vocab .k strong { color: var(--ri-green); }
.vocab .r strong { color: var(--ri-red); }
.vocab .e strong { color: var(--ri-amber); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; }
.tl-step { font-size: 12.5px; color: var(--ri-text-2); }
.tl-step b { display: block; font-family: var(--ri-font-head); color: var(--ri-ink); font-size: 13.5px; letter-spacing: -.01em; }
.tl-step i { display: block; height: 2px; border-radius: 0; background: var(--ri-line-2); margin: 10px 0 7px; }
.tl-step.launch i { background: var(--ri-ink); }
.tl-step.rem i { background: #b57500; }
.tl-step.esc i { background: var(--ri-lilac-ink); }
.tl-step.close i { background: var(--ri-green); }
.big-num { font-family: var(--ri-font-head); font-size: 44px; font-weight: 700; letter-spacing: -.045em; color: var(--ri-ink); line-height: 1.02; }

.hero-grid > *, .feature > *, .grid > *, .editions > *, .band > *, .steps > *, .policies > *, .eco > *, .facts > *, .foot-grid > *, .rail > *, .tiers > *, .quorum > *, .phases > *, .timeline > *, .vocab > *, .ledger > * { min-width: 0; }

@media (max-width: 1080px) {
  .rail, .rail-9, .phases, .ledger-4 { grid-template-columns: repeat(3, 1fr); }
  .rail-step, .phase, .ledger > div { border-bottom: 1px solid var(--ri-line); }
  .rail-step:nth-child(3n), .phase:nth-child(3n), .ledger > div:nth-child(3n) { border-right: 0; }
}
@media (max-width: 900px) {
  .ledger, .ledger-2, .ledger-3, .ledger-4 { grid-template-columns: 1fr; }
  .ledger > div { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; border-bottom: 1px solid var(--ri-line); }
  .quorum, .vocab, .timeline { grid-template-columns: 1fr; }
  .quorum div, .vocab div { border-right: 0; border-bottom: 1px solid var(--ri-line); padding-left: 0 !important; }
  .tier { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .rail, .rail-9, .phases { grid-template-columns: 1fr 1fr; }
  .rail-step:nth-child(3n), .phase:nth-child(3n) { border-right: 1px solid var(--ri-line); }
  .rail-step:nth-child(2n), .phase:nth-child(2n) { border-right: 0; }
}

.hdr-brand { flex: 0 0 auto; }
.hdr-logo { flex: 0 0 auto; height: 28px; width: auto; }
.hdr-nav { flex: 1 1 auto; min-width: 0; overflow: hidden; }


/* ══ v6 — real application captures on the console ground ═══════════════ */
.shot-app { background: #fff; border: 1px solid var(--ri-line); border-radius: 6px; box-shadow: 0 1px 2px rgba(12,18,32,.06), 0 40px 80px -36px rgba(12,18,32,.42); overflow: hidden; }
.shot-app .chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f6f7fb; border-bottom: 1px solid var(--ri-line); }
.shot-app .chrome i { width: 8px; height: 8px; border-radius: 50%; background: #cfd3dd; }
.shot-app .chrome span { margin-left: 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ri-caption); font-weight: 600; }
.shot-app img { width: 100%; height: auto; display: block; }
.shot-app a { display: block; cursor: zoom-in; }
.shot-app .shot-caption { background: #f6f7fb; }
/* The consoles' own ground (.rev_appBg): #eef0f6 with three radial halos. Used as a stage behind captures. */
.shots-band { position: relative; padding: 56px 0; }
.shots-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-color: #eef0f6;
  background-image:
    radial-gradient(1100px 640px at 8% 92%, rgba(99, 85, 216, 0.12), transparent 62%),
    radial-gradient(900px 540px at 92% 6%, rgba(23, 87, 208, 0.08), transparent 60%),
    radial-gradient(760px 480px at 50% -6%, rgba(255, 255, 255, 0.95), transparent 70%);
  border-top: 1px solid var(--ri-line); border-bottom: 1px solid var(--ri-line); }
.shots-band > .wrap { position: relative; z-index: 1; }
section.shots-band::before { border-top: 1px solid var(--ri-line); }
.feature .shot-app { align-self: center; }
.shot-wide { max-width: 1240px; margin: 0 auto; }

/* ── Motion: captures tilt slightly in perspective and settle on hover; wide ones lift. ── */
.feature, .hero-visual { perspective: 1800px; }
.feature > .shot-app { transform: rotateY(-6deg) rotateX(1.5deg); transform-origin: 50% 50%; transition: transform .7s cubic-bezier(.2,.8,.2,1), box-shadow .7s; will-change: transform; }
.feature.rev > .shot-app { transform: rotateY(6deg) rotateX(1.5deg); }
.feature > .shot-app:hover, .feature.rev > .shot-app:hover { transform: none; box-shadow: 0 2px 4px rgba(12,18,32,.06), 0 60px 110px -40px rgba(12,18,32,.5); }
.shot-hero { transform: rotateY(-8deg) rotateX(2.5deg); transform-origin: 40% 50%; transition: transform .7s cubic-bezier(.2,.8,.2,1); animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.shot-hero:hover { transform: none; }
/* typewriter hero: one word at a time, looping */
h1.typed { min-height: 1.05em; white-space: nowrap; }
h1.typed.settled { white-space: nowrap; }
h1.typed .tw-one { display: inline; }
h1.typed .tw-one.accent { color: var(--ri-accent); }
h1.typed .accent-word { color: var(--ri-accent); }
h1.typed .caret { display: none; }
h1.typed.js .caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--ri-ink); animation: caretBlink .9s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { h1.typed.js .caret { display: none; } }
@media (max-width: 640px) { h1.typed { white-space: normal; } }
.shot-hero.settled, .hero-visual .float-card.settled { animation: none; opacity: 1; }
@keyframes heroIn { from { opacity: 0; transform: translateX(40px) rotateY(-16deg) rotateX(4deg); } to { opacity: 1; transform: translateX(0) rotateY(-8deg) rotateX(2.5deg); } }
.hero-visual .float-card { animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-visual .float-card.tl { animation-delay: .55s; }
.hero-visual .float-card.br { animation-delay: .8s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.feature > .shot-app.reveal-shot { animation: shotIn .9s cubic-bezier(.2,.8,.2,1) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(24px) rotateY(-12deg); } }
.shot-wide { transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s; }
.shot-wide:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(12,18,32,.06), 0 70px 120px -44px rgba(12,18,32,.5); }
.reveal .shot-app, .shot-app.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { .feature > .shot-app, .feature.rev > .shot-app, .shot-hero, .hero-visual .float-card { transform: none; transition: none; animation: none; } }
@media (max-width: 900px) { .feature > .shot-app, .feature.rev > .shot-app, .shot-hero { transform: none; } }

/* ── Alternating grounds, v6: the "paper" step becomes the consoles' own ground (.rev_appBg). ── */
section:not(.ink):not(.hero):not(.page-hero):nth-of-type(even)::before,
section.paper::before {
  background-color: #eef0f6;
  background-image:
    radial-gradient(1100px 640px at 8% 92%, rgba(99, 85, 216, 0.12), transparent 62%),
    radial-gradient(900px 540px at 92% 6%, rgba(23, 87, 208, 0.08), transparent 60%),
    radial-gradient(760px 480px at 50% -6%, rgba(255, 255, 255, 0.95), transparent 70%);
}
section:not(.ink):not(.hero):not(.page-hero):nth-of-type(even) .mock,
section.paper .mock { background: #fff; }

/* triptych */
.triptych .num { letter-spacing: .26em; }
.triptych h3 { font-size: 22px; }
.hero h1 em.grad-text { color: var(--ri-accent); }
/* narrow-screen guards (inherited v5 defects) */
.seal-chain { flex-wrap: wrap; }
.seal-chain > * { min-width: 0; max-width: 100%; }
.mock, .mock-body, .mock-row, .mock-kpis, .bars, .bar { min-width: 0; }
.fact strong { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .mock-kpis { grid-template-columns: 1fr; } .mock-kpi { border-right: 0; padding-left: 0; } .bar { grid-template-columns: 110px 1fr 40px; }
  .facts { grid-template-columns: 1fr; } .fact { border-right: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--ri-line); padding-bottom: 20px; } .fact strong { font-size: 30px; }
}

/* ══ v6 — mega navigation ══════════════════════════════════════════════ */
.hdr-nav { display: flex; align-items: center; gap: 6px; height: 100%; margin-left: 40px; overflow: visible; position: static; flex: 0 1 auto; }
.hdr-nav .nav-item { position: static; height: 100%; display: flex; align-items: center; }
.hdr-nav .nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: transparent; border-radius: var(--ri-radius-s); font: inherit; font-size: 14px; font-weight: 500; color: var(--ri-text-2); cursor: pointer; white-space: nowrap; box-shadow: none; transition: color .15s, background .15s; }
.hdr-nav .nav-link:hover, .hdr-nav .nav-item.open > .nav-link { color: var(--ri-ink); background: var(--ri-surface-2); }
.hdr-nav .nav-link.is-active, .hdr-nav .nav-item.is-active > .nav-link { color: var(--ri-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--ri-ink); border-radius: 0; background: transparent; }
.hdr-nav .chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .2s; }
.hdr-nav .nav-item.open .chev { transform: translateY(1px) rotate(-135deg); }
.header-wrap { overflow: visible; }
.header-shell { overflow: visible; }
/* panel */
.header-shell { position: relative; }
.hdr-nav .panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; display: none; padding-top: 10px; max-width: 100%; white-space: normal; }
.hdr-nav .panel * { white-space: normal; }
.hdr-nav .nav-item.open > .panel { display: block; }
.hdr-nav .panel-inner { background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: 0 30px 60px -30px rgba(12,18,32,.35); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr); gap: 0; padding: 28px 32px; animation: panelIn .22s ease; }
.hdr-nav .panel-resources .panel-inner { grid-template-columns: repeat(3, minmax(0,1fr)); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
.hdr-nav .panel-col { min-width: 0; padding: 0 28px; border-left: 1px solid var(--ri-line); display: grid; align-content: start; gap: 4px; }
.hdr-nav .panel-link, .hdr-nav .panel-lead-link { min-width: 0; overflow-wrap: anywhere; }
.hdr-nav .panel-col:first-child { padding-left: 0; border-left: 0; }
.hdr-nav .panel-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ri-caption); margin-bottom: 10px; }
.hdr-nav .panel-link { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: var(--ri-radius-s); transition: background .15s; }
.hdr-nav .panel-link:hover { background: var(--ri-surface-2); }
.hdr-nav .panel-link strong { display: block; font-family: var(--ri-font-head); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ri-ink); }
.hdr-nav .panel-link span { display: block; font-size: 13px; line-height: 1.45; color: var(--ri-text-2); margin-top: 2px; }
.hdr-nav .ext { font-size: 12px; color: var(--ri-caption); margin-left: 4px; }
.hdr-nav .panel-tag { display: inline-block; margin-left: 8px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4b3fb5; border: 1px solid rgba(99,85,216,.35); border-radius: 999px; padding: 1px 7px; vertical-align: 2px; }
.hdr-nav .panel-lead { background: transparent; }
.hdr-nav .panel-lead-link { display: block; padding: 18px 20px; border: 1px solid var(--ri-line); border-radius: var(--ri-radius); background: linear-gradient(180deg, #fff, #f7f8fb); transition: border-color .15s; }
.hdr-nav .panel-lead-link:hover { border-color: var(--ri-ink); }
.hdr-nav .panel-lead-link strong { display: block; font-family: var(--ri-font-head); font-size: 20px; letter-spacing: -.025em; color: var(--ri-ink); margin-bottom: 8px; }
.hdr-nav .panel-lead-link span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ri-text-2); }
/* mobile: stacked accordion */
@media (max-width: 1200px) { .hdr-nav { margin-left: 24px; gap: 2px; } .hdr-nav .nav-link { padding: 0 9px; font-size: 13.5px; } }
@media (max-width: 900px) {
  .hdr-nav { display: none; }
  .hdr-nav.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: var(--ri-radius); box-shadow: var(--ri-shadow-lg); padding: 8px; height: auto; max-height: calc(100vh - 90px); overflow: auto; }
  .hdr-nav.open .nav-item { flex-direction: column; align-items: stretch; height: auto; }
  .hdr-nav.open .nav-link { height: 46px; width: 100%; justify-content: space-between; border-radius: var(--ri-radius-s); }
  .hdr-nav.open .panel { position: static; padding: 0 0 8px; }
  .hdr-nav.open .panel-inner { grid-template-columns: 1fr; padding: 8px 4px 4px; box-shadow: none; border: 0; animation: none; }
  .hdr-nav.open .panel-col { padding: 8px 0; border-left: 0; border-top: 1px solid var(--ri-line); }
  .hdr-nav.open .panel a, .hdr-nav.open .panel-link, .hdr-nav.open .panel-lead-link { height: auto; display: block; padding: 10px 12px; margin: 0; box-shadow: none; }
  .hdr-nav.open .panel-link strong, .hdr-nav.open .panel-link span, .hdr-nav.open .panel-lead-link strong, .hdr-nav.open .panel-lead-link span { display: block; }
  .hdr-nav.open .panel-lead-link { padding: 12px 14px; }
}

/* ══ v6 — editions comparison (from the "Comparatif Editions" créa) ════════ */
.cmp { background: var(--ri-paper); border: 1px solid var(--ri-line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(7,17,31,.04), 0 12px 32px rgba(7,17,31,.06); }
.cmp-head, .cmp-story, .cmp-row, .cmp-fam { display: grid; grid-template-columns: 236px 1fr 1fr; }
.cmp-head { background: var(--ri-ink); color: #fff; }
.cmp-head-dim { padding: 22px 24px 20px; display: flex; align-items: flex-end; }
.cmp-head-dim span { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.cmp-head-ed { padding: 22px 24px 20px; border-left: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; row-gap: 6px; }
.cmp-head-ed strong { font-family: var(--ri-font-head); font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.cmp-head-ed .sub { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255,255,255,.6); }
.cmp-head-ed .dot { width: 7px; height: 7px; border-radius: 50%; }
.cmp-head-ed .dot-unl { background: #8fb6f5; }
.cmp-head-ed .dot-oneshot { background: #7C93B4; }
.cmp-head-featured { background: rgba(255,255,255,.05); }
.cmp-story { background: #111C31; color: #fff; }
.cmp-story > div { padding: 14px 24px; font-size: 13.5px; font-weight: 500; border-left: 1px solid rgba(255,255,255,.12); }
.cmp-story-dim { font-size: 10px !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); border-left: 0 !important; display: flex; align-items: center; }
.cmp-fam { grid-template-columns: 1fr; background: var(--ri-surface-2); border-top: 1px solid var(--ri-line); border-bottom: 1px solid var(--ri-line); padding: 11px 24px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ri-accent); }
.cmp-row { border-bottom: 1px solid var(--ri-grid); }
.cmp-row:nth-child(even) { background: #fcfcfe; }
.cmp-dim { padding: 15px 24px; font-size: 13px; font-weight: 600; color: var(--ri-ink); line-height: 1.45; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cmp-dim em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ri-caption); border: 1px solid var(--ri-line-2); border-radius: 3px; padding: 2px 6px; }
.cmp-cell { padding: 15px 24px; font-size: 13px; color: var(--ri-text-2); line-height: 1.55; border-left: 1px solid var(--ri-grid); display: flex; align-items: center; gap: 9px; }
.cmp-cell b { font-weight: 600; color: var(--ri-ink); }
.cmp-cell i { font-style: normal; color: var(--ri-caption); }
.cmp-yes span { color: var(--ri-ink); font-weight: 500; }
.cmp-yes span b { font-weight: 500; }
.cmp-no span { color: var(--ri-text-2); }
.cmp-na span { color: var(--ri-caption); }
.gl { width: 14px; height: 14px; fill: none; stroke: var(--ri-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.gl-off { stroke: #B6C0CE; }
.cmp-legend { display: flex; align-items: center; gap: 26px; padding: 14px 24px; font-size: 11.5px; color: var(--ri-muted); border-top: 1px solid var(--ri-line); background: var(--ri-surface-2); flex-wrap: wrap; }
.cmp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cmp-legend em { font-style: normal; color: var(--ri-caption); }
.cmp-legend-r { margin-left: auto; color: var(--ri-caption); }
@media (max-width: 900px) {
  .cmp-head, .cmp-story, .cmp-row { grid-template-columns: 1fr; }
  .cmp-head-dim, .cmp-story-dim { display: none; }
  .cmp-head-ed, .cmp-story > div, .cmp-cell { border-left: 0; }
  .cmp-dim { padding-bottom: 4px; }
  .cmp-cell { padding-top: 8px; padding-bottom: 8px; }
  .cmp-cell::before { content: attr(data-ed); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ri-caption); min-width: 70px; }
  .cmp-row .cmp-cell:last-child { padding-bottom: 16px; }
}

/* ══ v6 — footer aligned on the mega menu ════════════════════════════ */
.foot-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.foot-col h4 { display: flex; align-items: center; gap: 10px; }
.foot-col h4::after { content: ""; flex: 1; height: 1px; background: var(--ri-line); }
.foot-col .foot-sub { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ri-caption); margin: 14px 0 6px; }
.foot-col .foot-sub:first-of-type { margin-top: 0; }
.foot-col a { padding: 4px 0; }
.foot-brand .pill { margin-top: 2px; }
@media (max-width: 900px) { .callout[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } .callout { min-width: 0; overflow-wrap: anywhere; } }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .foot-brand { grid-column: 1 / -1; } .foot-col a, .foot-brand p { overflow-wrap: anywhere; } }

/* ══ v6 — menu refinement ════════════════════════════════════════════ */
.hdr-nav .nav-link { font-size: 14px; letter-spacing: -.005em; padding: 0 13px; }
.hdr-nav .nav-item.open > .nav-link { background: var(--ri-ink); color: #fff; }
.hdr-nav .nav-item.open > .nav-link .chev { opacity: .9; }
.hdr-nav .panel { padding-top: 14px; }
.hdr-nav .panel::before { content: ""; position: absolute; top: 6px; left: var(--caret-x, 60px); width: 14px; height: 14px; background: var(--ri-paper); border-left: 1px solid var(--ri-line); border-top: 1px solid var(--ri-line); transform: rotate(45deg); z-index: 1; }
.hdr-nav .panel-inner { border-radius: 8px; box-shadow: 0 1px 2px rgba(7,17,31,.05), 0 24px 56px -24px rgba(7,17,31,.32); padding: 30px 34px 32px; }
.hdr-nav .panel-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ri-caption); }
.hdr-nav .panel-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--ri-line); }
.hdr-nav .panel-link { position: relative; padding: 11px 14px 11px 14px; border-left: 2px solid transparent; border-radius: 0 var(--ri-radius-s) var(--ri-radius-s) 0; }
.hdr-nav .panel-link:hover { background: var(--ri-surface-2); border-left-color: var(--ri-accent); }
.hdr-nav .panel-link strong { display: flex; align-items: center; gap: 8px; }
.hdr-nav .panel-link strong::after { content: "\2192"; font-weight: 400; color: var(--ri-caption); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.hdr-nav .panel-link:hover strong::after { opacity: 1; transform: none; }
.hdr-nav .panel-lead-link { background: var(--ri-ink); border-color: var(--ri-ink); position: relative; overflow: hidden; }
.hdr-nav .panel-lead-link::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 80%); pointer-events: none; }
.hdr-nav .panel-lead-link strong { color: #fff; position: relative; }
.hdr-nav .panel-lead-link span { color: rgba(255,255,255,.7); position: relative; }
.hdr-nav .panel-lead-link::after { content: "\2192"; position: absolute; right: 18px; bottom: 16px; color: #8fb6f5; font-size: 18px; }
.hdr-nav .panel-lead-link:hover { border-color: var(--ri-ink); background: #000; }
.hdr-nav .panel-lead .panel-eyebrow::after { display: none; }
@media (max-width: 900px) {
  .hdr-nav .panel::before { display: none; }
  .hdr-nav.open .nav-item.open > .nav-link { background: var(--ri-surface-2); color: var(--ri-ink); }
  .hdr-nav.open .panel-lead-link { background: var(--ri-ink); }
}

.hdr-nav .panel-trust .panel-inner { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }

.eco-logos { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 44px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--ri-line); }
.eco-logos figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; }
.eco-logos img { height: 40px; width: auto; max-width: 96px; object-fit: contain; opacity: .85; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.eco-logos figure:hover img { opacity: 1; }
.eco-logos figcaption { font-size: 11px; line-height: 1.3; text-align: center; color: var(--ri-caption); }
.eco-logos .plus { display: grid; place-items: center; width: 40px; height: 40px; border: 1px dashed var(--ri-accent-border); border-radius: 50%; color: var(--ri-accent); font-family: var(--ri-font-head); font-size: 22px; font-weight: 500; }
.eco-logos .eco-yours figcaption { color: var(--ri-accent); }
@media (max-width: 640px) { .eco-logos { gap: 22px 18px; } .eco-logos figure { width: 72px; } .eco-logos img { height: 32px; max-width: 72px; } }

/* ledgers with more than one row: reset padding/border on each row start and end */
.ledger-3 > div:nth-child(3n+1) { padding-left: 0; }
.ledger-3 > div:nth-child(3n) { border-right: 0; padding-right: 0; }
.ledger-3 > div:nth-child(n+4) { border-top: 1px solid var(--ri-line); }
.ink .ledger-3 > div:nth-child(n+4) { border-top-color: rgba(255,255,255,.14); }
.ledger-4 > div:nth-child(4n+1) { padding-left: 0; }
.ledger-4 > div:nth-child(4n) { border-right: 0; padding-right: 0; }
.ledger-4 > div:nth-child(n+5) { border-top: 1px solid var(--ri-line); }
@media (max-width: 900px) { .ledger > div { border-top: 0 !important; } }

/* clickable policy tiles */
a.policy { display: block; color: inherit; transition: background .15s; }
a.policy:hover { background: var(--ri-surface-2); }
a.policy:focus-visible, .hdr-nav .nav-link:focus-visible, .hdr-nav .panel-link:focus-visible, .hdr-nav .panel-lead-link:focus-visible { outline: 2px solid var(--ri-accent); outline-offset: 2px; }
/* solution logos: more presence */
.eco-logos img { opacity: 1; filter: grayscale(1) contrast(1.15) brightness(.78); }
.eco-logos figure:hover img { filter: grayscale(0); }
.eco-logos figcaption { color: var(--ri-text-2); }

/* language switcher */
.lang-switch { position: relative; }
.lang-switch .lang-btn { display:inline-flex; align-items:center; gap:6px; height:34px; padding:0 12px; border:1px solid var(--ri-line); border-radius:var(--ri-radius-s); background:transparent; font:600 13px/1 "Public Sans",sans-serif; color:var(--ri-ink); cursor:pointer; }
.lang-switch .lang-btn .chev { width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px; }
.lang-switch .lang-menu { position:absolute; top:calc(100% + 8px); right:0; min-width:150px; background:var(--ri-paper); border:1px solid var(--ri-line); border-radius:var(--ri-radius); box-shadow:0 20px 40px -20px rgba(12,18,32,.35); padding:6px; display:none; z-index:70; }
.lang-switch.open .lang-menu { display:block; }
.lang-switch .lang-menu a { display:block; padding:8px 10px; border-radius:4px; font-size:14px; color:var(--ri-ink); }
.lang-switch .lang-menu a:hover { background:var(--ri-surface-2); }
.lang-switch .lang-menu a.active { color:var(--ri-accent); font-weight:700; }
@media (max-width:900px){ .lang-switch{ display:none; } }

/* cookie consent bar */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -20px 50px -20px rgba(7,17,31,.4); }
.cookie-bar.open { transform: translateY(0); }
.cookie-bar-inner { max-width: var(--ri-max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cookie-bar-inner p { font-size: 13.5px; line-height: 1.55; max-width: 66ch; margin: 0; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 700px) { .cookie-bar-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; } .cookie-bar-actions { justify-content: flex-end; } }
.foot-col a.cookie-prefs-link { cursor: pointer; }
