/* ═══════════════════════════════════════════════════════════
   OIC — page-specific styles (loaded in addition to styles.css)

   The whole page borrows the product's own visual grammar: a dark
   constellation field, white nodes, and one amber spark — the eye.
   Tokens below are the real values from the OIC app, not approximations:
     field  rgb(7,8,12)     amber  #FF8000     nodes  #FFFFFF
   ═══════════════════════════════════════════════════════════ */

:root {
  --oic-field: #07080c;
  --oic-amber: #FF8000;
  --oic-amber-rgb: 255, 128, 0;
  --oic-node-rgb: 255, 255, 255;
  --oic-dim: #6e6e7c;
}

/* ═══════════ HERO ═══════════════════════════════════════════ */
.oic-hero {
  scroll-snap-align: start;
  background: var(--oic-field);
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 150px var(--pad-x) 120px; text-align: center;
}
.oic-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* vignette pulls the corners down so the eye is the only thing lit */
.oic-hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(115% 100% at 50% 46%, rgba(7,8,12,0) 30%, rgba(7,8,12,.55) 72%, rgba(7,8,12,.92) 100%);
}
/* letterbox grade — the top/bottom crush that makes it read as a frame */
.oic-letterbox {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, transparent 18%, transparent 82%, rgba(0,0,0,.5) 100%);
}

.oic-hero-inner {
  position: relative; z-index: 2; max-width: 860px;
  opacity: calc(1 - var(--hero-exit, 0));
  transform: translateY(calc(var(--hero-exit, 0) * -60px));
  will-change: opacity, transform;
}

/* ── the eye ─────────────────────────────────────────────────
   Geometry is the real mark. The lid scales on Y to blink; the pupil
   group translates to glance — same transforms, easings and origins
   the product component uses. ─────────────────────────────── */
.oic-eye-stage { position: relative; display: inline-block; margin-bottom: 46px; }
.oic-eye-aura {
  position: absolute; left: 19.9%; top: 50%; width: 460px; height: 460px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--oic-amber-rgb),.20) 0%, rgba(var(--oic-amber-rgb),.06) 42%, transparent 70%);
  animation: oicBreathe 5.5s ease-in-out infinite;
}
@keyframes oicBreathe { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }

.oic-mark { width: min(430px, 82vw); height: auto; color: #fff; overflow: visible; }
/* transform is written directly by oic.js, not via a custom property —
   an unregistered var() inside a transitioned transform doesn't reliably
   re-resolve in Chrome and the lid sticks shut mid-blink */
.oic-lid {
  transform-box: view-box; transform-origin: 68px 68px;
  transition: transform 110ms ease-out;
}
.oic-pupil {
  transform-box: view-box; transform-origin: 68px 68px;
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.oic-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .3em;
  text-transform: uppercase; color: var(--oic-dim); margin-bottom: 26px;
}
/* with the headline gone the mark carries the hero, so this line steps up
   to hero scale rather than sitting at body size under a big empty gap */
.oic-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 2.1vw, 25px); line-height: 1.6;
  color: #c3c8d2; max-width: 680px; margin: 0 auto;
}

/* staged entrance — the eye wakes before the words arrive */
.oic-eye-stage, .oic-eyebrow, .oic-sub { opacity: 0; animation: oicRise .8s var(--ease) forwards; }
.oic-eye-stage { animation-delay: .25s; }
.oic-eyebrow   { animation-delay: 1.10s; }
.oic-sub       { animation-delay: 1.30s; }
@keyframes oicRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.oic-scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px;
  opacity: calc(1 - var(--hero-exit, 0));
}
.oic-scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 6px; border-radius: 2px;
  background: var(--oic-amber); transform: translateX(-50%); animation: oicCue 1.9s ease-in-out infinite;
}
@keyframes oicCue { 0%,100% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 75% { opacity: 0; transform: translate(-50%, 13px); } }

/* ═══════════ THE SCATTER ════════════════════════════════════ */
.oic-scatter {
  scroll-snap-align: start;
  padding: clamp(100px, 11vw, 160px) var(--pad-x) clamp(90px, 10vw, 140px);
  background: linear-gradient(180deg, var(--oic-field) 0%, #101014 100%);
}
/* Section label — sized to read as a chapter marker, not a caption */
.oic-kicker {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--oic-amber); margin-bottom: 22px;
}
.oic-kicker::after {
  content: ''; display: block; width: 52px; height: 3px; background: var(--oic-amber);
  margin: 18px auto 0; border-radius: 2px;
}
.oic-h2 {
  font-size: clamp(34px, 5vw, 66px); font-weight: 800; letter-spacing: -0.035em;
  color: #fff; line-height: 1.04;
}
.oic-scatter-head, .oic-act-head { max-width: 1180px; margin: 0 auto clamp(50px, 6vw, 76px); text-align: center; }
.oic-act-head { margin-bottom: clamp(24px, 3.4vh, 48px); }

.oic-sources {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  max-width: 1180px; margin: 0 auto;
}
.oic-source {
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: #16171c;
  padding: 30px 30px 34px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.oic-source:hover { border-color: rgba(255,255,255,.28); background: #1a1b21; transform: translateY(-3px); }
.oic-source:nth-child(1).reveal { transform: translate(-20px, 20px); }
.oic-source:nth-child(2).reveal { transform: translateY(26px); }
.oic-source:nth-child(3).reveal { transform: translate(20px, 20px); }
.oic-source.reveal.in { transform: none; }

.oic-source-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.oic-source-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #fff;
}
.oic-source-count {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500;
  color: #9aa0ad; white-space: nowrap;
}
.oic-source-list { list-style: none; }
.oic-source-list li {
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: #dfe3ea;
  padding: 8px 0 8px 20px; position: relative;
}
.oic-source-list li::before {
  content: ''; position: absolute; left: 0; top: 17px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--oic-amber);
}
.oic-scatter-line {
  font-family: 'DM Sans', sans-serif; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.6;
  color: #c8ccd6; max-width: 700px; margin: clamp(52px, 6vw, 78px) auto 0; text-align: center;
}
.oic-scatter-line em { font-style: normal; color: #fff; font-weight: 600; }

/* ═══════════ ONE SEARCH ═════════════════════════════════════ */
/* Sized to land in a single viewport so it snaps as one page — the section
   is a centred flex column and the frame takes whatever height is left. */
.oic-search-act {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 4.5vh, 72px) var(--pad-x);
  perspective: 1700px;
  background:
    radial-gradient(1100px 700px at 78% 4%, rgba(var(--oic-amber-rgb),.17), transparent 64%),
    radial-gradient(1000px 640px at 10% 46%, rgba(var(--oic-amber-rgb),.13), transparent 66%),
    radial-gradient(1000px 620px at 88% 88%, rgba(var(--oic-amber-rgb),.11), transparent 66%),
    /* a broad warm wash so the whole section sits in the light, not just
       the corners */
    radial-gradient(1500px 900px at 50% 50%, rgba(var(--oic-amber-rgb),.07), transparent 72%),
    linear-gradient(180deg, #110e0b 0%, #0b0908 60%, #0f0c09 100%);
}
.oic-frame {
  position: relative;
  max-width: 1060px; margin: 0 auto; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(var(--oic-amber-rgb),.14); transform-origin: 50% 100%;
  box-shadow:
    0 0 200px rgba(var(--oic-amber-rgb),.28),
    0 0 90px rgba(var(--oic-amber-rgb),.19),
    0 0 34px rgba(var(--oic-amber-rgb),.13),
    0 34px 70px rgba(0,0,0,.6),
    0 2px 0 rgba(255,255,255,.09) inset;
}
.oic-frame.reveal { opacity: 0; transform: rotateX(7deg) translateY(38px) scale(.97); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.oic-frame.reveal.in { opacity: 1; transform: none; }

.oic-topbar { background: #05060a; display: flex; align-items: center; gap: 16px; padding: 11px 18px; }
.oic-topbar-logo { background: #fff; border-radius: 999px; padding: 5px 12px; display: inline-flex; }
.oic-topbar-logo img { height: 15px; display: block; }
.oic-topbar-mark { height: 19px; width: auto; }
.oic-topbar-nav { display: flex; gap: 5px; margin-left: 4px; flex-wrap: wrap; }
.oic-nav-pill { font-family: 'DM Sans', sans-serif; font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; color: #9a9aa5; }
.oic-nav-pill.is-active { background: var(--red); color: #fff; }
.oic-topbar-user { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.oic-user-name { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; color: #fff; }
.oic-user-dot {
  width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}

.oic-app { display: flex; background: #cbcfd8; font-family: 'DM Sans', sans-serif; overflow: hidden; }
/* No fixed height — the frame is sized by its contents so a result card can
   never be sliced in half. The section around it absorbs the difference. */
.oic-sidebar { width: 208px; flex-shrink: 0; background: #05060a; padding: 14px 0 22px; }
.oic-side-active {
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600;
  margin: 0 10px 14px; padding: 8px 12px; border-radius: 7px;
}
.oic-side-group { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #55555f; padding: 12px 18px 5px; }
.oic-side-item { padding: 6px 18px; font-size: 12.5px; color: #a8a8b6; }

.oic-content { flex: 1; padding: 18px 24px 20px; min-width: 0; }
.oic-page-h { font-size: 16px; font-weight: 700; color: #17181d; margin-bottom: 11px; }
.oic-searchbar {
  background: #fff; border: 1px solid var(--red); border-radius: 8px; padding: 11px 14px;
  font-size: 13px; color: #333; display: flex; align-items: center; gap: 9px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.oic-search-icon {
  width: 12px; height: 12px; border: 1.6px solid #9aa0ad; border-radius: 50%; flex-shrink: 0; position: relative;
}
.oic-search-icon::after { content: ''; position: absolute; right: -4px; bottom: -3px; width: 5px; height: 1.6px; background: #9aa0ad; transform: rotate(45deg); }
.oic-typed { white-space: pre; }
.oic-cursor { display: inline-block; width: 1.5px; height: 14px; background: #333; opacity: 0; }
.oic-cursor.is-on { animation: oicBlinkCursor .9s step-end infinite; opacity: 1; }
@keyframes oicBlinkCursor { 50% { opacity: 0; } }
.oic-search-btn {
  margin-left: auto; background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 6px;
}
.oic-result-count { font-size: 12px; color: #5b6270; margin: 10px 0 11px; opacity: 0; transition: opacity .4s var(--ease); }
.oic-result-count.is-on { opacity: 1; }

.oic-results { display: flex; flex-direction: column; gap: 11px; }
.oic-res {
  background: #fff; border-radius: 9px; padding: 13px 15px; box-shadow: 0 1px 4px rgba(0,0,0,.07);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.oic-res.is-on { opacity: 1; transform: none; }
.oic-res-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.oic-badge { font-size: 9.5px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; }
.oic-badge.gdrive { background: rgba(66,133,244,.12); color: #1a56c4; }
.oic-res-cat { font-size: 10.5px; color: #7b8290; }
.oic-res-title { font-size: 13.5px; font-weight: 700; color: #17181d; margin-bottom: 4px; }
.oic-res-snip {
  font-size: 12.5px; color: #4c5261; line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.oic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.oic-tags span { font-size: 10px; color: #5b6270; background: #eef0f4; padding: 3px 9px; border-radius: 999px; }
.oic-res-path { font-size: 10.5px; color: #9aa0ad; }

.oic-act-foot {
  font-family: 'DM Sans', sans-serif; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55;
  color: #c8ccd6; max-width: 640px; margin: clamp(20px, 2.6vh, 40px) auto 0; text-align: center;
}

/* ═══════════ MODULES ════════════════════════════════════════ */
.oic-modules {
  scroll-snap-align: start;
  background: linear-gradient(180deg, #0e0e13 0%, #101014 100%);
  padding: clamp(100px, 11vw, 160px) var(--pad-x);
}
/* Six tracks so five panels fill two rows cleanly: 3×2 on top, 2×3 below —
   no orphan gap in the corner. */
.oic-mod-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  max-width: 1180px; margin: 0 auto;
}
.oic-mod { grid-column: span 2; }
.oic-mod:nth-child(4), .oic-mod:nth-child(5) { grid-column: span 3; }
.oic-mod {
  border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 32px 30px 34px;
  background: rgba(255,255,255,.02); transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.oic-mod:hover {
  border-color: rgba(var(--oic-amber-rgb),.5); background: rgba(var(--oic-amber-rgb),.045);
  transform: translateY(-4px);
}
.oic-mod-idx {
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .2em;
  color: var(--oic-amber); margin-bottom: 16px;
}
.oic-mod-h { font-size: 23px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.oic-mod-p { font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.65; color: #c3c8d2; }
.oic-metar {
  margin-top: 16px; background: #05060a; border-radius: 7px; padding: 12px 14px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 10.5px; line-height: 1.6; color: #4ade80; white-space: pre-wrap; overflow-x: auto;
}
.oic-mod-stat { margin-top: 18px; font-size: 14px; color: #c3c8d2; font-family: 'DM Sans', sans-serif; }
.oic-count { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-right: 8px; font-family: 'Inter', sans-serif; }

/* ═══════════ MODULE DIALOG ══════════════════════════════════ */
.oic-mod-hint {
  text-align: center; margin: 34px auto 0;
  font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: #7d8492;
}
/* the cards are buttons — strip the UA chrome, keep the card look */
.oic-mod {
  display: block; width: 100%; text-align: left; font: inherit;
  color: inherit; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.oic-mod:focus-visible { outline: 2px solid var(--oic-amber); outline-offset: 3px; }

.oic-dlg-root { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.oic-dlg-root[hidden] { display: none; }
.oic-dlg-scrim {
  position: absolute; inset: 0; background: rgba(4,5,8,.82); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.oic-dlg-root.is-open .oic-dlg-scrim { opacity: 1; }
.oic-dlg {
  position: relative; width: min(760px, 100%); max-height: min(86vh, 820px);
  display: flex; flex-direction: column;
  background: #14151a; border: 1px solid rgba(var(--oic-amber-rgb),.24); border-radius: 16px;
  box-shadow: 0 0 130px rgba(var(--oic-amber-rgb),.26), 0 40px 90px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}
.oic-dlg-root.is-open .oic-dlg { opacity: 1; transform: none; }

.oic-dlg-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.10); flex-shrink: 0;
}
.oic-dlg-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--oic-amber); margin-bottom: 7px;
}
.oic-dlg-title { font-size: 25px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.oic-dlg-x {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; cursor: pointer;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 21px; line-height: 1; display: grid; place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.oic-dlg-x:hover { background: rgba(var(--oic-amber-rgb),.18); border-color: rgba(var(--oic-amber-rgb),.5); }
.oic-dlg-x:focus-visible { outline: 2px solid var(--oic-amber); outline-offset: 2px; }

.oic-dlg-body { padding: 22px 24px 8px; overflow-y: auto; }
.oic-dlg-lede {
  font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.65;
  color: #c3c8d2; margin-bottom: 20px;
}
.oic-dlg-foot {
  padding: 12px 24px 18px; font-family: 'DM Sans', sans-serif; font-size: 11.5px;
  color: #6f7684; border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0;
}

/* ── the mini app surface inside the dialog ─────────────────── */
.oic-mini {
  background: #cbcfd8; border-radius: 10px; padding: 16px;
  font-family: 'DM Sans', sans-serif;
}
.oic-mini-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.oic-mini-search {
  flex: 1; background: #fff; border: 1px solid var(--red); border-radius: 7px;
  padding: 9px 12px; font-size: 13px; color: #23262d;
}
.oic-mini-search.dim { border-color: #b9bfc9; color: #7b8290; }
.oic-mini-search.grow { flex: 1; }
.oic-mini-btn {
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 8px 16px; border-radius: 6px; white-space: nowrap;
}
.oic-mini-tag {
  background: #fff; color: #4c5261; font-size: 11.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.oic-mini-count { font-size: 12px; color: #5b6270; margin-bottom: 10px; }
.oic-mini-res { background: #fff; border-radius: 8px; padding: 14px 15px; margin-bottom: 10px; }
.oic-mini-res:last-child { margin-bottom: 0; }
.oic-mini-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.oic-mini-title { font-size: 13.5px; font-weight: 700; color: #17181d; margin-bottom: 5px; }
.oic-mini-snip { font-size: 12.5px; color: #4c5261; line-height: 1.55; margin-bottom: 8px; }
.oic-mini-path { font-size: 10.5px; color: #8d94a1; }
.oic-mini-sub {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #5b6270; margin: 14px 0 8px;
}
.oic-mini-sub:first-child { margin-top: 0; }
.oic-mini-raw {
  background: #05060a; border-radius: 6px; padding: 10px 12px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 10.5px; line-height: 1.6; color: #4ade80; white-space: pre-wrap; word-break: break-word;
}
.oic-mini-apt { background: #fff; border-radius: 8px; padding: 14px 15px; margin-bottom: 10px; }
.oic-apt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.oic-apt-actions { display: flex; gap: 8px; flex-shrink: 0; }
.oic-apt-pill {
  display: inline-block; background: var(--oic-amber); color: #3d1f00;
  font-size: 10.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}
.oic-mini-wx-head { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 8px; }
.oic-mini-wx-head .oic-mini-sub { margin: 0; }
.oic-mini-time { font-size: 10.5px; color: #7b8290; }
.oic-apt-code { font-size: 21px; font-weight: 800; color: #17181d; letter-spacing: -0.01em; }
.oic-apt-iata {
  font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 600;
  color: #5b6270; background: #eef0f4; padding: 3px 8px; border-radius: 5px;
  vertical-align: middle; margin-left: 8px;
}
.oic-apt-name { font-size: 14px; font-weight: 700; color: #17181d; margin-top: 6px; }
.oic-apt-loc { font-size: 12px; color: #7b8290; margin-top: 2px; }
.oic-mini-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.oic-mini-stats > div {
  flex: 1 1 150px; background: #fff; border-radius: 7px; padding: 9px 11px;
}
.oic-mini-stats span {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #8d94a1; margin-bottom: 4px;
}
.oic-mini-stats b { font-size: 12.5px; font-weight: 600; color: #23262d; }
.oic-mini-tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.oic-mini-tbl th {
  text-align: left; font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #8d94a1; padding: 9px 11px; border-bottom: 1px solid #e6e9ee;
}
.oic-mini-tbl td { font-size: 12px; color: #23262d; padding: 9px 11px; border-bottom: 1px solid #f0f2f5; }
.oic-mini-tbl tr:last-child td { border-bottom: 0; }
.oic-mini-tbl .mono { font-family: ui-monospace, monospace; font-weight: 600; }

.oic-aip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.oic-aip { background: #fff; border-radius: 8px; padding: 12px 13px; }
.oic-aip-c { font-size: 13px; font-weight: 700; color: #17181d; }
.oic-aip-a { font-size: 11px; color: #7b8290; margin: 4px 0 7px; line-height: 1.45; }
.oic-aip-l { font-size: 11.5px; font-weight: 600; color: var(--red); }
.oic-aip-m { font-size: 10.5px; color: #8d94a1; margin-top: 6px; }

.oic-ac-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.oic-ac-codes { font-size: 13px; color: #23262d; }
.oic-ac-codes .k { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8d94a1; }
.oic-ac-codes b { font-family: ui-monospace, monospace; font-size: 15px; }
.oic-ac-codes .hl { background: #fde68a; padding: 1px 5px; border-radius: 4px; }
.oic-ac-wake { font-size: 10.5px; font-weight: 700; color: #1a56c4; background: rgba(66,133,244,.12); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }

.oic-lf-row { display: flex; gap: 9px; margin-bottom: 4px; }
.oic-lf-btn {
  flex: 1; text-align: center; background: var(--oic-amber); color: #1a1206;
  font-size: 12.5px; font-weight: 700; padding: 10px 14px; border-radius: 7px;
}
.oic-lf-btn.ghost { flex: 0 0 auto; background: #e7c9a6; color: #6b543a; }
.oic-lf-btn.wide { flex: 1; }

/* ═══════════ THE CONVERGENCE ════════════════════════════════ */
.oic-converge {
  scroll-snap-align: start;
  position: relative; background: var(--oic-field); min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 100px var(--pad-x);
}
.oic-conv-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.oic-conv-inner { position: relative; z-index: 2; text-align: center; }
/* wrapper hugs the mark so the bloom can be placed against the mark's own
   box; .oic-conv-inner is the full column and would offset it */
.oic-conv-eye { position: relative; display: inline-block; margin-bottom: 54px; }
.oic-conv-mark { width: min(340px, 74vw); height: auto; overflow: visible; display: block; }
#oicConvLid { transform-box: view-box; transform-origin: 68px 68px; transition: transform 110ms ease-out; }
#oicConvPupil { transform-box: view-box; transform-origin: 68px 68px; transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1); }

/* the "Oh I see" bloom — one ripple of warm light when it understands */
/* 19.9% / 50% is the "o" centre in the mark's own viewBox: the O sits at
   (68 - -8)/382 across and (68 - -8)/152 down */
.oic-bloom {
  position: absolute; left: 19.9%; top: 50%; width: 420px; height: 420px;
  transform: translate(-50%, -50%) scale(.2); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(var(--oic-amber-rgb),.6) 0%, transparent 62%);
}
.oic-bloom.is-on { animation: oicBloom 1.5s ease-out forwards; }
@keyframes oicBloom {
  0%   { transform: translate(-50%,-50%) scale(.2); opacity: 0; }
  35%  { opacity: .85; }
  100% { transform: translate(-50%,-50%) scale(2.6); opacity: 0; }
}
.oic-conv-h {
  font-size: clamp(30px, 4.4vw, 60px); font-weight: 800; color: #fff;
  letter-spacing: -0.035em; line-height: 1.08; max-width: 820px; margin: 0 auto;
  opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.oic-conv-h.is-on { opacity: 1; transform: none; }

/* ═══════════ CLOSING ════════════════════════════════════════ */
.oic-close { scroll-snap-align: start; background: var(--odd); padding: clamp(90px, 9vw, 130px) var(--pad-x) 60px; text-align: center; border-top: 1px solid var(--border); }
.oic-close-h { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; color: var(--head); letter-spacing: -0.02em; margin-bottom: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.oic-close-line { font-family: 'DM Sans', sans-serif; font-size: 17px; color: var(--body); margin-bottom: 56px; max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.oic-contact-block { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; max-width: 900px; margin: 0 auto; text-align: left; }

/* ═══════════ RESPONSIVE ═════════════════════════════════════ */
@media (max-width: 1024px) {
  .oic-sources { grid-template-columns: 1fr; }
  .oic-mod-grid { grid-template-columns: 1fr; }
  .oic-mod, .oic-mod:nth-child(4), .oic-mod:nth-child(5) { grid-column: auto; }
  .oic-app { flex-direction: column; }
  .oic-sidebar { width: 100%; padding: 10px 0 16px; }
  .oic-topbar-nav { display: none; }
  .oic-eye-aura { width: 340px; height: 340px; }
}
@media (max-width: 768px) {
  .oic-contact-block { flex-direction: column; gap: 24px; text-align: center; }
  .oic-topbar-user { display: none; }
  .oic-hero { padding-top: 120px; }
  .oic-eye-aura { width: 260px; height: 260px; }
}

/* ═══════════ REDUCED MOTION ═════════════════════════════════
   Everything lands at its final state with no movement. Selectors are
   scoped to match or beat the gated rules above so they actually win. */
@media (prefers-reduced-motion: reduce) {
  .oic-eye-stage, .oic-eyebrow, .oic-sub { opacity: 1; animation: none; transform: none; }
  .oic-eye-aura { animation: none; }
  .oic-scroll-cue span { animation: none; opacity: 1; }
  .oic-lid, .oic-pupil, #oicConvLid, #oicConvPupil { transition: none; }
  .oic-source:nth-child(1).reveal, .oic-source:nth-child(2).reveal, .oic-source:nth-child(3).reveal,
  .oic-source.reveal.in { transform: none; }
  .oic-frame.reveal, .oic-frame.reveal.in { opacity: 1; transform: none; transition: none; }
  .oic-res, .oic-res.is-on { opacity: 1; transform: none; transition: none; }
  .oic-result-count, .oic-result-count.is-on { opacity: 1; transition: none; }
  .oic-cursor, .oic-cursor.is-on { animation: none; opacity: 0; }
  .oic-mod:hover { transform: none; }
  .oic-bloom, .oic-bloom.is-on { animation: none; opacity: 0; }
  .oic-conv-h, .oic-conv-h.is-on { opacity: 1; transform: none; transition: none; }
}
