/* ============================================================
   olentra.css — Olentra marketing site design system
   ------------------------------------------------------------
   STANDALONE. This file ships to getolentra.com only. It shares
   nothing with the Olentra application at drugtestmanagement.com:
   no imports, no shared selectors, no shared filenames. The
   application's styles.css / chq-nav.css are untouched and must
   stay that way.

   Identity brief: premium operations software for a regulated
   industry. Precise, engineered, calm, expensive. Software first —
   nothing in the visual language depicts testing, medicine or
   government. The product and the copy carry the industry.

   Palette logic: graphite + bone + ONE copper signal. Copper reads
   industrial and precise rather than clinical, and deliberately
   avoids the generic blue-gradient SaaS register. Operational
   status colours are a SEPARATE, cooler family so a status dot can
   never be confused with a brand accent.
   ============================================================ */

/* ---------- 1. Tokens ------------------------------------- */
:root {
  /* surfaces — warm neutrals, never pure #fff / #000 */
  --ink:        #0D1420;
  --ink-2:      #141C2A;
  --ink-3:      #1C2534;
  --graphite:   #2A3443;
  --slate:      #5A6473;
  --slate-2:    #8A93A3;
  --line:       #E3E6EC;
  --line-ink:   #232B38;
  --bone:       #F6F7FA;
  --bone-2:     #EDEFF4;
  --paper:      #FFFFFF;

  /* the single Olentra signal */
  --signal:     #0B57D0;
  --signal-lo:  #0A47AC;
  --signal-hi:  #4D8DF5;
  --signal-wash:#E4ECFB;

  /* operational status — cool family, kept apart from the brand */
  --st-active:  #2E7D6B;
  --st-pending: #8A6D3B;
  --st-review:  #47617F;
  --st-idle:    #6B7278;

  /* type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-micro: 0.6875rem;
  --fs-sm:    0.8125rem;
  --fs-base:  0.9375rem;
  --fs-lead:  clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h2:    clamp(1.875rem, 1.4rem + 2.1vw, 3.25rem);
  --fs-h1:    clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);
  --fs-mega:  clamp(3.5rem, 1.8rem + 7vw, 9rem);

  /* spacing + rhythm */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* widths — several, so hierarchy comes from differing edges */
  --w-prose: 62ch;
  --w-mid:   1080px;
  --w-page:  1280px;
  --w-wide:  1480px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px;

  /* motion — one easing family at three speeds */
  --e-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --e-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-mid:  340ms;
  --t-slow: 720ms;
}

/* ---------- 2. Reset -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss01" 1;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.036em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; }
p  { margin: 0; }

::selection { background: var(--signal); color: #fff; }

/* focus: visible, branded, never removed */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 3px;
}

.u-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bone); padding: var(--sp-3) var(--sp-5);
}
.skip:focus { left: var(--sp-4); top: var(--sp-4); }

/* ---------- 3. Layout ------------------------------------- */
.wrap  { width: min(100% - 2.5rem, var(--w-page)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2.5rem, var(--w-wide)); margin-inline: auto; }
.wrap--mid  { width: min(100% - 2.5rem, var(--w-mid));  margin-inline: auto; }
.prose { max-width: var(--w-prose); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--paper { background: var(--paper); }

/* hairline rules: 1px at low alpha does more for "engineered" than shadow */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .rule { background: var(--line-ink); }

/* ---------- 4. Eyebrow / label ---------------------------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 14px; height: 1px; background: var(--signal); flex: none;
}
.section--ink .eyebrow { color: var(--slate-2); }

/* ---------- 5. Buttons ------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.78em 1.35em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast) var(--e-out),
              background-color var(--t-fast) var(--e-out),
              border-color var(--t-fast) var(--e-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--signal { --btn-bg: var(--signal); --btn-fg: #fff; }
.btn--signal:hover { --btn-bg: var(--signal-lo); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--graphite); }
.section--ink .btn--ghost { --btn-fg: var(--bone); border-color: var(--line-ink); }
.section--ink .btn--ghost:hover { border-color: var(--slate); }

.btn--lg { padding: 0.95em 1.6em; font-size: var(--fs-base); }

/* arrow that travels on hover */
.btn svg, .lnk svg { transition: transform var(--t-fast) var(--e-out); }
.btn:hover svg, .lnk:hover svg { transform: translateX(3px); }

.lnk {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color var(--t-fast) var(--e-out);
}
.lnk:hover { border-color: var(--signal); }
.section--ink .lnk { color: var(--bone); border-color: var(--line-ink); }

/* ---------- 6. Product surface ----------------------------
   A marketing REPRESENTATION of the application, built in
   marketing-only HTML/CSS. It is not the app and is never loaded
   by the app. Chrome is deliberately understated so the content
   inside reads as the product, not as a screenshot frame.
   --------------------------------------------------------- */
.surface {
  background: var(--ink-2);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset,
              0 30px 60px -30px rgba(0,0,0,0.55);
}
.surface__bar {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line-ink);
  background: var(--ink-3);
}
.surface__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--graphite); flex: none; }
.surface__path {
  font-family: var(--f-mono); font-size: var(--fs-micro);
  color: var(--slate-2); letter-spacing: 0.02em;
}
.surface__body { padding: var(--sp-4); }

/* rows of operational records */
.rec {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-3);
  border-bottom: 1px solid var(--line-ink);
}
.rec:last-child { border-bottom: 0; }
.rec__id {
  font-family: var(--f-mono); font-size: var(--fs-micro);
  color: var(--slate); letter-spacing: 0.02em;
}
.rec__name { color: var(--bone); font-size: var(--fs-sm); font-weight: 500; }
.rec__meta { color: var(--slate-2); font-size: var(--fs-micro); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate-2);
  white-space: nowrap;
}
.status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-idle); flex: none;
}
.status--active::before  { background: var(--st-active); }
.status--pending::before { background: var(--st-pending); }
.status--review::before  { background: var(--st-review); }

/* ---------- 6b. Showcase ----------------------------------
   An auto-advancing tour of what the application does. Chapters
   on the left, one product surface on the right that cross-fades
   between them.

   Two decisions worth knowing before editing:

   1. The panels are STACKED IN ONE GRID CELL (all grid-area 1/1)
      rather than absolutely positioned. The stage therefore sizes
      itself to the tallest panel and never jumps height mid-cycle,
      and no panel needs a hard-coded height.

   2. The progress bar is a CSS animation, not a JS timer. That is
      what makes pause-on-hover a one-line rule, and it means the
      advance is driven by `animationend` — so if a user prefers
      reduced motion and the animation never runs, the tour simply
      never auto-advances and stays manual. That is the intended
      behaviour, not a fallback.
   --------------------------------------------------------- */
.show { display: block; }

/* Chapters as a horizontal tab row. See the note in showcase() — a vertical
   rail left the screenshot too narrow for the application's own type to be
   legible. */
.show__nav {
  display: flex;
  gap: clamp(var(--sp-2), 2vw, var(--sp-5));
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-5);
  overflow-x: auto;
  scrollbar-width: none;
}
.show__nav::-webkit-scrollbar { display: none; }

.show__chap {
  position: relative;
  flex: none;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit;
  padding: 0 2px var(--sp-3);
  white-space: nowrap;
}
.show__label {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-lead); font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--slate);
  transition: color var(--t-fast) var(--e-out);
}
.show__chap:hover .show__label,
.show__chap[aria-selected="true"] .show__label { color: var(--ink); }

/* The fill doubles as the timer — see the CSS-animation note above. */
.show__prog {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--signal);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.show__chap[aria-selected="true"] .show__prog {
  animation: show-fill var(--show-dur, 7000ms) linear forwards;
}
.show:hover .show__prog,
.show:has(.show__chap:focus-visible) .show__prog,
.show.is-paused .show__prog { animation-play-state: paused; }

@keyframes show-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.show__stage { display: grid; }
.show__panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
  pointer-events: none;
}
.show__panel.is-on { opacity: 1; transform: none; pointer-events: auto; }

.show__cap {
  margin: var(--sp-4) 0 0;
  max-width: 62ch;
  font-size: var(--fs-sm); line-height: 1.6;
  color: var(--slate);
}

/* A screenshot of the application. Used by the tour and by the standalone
   shots in the hero and section bodies. No browser chrome is drawn around
   them: the captures already contain the product's own sidebar and header,
   and a second frame around that reads as a stock photo of software. */
.shot, .show__shot {
  display: block;
  width: 100%; height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bone);
  box-shadow: 0 24px 50px -28px rgba(13, 20, 32, 0.35);
}
/* On the dark sections the light hairline would ring the image. */
.section--ink .shot, .section--ink .show__shot {
  border-color: var(--line-ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.show__panel {
  grid-area: 1 / 1;              /* every panel shares one cell — see note 1 */
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
  pointer-events: none;
}
.show__panel.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---- panel interiors --------------------------------------
   Each chapter gets a genuinely different interior. Six variations
   on one table would advertise one screen six times.             */

/* figure strip — a few numbers above a list */
.figs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--line-ink);
}
.fig__n {
  display: block;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 600;
  color: var(--bone); letter-spacing: -0.02em; line-height: 1.1;
}
.fig__l {
  display: block; margin-top: 4px;
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-2);
}

/* result chip — reads as a value, not as a status dot */
.chip {
  display: inline-block;
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line-ink);
  color: var(--slate-2); white-space: nowrap;
}
.chip--ok    { color: #7FBFAF; border-color: #2C4A44; }
.chip--watch { color: #C9A96A; border-color: #4A3F2C; }
.chip--stop  { color: #D08A8A; border-color: #4A2F2F; }

/* right-aligned monetary column */
.rec--money { grid-template-columns: auto 1fr auto auto; }
.money {
  font-family: var(--f-mono); font-size: var(--fs-sm);
  color: var(--bone); white-space: nowrap;
}

/* a closing line inside the surface, e.g. what the screen produced */
.surface__foot {
  display: flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-3); padding-top: var(--sp-3);
  border-top: 1px solid var(--line-ink);
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.04em; color: var(--slate-2);
}
.surface__foot svg { color: var(--signal-hi); flex: none; }

@media (prefers-reduced-motion: reduce) {
  .show__panel { transition: none; }
  .show__blurb { transition: none; }
  .show__chap[aria-selected="true"] .show__prog { animation: none; transform: scaleY(1); }
}

/* ---------- 7. Motion primitives -------------------------- */
.rise {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity var(--t-slow) var(--e-out), transform var(--t-slow) var(--e-out);
  transition-delay: var(--d, 0ms);
}
.rise.is-in { opacity: 1; transform: none; }

.mask { display: block; overflow: hidden; }
.mask > span {
  display: block;
  transform: translate3d(0, 105%, 0);
  transition: transform var(--t-slow) var(--e-out);
  transition-delay: var(--d, 0ms);
}
.is-in > .mask > span, .mask.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise, .mask > span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   8 — TICKER (regulatory posture, always first)
   ============================================================ */
.ticker {
  background: var(--ink);
  color: var(--slate-2);
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.04em;
}
.ticker__in {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-block: 0.55rem; flex-wrap: wrap;
}
.ticker__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--signal); flex: none; }

/* ============================================================
   9 — BRAND MARK
   Abstract and geometric on purpose: two offset apertures closing
   onto a common axis. It reads "system / record", and deliberately
   depicts nothing about testing, medicine or compliance.
   ============================================================ */
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: inherit;
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.0625rem; letter-spacing: -0.025em;
}
.brand__mark {
  position: relative;
  width: 22px; height: 22px; flex: none;
  border: 1.5px solid currentColor;
  border-radius: 6px;
}
.brand__mark::before {
  content: "";
  position: absolute; left: 3px; top: 50%;
  width: 8px; height: 1.5px; background: currentColor; transform: translateY(-50%);
}
.brand__mark::after {
  content: "";
  position: absolute; right: 3px; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--signal); transform: translateY(-50%);
}
.brand__word { line-height: 1; }

/* ============================================================
   10 — NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-mid) var(--e-out), background-color var(--t-mid) var(--e-out);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in {
  display: flex; align-items: center; gap: var(--sp-6);
  padding-block: var(--sp-4);
}
.nav__links { display: flex; gap: var(--sp-5); margin-left: auto; }
.nav__links a {
  position: relative;
  text-decoration: none; color: var(--slate);
  font-size: var(--fs-sm); font-weight: 500;
  transition: color var(--t-fast) var(--e-out);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--signal); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--t-mid) var(--e-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__act { display: flex; align-items: center; gap: var(--sp-4); }
.nav__signin { border-bottom-color: transparent; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 40px; height: 36px; margin-left: auto;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer;
}
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin-inline: auto; transition: transform var(--t-fast) var(--e-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* mobile menu — a full surface, not a cramped dropdown */
.mnav {
  position: fixed; inset: 0; z-index: 88;
  background: var(--bone);
  padding: 6rem var(--sp-5) var(--sp-6);
  overflow-y: auto;
}
.mnav__in { display: flex; flex-direction: column; gap: var(--sp-2); }
.mnav__in > a {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.75rem; letter-spacing: -0.03em;
  text-decoration: none; color: var(--ink);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
  transition-delay: var(--d, 0ms);
}
.mnav.is-open .mnav__in > a { opacity: 1; transform: none; }
.mnav__act { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.mnav__act .btn { justify-content: center; }

@media (max-width: 900px) {
  .nav__links, .nav__act { display: none; }
  .nav__burger { display: flex; }
}

/* ============================================================
   11 — HERO
   ============================================================ */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 7vw, 6rem); }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* The hero visual is a real screenshot of the application, so the column is
   weighted towards it: at the old even split it landed near 690px, which
   renders the app's own type at under half size and reads as a thumbnail.
   The copy column is unaffected — its measure is already capped by
   .hero__lead's max-width.

   ⚠️ Do NOT widen this further with `width: calc(100% + …)` to bleed into the
   gutter. That was tried and it pushes the document wider than the viewport:
   measured horizontal overflow at both 1600px and 1280px. Any extra width has
   to come from the grid ratio, not from overflowing the wrap. */
.hero h1 { margin-bottom: var(--sp-5); }
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__note {
  margin-top: var(--sp-4);
  font-family: var(--f-mono); font-size: var(--fs-micro);
  color: var(--slate-2); letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__vis { order: 2; }
  .hero__copy { order: 1; }
}

/* ============================================================
   12 — FLOW
   Numbered operational sequence. Connected by a drawn rule so it
   reads as one process, not six cards.
   ============================================================ */
.flow__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.flow__head h2 { margin-bottom: var(--sp-4); }
.flow__head p { color: var(--slate); }

.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.flow__step {
  background: var(--bone);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  transition: background-color var(--t-mid) var(--e-out);
}
.flow__step:hover { background: var(--paper); }
.flow__n {
  display: block;
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.14em; color: var(--signal);
  margin-bottom: var(--sp-4);
}
.flow__step h3 { margin-bottom: var(--sp-2); }
.flow__step p { color: var(--slate); font-size: var(--fs-sm); }

/* the sequence reveals in order rather than all at once */
.flow__step { opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-slow) var(--e-out), transform var(--t-slow) var(--e-out), background-color var(--t-mid) var(--e-out);
  transition-delay: var(--d, 0ms); }
.flow__step.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .flow__step { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mnav__in > a { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   13 — FOOTER
   ============================================================ */
.foot { background: var(--ink); color: var(--slate-2); padding-block: var(--sp-8) var(--sp-6); }
.foot .rule { background: var(--line-ink); margin-block: var(--sp-6) var(--sp-5); }
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
}
.brand--foot { color: var(--bone); }
.foot__blurb { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--slate-2); max-width: 34ch; }
.foot__h {
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 var(--sp-4); font-weight: 500;
}
/* :not(.brand) — this rule forces display:block on footer links, and the
   brand anchor is also a direct child here. Without the exclusion it
   overrode .brand's inline-flex and collapsed the mark to 2px wide. */
.foot__grid > div > a:not(.brand) {
  display: block; text-decoration: none; color: var(--slate-2);
  font-size: var(--fs-sm); padding-block: 0.3rem;
  transition: color var(--t-fast) var(--e-out);
}
.foot__grid > div > a:hover { color: var(--bone); }
.foot__fine { font-size: var(--fs-micro); color: var(--slate); max-width: 78ch; line-height: 1.7; }

@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ============================================================
   14 — INTERIOR PAGE HEAD
   ============================================================ */
.phead { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.phead h1 { max-width: 18ch; margin-bottom: var(--sp-5); }
.phead__lead { font-size: var(--fs-lead); color: var(--slate); max-width: 58ch; }

/* ============================================================
   15 — SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--tight { gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.split h2 { margin-bottom: var(--sp-4); }
.split__lead { color: var(--slate); margin-bottom: var(--sp-5); }
.section--ink .split__lead { color: var(--slate-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ============================================================
   16 — TICK LIST
   A hairline marker, not a checkmark icon: the brief rules out
   giant checkmarks, and a rule reads more engineered anyway.
   ============================================================ */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  font-size: var(--fs-sm);
  color: var(--slate);
}
.section--ink .ticks li { color: var(--bone); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 12px; height: 1px; background: var(--signal);
}

/* ============================================================
   17 — COLUMN GRID (capability groups)
   Hairline-separated cells rather than floating cards.
   ============================================================ */
.cols {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.col {
  background: var(--bone);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow) var(--e-out),
              transform var(--t-slow) var(--e-out),
              background-color var(--t-mid) var(--e-out);
  transition-delay: var(--d, 0ms);
}
.col.is-in { opacity: 1; transform: none; }
.col:hover { background: var(--paper); }
.col h3 { margin-bottom: var(--sp-2); }
.col p { color: var(--slate); font-size: var(--fs-sm); }
@media (max-width: 900px) { .cols { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } }

/* ============================================================
   18 — PRICING TIERS
   ============================================================ */
.tiers {
  margin-block: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tier {
  background: var(--bone);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex; flex-direction: column; gap: var(--sp-2);
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--t-slow) var(--e-out), transform var(--t-slow) var(--e-out);
  transition-delay: var(--d, 0ms);
}
.tier.is-in { opacity: 1; transform: none; }
.tier--mark { background: var(--paper); box-shadow: inset 0 2px 0 var(--signal); }
.tier__name {
  font-family: var(--f-mono); font-size: var(--fs-micro);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate);
}
.tier__price {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1;
}
.tier__unit { font-family: var(--f-mono); font-size: var(--fs-micro); color: var(--slate); }
.tier .btn { margin-top: auto; justify-content: center; }
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }

/* ============================================================
   19 — PANEL + FINE PRINT
   ============================================================ */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; gap: var(--sp-4); justify-items: start;
}
.panel__lead { color: var(--slate); font-size: var(--fs-sm); }
.fine {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--fs-micro);
  line-height: 1.7;
  color: var(--slate);
  max-width: 82ch;
}
.section--ink .fine { color: var(--slate-2); }

/* ============================================================
   20 — CLOSING CTA
   ============================================================ */
.cta { padding-block: clamp(4rem, 9vw, 7rem); }
.cta__in { text-align: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; margin-bottom: var(--sp-4); }
.cta__lead { color: var(--slate-2); max-width: 54ch; margin-inline: auto; margin-bottom: var(--sp-6); }
.cta__act { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .col, .tier { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Section leads need air under a display heading; the h2 has no bottom
   margin by default because most headings here are followed by a grid. */
.section h2 + .prose,
.section h2 + p.rise { margin-top: var(--sp-4); color: var(--slate); }

/* ============================================================
   21 — LEGAL DOCUMENTS
   Ported copy keeps its own headings and lists; this only sets
   readable measure and rhythm around it.
   ============================================================ */
.legal { font-size: var(--fs-base); color: var(--slate); }
.legal h2 { font-size: var(--fs-h3); color: var(--ink); margin: var(--sp-7) 0 var(--sp-3); }
.legal h3 { font-size: 1.05rem; color: var(--ink); margin: var(--sp-5) 0 var(--sp-2); }
.legal p, .legal li { max-width: 74ch; }
.legal p { margin-bottom: var(--sp-4); }
.legal ul, .legal ol { padding-left: 1.25rem; margin-bottom: var(--sp-4); }
.legal li { margin-bottom: var(--sp-2); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--signal); }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-4); font-size: var(--fs-sm); }
.legal th, .legal td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); }
.legal .gov-band, .legal .site-head, .legal nav { display: none; }

/* ============================================================
   22 — REAL BRAND LOGO
   The CSS aperture mark was a stand-in built before the brand
   asset existed. The supplied lockup is navy (#0C183C) on
   transparent, so it is used on LIGHT surfaces only; the dark
   footer takes the mark alone with the wordmark set in type,
   because navy on ink is unreadable.
   ============================================================ */
.brand__logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand__glyph {
  width: 35px;
  height: 35px;
  flex: none;
  display: block;
}
@media (max-width: 560px) { .brand__logo { height: 33px; } }
