/* SARION 2 visual foundation. Scoped so other shipped pages retain their contracts. */
:root {
  --s2-bg: #0a0d10; --s2-panel: #101419; --s2-raised: #181e24;
  --s2-text: #edece7; --s2-muted: #b0b5b6; --s2-line: #343b40;
  --s2-accent: #d1bb90; --s2-accent-ink: #17140d; --s2-listen: #a7c8c7;
  --s2-danger: #f0ac98; --s2-radius: 16px;
}
:root[data-theme="light"] {
  --s2-bg: #f3f1ea; --s2-panel: #fffdf7; --s2-raised: #e9e6dc;
  --s2-text: #20282d; --s2-muted: #596167; --s2-line: #c5c3ba;
  --s2-accent: #71571f; --s2-accent-ink: #fffdf7; --s2-listen: #365f60; --s2-danger: #a23a26;
}
body.sarion2 {
  --bg: var(--s2-bg); --bg-soft: var(--s2-panel); --panel: var(--s2-panel);
  --panel-strong: var(--s2-raised); --line: var(--s2-line); --text: var(--s2-text);
  --muted: var(--s2-muted); /* --primary and --primary-strong keep the shipped values: chat links and tested components use them */
  --body-gradient: var(--s2-bg); --shell-bg: var(--s2-panel);
  background: var(--s2-bg); color: var(--s2-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sarion2 :focus-visible { outline: 3px solid var(--s2-accent); outline-offset: 4px; }
/* No page-wide control sizing: the shipped components keep their own metrics. 44px targets are set on the controls this layer owns. */
.sarion2 input:not([type=checkbox]):not([type=radio]), .sarion2 textarea, .sarion2 select {
  border-radius: 10px; accent-color: var(--s2-accent);
}
.sarion2 button:disabled { cursor: not-allowed; }
.sarion2 a { text-underline-offset: .22em; }
.sarion2 .s2-wordmark { display: block; width: 150px; height: auto; object-fit: contain; background: #000; border-radius: 0; }
.s2-skip { position: fixed; top: -100px; left: 16px; z-index: 20000; padding: 12px 20px; background: var(--s2-panel); color: var(--s2-text); }
.s2-skip:focus { top: 12px; }
.s2-eyebrow { color: var(--s2-accent); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
  .sarion2 *, .sarion2 *::before, .sarion2 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
