/* =====================================================================================================================
   LagerLink showreel — page layout and showreel-only components.
   Built on design-system.css (the final LagerLink design system, copied verbatim): every colour here is a design
   token, so light/dark, white-label brands and forced colours work unchanged. Classes are prefixed "rl-".
   Layout: 1024 px tablets to 2560 px operations screens; graceful below that. No inline styles anywhere — dynamic
   values arrive as custom properties through the CSSOM.
   ===================================================================================================================== */

:root {
  --rl-max: 1440px;
  --rl-wide: 1720px;
  --rl-pad: clamp(16px, 3.2vw, 56px);
  --rl-top-h: 58px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--rl-top-h) + 16px); }
:root[data-motion="reduce"] { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); }
.rl-app { min-height: 100vh; }
.rl-wrap { width: 100%; max-width: var(--rl-max); margin: 0 auto; padding: 0 var(--rl-pad); }
.rl-wrap--wide { max-width: var(--rl-wide); }
.rl-grow { flex: 1 1 auto; min-width: 0; }
.rl-main:focus { outline: none; }
:where(.rl-app) p { max-width: none; }

/* Boot and no-script states */
.rl-boot { min-height: 70vh; display: grid; place-content: center; gap: 6px; text-align: center; padding: 24px; }
.rl-boot__mark { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.rl-boot__text { color: var(--text-muted); }
.rl-noscript { max-width: 70ch; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 12px; }
.rl-noscript__tm { font-size: var(--fs-sm); color: var(--text-muted); }

/* Brand mark (white-label: follows the brand tokens) */
.rl-mark { width: 22px; height: 22px; flex: none; }
.rl-mark--sm { width: 16px; height: 16px; }
.rl-mark__p { fill: var(--brand-primary); }
.rl-mark__a { fill: var(--brand-accent); }

/* ── Header ────────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-top {
  position: sticky;
  top: 0;
  z-index: var(--z-topbar);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 2px 0 var(--brand-fill);
}
.rl-top__in { display: flex; align-items: center; gap: 16px; height: var(--rl-top-h); max-width: var(--rl-wide); margin: 0 auto; padding: 0 var(--rl-pad); }
.rl-brandlink { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; border-radius: var(--radius-sm); }
.rl-brandlink__tag { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--border-strong); }
.rl-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.rl-nav__list, .rl-menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.rl-nav__a { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 8px; border-radius: var(--radius); color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 560; white-space: nowrap; }
.rl-nav__a:hover { background: var(--surface-3); }
.rl-nav__n { font-size: var(--fs-2xs); color: var(--text-muted); }
.rl-nav__a[aria-current="true"] { box-shadow: inset 0 -2px 0 var(--brand-fill); color: var(--text); }
.rl-nav__a[aria-current="true"] .rl-nav__n { color: var(--brand-text); }
.rl-menu { display: none; position: relative; }
.rl-menu__pop { top: calc(100% + 8px); min-width: 240px; }
.rl-menu__list { flex-direction: column; }
.rl-menu__list .rl-nav__a { display: flex; padding: 8px 10px; font-size: var(--fs-md); }
.rl-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; min-width: 0; }
.rl-tools .seg__opt { min-height: 28px; }
.rl-tools__cta { white-space: nowrap; }
.rl-display__btn { white-space: nowrap; }
.rl-display__pop { top: calc(100% + 8px); min-width: 300px; }
.rl-display__theme { align-self: flex-start; flex-wrap: wrap; }
.rl-display__theme .seg__opt { min-height: 30px; padding: 0 10px; }
.rl-display__motion { font-weight: 600; font-size: var(--fs-md); }
.rl-menu__extra { display: none; }
.rl-menu__pop nav { display: block; }
@media (max-width: 1359px) {
  .rl-nav { display: none; }
  .rl-menu { display: block; }
}
@media (max-width: 720px) {
  .rl-brandlink__tag, .rl-tools__ctal, .rl-menu__label { display: none; }
  .rl-top__in { gap: 8px; }
}
/* Reflow at 320 CSS px (WCAG 1.4.10): Display and contact move into the Chapters menu. */
@media (max-width: 480px) {
  .rl-tools__display, .rl-tools__cta { display: none; }
  .rl-menu__extra { display: block; border-top: 1px solid var(--border); margin-top: 6px; }
  .rl-menu__pop { position: fixed; top: calc(var(--rl-top-h) + 4px); left: 12px; right: 12px; min-width: 0; max-height: calc(100vh - var(--rl-top-h) - 16px); overflow: auto; }
  .rl-brandlink { gap: 7px; font-size: 16px; }
}

/* ── Sections and heads ─────────────────────────────────────────────────────────────────────────────────── */
.rl-secwrap { scroll-margin-top: var(--rl-top-h); }
.rl-sec { padding: clamp(36px, 4.8vw, 72px) 0; border-top: 1px solid var(--border); }
.rl-sec--alt { background: var(--surface); }
.rl-sec--sim { background: var(--bg); }
.rl-head {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 8px clamp(16px, 2.6vw, 40px);
  align-items: start;
  margin-bottom: clamp(20px, 2.6vw, 32px);
  padding-bottom: clamp(14px, 1.6vw, 22px);
  border-bottom: 1px solid var(--text);
}
.rl-head__n { font-size: clamp(52px, 5.6vw, 92px); font-weight: 200; letter-spacing: -0.06em; line-height: 0.8; font-variant-numeric: tabular-nums; color: var(--text); }
.rl-head__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rl-kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); }
.rl-head__title { font-size: clamp(28px, 3vw, 48px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 680; max-width: 30ch; text-wrap: balance; }
.rl-head__lede { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--text-muted); max-width: 72ch; text-wrap: pretty; }
.rl-h3 { font-size: clamp(20px, 1.7vw, 27px); font-weight: 660; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 18px; }
.rl-sec__sub { margin-top: clamp(32px, 3.6vw, 56px); }
.rl-sub__lede { color: var(--text-muted); max-width: 80ch; margin-bottom: 18px; }
.rl-note-line { margin-top: 16px; max-width: 120ch; line-height: 1.5; }
@media (max-width: 899px) {
  .rl-head { grid-template-columns: minmax(0, 1fr); }
  .rl-head__n { font-size: 48px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-hero { padding: clamp(20px, 2.6vw, 44px) 0 clamp(32px, 4vw, 56px); border-top: 0; }
/* Two columns from 1024 px: the animated flow sits beside the hook, visible without scrolling. */
.rl-hero__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(24px, 3vw, 52px); align-items: start; }
.rl-hero__text { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-top: clamp(4px, 1.4vw, 28px); }
.rl-hero__title { font-size: clamp(30px, 3.35vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 760; text-wrap: balance; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.rl-hero__l1 { display: block; font-weight: 320; color: var(--text-muted); }
.rl-hero__l2 { display: block; }
.rl-hero__lede { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.5; max-width: 44ch; text-wrap: pretty; }
.rl-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rl-hero__status { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--text-muted); max-width: 60ch; line-height: 1.5; }
.rl-hero__badge { flex: none; padding: 1px 7px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); font-size: var(--fs-2xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); white-space: nowrap; margin-top: 1px; }
.rl-facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin: clamp(40px, 5vw, 72px) 0 0; }
.rl-fact { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--text); }
.rl-fact__v { font-size: clamp(32px, 3.3vw, 54px); font-weight: 280; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rl-fact__t { margin: 0; font-size: var(--fs-md); line-height: 1.5; max-width: 46ch; }
.rl-fact__src { margin: 0; font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 1199px) { .rl-hero__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 24px; } .rl-hero__cta .btn--lg { min-height: 40px; padding: 0 14px; font-size: var(--fs-md); } .rl-hero__status { font-size: var(--fs-xs); } }
@media (max-width: 1023px) { .rl-hero__grid { grid-template-columns: minmax(0, 1fr); } .rl-hero__lede { max-width: 60ch; } }
@media (max-width: 899px) { .rl-facts3 { grid-template-columns: minmax(0, 1fr); } }

/* The live flow figure */
.rl-flow { margin: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; min-width: 0; }
.rl-flow__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px 8px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: var(--fs-sm); }
.rl-flow__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; flex: 1 1 auto; }
.rl-flow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--state-done); box-shadow: 0 0 0 3px var(--tint-done); flex: none; }
.rl-flow.is-paused .rl-flow__dot { background: var(--state-neutral); box-shadow: 0 0 0 3px var(--tint-neutral); }
.rl-flow__clock { color: var(--text-muted); white-space: nowrap; }
.rl-flow__toggle { flex: none; }
.rl-flow__stage { padding: 12px 14px 2px; background-color: var(--surface); background-image: radial-gradient(color-mix(in srgb, var(--border-strong) 32%, transparent) 1px, transparent 1.2px); background-size: 16px 16px; }
.rl-flow__exitbox { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px 10px; border-top: 1px dashed color-mix(in srgb, var(--state-attention) 60%, var(--border)); background: color-mix(in srgb, var(--tint-warn) 45%, var(--surface)); }
.rl-flow__exitcap { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); line-height: 1.3; }
.rl-flow__exits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rl-flow__exit { display: grid; grid-template-columns: 12px auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: var(--fs-sm); line-height: 1.4; }
.rl-flow__exitshop { font-weight: 650; white-space: nowrap; }
.rl-flow__exitwhy { min-width: 0; }
.rl-flow__exitat { font-size: var(--fs-xs); color: var(--text-muted); }
.rl-exitg { width: 11px; height: 11px; align-self: center; }
.rl-exitg path { fill: var(--state-attention); }
.rl-exitg--routed path { fill: none; stroke: var(--state-neutral); stroke-width: 1.5; }
.rl-exitg--waiting path { fill: none; stroke: var(--state-attention); stroke-width: 1.5; }
@media (max-width: 599px) { .rl-flow__exit { grid-template-columns: 12px auto minmax(0, 1fr); } .rl-flow__exitat { display: none; } }
.rl-flow__svg { display: block; width: 100%; height: auto; overflow: visible; }
.rl-flow__nums { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border); }
.rl-flow__num { padding: 10px 12px; border-left: 1px solid var(--border); min-width: 0; }
.rl-flow__num:first-child { border-left: 0; }
.rl-flow__num dt { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); line-height: 1.2; hyphens: auto; -webkit-hyphens: auto; }
.rl-flow__num dd { margin: 2px 0 0; display: flex; flex-direction: column; }
.rl-flow__v { font-size: clamp(20px, 1.8vw, 28px); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.rl-flow__s { font-size: var(--fs-2xs); color: var(--text-muted); line-height: 1.3; }
.rl-flow__num--exit .rl-flow__v { color: var(--state-attention); }
.rl-flow__num--done .rl-flow__v { color: var(--state-done); }
.rl-flow__cap { padding: 10px 14px 14px; border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
@media (max-width: 1199px) { .rl-flow__num { padding: 8px 9px; } .rl-flow__s { display: none; } }
@media (max-width: 899px) { .rl-flow__nums { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rl-flow__num:nth-child(4) { border-left: 0; } .rl-flow__num:nth-child(n+4) { border-top: 1px solid var(--border); } }

/* SVG parts of the flow (colours from tokens: works in both themes and in any brand) */
.rl-f-cap { font: 750 12.5px var(--font-sans); letter-spacing: 0.07em; fill: var(--text-muted); }
.rl-f-box { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; }
.rl-f-box--hub { stroke: var(--text); stroke-width: 1.6; }
.rl-f-box--more { fill: var(--surface); stroke-dasharray: 4 3; }
.rl-f-hubrule { fill: var(--brand-fill); }
.rl-f-name { font: 650 13.5px var(--font-sans); fill: var(--text); }
.rl-f-hubname { font: 740 18px var(--font-sans); fill: var(--text); letter-spacing: -0.01em; }
.rl-f-mono { font: 500 12.5px var(--font-mono); fill: var(--ink-2); }
.rl-f-muted { fill: var(--text-muted); }
.rl-f-strong { font-weight: 720; fill: var(--text); }
.rl-f-small { font: 500 13.5px var(--font-sans); fill: var(--text); }
.rl-f-exitlabel { fill: var(--text-muted); font-size: 12.5px; }
.rl-f-check { fill: var(--tint-done); stroke: var(--state-done); stroke-width: 1.1; }
.rl-f-checkmark { fill: none; stroke: var(--state-done); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rl-f-div { stroke: var(--border); stroke-width: 1; }
.rl-f-lane { fill: none; stroke-width: 1.5; }
.rl-f-lane--out { stroke: var(--ink-2); }
.rl-f-lane--back { stroke: var(--state-done); stroke-dasharray: 5 4; }
.rl-f-lane--ghost { stroke: none; }
.rl-f-lane--exit { stroke: var(--state-attention); stroke-dasharray: 3 3; }
.rl-f-arrow { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rl-f-arrow--back { stroke: var(--state-done); }
.rl-f-arrow--exit { stroke: var(--state-attention); }
.rl-f-tok { stroke: var(--surface); stroke-width: 1.5; }
.rl-f-tok--file { fill: var(--state-flow); }
.rl-f-tok--back { fill: var(--state-done); }
.rl-f-tok--held, .rl-f-tok--waiting { fill: var(--state-attention); }
.rl-f-tok--routed { fill: var(--state-neutral); }
.rl-f-tok--flag { fill: var(--state-flow); stroke: var(--state-flow); stroke-width: 1.3; stroke-linejoin: round; }
.rl-f-exitglyph { fill: var(--state-attention); }
.rl-f-exitglyph--routed { fill: none; stroke: var(--state-neutral); stroke-width: 1.5; }
.rl-f-exitglyph--waiting { fill: none; stroke: var(--state-attention); stroke-width: 1.5; }

/* ── Simulator ──────────────────────────────────────────────────────────────────────────────────────────── */
.rl-sim { border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-2); }
.rl-sim__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 16px; border-bottom: 1.5px dashed var(--border-strong); }
.rl-sim__label { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 320px; }
.rl-sim__tag { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rl-sim__sub { font-size: var(--fs-sm); color: var(--text-muted); }
.rl-sim__clock { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 17px; font-weight: 650; min-width: 0; }
.rl-sim__time { white-space: nowrap; }
.rl-sim__clock .icon { align-self: center; }
.rl-sim__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rl-sim__speedlabel { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-left: 6px; }
/* Inject list on the left, the reaction on the right: a click shows its result in the same viewport. */
.rl-sim__grid {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  align-items: start;
}
.rl-sim__inject { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (min-width: 1024px) and (min-height: 860px) {
  /* The case list stays in reach while a long reaction card is read. */
  .rl-sim__inject { position: sticky; top: calc(var(--rl-top-h) + 12px); }
}
.rl-sim__react, .rl-sim__live { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rl-sim__live { margin: 0 16px 16px; }
.rl-sim__livehead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.rl-sim__board { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
@media (min-width: 1100px) { .rl-sim__board .rl-loop { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rl-sim__detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rl-sim__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rl-sim__h { font-size: var(--fs-lg); font-weight: 680; letter-spacing: -0.005em; }
.rl-sim__reacthead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
@media (max-width: 1023px) {
  .rl-sim__grid { grid-template-columns: minmax(0, 1fr); }
  .rl-sim__detail { grid-template-columns: minmax(0, 1fr); }
}

.rl-inject { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
@media (max-width: 1023px) { .rl-inject { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rl-inject { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rl-inject { grid-template-columns: minmax(0, 1fr); } }
.rl-inject__btn {
  width: 100%;
  height: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  transition: box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.rl-inject__btn:hover { border-color: var(--text); box-shadow: var(--shadow-2); }
.rl-inject__btn:active { background: var(--surface-2); }
.rl-inject__btn.is-active { border-color: var(--text); box-shadow: inset 3px 0 0 var(--text); }
.rl-inject__n { font-size: var(--fs-xs); color: var(--text-muted); align-self: start; padding-top: 2px; }
.rl-inject__main { min-width: 0; }
.rl-inject__title { display: block; font-weight: 650; font-size: var(--fs-md); line-height: 1.25; }
.rl-inject__hint { display: block; margin-top: 2px; font-size: var(--fs-xs); line-height: 1.3; color: var(--text-muted); }
.rl-inject__sev .glyph { width: 14px; height: 14px; }
.rl-sevc--crit { color: var(--sev-crit); }
.rl-sevc--high { color: var(--sev-high); }
.rl-sevc--warn { color: var(--sev-warn); }
.rl-sevc--info { color: var(--sev-info); }
.rl-sevc--none { color: var(--state-done); }

/* The day so far */
.rl-shops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px; }
.rl-shop { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: var(--fs-sm); background: var(--surface); }
.rl-shop__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 560; }
.rl-shop--failing { border-color: color-mix(in srgb, var(--sev-crit) 55%, var(--border)); background: var(--tint-crit); }
.rl-shop--paused { background: var(--tint-neutral); }
.rl-shop--held { border-color: color-mix(in srgb, var(--state-attention) 60%, var(--border)); background: var(--tint-warn); }
.rl-shop--held .health { color: var(--state-attention); }
.rl-shops-wrap { display: flex; flex-direction: column; gap: 8px; }
.rl-shops__banner { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--state-attention) 60%, var(--border)); border-left: 3px solid var(--state-attention); border-radius: var(--radius-sm); background: var(--tint-warn); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }
.rl-shops__banner .glyph { flex: none; margin-top: 3px; color: var(--state-attention); }
.rl-shop--onboarding { border-style: dashed; }
.rl-shop__open { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--text); color: var(--surface); font-size: var(--fs-2xs); font-weight: 800; }
.rl-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--border); }
.rl-loop__c { padding: 8px 12px; min-width: 0; background: var(--surface); }
.rl-loop__c--warn { grid-column: 1 / -1; }
.rl-loop dt { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.rl-loop dd { margin: 0; display: flex; flex-direction: column; }
.rl-loop__v { font-size: 25px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; font-variant-numeric: tabular-nums; }
.rl-loop__s { font-size: var(--fs-2xs); color: var(--text-muted); line-height: 1.3; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
/* Very narrow phones (320–360 px): two tiles per row, and shop names wrap instead of being cut. */
@media (max-width: 360px) {
  .rl-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-shop { flex-wrap: wrap; row-gap: 4px; }
  .rl-shop__name { flex-basis: calc(100% - 24px); white-space: normal; overflow: visible; }
}
.rl-loop__c--done .rl-loop__v { color: var(--state-done); }
.rl-loop__c--side .rl-loop__v { color: var(--state-attention); }
.rl-loop__c--warn { background: var(--tint-warn); }
.rl-otbl { border: 1px solid var(--border); border-radius: var(--radius); }
.rl-otbl .tbl { width: 100%; }
.rl-otbl .tbl th { position: static; }
.rl-otbl__pin td { background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); }
.rl-otbl__pin td:first-child { box-shadow: inset 3px 0 0 var(--text); }
.rl-otbl__shop { font-weight: 560; }
.rl-otbl td:first-child, .rl-otbl td:nth-child(2) { white-space: nowrap; }
.rl-otbl__state { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
/* Phones: each order becomes a small stacked block (no sideways scrolling). */
@media (max-width: 599px) {
  .rl-otbl { border: 0; background: transparent; overflow: visible; }
  .rl-otbl .tbl, .rl-otbl tbody { display: block; }
  .rl-otbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rl-otbl tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .rl-otbl td { display: block; padding: 0; border: 0; background: transparent; }
  .rl-otbl__pin td { background: transparent; }
  .rl-otbl__pin td:first-child { box-shadow: none; }
  .rl-otbl__pin { box-shadow: inset 3px 0 0 var(--text); }
  .rl-otbl .rl-otbl__when { grid-column: 1; grid-row: 1; color: var(--text-muted); }
  .rl-otbl .rl-otbl__shopc { grid-column: 2; grid-row: 1; white-space: normal; }
  .rl-otbl .rl-otbl__no { grid-column: 3; grid-row: 1; }
  .rl-otbl .rl-otbl__st { grid-column: 1 / -1; grid-row: 2; }
}
.rl-plog .plog__row { grid-template-columns: 44px 14px minmax(0, 1fr); }
.rl-plog__what { min-width: 0; overflow-wrap: anywhere; font-size: var(--fs-sm); line-height: 1.4; }
.rl-plog__file { font-size: var(--fs-xs); color: var(--text); }
.rl-plog--flag .plog__dir { color: var(--state-flow); }
.rl-plog--in .plog__dir { color: var(--state-done); }
.rl-plog--scen .rl-plog__file, .rl-plog--shop .rl-plog__file { font-weight: 700; }
.rl-plog--shop .plog__dir { color: var(--brand-text); }

/* Reaction */
.rl-inbox { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); max-height: 230px; overflow: auto; }
.rl-irow { width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border: 0; border-top: 1px solid var(--border); background: var(--surface); color: var(--text); text-align: left; min-height: 44px; }
.rl-inbox li:first-child .rl-irow { border-top: 0; }
.rl-irow:hover { background: var(--surface-2); }
.rl-irow[aria-current="true"] { background: var(--surface-3); box-shadow: inset 3px 0 0 var(--text); }
.rl-irow .glyph { width: 12px; height: 12px; }
.rl-irow--crit .glyph { color: var(--sev-crit); }
.rl-irow--high .glyph { color: var(--sev-high); }
.rl-irow--warn .glyph { color: var(--sev-warn); }
.rl-irow--info .glyph { color: var(--sev-info); }
.rl-irow--none .glyph { color: var(--state-done); }
.rl-irow__main { min-width: 0; }
.rl-irow__title { display: block; font-weight: 620; font-size: var(--fs-md); line-height: 1.3; }
.rl-irow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: var(--fs-xs); color: var(--text-muted); }
.rl-irow__meta .badge { font-size: var(--fs-2xs); }
.rl-irow__t { font-size: var(--fs-xs); color: var(--text-muted); }
.rl-irow--handled .rl-irow__title, .rl-irow--info .rl-irow__title { font-weight: 520; color: var(--text-muted); }
.rl-sim__card { min-width: 0; border-radius: var(--radius); }
/* After an inject: a brief ring marks the card that answers the click (static under reduced motion). */
.rl-sim__card.is-flash > .rl-scard { animation: rl-flash 1.3s var(--ease) 1; }
@keyframes rl-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--focus) 0%, transparent); } 18% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus) 70%, transparent); } 100% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--focus) 0%, transparent); } }
:root[data-motion="reduce"] .rl-sim__card.is-flash > .rl-scard { animation: none; outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rl-sim__card.is-flash > .rl-scard { animation: none; outline: 3px solid var(--focus); outline-offset: 2px; } }
.rl-smtp { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rl-smtp__note { font-size: var(--fs-xs); color: var(--text-muted); max-width: 30ch; line-height: 1.35; }
.rl-scard .card__head { padding: 16px 18px 12px 22px; }
.rl-scard .card__body { padding: 16px 18px 16px 22px; gap: 16px; }
.rl-scard .card__actions { padding: 12px 18px 12px 22px; }
.rl-scard .card__title { font-size: clamp(20px, 1.6vw, 24px); }
.rl-scard .card__title:focus { outline: none; }
.rl-scard .card__title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rl-scard .anat { grid-template-columns: 132px minmax(0, 1fr); }
.rl-scard .anat dd { font-size: var(--fs-md); }
.rl-scard__sec { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rl-scard .oline { grid-auto-columns: minmax(78px, 1fr); min-width: 0; }
.rl-scard .oline__label { font-size: var(--fs-sm); line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; padding-right: 6px; }
.rl-scard .evl__row { grid-template-columns: 16px 124px minmax(0, 1fr); }
.rl-scard .oline__sub { font-size: var(--fs-2xs); -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; padding-right: 6px; }
.rl-scard .oline__at { font-size: var(--fs-xs); }
.rl-code { font-size: var(--fs-xs); padding: 1px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); white-space: nowrap; }
.rl-scard .anat dd, .rl-scard .anat__next > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .rl-scard .anat { grid-template-columns: minmax(0, 1fr); }
  .rl-scard .anat dt { border-top: 1px solid var(--border); padding-bottom: 2px; }
  .rl-scard .anat dd { border-top: 0; }
  .rl-code { white-space: normal; overflow-wrap: anywhere; }
  .rl-scard .card__head, .rl-scard .card__body, .rl-scard .card__actions { padding-left: 14px; padding-right: 12px; }
  .rl-scard .kv { grid-template-columns: minmax(0, 1fr); gap: 0 0; }
  .rl-scard .kv dd { margin-bottom: 6px; }
  .rl-scard .kv .wire, .rl-scard .kv .mono { white-space: normal; overflow-wrap: anywhere; }
}
.rl-alerttitle { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); font-size: var(--fs-md); }
.rl-playing { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: var(--fs-md); }
.rl-without { margin: 0; display: flex; flex-direction: column; gap: 4px; border-radius: 0 var(--radius) var(--radius) 0; }
.rl-without__text { color: var(--text); font-size: var(--fs-md); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--sev-crit) 55%, transparent); text-decoration-thickness: 1px; }
.rl-without__origin { font-size: var(--fs-sm); }
.rl-origin { font-weight: 700; color: var(--text); }
.rl-empty { display: flex; flex-direction: column; gap: 6px; padding: 28px 8px 20px; }
.rl-empty__big { font-size: 76px; font-weight: 200; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.rl-empty__title { font-size: var(--fs-xl); font-weight: 650; }
.rl-empty__text { color: var(--text-muted); max-width: 52ch; }
.rl-empty--sm { padding: 24px 0; align-items: flex-start; }

/* Facts inside simulator cards */
.rl-facts { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rl-facts__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.rl-facts__h { margin-top: 4px; }
.rl-deadline { min-width: 180px; }
.rl-deadline .countdown { font-size: 44px; }
.rl-allocs { display: flex; flex-direction: column; gap: 10px; }
.rl-alloc { display: grid; grid-template-columns: 132px auto minmax(0, 1fr); gap: 12px; align-items: center; }
.rl-alloc__who { display: flex; flex-direction: column; }
.rl-alloc__n { font-size: var(--fs-sm); color: var(--text-muted); }
.rl-labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.rl-label { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rl-label__card { display: grid; grid-template-columns: 78px max-content auto; gap: 1px 8px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55; overflow-x: auto; box-shadow: 3px 3px 0 var(--surface-3); }
.rl-label__card--bad { border-color: var(--sev-crit); box-shadow: 3px 3px 0 var(--tint-crit); }
.rl-label__ruler { grid-column: 2 / -1; color: var(--text-muted); white-space: pre; font-size: 11.5px; }
.rl-label__line { display: contents; }
.rl-label__f { font-size: 10px; color: var(--text-muted); align-self: center; }
.rl-label__v { white-space: pre; }
.rl-label__n { font-size: 10px; color: var(--text-muted); text-align: right; align-self: center; }
.rl-label__line--over .rl-label__n { color: var(--sev-crit); font-weight: 800; }
.rl-label__cut { color: var(--sev-crit); background: var(--tint-crit); text-decoration: line-through; text-decoration-thickness: 2px; }
.rl-answers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rl-answer { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-left: 3px solid var(--state-done); border-radius: var(--radius); background: var(--surface); }
.rl-answer--attention { border-left-color: var(--state-attention); background: var(--tint-warn); }
.rl-answer__shape { font-size: 28px; font-weight: 250; line-height: 1; }
.rl-answer__head { font-weight: 650; }
.rl-copy { margin-top: 6px; max-width: 280px; }
.rl-diag { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 16px; }
.rl-diag__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rl-allow td { vertical-align: middle; }
.rl-diff { width: 100%; }
@media (max-width: 760px) { .rl-diag, .rl-facts__row { grid-template-columns: minmax(0, 1fr); } .rl-alloc { grid-template-columns: minmax(0, 1fr); } }

/* Approval dialog (simulated): one scroll container — the e-mail preview shows whole inside the dialog body. */
.rl-contract { display: flex; flex-direction: column; gap: 14px; }
.rl-approve .ap-payload, .rl-approve .mail__body, .rl-approve .code { max-height: none; overflow: visible; }
.rl-approve .modal__title:focus { outline: none; }
.rl-approve .modal__title:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rl-contract .envbar { border-radius: var(--radius-sm); padding: 6px 12px; }
.rl-reauth { margin: 0; padding: 10px 14px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; }
.rl-reauth legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; font-weight: 650; font-size: var(--fs-sm); }

/* ── Edge-case explorer ─────────────────────────────────────────────────────────────────────────────────── */
/* One control height (36 px) and one label baseline: every filter is «label above, control below». */
.rl-ex__filters { display: grid; grid-template-columns: minmax(240px, 1.5fr) minmax(180px, 0.8fr) auto auto; gap: 14px 18px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.rl-ex__filters .field { gap: 6px; }
.rl-ex__filters .field__label { line-height: 1.2; min-height: 17px; }
.rl-ex__filters .input, .rl-ex__filters .select { min-height: 36px; height: 36px; }
.rl-ex__sev { height: 36px; align-items: stretch; }
.rl-ex__sev .seg__opt { min-width: 40px; min-height: 30px; }
.rl-ex__prod { min-height: 36px; height: 36px; padding-top: 0; padding-bottom: 0; white-space: nowrap; }
.rl-ex__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin: 18px 0 12px; }
.rl-ex__count { font-weight: 680; font-size: var(--fs-lg); }
.rl-ex__honest { max-width: 70ch; }
.rl-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1880px) { .rl-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .rl-ex__filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 899px) { .rl-cases { grid-template-columns: minmax(0, 1fr); } .rl-ex__filters { grid-template-columns: minmax(0, 1fr); } }
.rl-case { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); min-width: 0; }
.rl-case__title:focus { outline: none; }
.rl-case__title:focus-visible, .rl-case:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.rl-case__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.rl-case__id { font-size: var(--fs-xs); font-weight: 800; }
.rl-tag { font-size: var(--fs-xs); padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); white-space: nowrap; }
.rl-case__lesson { display: inline-flex; align-items: center; gap: 3px; font-size: var(--fs-xs); font-weight: 750; color: var(--text); }
.rl-case__lesson .icon { width: 12px; height: 12px; }
.rl-case__title { font-size: var(--fs-lg); font-weight: 660; line-height: 1.3; letter-spacing: -0.005em; }
.rl-case__dl { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: var(--fs-md); line-height: 1.5; }
.rl-case__dl dt { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.rl-case__dl dd { margin: 0; min-width: 0; }
.rl-tiers { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: 1px; }
.rl-tier { font-size: var(--fs-2xs); font-weight: 750; padding: 0 5px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); white-space: nowrap; }
.rl-tier--E { border-style: dashed; }
.rl-ex__more { display: flex; justify-content: center; margin-top: 20px; }

/* ── Cockpit gallery ────────────────────────────────────────────────────────────────────────────────────── */
/* Full content width: the 1440 px screens are shown at about 94 % of their size, so their text stays legible. */
.rl-gal { display: flex; flex-direction: column; gap: 14px; }
.rl-gal__tabwrap { min-width: 0; }
.rl-tabs { display: flex; gap: 2px; }
.rl-gal__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.rl-tab { flex: none; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 14px; border: 0; border-radius: var(--radius) var(--radius) 0 0; background: transparent; color: var(--text); text-align: left; white-space: nowrap; }
.rl-tab:hover { background: var(--surface-3); }
.rl-tab[aria-selected="true"] { background: var(--surface); box-shadow: inset 0 -3px 0 var(--brand-fill); }
.rl-tab__n { font-size: var(--fs-xs); color: var(--text-muted); font-family: var(--font-mono); }
.rl-tab__label { font-weight: 660; font-size: var(--fs-md); line-height: 1.25; }
.rl-tab__sub { display: none; }
.rl-gal__panel { min-width: 0; }
.rl-shot { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rl-shot__frame { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-3); }
.rl-shot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: var(--fs-sm); }
.rl-shot__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.rl-shot__meta { color: var(--text-muted); font-size: var(--fs-xs); margin-left: auto; }
.rl-shot__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg); cursor: zoom-in; }
.rl-shot__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--surface-2); }
/* The 2560 px wall: a 1 : 1 crop of its top-left region (header, verdict sentence, flow); «Enlarge» shows it whole. */
.rl-shot__btn--crop { overflow: hidden; aspect-ratio: 16 / 9; }
.rl-shot__img--crop { width: 2560px; max-width: none; aspect-ratio: auto; height: auto; }
.rl-shot__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--radius); background: color-mix(in srgb, var(--text) 88%, transparent); color: var(--surface); font-size: var(--fs-sm); font-weight: 650; opacity: 0; transition: opacity var(--dur-2) var(--ease); }
.rl-shot__btn--crop .rl-shot__zoom { opacity: 1; }
.rl-shot__btn:hover .rl-shot__zoom, .rl-shot__btn:focus-visible .rl-shot__zoom { opacity: 1; }
.rl-shot__btn:focus-visible { outline-offset: -4px; }
.rl-shot__cap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px 36px; align-items: start; }
.rl-shot__lead { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; max-width: 84ch; }
.rl-look { margin: 0; padding-left: 18px; color: var(--text-muted); display: grid; gap: 4px; max-width: 84ch; }
.modal.rl-lb { width: min(1720px, 96vw); }
.rl-lb__body { display: flex; flex-direction: column; gap: 10px; }
.rl-lb__stage { display: grid; place-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.rl-lb__img { display: block; width: 100%; height: auto; max-height: calc(100vh - 250px); object-fit: contain; }
.rl-lb__img--crop { width: 100%; max-width: 100%; }
.rl-lb__cap { font-size: var(--fs-sm); color: var(--text-muted); }
@media (max-width: 899px) { .rl-shot__cap { grid-template-columns: minmax(0, 1fr); } .rl-shot__meta { margin-left: 0; } }

/* ── Onboarding ─────────────────────────────────────────────────────────────────────────────────────────── */
.rl-ob { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.rl-ob__left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rl-ob__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rl-obst { position: relative; }
.rl-obst::before { content: ""; position: absolute; left: 25px; top: 34px; bottom: -8px; width: 2px; background: repeating-linear-gradient(180deg, var(--border-strong) 0 4px, transparent 4px 8px); }
.rl-obst--done::before { background: var(--state-done); }
.rl-obst:last-child::before { display: none; }
.rl-obst__btn { position: relative; display: grid; grid-template-columns: 30px 40px minmax(0, 1fr); gap: 8px; align-items: center; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); text-align: left; }
.rl-obst__btn:hover { background: var(--bg); }
.rl-obst__btn[aria-current="step"] { background: var(--bg); box-shadow: inset 0 0 0 1px var(--border-strong); }
.rl-obst__node { display: grid; place-items: center; background: var(--surface); border-radius: 50%; }
.rl-obst__node .glyph { width: 18px; height: 18px; }
.rl-obst--done .rl-obst__node { color: var(--state-done); }
.rl-obst--current .rl-obst__node { color: var(--state-flow); }
.rl-obst--todo .rl-obst__node { color: var(--border-strong); }
.rl-obst__t { font-size: var(--fs-xs); color: var(--text-muted); }
.rl-obst__title { font-weight: 620; }
.rl-obst--todo .rl-obst__title { color: var(--text-muted); font-weight: 520; }
.rl-ob__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.rl-ob__progress { flex: 1 1 100px; height: 4px; }
.rl-ob__clock { font-size: var(--fs-md); font-weight: 680; }
.rl-ob__screen { padding: clamp(18px, 2.4vw, 32px); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-2); min-width: 0; }
.rl-ob__screen-in { display: flex; flex-direction: column; gap: 8px; }
.rl-ob__step { font-size: var(--fs-sm); color: var(--text-muted); }
.rl-ob__title { font-size: clamp(24px, 2.2vw, 32px); font-weight: 680; letter-spacing: -0.025em; line-height: 1.1; }
.rl-ob__text { font-size: 16px; line-height: 1.55; color: var(--text-muted); max-width: 62ch; margin-bottom: 12px; }
.rl-ob__mock { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.rl-ob__mock .code { max-height: none; }
.rl-ob__strip { max-width: 520px; }
.rl-ob__env { border-radius: var(--radius-sm); padding: 6px 10px; }
.rl-ob__big { font-size: clamp(20px, 1.8vw, 26px); font-weight: 650; letter-spacing: -0.015em; }
.rl-wp { display: flex; gap: 14px; align-items: center; }
.rl-wp__icon .rl-mark { width: 48px; height: 48px; }
.rl-wp__name { font-weight: 720; font-size: 18px; }
.rl-wp__active { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--state-done); font-weight: 650; font-size: var(--fs-sm); }
.rl-pair { font-family: var(--font-mono); font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: slashed-zero; }
.rl-oklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rl-okrow { display: flex; gap: 10px; align-items: baseline; }
.rl-okrow__m { flex: none; width: 14px; font-weight: 800; color: var(--state-done); }
.rl-okrow--bad .rl-okrow__m { color: var(--sev-crit); }
.rl-fix { color: var(--text-muted); }
.rl-after { list-style: none; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.rl-after__st { position: relative; padding: 16px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.rl-after__st::before { content: "→"; position: absolute; right: 10px; top: 14px; color: var(--text-muted); }
.rl-after__st:last-child::before { display: none; }
.rl-after__k { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); }
.rl-after__t { font-size: var(--fs-xl); font-weight: 660; letter-spacing: -0.01em; }
.rl-after__d { color: var(--text-muted); max-width: 46ch; }
@media (max-width: 1199px) { .rl-ob { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) { .rl-after { grid-template-columns: minmax(0, 1fr); } .rl-after__st::before { display: none; } }

/* ── ROI ────────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-roi { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 24px; align-items: start; }
.rl-roi__in { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rl-roi__h { padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.rl-roi__field .field__label { font-size: var(--fs-md); }
.rl-roi__input { max-width: 200px; font-size: 15px; min-height: 36px; }
.rl-roi__in .btn { align-self: flex-start; }
.rl-roi__out { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rl-roi__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rl-roi__tile { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.rl-roi__tile--main { grid-column: 1 / -1; border: 2px solid var(--text); }
.rl-roi__tile--eco { grid-column: 1 / -1; background: transparent; border-style: dashed; border-color: var(--border-strong); }
.rl-roi__label { font-size: var(--fs-xs); font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.rl-roi__value { font-size: clamp(30px, 3vw, 46px); font-weight: 280; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rl-roi__tile--main .rl-roi__value { font-size: clamp(42px, 4.6vw, 72px); }
.rl-roi__value--text { font-size: clamp(20px, 1.7vw, 26px); font-weight: 450; letter-spacing: -0.015em; }
.rl-roi__unit { font-size: 0.36em; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
.rl-roi__formula { font-size: var(--fs-xs); color: var(--text-muted); overflow-wrap: anywhere; }
.rl-roi__note { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.rl-roi__bars { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rl-bar { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.rl-bar__track { position: relative; height: 14px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.rl-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 0%); border-radius: 2px; transition: width var(--dur-3) var(--ease); }
.rl-bar__fill--old { background: repeating-linear-gradient(90deg, var(--ink-2) 0 7px, color-mix(in srgb, var(--ink-2) 55%, transparent) 7px 9px); }
.rl-bar__fill--new { background: var(--brand-fill); }
.rl-bar__v { text-align: right; }
.rl-roi__price { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-left: 3px solid var(--brand-fill); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--fs-md); }
.rl-roi__price .icon { color: var(--brand-text); margin-top: 2px; }
@media (max-width: 1199px) { .rl-roi { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .rl-roi__tiles { grid-template-columns: minmax(0, 1fr); } .rl-bar { grid-template-columns: minmax(0, 1fr) 70px; } .rl-bar__l { grid-column: 1 / -1; } }

/* ── Architecture ───────────────────────────────────────────────────────────────────────────────────────── */
.rl-arch { margin: 0; }
.rl-arch__grid { display: grid; grid-template-columns: minmax(170px, 0.9fr) minmax(96px, 0.5fr) minmax(0, 2.3fr) minmax(96px, 0.5fr) minmax(170px, 0.9fr); align-items: center; }
.rl-arch__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rl-arch__node { padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); min-width: 0; }
.rl-arch__node--llk { border: 2px solid var(--text); background: var(--surface); box-shadow: inset 0 3px 0 var(--brand-fill); }
.rl-arch__node--sub { background: var(--bg); }
.rl-arch__node--wms { background: var(--surface-2); }
.rl-arch__k { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); }
.rl-arch__t { font-size: var(--fs-lg); font-weight: 680; line-height: 1.25; margin-top: 2px; }
.rl-arch__l { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 3px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }
.rl-arch__env { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 36px 14px 14px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg); min-width: 0; }
.rl-arch__envlabel { position: absolute; left: 14px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
.rl-arch__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rl-arch__db { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: var(--fs-xs); color: var(--text-muted); }
.rl-arch__alerts { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-muted); }
.rl-arch__link { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px; text-align: center; min-width: 0; }
.rl-arch__arrow { font-size: 30px; line-height: 1; color: var(--text); }
.rl-arch__lt { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }
.rl-arch__ls { font-size: var(--fs-2xs); font-weight: 750; }
.rl-arch__down { text-align: center; font-size: 22px; line-height: 1; }
.rl-arch__cap { margin-top: 18px; font-size: var(--fs-md); color: var(--text-muted); max-width: 110ch; line-height: 1.55; }
@media (max-width: 1199px) {
  .rl-arch__grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rl-arch__link { flex-direction: row; justify-content: center; padding: 6px 0; }
  .rl-arch__arrow { transform: rotate(90deg); font-size: 24px; }
}
@media (max-width: 640px) { .rl-arch__pair { grid-template-columns: minmax(0, 1fr); } }
.rl-sec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.rl-secitem { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.rl-secitem__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg); }
.rl-secitem__t { font-weight: 680; margin-bottom: 4px; }
.rl-secitem__d { color: var(--text-muted); font-size: var(--fs-md); line-height: 1.55; }
.rl-deploy { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rl-deploy__card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); min-width: 0; }
.rl-deploy__card .icon { width: 22px; height: 22px; }
.rl-deploy__card--road { border-style: dashed; background: transparent; }
.rl-deploy__card .badge { align-self: flex-start; }
.rl-deploy__t { font-weight: 680; }
.rl-deploy__d { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; }
@media (max-width: 1199px) { .rl-sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rl-deploy { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rl-sec-grid { grid-template-columns: minmax(0, 1fr); } .rl-deploy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* White-label demo: the cockpit in miniature, re-skinned by the brand tokens (logo, product name, colours). */
.rl-brand { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.rl-brand__pick { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rl-brand__seg { flex-wrap: wrap; align-self: flex-start; }
.rl-brand__color { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.rl-brand__color input[type="color"] { width: 44px; height: 34px; padding: 2px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.rl-brand__report { display: grid; grid-template-columns: max-content max-content; gap: 4px 20px; margin: 0; font-size: var(--fs-sm); }
.rl-brand__report dt { color: var(--text-muted); }
.rl-brand__report dd { margin: 0; }
.rl-brand__mail { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 3px 0 var(--brand-fill); }
.rl-brand__plugin { display: flex; align-items: center; gap: 8px; }
.rl-brand__preview { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rl-brand__never { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--border-strong); }
.rl-brand__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rl-mini { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; box-shadow: var(--shadow-2); font-size: var(--fs-sm); }
.rl-mini .btn { pointer-events: none; }
.rl-mini__top { display: flex; align-items: center; gap: 14px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: inset 0 3px 0 var(--brand-fill); }
.rl-mini__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 760; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.rl-mini__mark { width: 24px; height: 24px; }
.rl-mini__logo { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 5px; background: var(--brand-fill); color: var(--brand-fill-ink); font: 800 11px var(--font-sans); letter-spacing: 0.03em; box-shadow: inset 0 -4px 0 var(--brand-accent); }
.rl-mini__scope { display: flex; flex-direction: column; font-size: var(--fs-xs); line-height: 1.25; color: var(--text-muted); padding-left: 12px; border-left: 1px solid var(--border); }
.rl-mini__scope b { color: var(--text); font-weight: 650; }
.rl-mini__count { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border: 1.5px solid var(--sev-crit); border-radius: var(--radius); font-weight: 700; color: var(--text); }
.rl-mini__count .glyph { color: var(--sev-crit); }
.rl-mini__sep { color: var(--text-muted); font-weight: 500; }
.rl-mini__body { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.rl-mini__nav { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--border); background: var(--surface); }
.rl-mini__navi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: var(--radius-sm); font-weight: 560; white-space: nowrap; }
.rl-mini__navi--on { background: var(--bg); box-shadow: inset 3px 0 0 var(--brand-fill); font-weight: 680; }
.rl-mini__pill { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--sev-crit); color: var(--surface); font-size: var(--fs-2xs); font-weight: 800; text-align: center; }
.rl-mini__main { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-width: 0; }
.rl-mini__verdict .verdict__row { grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) auto; gap: 12px; min-height: 42px; padding: 6px 10px 6px 16px; }
.rl-mini__verdict .verdict__word, .rl-mini__verdict .verdict__detail { font-size: var(--fs-md); }
.rl-mini__row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: inset 3px 0 0 var(--sev-crit); }
.rl-mini__row .glyph { color: var(--sev-crit); }
.rl-mini__rowmain { display: flex; flex-direction: column; min-width: 0; }
.rl-mini__rowmain span { font-size: var(--fs-xs); color: var(--text-muted); }
.rl-mini__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rl-mini__link { color: var(--brand-text); text-decoration: underline; text-underline-offset: 2px; font-size: var(--fs-sm); margin-left: 4px; }
.rl-mini__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 6px 12px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 1199px) { .rl-brand { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .rl-mini__body { grid-template-columns: minmax(0, 1fr); } .rl-mini__nav { display: none; } .rl-mini__scope { display: none; } }

/* ── Proof ──────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-tl { list-style: none; margin: 0 0 clamp(32px, 4vw, 52px); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rl-tl__st { position: relative; padding: 26px 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.rl-tl__st::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--text); }
.rl-tl__st::after { content: ""; position: absolute; top: 1px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text); box-sizing: border-box; }
.rl-tl__st--live::after { background: var(--state-done); border-color: var(--state-done); }
.rl-tl__st--now::after { background: linear-gradient(90deg, var(--state-flow) 50%, var(--bg) 50%); border-color: var(--state-flow); }
.rl-tl__st--next::before { background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 10px); }
.rl-tl__st--next::after { border-style: dashed; border-color: var(--border-strong); }
.rl-tl__d { font-size: var(--fs-sm); color: var(--text-muted); }
.rl-tl__t { font-size: var(--fs-lg); font-weight: 660; line-height: 1.3; max-width: 24ch; }
.rl-bigs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); margin: 0; }
.rl-big { display: flex; flex-direction: column; padding-top: 14px; border-top: 2px solid var(--text); }
.rl-big__v { font-size: clamp(34px, 3.6vw, 60px); font-weight: 280; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.rl-big__l { margin: 12px 0 0; color: var(--text-muted); line-height: 1.5; }
.rl-big__src { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
.rl-outcomes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.rl-outcome { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rl-outcome__l { font-size: var(--fs-xs); color: var(--text-muted); }
.rl-outcome__o { font-size: 17px; font-weight: 680; line-height: 1.3; letter-spacing: -0.01em; }
.rl-outcome__p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.rl-compare .tbl { width: 100%; }
.rl-compare .tbl th[scope="row"] { font-weight: 560; max-width: 34ch; }
.rl-compare .rl-compare__us { font-weight: 720; background: color-mix(in srgb, var(--brand-fill) 8%, var(--surface)); box-shadow: inset 2px 0 0 var(--brand-fill), inset -2px 0 0 var(--brand-fill); }
.rl-compare thead .rl-compare__us { box-shadow: inset 2px 0 0 var(--brand-fill), inset -2px 0 0 var(--brand-fill), inset 0 3px 0 var(--brand-fill); }
.rl-compare__chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 6px; border: 1.5px solid var(--brand-fill); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-weight: 750; text-transform: none; letter-spacing: 0; }
@media (max-width: 1199px) { .rl-bigs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rl-tl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 640px) { .rl-bigs, .rl-tl { grid-template-columns: minmax(0, 1fr); } }

/* ── Pilot ──────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-sec--pilot { background: var(--bg); }
.rl-pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 44px); border: 2px solid var(--text); border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 5px 0 var(--brand-fill); }
.rl-pilot__side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rl-pilot__head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rl-pilot__title { font-size: clamp(32px, 3.2vw, 52px); font-weight: 740; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.rl-pilot__lede { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; max-width: 40ch; }
.rl-pilot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 6px 0 2px; }
.rl-pilot__mail { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--fs-lg); }
.rl-pilot__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.rl-pilot__st { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-top: 1px solid var(--border); }
.rl-pilot__st:first-child { border-top: 2px solid var(--text); }
.rl-pilot__k { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); }
.rl-pilot__t { font-weight: 680; font-size: var(--fs-lg); }
.rl-pilot__d { font-size: var(--fs-md); color: var(--text-muted); line-height: 1.5; }
.rl-pilot__need { padding-top: 12px; border-top: 1px solid var(--border); line-height: 1.55; }
@media (max-width: 1199px) { .rl-pilot { grid-template-columns: minmax(0, 1fr); } }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────────────── */
.rl-foot { border-top: 1px solid var(--text); padding: 36px 0 48px; background: var(--bg); }
.rl-foot__in { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 18px 40px; }
.rl-foot__brand { display: flex; align-items: flex-start; gap: 12px; }
.rl-foot__brand .rl-mark { width: 30px; height: 30px; }
.rl-foot__text { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; max-width: 120ch; }
.rl-foot__tm { color: var(--text); }
.rl-foot__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin: 0 0 6px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.rl-foot__row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rl-foot__row dt { font-size: var(--fs-2xs); font-weight: 750; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text-muted); }
.rl-foot__row dd { margin: 0; color: var(--text); }
@media (max-width: 899px) { .rl-foot__trust { grid-template-columns: minmax(0, 1fr); } }
.rl-foot__meta { grid-column: 2; font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 760px) { .rl-foot__in { grid-template-columns: minmax(0, 1fr); } .rl-foot__meta { grid-column: 1; } }

/* ── Wide operations screens ────────────────────────────────────────────────────────────────────────────── */
@media (min-width: 2200px) {
  :root { --rl-max: 1680px; --rl-wide: 2080px; }
  .rl-hero__title { font-size: 104px; }
}

/* ── Motion ─────────────────────────────────────────────────────────────────────────────────────────────── */
:root[data-motion="reduce"] .rl-shot__zoom, :root[data-motion="reduce"] .rl-bar__fill { transition: none; }
@media (prefers-reduced-motion: reduce) { .rl-bar__fill { transition: none; } }

/* ── Forced colours ─────────────────────────────────────────────────────────────────────────────────────── */
@media (forced-colors: active) {
  .rl-inject__btn, .rl-irow, .rl-tab, .rl-obst__btn, .rl-case, .rl-roi__tile, .rl-arch__node { border: 1px solid CanvasText; }
  .rl-f-box { stroke: CanvasText; }
  .rl-bar__fill { forced-color-adjust: none; background: CanvasText; }
}
