/* Tokens of the panel (orchestrator-ui/src/index.css): the site is the same product. Local fonts only. */
:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --line: #e3e6ea;
  --ink: #16191d;
  --muted: #5b6470;
  --accent: #2457d6;
  --accent-strong: #1a44ad;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --panel: #1c2026;
    --line: #2c323a;
    --ink: #e8eaed;
    --muted: #a3abb6;
    --accent: #7aa2ff;
    --accent-strong: #a8c1ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px max(16px, calc((100% - 960px) / 2));
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.brand {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  min-height: calc(100vh - 120px);
}

.hero h1 { font-size: 36px; margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.plain { padding-left: 20px; }

/* Navigation (spec 4 §8.1): sections on the left, the cabinet on the right; wraps on a phone. */
.site-header { flex-wrap: wrap; gap: 12px 24px; }
.site-nav, .site-account { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-account { margin-left: auto; }
.site-nav a, .site-account a { color: var(--muted); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-account a:hover { color: var(--ink); }
.site-nav a.current, .site-account a.current { color: var(--ink); border-bottom-color: var(--accent); }
.site-footer a { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; background: var(--panel); padding: 6px 10px; z-index: 10; }
