/* ─────────────────────────────────────────────────────────────
   Product page components (js/product-render.js)
   Loaded AFTER css/site.css and uses its tokens only — change a
   colour in site.css :root and this follows.
   ───────────────────────────────────────────────────────────── */

/* ── nav: wordmark + product tag ───────────────────────────── */
.nav__brand{display:flex;align-items:center;gap:10px}
.nav__tag{font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--accent);border:1px solid rgba(89,124,255,.45);border-radius:var(--pill);padding:4px 10px 3px;line-height:1}
.nav__tag:hover{color:var(--on-light);background:var(--accent);border-color:var(--accent)}

/* ── hero: screenshot slot (until a real capture lands) ────── */
.shot-slot{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:40px;text-align:center;background:repeating-linear-gradient(90deg,rgba(255,255,255,.03) 0,rgba(255,255,255,.03) 1px,transparent 1px,transparent 90px),radial-gradient(ellipse 60% 60% at 50% 40%,rgba(89,124,255,.08),transparent 70%)}
.shot-slot::before{content:'';position:absolute;inset:52px 22px 22px;border:1px dashed rgba(255,255,255,.18);border-radius:var(--r-sm);pointer-events:none}
.shot-slot__tag{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.26em;color:var(--accent)}
.shot-slot p{max-width:520px;font-size:14px;line-height:1.6;color:var(--dim-3)}
.hero__shot .frame{position:relative}

/* ── marquee of the facts it tracks (longer strings) ───────── */
.marquee--sm .marquee__item{font-size:clamp(20px,2.6vw,30px);-webkit-text-stroke:1px rgba(255,255,255,.4)}
.marquee--sm .marquee__track{gap:40px;padding-right:40px}

/* ── the problem ───────────────────────────────────────────── */
.problem__head{margin-bottom:70px;max-width:820px}
.problem__head .h2{font-size:clamp(36px,5vw,64px);margin-bottom:20px}
.problem__head .lede{max-width:600px}
.pain{padding:44px 34px 40px;display:flex;flex-direction:column}
.pain__n{font-size:38px;font-weight:700;line-height:1;color:transparent;-webkit-text-stroke:1.2px rgba(0,0,0,.55);margin-bottom:26px}
.pain h3{font-size:21px;font-weight:700;letter-spacing:-.01em;line-height:1.25;margin-bottom:12px}
.pain p{font-size:15px;line-height:1.65}

/* ── the feature inventory ─────────────────────────────────── */
.inv__head{margin:0 auto 70px}
.inv__head .h2{font-size:clamp(38px,5.4vw,76px);letter-spacing:-.032em;line-height:1;max-width:860px;margin:0 auto 18px}
.inv__head .lede{max-width:620px;margin:0 auto}
.pod__label--mt{margin-top:80px}

.wedges{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.wedge{padding:38px 32px 32px;display:flex;flex-direction:column}
.wedge__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.wedge__n{font-size:34px;font-weight:700;line-height:1;color:transparent;-webkit-text-stroke:1.3px rgba(0,0,0,.7)}
.wedge__tag{font-size:10px;font-weight:700;letter-spacing:.18em;color:var(--accent-deep);background:rgba(44,72,214,.09);border:1px solid rgba(44,72,214,.32);border-radius:var(--pill);padding:5px 10px 4px;white-space:nowrap}
.wedge h3{font-size:22px;font-weight:700;letter-spacing:-.012em;line-height:1.22;margin-bottom:10px}
.wedge__pitch{font-size:15px;line-height:1.6;margin-bottom:22px}
.facts{display:flex;flex-direction:column;gap:11px;padding-top:20px;border-top:1px solid var(--line-light)}
.fact{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;font-size:14px;line-height:1.45}
.fact b{font-weight:700;color:var(--on-light)}
.fact span{color:var(--on-light-muted)}

.group{display:flex;flex-direction:column;padding:34px 30px 28px}
.group__n{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.16em;color:var(--dim-2);margin-bottom:16px}
.group h3{font-size:18.5px;font-weight:700;line-height:1.25;margin-bottom:9px}
.group p{font-size:14.5px;line-height:1.6}

/* ── "what's inside" disclosure inside a light card ────────── */
.spec{margin-top:auto;padding-top:18px}
.spec summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 0;border-top:1px solid var(--line-light);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-deep)}
.spec summary::after{content:'+';font-size:17px;font-weight:400;letter-spacing:0}
.spec[open] summary::after{content:'−'}
.spec summary:hover{color:var(--on-light)}
.spec ul{display:flex;flex-direction:column;gap:10px;padding:18px 0 4px}
.spec li{display:flex;gap:10px;font-size:13.5px;line-height:1.55;color:var(--on-light-body)}
.spec li span{color:var(--accent-deep);font-size:9px;line-height:2.1}

/* ── the narrow AI section ─────────────────────────────────── */
.ai__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:56px;align-items:start}
.ai .h2{font-size:clamp(34px,4.4vw,58px);letter-spacing:-.028em;line-height:1.04;max-width:460px}
.claim{border-radius:26px;padding:clamp(30px,3.4vw,44px)}
.claim__lbl{display:block;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:20px}
.claim h3{font-size:clamp(22px,2.6vw,30px);font-weight:700;letter-spacing:-.018em;line-height:1.2;margin-bottom:14px}
.claim p{font-size:15.5px;line-height:1.65}
.ai__note{margin-top:26px;font-size:15px;line-height:1.65;color:var(--muted);max-width:540px}

/* ── watermarks ────────────────────────────────────────────────
   The site's words are short ("ORCA", "OMNIS"). "HONEST" and
   "OMNIS HR" are wider, so they are sized in vw to stay inside the
   viewport instead of being clipped mid-letter at both edges. ── */
.manifesto .outline-text{font-size:clamp(80px,24vw,360px)}
.cta .outline-text{font-size:clamp(74px,19vw,285px)}

/* ═══ FIGURES ══════════════════════════════════════════════════
   A figure is a light panel on the dark page. Ink and lines are
   tokens so one change restyles every diagram; the accent marks the
   path that matters and --f-no marks an edge that deliberately does
   not exist. Wide drawings scroll inside the panel rather than
   shrinking into illegibility.
   ══════════════════════════════════════════════════════════════ */
.fig{
  --f-ink:#0A0E11;
  --f-line:rgba(10,14,17,.34);
  --f-mut:rgba(10,14,17,.52);
  --f-hl:var(--accent-deep);
  --f-no:#B3261E;
  background:var(--light-grad);
  color:var(--on-light);
  border-radius:var(--r-lg);
  padding:clamp(20px,2.4vw,32px);
  margin:0 0 14px;
  box-shadow:0 0 70px rgba(255,255,255,.08);
}
.fig__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.fig figcaption{
  margin-top:20px;padding-top:16px;border-top:1px solid var(--line-light);
  font-size:14.5px;line-height:1.6;color:var(--on-light-muted);max-width:78ch;
}
.dia{display:block;width:100%;height:auto}
.dia text{font-family:var(--font)}
.dia .t{font-size:12.5px;fill:var(--f-ink)}
.dia .tl{font-size:11px;fill:var(--f-mut)}
.dia .tl-no{fill:var(--f-no)}
.dia .tk{font-size:9px;letter-spacing:.14em;fill:var(--f-mut)}
.dia .tz{font-size:9.5px;letter-spacing:.18em;fill:var(--f-mut)}
.dia .inv{fill:#FFFFFF}
.dia .bx{fill:#FFFFFF;stroke:var(--f-line);stroke-width:1.1}
.dia .bx-hl{stroke:var(--f-hl);stroke-width:1.7;fill:rgba(89,124,255,.08)}
.dia .bx-lock{fill:var(--f-ink);stroke:var(--f-ink)}
.dia .bx-ok{fill:rgba(22,163,74,.07);stroke:#15803D;stroke-width:1.7}
.dia .bx-warn{fill:rgba(217,119,6,.07);stroke:#B45309;stroke-width:1.6}
.dia .bx-mut{fill:rgba(10,14,17,.05);stroke:var(--f-line);stroke-dasharray:3 3}
.dia .zn{fill:rgba(10,14,17,.035);stroke:var(--f-line);stroke-dasharray:4 5}
.dia .ln{stroke:var(--f-line);stroke-width:1.4;fill:none}
.dia .ln.hl{stroke:var(--f-hl);stroke-width:1.9}
.dia .ln-no{stroke:var(--f-no);stroke-width:1.3;stroke-dasharray:5 5;opacity:.5}
.dia .ln-x{stroke:var(--f-no);stroke-width:1.9}
.dia .ok{stroke:var(--success);stroke-width:1.9}
.dia .mk{fill:var(--f-line)}
.dia .mk-hl{fill:var(--f-hl)}

/* ── the mechanism index ───────────────────────────────────── */
.toc{padding:0 24px 20px;border-top:0}
.toc__grid{display:grid;gap:1px;background:var(--rule,rgba(255,255,255,.12));border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.toc__item{display:block;background:var(--bg);padding:22px 24px 24px;transition:background .25s}
.toc__item:hover{background:#080B0D;color:var(--fg)}
.toc__item:hover .toc__t{color:var(--accent)}
.toc__n{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.16em;color:var(--dim-2);margin-bottom:12px}
.toc__t{display:block;font-size:17px;font-weight:700;line-height:1.25;letter-spacing:-.01em;transition:color .25s}
.toc__c{display:block;margin-top:8px;font-size:13.5px;line-height:1.55;color:var(--dim)}

/* ── how it works ──────────────────────────────────────────── */
.life__head{max-width:840px;margin-bottom:44px}
.life__head .h2{font-size:clamp(36px,5vw,66px);margin-bottom:20px}
.life__head .lede{max-width:640px}
.life__steps{margin-top:14px}

/* ── a deep dive: one mechanism, one figure ────────────────── */
.dive{padding:clamp(80px,9vw,120px) 24px}
.dive__head{max-width:900px;margin-bottom:40px}
.dive__head .h2{font-size:clamp(32px,4.2vw,54px);letter-spacing:-.028em;line-height:1.05;margin-bottom:18px}
.dive__head .lede{max-width:660px}
.dive__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:40px;margin-top:36px;align-items:start}
.dive__facts{display:flex;flex-direction:column;gap:14px}
.dive__facts .fact{font-size:15px;line-height:1.5;padding-bottom:14px;border-bottom:1px solid var(--line)}
.dive__facts .fact:last-child{border-bottom:0}
.dive__facts .fact b{color:var(--fg)}
.dive__facts .fact span{color:var(--muted)}
.dive__spec{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;max-width:none}
.dive__spec li{display:flex;gap:11px;font-size:14.5px;line-height:1.6;color:var(--muted);margin:0}
.dive__spec li span{color:var(--accent);font-size:9px;line-height:2.4}
.dive__note{margin-top:34px;padding-left:18px;border-left:2px solid var(--accent);font-size:15px;line-height:1.65;color:var(--muted-3);max-width:70ch}
.suite__fig{margin-top:60px}

/* ── small screens ─────────────────────────────────────────── */
@media (max-width:720px){
  :root{--section-pad:100px 20px}
  .hero{padding-top:150px}
  .hero__stat{padding:16px 22px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}
  .hero__stats{flex-direction:column;align-items:stretch;text-align:center}
  .hero__stat:last-child{border-bottom:0}
  .shot-slot{aspect-ratio:4/3;padding:24px}
  .shot-slot::before{inset:44px 14px 14px}
  .problem__head{margin-bottom:44px}
  .pod__label--mt{margin-top:56px}
  .inv__head{margin-bottom:48px}
  .nav__pill{padding-left:18px}
  .nav__pill .btn--sm{padding:10px 15px;font-size:13px;white-space:nowrap}
  .fig{padding:16px 14px;border-radius:var(--r-md)}
  .fig figcaption{font-size:13.5px;margin-top:16px;padding-top:14px}
  .dive{padding:70px 20px}
  .dive__head{margin-bottom:28px}
  .dive__grid{gap:28px;margin-top:28px}
  .life__head{margin-bottom:30px}
  .toc__item{padding:18px 20px 20px}
  .suite__fig{margin-top:40px}
}

/* The problem figure follows the three pain cards, so it needs air above
   it — it is a summary of what was just read, not a fourth card. */
.problem__fig{margin-top:clamp(28px,3.4vw,52px)}

.ai__fig{margin-top:clamp(34px,4vw,58px)}

/* ── the official lockup, when the product owns its domain ─────────── */
.brand--logo{display:block;line-height:0}
.brand--logo img{height:24px;width:auto}
.footer .brand--logo img{height:30px}
@media (max-width:720px){ .brand--logo img{height:20px} }

/* The empty screenshot slot was 16:9 — at 1200px that is a 675px void
   above the fold. Shorter while it is a placeholder; a real capture
   brings its own aspect back. */
.shot-slot{aspect-ratio:21/8}
@media (max-width:720px){ .shot-slot{aspect-ratio:4/3} }
