/* Stage Coach's skin. Loaded AFTER site.css on Stage Coach pages only.

   The sibling brand is one variable swap: Interview Coach's coral becomes blue. Everything
   site.css builds on those tokens — buttons, chips, focus rings, the nav — follows
   automatically, so the two coaches stay visually related without either being a fork of
   the other. Type and line-art are shared and deliberately untouched.

   Blue is doing real work here, not just differentiating: this product is a lit screen in a
   dark room, and a cool accent reads as projected light where a warm one read as stage
   lighting. The one warm token that survives is --stage-glow, because the spill a projector
   throws onto the front row genuinely is warm, and it is what separates the audience
   silhouettes from the background. */
:root {
  --primary: #2563c9;                /* projector blue */
  --primary-hover: #1c4ea6;
  --primary-light: #e8f0fd;
  --accent: #0f7d8c;                 /* teal, the blue's neighbour rather than its opposite */
  --accent-light: #e2f2f4;
  --stage-glow: #ffd08a;             /* what the screen throws onto the audience */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #6aa5ff; --primary-hover: #8dbcff;
    --primary-light: rgba(106,165,255,.16);
    --accent: #45c2d4; --accent-light: rgba(69,194,212,.16);
    --stage-glow: #ffc571;
  }
}
:root[data-theme="dark"] {
  --primary: #6aa5ff; --primary-hover: #8dbcff;
  --primary-light: rgba(106,165,255,.16);
  --accent: #45c2d4; --accent-light: rgba(69,194,212,.16);
  --stage-glow: #ffc571;
}

/* The coach switcher under the mark (.tn-brand/.tn-switch) lives in site.css —
   all three navs carry it, and each row paints itself in that coach's own accent. */
.stagenav .tn-mark { width: 26px; height: 26px; color: var(--primary); }

/* site.css gives the light-mode nav a warm cream bar, which belongs to Interview Coach's
   coral palette and reads as a stripe of the wrong product above a cool blue page. Only the
   bar itself is re-toned; every control inside it still comes from the shared stylesheet. */
:root[data-theme="light"] .stagenav {
  background: rgba(238, 243, 251, .92);
  border-bottom: 1px solid rgba(16, 23, 40, .12);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .stagenav {
    background: rgba(238, 243, 251, .92);
    border-bottom: 1px solid rgba(16, 23, 40, .12);
  }
}

/* ── the difficulty dial ─────────────────────────────────────────────────────── */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.level {
  text-align: left; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: .85rem .95rem; cursor: pointer;
  transition: border-color .15s, transform .15s; color: inherit; font: inherit;
}
.level:hover { transform: translateY(-1px); }
.level[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-light); }
.level b { display: block; font-size: .95rem; margin-bottom: .2rem; }
.level span { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.level .heat { display: flex; gap: 3px; margin-top: .5rem; }
.level .heat i { width: 14px; height: 4px; border-radius: 2px; background: var(--border); }
.level .heat i.on { background: var(--primary); }
