/* site.css — Shadow Agent: page CSS on top of noir.css + layout.css (tokens live in index.html). */

/* one italic word per heading, a shade softer; gold only where the word is Shadow's promise */
.sec-head h2 em,.final h2 em{font-style:italic;color:var(--text-2)}
#om-title em,.final h2 em{color:var(--accent)}

/* the Shadow mark (filled, unlike the stroke icons) */
.logo-mark{width:20px;height:20px;fill:var(--accent);flex:none}
.logo{gap:10px;font-weight:550;letter-spacing:-.01em}

/* the wordmark sits in gold-lit serif */
.split-pane h1{letter-spacing:-.035em}

/* ───────── signature: the IDE's tab pill ───────── */
.ide-tabs{display:flex;flex-wrap:wrap;gap:2px;max-width:100%;padding:4px;border-radius:14px;background:var(--surface-2)}
.ide-tabs .tab{
  display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:10px;
  font:500 14px/1 var(--sans);letter-spacing:-.005em;text-transform:none;color:var(--muted);
}
.ide-tabs .tab .ic{width:16px;height:16px;stroke-width:1.7}
.ide-tabs .tab[aria-selected="true"]{background:var(--surface-3);color:var(--text);box-shadow:inset 0 1px 0 rgba(var(--fg-rgb),.06),0 1px 2px rgba(0,0,0,.35)}
.ide-tabs .tab:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}
.tab-icon{position:relative;display:inline-flex}
/* Code is "busy" — the same pulsing dot the IDE shows while Shadow works */
.busy{position:absolute;right:-4px;top:-3px;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px var(--surface-2);animation:busy 1.6s ease-in-out infinite}
.tab[aria-selected="true"] .busy{box-shadow:0 0 0 2px var(--surface-3)}
@keyframes busy{50%{opacity:.35;transform:scale(.8)}}
.split-scroll .ide-tabs + .term{margin-top:12px}
.term-status i{background:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 20%,transparent);animation:busy 1.6s ease-in-out infinite}

/* typed lines: › command · → step · ✓ done · ▸ folded summary */
.term-body .dim{color:var(--muted);opacity:1}
.term-body .ok{color:var(--ok)}
.term-body .sum{display:inline-block;margin-top:2px;padding:6px 10px;border:1px solid var(--border-strong);border-radius:8px;color:var(--text-2);background:rgba(var(--fg-rgb),.025)}

/* ───────── platforms: five compact rows in two columns ───────── */
.platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.platforms li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;padding:18px 0;border-top:1px solid var(--border)}
.platforms .ic{width:20px;height:20px;margin-top:2px;color:var(--text-2)}
.platforms h3{font-size:17px;font-weight:550;letter-spacing:-.015em}
.platforms p{margin-top:3px;color:var(--muted);font-size:15.5px;line-height:1.5}

/* ───────── benchmarks: big serif numbers, a thin gold bar ───────── */
.bench{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bench-item{padding:24px 22px 26px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--card-bg)}
.bench-num{font:400 18px/1 var(--mono);color:var(--muted);white-space:nowrap}
.bench-num span{font:400 clamp(56px,5vw,76px)/.9 var(--display);letter-spacing:-.03em;color:var(--text);margin-right:6px}
.bench-bar{margin-top:18px;height:3px;border-radius:3px;background:rgba(var(--fg-rgb),.08);overflow:hidden}
.bench-bar i{display:block;height:100%;width:var(--w);background:var(--accent);border-radius:inherit}
.bench-item h3{margin-top:18px;font-size:17px;font-weight:550;letter-spacing:-.015em}
.bench-item p:not(.bench-num){margin-top:6px;color:var(--muted);font-size:15.5px;line-height:1.55}
.fineprint{margin-top:18px;font:400 12.5px/1.6 var(--mono);color:var(--muted)}

/* the dark pane needs a warmer pool behind the black mirror so its edge reads */
.split-pane{
  background:
    radial-gradient(circle at var(--obj-x,50%) var(--obj-y,40%),#25221d 0,rgba(37,34,29,.35) calc(var(--obj-r,22vh) * 1.6),transparent calc(var(--obj-r,22vh) * 2.8)),
    var(--surface);
}

@media (max-width:768px){
  /* three short facts as three columns (each may wrap to two lines) instead of a ragged wrap */
  .pane-foot{display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:12px;font-size:10.5px;letter-spacing:.1em}
  .pane-foot span:nth-child(2){text-align:center}
  .pane-foot span:nth-child(3){text-align:right}
  .split-pane .pane-meta{font-size:11.5px}
  .ide-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%}
  .ide-tabs .tab{flex-direction:column;justify-content:center;gap:5px;height:56px;padding:0 2px;font-size:11.5px}
  .ide-tabs .tab .ic{width:18px;height:18px}
  .platforms,.bench{grid-template-columns:minmax(0,1fr)}
  .platforms{column-gap:0}
}

@media (prefers-reduced-motion: reduce){
  .busy,.term-status i{animation:none}
}
