/* Shared tokens for the Simularc concept prototypes (brand book, Nov 2026).
   Paper leads; blue appears once, only as the confirmed point. */
:root {
  --ink: #15141A; --paper: #F6F7F9; --slate: #4A5060; --line: #E3E7ED;
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--slate); --rule: var(--line);
  --arc: #4A5060; --arc-a: .24;             /* idle possibility lines */
  --pt: #3A5BD9;
  --pad: clamp(18px, 3.4vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15141A; --fg: #F6F7F9; --fg-2: rgba(246,247,249,.6); --rule: rgba(246,247,249,.14);
    --arc: #F6F7F9; --arc-a: .2; --pt: #8EA7FF;
  }
}
:root[data-theme="dark"] { --bg: #15141A; --fg: #F6F7F9; --fg-2: rgba(246,247,249,.6); --rule: rgba(246,247,249,.14); --arc: #F6F7F9; --arc-a: .2; --pt: #8EA7FF; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--fg); overflow: hidden;
  font-family: "Jost", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.lockup { display: block; height: 26px; width: auto; color: var(--fg); }
.lockup .pt { fill: var(--pt); }
.tag { margin: 12px 0 0; font-weight: 300; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-2); }
.tag span { transition: color .5s ease; }
.tag span.on { color: var(--fg); }
.overlay { position: fixed; pointer-events: none; z-index: 2; }

/* RUN page styles (shared by the concept page and the live site; site/assets/site.css = concepts.css + this). */
  /* CONCEPT 3 · RUN v3 "Live + Simulated" — the Simularc symbol, played as the work behind it, with no step named.
     Inputs (unlabelled: blacked-out lines, an asset, tags) go to the 9 o'clock start of the symbol around a turning globe.
     SIMULATE (the dashed half): many people are considered, the fitting ones rise off the land; a few are shown in depth
       (a column of hundreds of tiny marks = everything they have answered); they stand in the dashes as AI personas
       (dotted outlines), deliberate and sway each other. A small live group (solid figures round a table) talks, and
       its reactions travel out and move the personas.
     PREDICT (the solid arc): the personas settle; their answers draw most of the arc before anything runs.
     CONFIRM (the point): real check-ins (solid figures) land on the arc, it completes, and the one blue point lands.
     Visual language: dotted = simulated, solid = real, blue = confirmed. Illustration only: no data, no names. */
  canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
  canvas.drag { cursor: grabbing; }
  .brand { left: max(var(--pad), env(safe-area-inset-left)); top: max(var(--pad), env(safe-area-inset-top)); }
  .meta  { right: max(var(--pad), env(safe-area-inset-right)); top: max(var(--pad), env(safe-area-inset-top)); display: flex; gap: 18px; }
  .now   { left: max(var(--pad), env(safe-area-inset-left)); bottom: max(var(--pad), env(safe-area-inset-bottom)); }
  .state { margin: 0 0 8px; font-weight: 300; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: .02em; color: var(--fg); min-height: 1.3em; display: flex; align-items: center; gap: 10px; }
  .state svg { width: 16px; height: 16px; flex: none; overflow: visible; }
  .state svg path { fill: none; stroke: currentColor; stroke-width: 3.2; }
  .state svg circle { fill: currentColor; }
  .state svg > * { opacity: .22; transition: opacity .3s ease; }
  .state[data-s="sim"] .g-sim, .state[data-s="pred"] .g-pred, .state[data-s="conf"] .g-conf { opacity: 1; }
  .state[data-s=""] svg { visibility: hidden; }
  .readout { margin: 0; font-variant-numeric: tabular-nums; }
  .key { margin: 0 0 14px; display: flex; gap: 16px; align-items: center; }
  .key span { display: inline-flex; align-items: center; gap: 6px; }
  .key svg { width: 13px; height: 13px; }
  .key .sim * { fill: color-mix(in srgb, var(--fg) 30%, transparent); stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 1.5 1.4; }
  .key .real * { fill: var(--fg); }

  /* the inputs: blacked-out lines, an asset and two tags; nothing readable, no label */
  :root { --bar-a: .55; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bar-a: .4; } }
  :root[data-theme="dark"] { --bar-a: .4; }
  .brief { left: 0; top: 0; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 2px; background: var(--bg); transition: opacity .3s ease; }
  .brief i { display: block; height: 6px; border-radius: 1px; background: var(--fg-2); opacity: var(--bar-a); transform-origin: left center; transform: scaleX(0); will-change: transform; }
  .brief i + i { margin-top: 7px; }
  .brief .row { display: flex; align-items: center; gap: 6px; margin-top: 11px; }
  .brief .row b { display: block; border: 1px solid var(--fg-2); opacity: 0; transform: scale(.6); will-change: transform, opacity; }
  .brief .row .sq { width: 15px; height: 15px; border-radius: 1px; background: linear-gradient(135deg, transparent 46%, var(--fg-2) 48%, var(--fg-2) 52%, transparent 54%); }
  .brief .row .chip { width: 32px; height: 9px; border-radius: 5px; }
  .brief.dim { opacity: .5; }

  /* names of the three parts, shown only while the finished symbol holds */
  .legend { inset: 0; }
  .leg { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--fg); opacity: 0; transition: opacity .3s ease; }
  .legend.on .leg { opacity: .8; }


  @media (max-width: 700px) {
    .meta { top: auto; bottom: max(var(--pad), env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-end; gap: 6px; }
    .brief { padding: 12px 14px; }
    .leg { font-size: 10px; }
  }
  @media (prefers-reduced-motion: reduce) { .tag span, .brief, .leg, .lockup .pt, .state svg > * { transition: none !important; } }

  /* 404 */
  .nf { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
  .nf h1 { margin: 10px 0 18px; font-weight: 300; font-size: clamp(26px, 3vw, 40px); letter-spacing: .02em; }
  .nf a { color: var(--fg); text-underline-offset: 4px; }
  .brand a { color: inherit; pointer-events: auto; }
