/* Chrome — nav, burger, footer. Classes exist because inline styles cannot
   express :hover, :focus-visible, or media queries.

   Values verified against the design files, not transcribed:
     nav    — build.html:30-47
     burger — Tablet/Mobile ...Homepage.dc.html (the desktop file has no burger)
     footer — Desktop ...Homepage Globe.dc.html:849 + build.html:81
*/

/* Short pages (legal, thin blog posts) left a band of raw page background
   BELOW the footer at tall viewports (audited: up to 352px on /privacy/ at
   1920). Flex the body so main grows and the footer terminates the page. */
body {
  min-height: 100svh;
  display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }

.oi-body-bg {
  background: var(--paper);
  background-image: radial-gradient(circle at center, rgba(36, 51, 81, 0.05) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

/* ---- Skip-link ---- */
/* Off-screen until focused (never display:none — that drops it from the tab
   order, defeating the point). On focus it slides into the top-left over the
   sticky nav (z above .oi-nav's 55). Amber pill, mono, matching the DS. */
.oi-skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-160%);
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--navy-950); background: var(--amber-500);
  border-radius: var(--radius-pill);
  text-decoration: none; transition: transform var(--dur-quick) var(--ease-out);
}
.oi-skip-link:focus { transform: translateY(0); color: var(--navy-950); box-shadow: var(--shadow-lg); }

/* <main> is a skip-link target (tabindex="-1"). Focusing it must move the
   caret without drawing the DS focus ring around the entire page body. */
main:focus, main:focus-visible { outline: none; box-shadow: none; }

.oi-spectrum-bar {
  display: block; width: 56px; height: 3px;
  border-radius: 2px; background: var(--spectrum); margin-block: 10px 18px;
}
/* The subpage heroes draw it at 64px; the homepage/legal pages at 56px. */
.oi-spectrum-bar--wide { width: 64px; }

/* ---- Nav ---- */
.oi-nav {
  position: sticky; top: 0; z-index: 55;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.oi-nav__inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 0 var(--gutter); height: 72px;
  display: flex; align-items: center; gap: 28px;
}
/* ---- Nav tint (homepage only) ----
   The design's homepage nav floats transparent + white over dark sections
   (the hero, #close) and becomes the paper bar over light ones. nav.js adds
   .oi-nav--tint on any page with a [data-dark] section and toggles --dark /
   --solid on scroll. Subpages have no [data-dark] section, so they keep the
   static .oi-nav treatment above. Values are the design's own
   (rgba(251,250,247,0.82), #fff links, logo-on-dark). */
.oi-nav--tint {
  background: rgba(251, 250, 247, 0);
  border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.oi-nav--tint.oi-nav--solid {
  background: rgba(251, 250, 247, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
/* Over a dark section: light logo + white nav content. */
.oi-nav--tint.oi-nav--dark .oi-navlink,
.oi-nav--tint.oi-nav--dark .oi-caps__trigger { color: #fff; }
.oi-nav--tint.oi-nav--dark .oi-navlink:hover,
.oi-nav--tint.oi-nav--dark .oi-caps__trigger:hover { color: var(--amber-400); }
.oi-nav--tint.oi-nav--dark .oi-phone--nav { color: rgba(255, 255, 255, 0.82); }
.oi-nav--tint.oi-nav--dark .oi-phone--nav:hover { color: #fff; }
.oi-nav--tint.oi-nav--dark .oi-burger { color: #fff; }

/* Homepage: the nav floats over the hero. Fixed (not sticky) so it reserves NO
   flow space — the hero starts at y=0 and the dark globe fills to the top edge
   with the transparent nav over it. This avoids the negative-margin approach,
   which left a viewport-height-dependent gap in some browsers. Subpages keep
   the sticky nav above their light hero. Set by nav_over_hero in _nav.html. */
.oi-nav--fixed { position: fixed; top: 0; left: 0; right: 0; }

.oi-nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.oi-nav__links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.oi-nav__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.oi-navlink {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--text-body); padding: 8px 12px; border-radius: 6px;
  text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color var(--dur-quick) var(--ease-out);
}
.oi-navlink:hover, .oi-navlink:focus-visible { color: var(--amber-600); }

/* ---- Capabilities dropdown ---- */
.oi-caps { position: relative; }
.oi-caps__menu {
  position: absolute; top: 100%; left: 0; margin-top: 4px; min-width: 248px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .16s var(--ease-out), transform .16s var(--ease-out);
}
.oi-caps:hover .oi-caps__menu,
.oi-caps:focus-within .oi-caps__menu,
.oi-caps__menu[data-open] { opacity: 1; pointer-events: auto; transform: none; }

.oi-dditem {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 7px; text-decoration: none; font-size: 14px;
  font-weight: 500; color: var(--text-body);
}
.oi-dditem:hover, .oi-dditem:focus-visible { background: var(--paper-2); }
.oi-sw { width: 9px; height: 9px; border-radius: 2px; flex: 0 0 auto; }

/* ---- Phone, 4 variants ---- */
.oi-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.oi-phone--nav { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.oi-phone--nav:hover { color: var(--amber-600); }
.oi-phone--footer { font-size: 14px; color: var(--text-on-ink-muted); }
/* Design has no footer phone *link* to copy (the homepage footer renders it as a
   span). Matched to its sibling footer links' #fff hover rather than amber. */
.oi-phone--footer:hover { color: var(--text-on-ink-strong); }
.oi-phone--ghost {
  height: 52px; padding: 0 22px; justify-content: center; gap: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.30); border-radius: var(--radius-md);
  color: var(--text-on-ink); font-size: var(--text-size-body); font-weight: 600;
}
.oi-phone--ghost:hover { border-color: rgba(255, 255, 255, 0.55); }
/* Tablet ...dc.html:126 — the menu phone is --text-muted, matching .oi-phone--nav. */
.oi-phone--menu { font-family: var(--font-mono); font-size: 13.5px; padding: 12px; color: var(--text-muted); }

/* ---- Amber CTA ---- */
/* The design uses two amber CTA heights, contextually — not one:
     50px  subpage CTAs + the modal submit  (19 uses)
     54px  homepage hero + closing CTAs     (--oi-btn-amber--hero, Phase 4)
   Base is 50px because every page shipped so far is a subpage. Using
   --control-h-lg (54px) here silently inflated all five of them. */
.oi-btn-amber, .oi-btn-dark, .oi-btn-red, .oi-btn-navy { white-space: nowrap; }
.oi-btn-amber {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px;
  font-family: var(--font-sans); font-size: var(--text-body-lg); font-weight: 600;
  border-radius: var(--radius-md); border: 1.5px solid var(--amber-500);
  background: var(--amber-500); color: var(--navy-900);
  box-shadow: var(--shadow-accent); text-decoration: none; cursor: pointer;
  transition: background var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out);
}
.oi-btn-amber:hover { background: var(--amber-600); border-color: var(--amber-600); }
/* build.html:44 — the nav CTA is 40px/18px/15px. */
.oi-btn-amber--sm { height: 40px; padding: 0 18px; font-size: 15px; }
/* Homepage hero + #close only. Phase 4 uses this; nothing shipped yet does. */
.oi-btn-amber--hero { height: var(--control-h-lg); }

/* ---- Burger + sheet (<=1024px) ---- */
/* Icon, 44x44 hit target, optically nudged -6px to the container edge —
   lifted from the tablet/mobile design files. */
.oi-burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  margin-right: -6px; background: transparent; border: 0; cursor: pointer; padding: 0;
  color: var(--text-strong);
}

.oi-navmenu {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 54;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 12px 16px 20px;
  display: flex; flex-direction: column; gap: 2px;
  /* Design says calc(100cqh - 72px); cqh is an artifact of the design canvas
     being a container — svh is the real-page equivalent. */
  max-height: calc(100svh - 72px); overflow: auto;
}
.oi-navmenu[hidden] { display: none; }
.oi-navmenu__label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-faint); padding: 8px 12px 4px;
}
/* 15px text + 15px block padding = 45px, clearing the 44px hit target.
   The design file's 12px padding measured ~42px — under the mandate. */
.oi-navmenu__row {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 12px; font-size: 15px; font-weight: 500;
  color: var(--text-body); text-decoration: none; border-radius: 8px;
}
.oi-navmenu__row:hover { background: var(--paper-2); }
/* Design insets the rule 12px, aligning it with the rows' text. */
.oi-navmenu__rule { border: none; border-top: 1px solid var(--line-soft); margin: 8px 12px; }

@media (max-width: 1024px) {
  .oi-nav__links { display: none; }
  .oi-burger { display: flex; }
}

/* Nothing in the nav may wrap. The design's own subpages break the phone
   mid-number at 390 ("(866) 371-" / "1711") and wrap the CTA to two lines,
   which is why the mobile homepage gives up and hides the phone outright. */
.oi-phone--nav,
.oi-nav__right .oi-btn-amber, .oi-btn-dark, .oi-btn-red, .oi-btn-navy { white-space: nowrap; }
.oi-btn-amber { white-space: nowrap; }

/* <=480: the number itself doesn't fit beside the logo, CTA and burger — the
   mobile design file resolves that by hiding the phone entirely
   ([data-nav-phone]{display:none}). We keep the glyph instead: it holds the
   44px tap target and tel: on the one device that can actually dial it, at a
   fraction of the width. The full number stays in the burger sheet and footer. */
@media (max-width: 480px) {
  .oi-phone--nav span { position: absolute; width: 1px; height: 1px; overflow: hidden;
                        clip-path: inset(50%); white-space: nowrap; }
  .oi-phone--nav {
    width: 44px; height: 44px; justify-content: center; gap: 0;
    margin-right: -4px; color: var(--text-strong);
  }
  .oi-nav__inner { gap: 12px; }
  .oi-nav__right { gap: 6px; }
}

/* ---- Footer ---- */
/* navy-950 and the amber-400 column heads are unanimous across all 10 design files. */
.oi-footer {
  background: var(--navy-950); color: var(--text-on-ink); padding-top: var(--space-11);
  /* The deck's mandatory snap needs a snap position that covers the document
     end — without one, scrolling past #close yanks back up and the footer is
     unreachable. align:end parks the footer's bottom at the viewport bottom. */
  scroll-snap-align: end;
}
.oi-footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.oi-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: var(--space-9);
}
.oi-footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 300px; }
.oi-footer__brand img { align-self: flex-start; }
.oi-footer__tagline { color: var(--text-on-ink-muted); font-size: 14px; line-height: 1.6; }
.oi-footer__col { display: flex; flex-direction: column; gap: 10px; }
.oi-footer__head {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-400); margin-bottom: 4px;
}
.oi-footer__col a { color: var(--text-on-ink-muted); font-size: 14px; text-decoration: none; }
.oi-footer__col a:hover { color: var(--text-on-ink-strong); }
/* Address — build.html renders it as a plain span in the contact column. The
   <address> element is the semantic fit but defaults to italic; the design is not. */
.oi-footer__address {
  font-style: normal; font-size: 14px;
  color: var(--text-on-ink-muted); line-height: 1.5;
}

.oi-footer__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--border-ink);
  flex-wrap: wrap; gap: 16px;
}
.oi-footer__copyright { font-size: 13px; color: var(--text-on-ink-muted); }
.oi-footer__spectrum { width: 120px; height: 3px; border-radius: 2px; background: var(--spectrum); }

@media (max-width: 1024px) {
  /* One giant column made the footer ~1056px tall — 125% of a phone viewport.
     Keep the 44px tap targets (each link below) but put the link columns SIDE
     BY SIDE: brand on top, capabilities | company sharing a row, contact
     across the bottom (or all three abreast >=640). Tighter chrome throughout.
     Result: ~55-70% of a viewport instead of 125%. */
  .oi-footer { padding-top: clamp(40px, 6.5vh, 64px); }
  .oi-footer__grid { grid-template-columns: 1fr 1fr; gap: 18px 28px; padding-bottom: var(--space-7); }
  .oi-footer__brand { grid-column: 1 / -1; gap: 12px; }
  .oi-footer__col--contact { grid-column: 1 / -1; }
  .oi-footer__bar { padding: 16px 0; }
  .oi-footer__col { gap: 0; }
  .oi-footer__col a {
    display: inline-flex; align-items: center;
    min-height: 44px; align-self: stretch;
  }
}
@media (min-width: 640px) and (max-width: 1024px) {
  .oi-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .oi-footer__col--contact { grid-column: auto; }
}

/* ============================================================================
   Subpage furniture — capability pages, panel, team.

   Values ported from the design's inline styles, not invented:
     capability  — build/collect/verify/analyze.html:49-101
     panel       — panel.html:48-105
     team        — team.html:53-172
   The design's ~176 style-hover attributes collapse here because inline styles
   cannot express :hover or media queries.

   NOTE on --text-body: in the design's inline styles it is a FONT SIZE. In
   ds.css it is a COLOR (Phase 1 renamed the size to --text-size-body to fix the
   collision). Every `font-size:var(--text-body)` below is therefore
   var(--text-size-body). Copying the design literally would size text with a
   colour and silently fall back.
   ========================================================================= */

/* ---- Shared: back-to-home link ---- */
.oi-backlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  color: var(--text-muted); text-decoration: none; margin-bottom: 26px;
  transition: color var(--dur-quick) var(--ease-out);
}
.oi-backlink:hover, .oi-backlink:focus-visible { color: var(--amber-600); }

/* ---- Shared: card shell + hover (design's .card) ---- */
.oi-card {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: var(--space-6); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .26s var(--ease-out), box-shadow .26s, border-color .26s;
}
.oi-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
@media (prefers-reduced-motion: reduce) {
  .oi-card { transition: box-shadow .26s, border-color .26s; }
  .oi-card:hover { transform: none; }
}

/* ---- Shared: dark secondary button (design's .btn-dark) ---- */
.oi-btn-dark {
  align-self: flex-start; margin-top: 4px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  border-radius: var(--radius-md); border: 1.5px solid var(--navy-800);
  background: var(--navy-800); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background var(--dur-quick) var(--ease-out);
}
.oi-btn-dark:hover { background: var(--navy-950); }

/* ---- Shared: pill badge ---- */
.oi-badge {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.oi-badge--verify { color: var(--verify-600); background: var(--verify-100); }
.oi-badge--navy { color: var(--navy-600); background: var(--navy-050); }
.oi-badge--amber { color: var(--amber-700); background: var(--amber-100); }

/* ---- Shared: closing CTA band ---- */
.oi-cap__closing-wrap { padding-block: var(--space-7) var(--space-10); }
.oi-cap__closing {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: var(--space-7) var(--space-8);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.oi-cap__closing-copy { flex: 1; min-width: 240px; }
.oi-cap__closing-title {
  font-size: var(--text-h4); font-weight: 700;
  color: var(--text-strong); letter-spacing: -.01em; margin: 0;
}
.oi-cap__closing-note { font-size: 14px; color: var(--text-muted); margin: 6px 0 0; }

/* ---- Capability hero ---- */
.oi-cap__hero { padding-block: var(--space-10) var(--space-7); }
.oi-cap__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cap-accent); margin: 0;
}
.oi-cap__headline {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.05;
  color: var(--text-strong); margin: 0; max-width: 18ch;
}
.oi-cap__lead {
  font-size: var(--text-body-lg); line-height: 1.6;
  color: var(--text-muted); margin: 22px 0 0; max-width: 62ch;
}
.oi-cap__cta { margin-top: 30px; }

/* ---- Capability intro (verify only) ---- */
.oi-cap__intro {
  max-width: 760px; margin: 0 auto;
  padding: 0 var(--gutter) var(--space-4);
}
.oi-cap__intro p {
  font-size: var(--text-body-lg); line-height: 1.6;
  color: var(--text-muted); margin: 0;
}

/* ---- Capability cards ---- */
.oi-cap__cards-wrap { padding-block: var(--space-4) var(--space-8); }
.oi-cap__cards { display: grid; gap: 18px; }
/* build ships one card; the design caps its measure rather than stretching it. */
/* minmax(0, 1fr), not 1fr: a bare 1fr track keeps an implicit min of the item's
   min-content, so a card whose stat labels won't wrap forces the track (and the
   page) wider than the viewport. minmax(0,...) lets the track shrink and the
   content wrap instead. */
.oi-cap__cards--1col { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.oi-cap__cards--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* An odd card count must not orphan the last card beside an empty cell
   (audited: verify's 5th card at >=1024). The straggler spans the row. */
.oi-cap__cards--2col > .oi-cap__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.oi-cap__cards--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Pillar cards (3-col): titles are full statements ("More than an LLM. A
   purpose built data quality pipeline.") — inline badges squeeze them into a
   tall narrow stack. Badge drops below the title at every width here; the
   analyze page's short-title card keeps its inline pill. */
.oi-cap__cards--3col .oi-cap__card-head { flex-wrap: wrap; row-gap: 8px; }
.oi-cap__cards--3col .oi-cap__card-title { flex: 1 0 65%; }
.oi-cap__cards--3col .oi-badge { margin-left: 26px; }

.oi-cap__card-head { display: flex; align-items: flex-start; gap: 14px; }
/* Phones/small windows: the badge pill shares the head row and crushes a long
   card title into a narrow multi-line column (audited on the Spoiler pillar
   cards at 360). Let the head wrap — the title owns the first line, the badge
   drops beneath it, aligned past the dot. */
@media (max-width: 640px) {
  .oi-cap__card-head { flex-wrap: wrap; row-gap: 8px; }
  .oi-cap__card-head .oi-cap__card-title { flex: 1 0 65%; }
  .oi-cap__card-head .oi-badge { margin-left: 26px; }
}
.oi-cap__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cap-accent); margin-top: 9px; flex: 0 0 auto;
}
.oi-cap__card-title {
  flex: 1; font-size: var(--text-h4); font-weight: 700;
  color: var(--text-strong); margin: 0; letter-spacing: -.01em;
}
.oi-cap__card-body {
  font-size: var(--text-size-body); line-height: 1.55;
  color: var(--text-muted); margin: 0;
}

.oi-cap__bullets {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.oi-cap__bullets li {
  display: flex; gap: 10px; font-size: 14px;
  line-height: 1.5; color: var(--text-muted);
}
/* currentColor + the accent here, so the tick tracks --cap-accent rather than
   repeating the hex on every one of the 20 bullet SVGs. */
.oi-cap__check { flex: 0 0 auto; margin-top: 2px; color: var(--cap-accent); }

.oi-cap__stats {
  display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 14px;
  border-top: 1px solid var(--line-soft); margin: auto 0 0;
}
.oi-cap__stat { display: flex; flex-direction: column; gap: 2px; }
.oi-cap__stat-value {
  font-family: var(--font-mono); font-size: 17px;
  font-weight: 500; color: var(--text-strong);
}
.oi-cap__stat-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-faint); margin: 0;
}

/* ---- Capability steps strip ---- */
.oi-cap__steps-wrap { padding-block: var(--space-9); }
.oi-cap__section-title {
  font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.02em;
  color: var(--text-strong); margin: 0 0 28px;
}
.oi-cap__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.oi-cap__step { display: flex; flex-direction: column; gap: 8px; }
.oi-cap__step-num {
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; color: var(--cap-accent);
}
.oi-cap__step-title { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.oi-cap__step-desc { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }

/* ---- Capability pull-quote (verify only) ---- */
.oi-cap__quote-wrap { padding-block: 0; }
.oi-cap__quote {
  background: var(--navy-950); color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-9);
  position: relative; overflow: hidden; margin: 0;
}
.oi-cap__quote-rule {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--spectrum);
}
.oi-cap__quote p {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.4;
  font-weight: 600; letter-spacing: -.01em; margin: 0; max-width: 60ch;
}

/* The design collapses these at 900px. */
@media (max-width: 900px) {
  .oi-cap__cards--2col { grid-template-columns: minmax(0, 1fr); }
  .oi-cap__cards--3col { grid-template-columns: minmax(0, 1fr); }
  .oi-cap__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .oi-cap__steps { grid-template-columns: 1fr; }
}

/* ---- Team page ---- */
.oi-team__hero { padding-block: var(--space-10) var(--space-7); }
.oi-team__headline {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.04;
  color: var(--text-strong); margin: 0; max-width: 16ch; text-wrap: balance;
}
.oi-team__lead {
  font-size: var(--text-body-lg); line-height: 1.6;
  color: var(--text-muted); margin: 22px 0 0; max-width: 60ch;
}

.oi-team__values-wrap { padding-block: var(--space-4) var(--space-6); }
.oi-team__values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.oi-team__value {
  display: flex; flex-direction: column; gap: 8px;
  padding: var(--space-6); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.oi-team__value-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-accent); margin: 0;
}
.oi-team__value-body {
  font-size: 14.5px; line-height: 1.55;
  color: var(--text-muted); margin: 4px 0 0;
}

.oi-team__people-wrap { padding-block: var(--space-8) var(--space-9); }
/* The design pairs this heading with "Placeholder names — drag a photo onto any
   portrait" on the right. That line is authoring chrome, not copy, so it is
   dropped and the heading stands alone. */
.oi-team__people-head { margin-bottom: 28px; }
.oi-team__section-title {
  font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.02em;
  color: var(--text-strong); margin: 0;
}
.oi-team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
/* Audited: 3 person cards in a 2-col grid orphaned the 3rd beside an empty
   cell from 574-900, and at ~574 the name column narrowed until names broke
   one word per line. Single column through 640; 2-col with the odd card
   spanning to 1023; the clean 3-up from 1024. */
@media (max-width: 1023px) {
  .oi-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oi-team__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .oi-team__grid { grid-template-columns: minmax(0, 1fr); }
}
.oi-team__card { gap: 16px; }
.oi-team__identity { display: flex; align-items: center; gap: 15px; }
.oi-team__names { min-width: 0; }
.oi-team__name {
  font-size: var(--text-h4); font-weight: 700; letter-spacing: -.01em;
  color: var(--text-strong); margin: 0;
}
.oi-team__role {
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--role-accent); margin-top: 5px;
}
.oi-team__bio { font-size: 14px; line-height: 1.58; color: var(--text-muted); margin: 0; }

/* Portrait — 74px circle with a 1px --line ring, per the design's image-slot.
   box-shadow rather than border so the ring does not eat into the 74px box. */
.oi-team__photo,
.oi-team__monogram {
  width: 74px; height: 74px; flex: 0 0 auto;
  border-radius: 50%; box-shadow: 0 0 0 1px var(--line);
}
.oi-team__photo { object-fit: cover; display: block; }
/* The no-photo state. Photos lag behind hires and the client is still sourcing
   updated headshots, so this ships — a monogram reads as deliberate where an
   empty ring reads as a bug. */
.oi-team__monogram {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--mono-accent);
  font-family: var(--font-mono); font-size: 22px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  /* The tracking pushes the glyphs left of centre; pull them back. */
  text-indent: .04em;
}

.oi-team__closing-wrap { padding-block: var(--space-4) var(--space-11); }
.oi-team__closing {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: var(--space-8); background: var(--navy-900);
  border-radius: var(--radius-xl);
}
.oi-team__closing-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 92% 0%, rgba(226, 162, 76, 0.16) 0%, rgba(226, 162, 76, 0) 60%);
}
.oi-team__closing-copy { position: relative; flex: 1; min-width: 260px; }
.oi-team__closing-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-400); margin: 0 0 10px;
}
.oi-team__closing-title {
  font-size: var(--text-h3); font-weight: 700; letter-spacing: -.015em;
  color: #fff; line-height: 1.1; margin: 0;
}
.oi-team__closing-note {
  font-size: 14.5px; color: var(--text-on-ink-muted);
  margin: 10px 0 0; max-width: 52ch;
}
.oi-team__closing-actions {
  position: relative; display: flex; gap: 14px; flex-wrap: wrap;
}
.oi-team__closing-actions .oi-btn-amber, .oi-btn-dark, .oi-btn-red, .oi-btn-navy { white-space: nowrap; }
.oi-btn-amber { height: 52px; }
.oi-team__closing-actions .oi-phone--ghost { white-space: nowrap; }

@media (max-width: 900px) {
  .oi-team__values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .oi-team__grid { grid-template-columns: 1fr; }
}

/* ---- Panel page ---- */
/* Reuses the capability hero, steps strip and closing band; these are the
   deltas. The h1/lead measures are wider than the capability pages'. */
.oi-panel__headline { max-width: 20ch; }
.oi-panel__lead { max-width: 64ch; }

.oi-panel__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* The icons are Verify green on a 12% green tint even though the page's accent
   is Collect blue — the design's choice; the subject is verification. */
.oi-panel__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 158, 115, 0.12); color: #2F7D5B; flex: 0 0 auto;
}
.oi-panel__card-title {
  font-size: var(--text-h4); font-weight: 700;
  color: var(--text-strong); margin: 0; letter-spacing: -.01em;
}
.oi-panel__card-body {
  font-size: var(--text-size-body); line-height: 1.55;
  color: var(--text-muted); margin: 0;
}

.oi-panel__steps-wrap { padding-block: var(--space-6) var(--space-9); }
.oi-panel__steps { margin-top: 30px; }

.oi-panel__band-wrap { padding-block: 0 var(--space-9); }
.oi-panel__band {
  background: var(--navy-900); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); color: var(--text-on-ink);
}
.oi-panel__band-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-400); margin: 0;
}
.oi-panel__band-title {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.25;
  color: #fff; margin: 16px 0 0; max-width: 24ch;
}
.oi-panel__band-body {
  font-size: var(--text-body-lg); line-height: 1.6;
  color: var(--text-on-ink-muted); margin: 18px 0 0; max-width: 60ch;
}

.oi-panel__closing-wrap { padding-block: 0 var(--space-10); }

@media (max-width: 900px) {
  .oi-panel__cards { grid-template-columns: 1fr; }
}

/* ---- Blog index ---- */
/* Ported from blog.html:51-159. The hero is structurally identical to the
   capability hero (same 64px spectrum bar, same clamp, same 22px lead offset),
   so it reuses that furniture; only the eyebrow colour differs — the blog's is
   --amber-600 where a capability page's tracks --cap-accent. */
.oi-blog__hero { padding-block: var(--space-10) var(--space-6); }
.oi-blog__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-600); margin: 0;
}
.oi-blog__headline {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.05;
  color: var(--text-strong); margin: 0; max-width: 16ch;
}
.oi-blog__lead {
  font-size: var(--text-body-lg); line-height: 1.6;
  color: var(--text-muted); margin: 22px 0 0; max-width: 62ch;
}

/* ---- Featured card ---- */
.oi-blog__feat-wrap { padding-block: var(--space-4) var(--space-6); }
.oi-blog__feat {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--navy-900); border: 1px solid var(--border-ink);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
  transition: box-shadow .26s, border-color .26s;
}
/* The design lifts .post on hover but deliberately does NOT lift .feat — it
   only deepens the shadow and the border. */
.oi-blog__feat:hover { box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.oi-blog__feat-copy {
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
/* --amber-400, not the category's stored colour: this line sits on navy, where
   the grid cards' hexes would not read. See templates/blog/index.html. */
.oi-blog__feat-cat {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber-400);
}
.oi-blog__feat-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700;
  letter-spacing: -.022em; line-height: 1.1; color: #fff; margin: 16px 0 0;
}
.oi-blog__feat-excerpt {
  font-size: 16px; line-height: 1.6;
  color: var(--text-on-ink-muted); margin: 16px 0 0; max-width: 48ch;
}
.oi-blog__feat-meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-on-ink-muted); margin-top: 24px;
}

/* ---- Featured card art — CSS only, no image ----
   The design draws this with four hardcoded bars over a gradient and a dot
   grid. There is no <img> on this page and no image field on Post. */
.oi-blog__art {
  position: relative; overflow: hidden; min-height: 240px;
  background: linear-gradient(135deg, #1B2942 0%, #0E1626 100%);
}
.oi-blog__art-dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at center, rgba(226, 162, 76, 0.25) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.oi-blog__art-bars {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: flex-end; gap: 9px; height: 120px;
}
.oi-blog__art-bar { width: 16px; border-radius: 3px; }
.oi-blog__art-bar--a { height: 38%;  background: rgba(198, 95, 60, 0.85); }
.oi-blog__art-bar--b { height: 56%;  background: rgba(201, 132, 47, 0.85); }
.oi-blog__art-bar--c { height: 72%;  background: rgba(62, 120, 174, 0.85); }
.oi-blog__art-bar--d { height: 100%; background: rgba(62, 158, 115, 0.9); }
.oi-blog__art-rule {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; background: var(--spectrum);
}

/* ---- Post grid ---- */
.oi-blog__grid-wrap { padding-block: 0 var(--space-9); }
.oi-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* .oi-card ships gap:14px for the capability cards; the design's blog card is 12. */
.oi-blog__post { gap: 12px; text-decoration: none; }
.oi-blog__cat {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--post-accent);
}
.oi-blog__post-title {
  font-size: 20px; font-weight: 700; letter-spacing: -.015em;
  line-height: 1.2; color: var(--text-strong);
}
.oi-blog__title { transition: color .18s; }
.oi-blog__feat:hover .oi-blog__title,
.oi-blog__post:hover .oi-blog__title { color: var(--amber-600); }
.oi-blog__excerpt {
  font-size: 14.5px; line-height: 1.55;
  color: var(--text-muted); margin: 0; flex: 1;
}
.oi-blog__meta {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint);
  padding-top: 12px; border-top: 1px solid var(--line-soft);
}

.oi-blog__closing-wrap { padding-block: 0 var(--space-10); }

/* blog.html:28 collapses ".featgrid" here — but the card is class "feat" and
   its cell is "featgrid-cell", so that rule matches nothing and the featured
   card never collapses: at 390px its copy cell is ~200px wide. Porting the
   rule's evident intent rather than its dead selector. */
@media (max-width: 900px) {
  .oi-blog__feat { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .oi-blog__grid { grid-template-columns: 1fr; }
}

/* ---- Blog detail — NET-NEW, never designed ----
   Derived from the index card vocabulary on the DS's long-form measure. See
   templates/blog/detail.html for what is deliberately absent and why. */
.oi-post {
  display: block;
  max-width: var(--container-narrow); margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: var(--space-9) var(--space-10);
}
.oi-post .oi-blog__cat { display: block; }
.oi-post__title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
  letter-spacing: -.022em; line-height: 1.1;
  color: var(--text-strong); margin: 14px 0 0; text-wrap: balance;
}
.oi-post__meta {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-faint); margin: 14px 0 0;
}
.oi-post__body {
  font-size: var(--text-body-lg); line-height: 1.7; color: var(--text-body);
}
.oi-post__body p { margin: 0 0 1.1em; }
.oi-post__body p:last-child { margin-bottom: 0; }

/* Active nav state — all seven design files mark the current page. The
   dropdown item goes 600/--text-strong (build.html:35); the Panel and Blog
   navlinks go 600/--amber-600 (panel.html:38, blog.html). */
.oi-navlink--active { font-weight: 600; color: var(--amber-600); }
.oi-dditem--active { font-weight: 600; color: var(--text-strong); }

/* ============================================================================
   Scope a Study modal — desktop design file L886-921.
   Values are the design's inline styles, lifted verbatim. The exceptions are
   enumerated below and each is a decision recorded in the Phase 3 plan.
   ========================================================================= */

.oi-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(14, 22, 38, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
/* The modal ships closed on every page. Without this the [hidden] attribute
   loses to display:flex above and the dialog covers the site. */
.oi-modal[hidden] { display: none; }

.oi-modal__panel {
  width: 100%; max-width: 560px;
  /* Panel owns its scroll: without containment, reaching its top/bottom
     chains the scroll to the deck behind the sheet (mandatory snap yanks a
     whole section mid-form on phones). */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* The design says 90vh (desktop/tablet) and 90cqh (mobile). The container
     query unit is a fixed-frame artifact of the mock — there is no container
     to query here. svh is the honest equivalent on a phone, where vh is the
     large viewport and a 90vh sheet hides behind the URL bar. */
  max-height: 90svh;
  overflow: auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl);
}
.oi-modal__spectrum { height: 4px; background: var(--spectrum); }
.oi-modal__body { padding: var(--space-8) var(--space-8) var(--space-9); }

.oi-modal__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 8px;
}
.oi-modal__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-accent);
}
.oi-modal__title { font-size: var(--text-h3); color: var(--text-strong); margin: 8px 0 0; }
.oi-modal__success .oi-modal__title { margin: 0; }
.oi-modal__lead {
  font-size: 15px; color: var(--text-muted); line-height: 1.6;
  margin: 0 0 22px; max-width: 46ch;
}
.oi-modal__close {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); border: 1px solid var(--line);
  background: var(--white); color: var(--text-muted); cursor: pointer;
}
.oi-modal__close:hover { color: var(--text-strong); border-color: var(--border-strong); }

.oi-modal__form { display: flex; flex-direction: column; gap: 16px; }

/* L7 — the design's name/email grid is hooked as [data-grid2] and NO rule in
   any design file matches it. The subpage files style a `.grid2` CLASS; the
   modal uses a data attribute, so the rule was simply never written and the
   grid never collapses: two ~150px inputs side by side on a phone. Ported as
   intent, not "faithfully". check_chrome.mjs asserts the collapse. */
.oi-modal__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .oi-modal__grid2 { grid-template-columns: 1fr; } }

.oi-field-row { display: flex; flex-direction: column; gap: 7px; }
.oi-field__legend {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted);
}
.oi-field {
  height: 44px; padding: 0 14px;
  font-family: var(--font-sans); font-size: 15px; color: var(--text-strong);
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-md); outline: none; width: 100%;
}
.oi-field:focus { border-color: var(--amber-500); box-shadow: var(--focus-shadow); }
select.oi-field { cursor: pointer; }
textarea.oi-field {
  height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5;
}

/* Error state is not designed. Spec: inline field errors in --flag-600
   terracotta, modal stays open. Empty until the JS fills it. */
.oi-field__error {
  display: none; color: var(--flag-600); font-family: var(--font-sans); font-size: 13px;
}
.oi-field__error:not(:empty) { display: block; }
.oi-field--invalid { border-color: var(--flag-600); }
.oi-field--invalid:focus { box-shadow: 0 0 0 3px rgba(176, 74, 52, 0.16); }

/* Honeypot. Visually gone, still a real field in the DOM — display:none and
   visibility:hidden are both skipped by the bots this is meant to catch. */
.oi-modal__hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.oi-modal__submit { margin-top: 4px; }
/* Not designed: without it a slow connection produces duplicate leads. */
.oi-modal__submit[disabled] { opacity: .6; cursor: progress; }
.oi-modal__note {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
  text-align: center;
}

.oi-modal__success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; padding: var(--space-6) 0;
}
.oi-modal__success[hidden] { display: none; }
.oi-modal__tick {
  width: 64px; height: 64px; border-radius: 50%; background: var(--verify-100);
  display: flex; align-items: center; justify-content: center;
}
.oi-modal__success-line {
  font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0; max-width: 42ch;
}
/* The design's Done button is 48px, not the 50px of every other amber CTA. */
.oi-modal__done { height: 48px; margin-top: 6px; }


/* ---- Spoiler-AI product page: brand colour (squiggle green #004225 + red) ---- */
/* Split hero: copy left, the squiggle as hero ART filling the right half — a
   single stacked column left the entire right of a wide viewport empty and
   pushed the pillar cards below the fold. */
.oi-cap__hero--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  column-gap: clamp(40px, 6vw, 96px); align-items: center;
}
.oi-cap__hero--split .oi-backlink { grid-column: 1 / -1; }
.oi-cap__hero-art {
  display: block; width: min(430px, 92%); height: auto; justify-self: center;
}
.oi-cap__hero-mediacell { justify-self: center; width: 100%; max-width: 440px; }
@media (max-width: 1024px) {
  /* Single column: deliverable-preview cards drop below the CTA at a modest
     width; the Spoiler logo instead returns to the compact brand-mark spot
     above the eyebrow. */
  .oi-cap__hero--split { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .oi-cap__hero--split .oi-backlink { order: -2; }
  .oi-cap__hero-mediacell { justify-self: start; max-width: 400px; margin-top: 26px; }
  .oi-cap__hero-mediacell:has(.oi-cap__hero-art--logo) { order: -1; margin-top: 0; margin-bottom: 18px; }
  .oi-cap__hero-art--logo { width: min(170px, 38%); justify-self: start; }
}

/* The Spoiler red CTA — the homepage demo button's colours as a site button. */
.oi-btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px;
  font-family: var(--font-sans); font-size: var(--text-body-lg); font-weight: 600;
  border-radius: var(--radius-md); border: 1.5px solid #C82828;
  background: #C82828; color: #fff;
  box-shadow: var(--shadow-sm); text-decoration: none; cursor: pointer;
  transition: background var(--dur-quick) var(--ease-out), border-color var(--dur-quick) var(--ease-out);
}
.oi-btn-red:hover, .oi-btn-red:focus-visible { background: #A81F1F; border-color: #A81F1F; }
.oi-btn-red:active { transform: scale(.98); }

.oi-badge--red { color: #A81F1F; background: rgba(200, 40, 40, 0.10); }

/* Pillar cards: the homepage why-grid treatment — a coloured top border with a
   matching head dot per card (green / amber / red: the squiggle palette plus
   the site amber between them). */
.oi-cap__cards--3col .oi-cap__card { border-top: 3px solid var(--pillar, var(--cap-accent)); }
.oi-cap__cards--3col .oi-cap__card:nth-child(1) { --pillar: #2F7D5B; }
.oi-cap__cards--3col .oi-cap__card:nth-child(2) { --pillar: #E2A24C; }
.oi-cap__cards--3col .oi-cap__card:nth-child(3) { --pillar: #C82828; }
.oi-cap__cards--3col .oi-cap__card .oi-cap__dot { background: var(--pillar, var(--cap-accent)); }


/* ---- Example tab (crosstab) — the Structure page's deliverable proof ---- */
.oi-tab-wrap { padding-block: var(--space-6) var(--space-8); }
.oi-tab__title { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.02em; color: var(--text-strong); margin: 0 0 10px; }
.oi-tab__note { font-size: var(--text-body); color: var(--text-muted); margin: 0 0 26px; max-width: 62ch; }
.oi-tab {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.oi-tab__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.oi-tab__q { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--text-strong); }
.oi-tab__base { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--text-faint); }
.oi-tab__scroll { overflow-x: auto; }
/* Touch widths: fade the clipped edge (the marquee's convention) so it reads
   as "more columns this way", not an amputated table. */
@media (max-width: 700px) {
  .oi-tab__scroll {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
  }
}
/* Audited at exactly 640px: the last banner column scrolled fully out of view
   and the fade covered only whitespace — the table read as complete while a
   lettered column (and its sig results) was silently hidden. An explicit hint
   removes the ambiguity wherever the table scrolls. */
.oi-tab__hint { display: none; }
@media (max-width: 760px) {
  .oi-tab__hint {
    display: inline-block; font-family: var(--font-mono); font-size: 10.5px;
    letter-spacing: .06em; color: var(--text-faint); white-space: nowrap;
  }
}
.oi-tab__table { width: 100%; min-width: 700px; border-collapse: collapse; }
.oi-tab__table th, .oi-tab__table td { padding: 9px 14px; }
.oi-tab__groups th { padding-top: 14px; padding-bottom: 4px; }
.oi-tab__group {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-accent);
  text-align: center; border-bottom: 1px solid var(--line-soft);
}
.oi-tab__col {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .03em; color: var(--text-body); text-align: center;
  border-bottom: 1px solid var(--line);
}
.oi-tab__letter { color: var(--text-faint); font-weight: 500; }
.oi-tab__stubhead { border-bottom: 1px solid var(--line); }
.oi-tab__stub {
  font-size: 13.5px; font-weight: 500; color: var(--text-body);
  text-align: left; white-space: nowrap;
}
.oi-tab__cell {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-body);
  text-align: center; white-space: nowrap;
}
.oi-tab__cell--groupstart { border-left: 1px solid var(--line-soft); }
.oi-tab__row { border-bottom: 1px solid var(--line-soft); }
.oi-tab__row:last-child { border-bottom: none; }
.oi-tab__row--base .oi-tab__stub, .oi-tab__row--base .oi-tab__cell { color: var(--text-faint); font-size: 12px; }
.oi-tab__row--t2b { background: var(--paper-2); }
.oi-tab__row--t2b .oi-tab__stub { font-weight: 700; color: var(--text-strong); }
.oi-tab__row--t2b .oi-tab__cell { font-weight: 600; color: var(--text-strong); }
.oi-tab__row--mean .oi-tab__stub, .oi-tab__row--mean .oi-tab__cell { color: var(--text-muted); }
.oi-tab__sig {
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--verify-600); vertical-align: super; margin-left: 3px;
}
.oi-tab__footnote {
  margin: 0; padding: 12px 20px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
}


/* ---- Hero deliverable previews (capability + panel pages) ---- */
.oi-heromedia { display: flex; flex-direction: column; gap: 14px; }

/* mini tab (Structure) */
.oi-tab--mini { box-shadow: var(--shadow-md); }
.oi-tab--mini .oi-tab__head { padding: 10px 16px; }
.oi-tab__table--mini { min-width: 0; }
.oi-tab__table--mini th, .oi-tab__table--mini td { padding: 8px 12px; }
.oi-tab--mini .oi-tab__footnote { padding: 9px 16px; }

/* audience cards (Collect) */
.oi-aud {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 16px 18px;
}
.oi-aud__tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700);
}
.oi-aud__name { font-size: 16.5px; font-weight: 700; color: var(--text-strong); letter-spacing: -.01em; }
.oi-aud__meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.oi-aud__stats { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.oi-aud__stats strong { color: var(--text-strong); font-weight: 600; }

/* survey screen (Build) */
.oi-survey {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.oi-survey__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.oi-survey__q { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.oi-survey__badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--verify-600); background: var(--verify-100);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.oi-survey__question { font-size: 15.5px; font-weight: 600; color: var(--text-strong); line-height: 1.4; margin: 14px 16px 10px; }
.oi-survey__opts { list-style: none; margin: 0 16px 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.oi-survey__opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  font-size: 13.5px; color: var(--text-body);
}
.oi-survey__radio { width: 14px; height: 14px; border: 1.5px solid var(--line); border-radius: 50%; flex: 0 0 auto; }
.oi-survey__opt--on { border-color: var(--amber-500); background: var(--amber-050, rgba(226,162,76,0.07)); }
.oi-survey__opt--on .oi-survey__radio { border-color: var(--amber-600); box-shadow: inset 0 0 0 3.5px var(--white), inset 0 0 0 10px var(--amber-600); }
.oi-survey__foot {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint);
}

/* verification layers (Verify) */
.oi-layers {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.oi-layers__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.oi-layers__title { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
.oi-layers__live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--verify-600); }
.oi-layers__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verify-500); box-shadow: 0 0 0 3px var(--verify-100); }
.oi-layers__list { list-style: none; margin: 0; padding: 4px 0; }
.oi-layers__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 16px; font-size: 13.5px; color: var(--text-body);
  border-bottom: 1px solid var(--line-soft);
}
.oi-layers__row:last-child { border-bottom: none; }
.oi-layers__pass { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--verify-600); white-space: nowrap; }
.oi-layers__foot {
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}
.oi-layers__foot strong { color: var(--verify-600); }

/* verified-panelist card (Panel) */
.oi-idcard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.oi-idcard__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.oi-idcard__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-050); color: var(--navy-600);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  border: 1px solid var(--line);
}
.oi-idcard__who { display: flex; flex-direction: column; gap: 2px; }
.oi-idcard__label { font-size: 14.5px; font-weight: 700; color: var(--text-strong); }
.oi-idcard__status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--verify-600); }
.oi-idcard__rows { list-style: none; margin: 0; padding: 4px 0; }
.oi-idcard__row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; font-size: 13.5px; color: var(--text-body);
  border-bottom: 1px solid var(--line-soft);
}
.oi-idcard__row:last-child { border-bottom: none; }
.oi-idcard__ok { color: var(--verify-600); font-weight: 700; }


/* ---- FAQ band (capability pages with cap.faq) ---- */
.oi-faq-wrap { padding-block: var(--space-6) var(--space-8); }
.oi-faq { margin: 18px 0 0; display: grid; gap: 14px; max-width: 820px; }
.oi-faq__item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 18px 22px;
}
.oi-faq__q { font-size: 16.5px; font-weight: 700; color: var(--text-strong); letter-spacing: -.01em; }
.oi-faq__a { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }


/* ---- UI-designer pass: subpage layout rework (language untouched) ---- */

/* Steps: contained in a white strip card with hairline dividers — the bare
   4-column strip floated on the dot grid with no containment. */
.oi-cap__steps {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 26px 0;
}
.oi-cap__step { padding: 2px 26px; }
.oi-cap__step + .oi-cap__step { border-left: 1px solid var(--line-soft); }
@media (max-width: 900px) {
  .oi-cap__step + .oi-cap__step { border-left: none; border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 14px; }
}
.oi-cap__steps-wrap { padding-block: var(--space-6) var(--space-7); }
.oi-cap__steps-wrap .oi-spectrum-bar { margin-bottom: 22px; }

/* Quote band: full-bleed with a gradient accent (was a contained rounded band
   stacking against the cream CTA band at the same rhythm). */
.oi-cap__quote-wrap { max-width: none; padding-inline: 0; }
.oi-cap__quote {
  border-radius: 0; margin: 0;
  padding: 56px max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.oi-cap__quote-rule {
  position: static; display: block; margin-bottom: 24px;
  background: var(--spectrum); width: 56px; height: 3px; border-radius: 2px;
}

/* FAQ: full-container 2x2 (was four ~60%-width rows with a dead right column). */
.oi-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
@media (max-width: 820px) { .oi-faq { grid-template-columns: minmax(0, 1fr); } }

/* Pillar cards (3-col): the numbered badge reads as a mono eyebrow ABOVE the
   title (was inverted below it); stat pairs pin to the card bottom so all
   three bases align. */
.oi-cap__cards--3col .oi-cap__card-head { flex-direction: column; align-items: flex-start; gap: 10px; }
.oi-cap__cards--3col .oi-cap__card-head .oi-cap__dot { display: none; }
.oi-cap__cards--3col .oi-badge { order: -1; margin-left: 0; }
.oi-cap__cards--3col .oi-cap__card-title { flex: 0 0 auto; }
.oi-cap__cards--3col .oi-cap__stats { margin-top: auto; }

/* Build's lone card: a deliberate full-width feature panel — copy + checks
   left, the stat pairs restacked vertically right of a hairline (was an
   orphaned ~63%-width card beside empty paper). */
.oi-cap__cards--1col { max-width: none; }
.oi-cap__cards--1col .oi-cap__card {
  border-top: 3px solid var(--cap-accent);
  display: grid; grid-template-columns: minmax(0, 1fr) 250px; column-gap: 44px;
}
.oi-cap__cards--1col .oi-cap__card > * { grid-column: 1; }
.oi-cap__cards--1col .oi-cap__stats {
  grid-column: 2; grid-row: 1 / span 4; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  border-top: none; border-left: 1px solid var(--line); margin: 0; padding: 0 0 0 36px;
}
@media (max-width: 900px) {
  .oi-cap__cards--1col .oi-cap__card { display: flex; flex-direction: column; }
  .oi-cap__cards--1col .oi-cap__stats {
    flex-direction: row; border-left: none; border-top: 1px solid var(--line-soft);
    padding: 14px 0 0; margin-top: 14px;
  }
}

/* Dark closing band (per-page flag): the missing dark anchor on all-light pages. */
.oi-cap__closing--dark { background: var(--navy-900); border-color: var(--border-ink); }
.oi-cap__closing--dark .oi-cap__closing-title { color: #fff; }
.oi-cap__closing--dark .oi-cap__closing-note { color: var(--text-on-ink-muted); }

/* Verify intro: aligned to the container's left edge at a readable measure
   with the spectrum bar as its section marker (was floating at an indent that
   aligned to nothing). */
.oi-cap__intro { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) var(--space-5); }
.oi-cap__intro::before { content: ""; display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--spectrum); margin-bottom: 16px; }
.oi-cap__intro p { max-width: 65ch; margin: 0; }

/* Featured-first card grid (verify): the odd card leads as a full-width
   horizontal strip — the foundation layer — instead of orphaning at the
   bottom; the remaining four pair into a clean 2x2. */
.oi-cap__cards--featured > .oi-cap__card:first-child {
  grid-column: 1 / -1; border-top: 3px solid var(--cap-accent);
  display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  align-items: center; column-gap: 36px;
}
.oi-cap__cards--featured > .oi-cap__card:first-child .oi-cap__card-body { margin: 0; }
.oi-cap__cards--featured > .oi-cap__card:last-child:nth-child(odd) { grid-column: auto; }
.oi-cap__cards--featured > .oi-cap__card:not(:first-child) { padding: 20px 24px; }
@media (max-width: 900px) {
  .oi-cap__cards--featured > .oi-cap__card:first-child { display: flex; flex-direction: column; align-items: stretch; }
}

/* Team: values live in the hero's right column as a stacked rows card (the
   hero's right half was empty paper and the values row was a redundant band
   of identical boxes). */
.oi-team__hero--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  column-gap: clamp(40px, 6vw, 96px); align-items: center;
}
.oi-team__hero--split > .oi-backlink { grid-column: 1 / -1; }
.oi-team__values--card {
  display: block;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.oi-team__values--card .oi-team__value {
  padding: 18px 22px;
  background: none; border: none; border-radius: 0; box-shadow: none;
}
.oi-team__values--card .oi-team__value + .oi-team__value { border-top: 1px solid var(--line-soft); }
@media (max-width: 1024px) {
  .oi-team__hero--split { grid-template-columns: minmax(0, 1fr); }
  .oi-team__values--card { margin-top: 26px; max-width: 480px; }
}

/* Team profile cards: colored top borders, a hairline between identity and
   bio, a firmer identity block. */
.oi-team__card { border-top: 3px solid var(--team-accent, var(--line)); }
.oi-team__grid > :nth-child(1) { --team-accent: #3E9E73; }
.oi-team__grid > :nth-child(2) { --team-accent: #E2A24C; }
.oi-team__grid > :nth-child(3) { --team-accent: #3E78AE; }
.oi-team__identity { padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); min-height: 96px; }
.oi-team__photo, .oi-team__monogram { width: 84px; height: 84px; }
.oi-team__name { font-size: 19px; }
.oi-team__people-head .oi-spectrum-bar { margin-top: 12px; }

/* Team closing: full-bleed navy anchor (was a rounded card floating on the grid). */
.oi-team__closing-wrap { max-width: none; padding-inline: 0; }
.oi-team__closing { border-radius: 0; padding: var(--space-8) max(var(--gutter), calc((100vw - var(--container)) / 2)); }

/* Blog post: the article sits on a white surface (it was a naked text wall on
   the dot grid — the only page using zero design-system devices). */
.oi-post__surface {
  background: var(--white); border-block: 1px solid var(--line);
  padding-block: var(--space-7) var(--space-8);
}
.oi-post__title { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.025em; line-height: 1.06; }
.oi-post__rule { display: block; max-width: 100%; width: 100%; height: 3px; border-radius: 2px; background: var(--spectrum); margin: 18px 0 0; }
.oi-post__body { max-width: 68ch; }
.oi-post__exit { margin-top: var(--space-6); }

/* ================= Legal pages (verbatim client documents) =================
   Document treatment: header on the paper, the text on a framed white sheet
   with the brand spectrum along its top edge, auto-numbered sections, a
   sticky contents rail at desktop, and notice panels for the documents' own
   all-caps liability blocks. */
/* Narrower than the standard container: the shell is sized to its content
   (sheet + contents rail) so the composition centers on the page instead of
   anchoring left with dead sheet interior. Text inside stays left-justified. */
.oi-legal-page { max-width: 1080px; padding-block: var(--space-9) var(--space-10); }
.oi-legal__title {
  font-size: var(--text-display-m); letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight); color: var(--text-strong); margin: 10px 0 0;
}
.oi-legal__meta {
  font-family: var(--font-mono); font-size: var(--text-mono-label);
  letter-spacing: var(--ls-mono); color: var(--text-faint); margin: 12px 0 0;
}
.oi-legal-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 232px;
  gap: 56px; align-items: start; margin-top: 30px;
}
.oi-legal__sheet {
  position: relative; overflow: hidden;
  background: var(--surface-raised); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(22px, 4.5vw, 56px);
}
.oi-legal__sheet::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--spectrum);
}
.oi-legal__body { max-width: 68ch; margin-inline: auto; counter-reset: legal-section; }
.oi-legal__body p { margin: 0 0 14px; color: var(--text-body); }
.oi-legal__body h2 {
  counter-increment: legal-section;
  display: flex; gap: 14px; align-items: baseline;
  font-size: var(--text-h5); letter-spacing: var(--ls-wide);
  line-height: var(--lh-snug); color: var(--text-strong);
  border-top: 1px solid var(--line); margin: 40px 0 14px; padding-top: 26px;
  scroll-margin-top: 84px;
}
.oi-legal__body h2::before {
  content: counter(legal-section, decimal-leading-zero);
  font-family: var(--font-mono); font-size: var(--text-mono-label);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-mono);
  color: var(--accent-strong); flex: none;
}
.oi-legal__body h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.oi-legal__body h3 {
  font-family: var(--font-mono); font-size: var(--text-mono-label);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps);
  color: var(--text-accent); margin: 18px 0 8px;
}
.oi-legal__address {
  display: inline-block; font-family: var(--font-mono);
  font-size: var(--text-caption); letter-spacing: .02em; line-height: 1.8;
  background: var(--surface-sunken); border: 1px solid var(--line);
  border-radius: var(--radius-md, 10px); padding: 16px 22px;
}
.oi-legal__notice {
  background: var(--surface-sunken); border: 1px solid var(--line);
  border-left: 3px solid var(--navy-700); border-radius: var(--radius-md, 10px);
  padding: 16px 20px;
}
.oi-legal__toc { position: sticky; top: 92px; }
.oi-legal__toc-label {
  font-family: var(--font-mono); font-size: var(--text-mono-label);
  font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps);
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 10px;
}
.oi-legal__toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.oi-legal__toc a {
  display: block; padding: 6px 0 6px 14px;
  font-family: var(--font-mono); font-size: var(--text-micro);
  letter-spacing: .03em; line-height: 1.45;
  color: var(--slate-500); text-decoration: none;
}
.oi-legal__toc a:hover { color: var(--text-strong); }
@media (max-width: 1100px) {
  .oi-legal-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .oi-legal__toc { display: none; }
}

/* ================= reCAPTCHA v3 =================
   The fixed page-corner badge floats over the deck; Google's terms allow
   hiding it when the attribution text appears in the protected form
   (see _scope_modal.html). */
.grecaptcha-badge { visibility: hidden; }
.oi-modal__recaptcha-note {
  font-family: var(--font-mono); font-size: var(--text-micro);
  color: var(--text-faint); line-height: 1.5; margin: 0 0 4px;
}
.oi-modal__recaptcha-note a { color: var(--text-muted); }

/* ================= mobile form fixes =================
   iOS Safari force-zooms the page when a focused control's font-size is
   under 16px — which is how a 15px input turns the whole modal into a
   half-off-screen zoomed mess. Bump ONLY where it matters; desktop keeps
   the design's 15px. */
@media (max-width: 1024px), (pointer: coarse) {
  .oi-field { font-size: 16px; }
}

/* ================= modal phone compaction =================
   The desktop-scale title, six-line lead, and roomy rhythm pushed the form
   past one phone screen (client call: the FULL form should be visible with
   no scrolling). Compact every vertical measure at phone widths; the panel
   stays scrollable purely as a safety net for the very smallest devices. */
@media (max-width: 560px) {
  .oi-modal { padding: 12px; }
  .oi-modal__panel { max-height: calc(100svh - 24px); }
  .oi-modal__body { padding: 16px 18px 16px; }
  .oi-modal__head { margin-bottom: 4px; }
  .oi-modal__title { font-size: 1.3rem; margin-top: 4px; }
  .oi-modal__close { width: 32px; height: 32px; }
  .oi-modal__lead { font-size: 13px; line-height: 1.45; margin: 0 0 14px; }
  .oi-modal__form { gap: 10px; }
  .oi-field-row { gap: 4px; }
  .oi-field__legend { font-size: 10px; }
  .oi-field { height: 42px; }
  textarea.oi-field { padding: 9px 14px; height: 68px; min-height: 68px; }
  .oi-modal__recaptcha-note { font-size: 9.5px; line-height: 1.4; margin: 0; }
  .oi-modal__submit { margin-top: 2px; height: 46px; }
  .oi-modal__note { font-size: 10px; }
}
