/* developer-shell.css — shared shell for the Distil developer pages.
 *
 * Single source of truth for the teal palette, resets, and core chrome
 * (nav, brand, buttons, footer) used by /developers, /developers/docs, and
 * /developers/audit. Linked BEFORE each page's inline <style>, so any page
 * that needs to diverge just re-declares the rule inline (equal specificity,
 * later wins) — see .shell width on the overview, or .brand-copy.
 *
 * Palette-agnostic by design: every colour is a token. A new vertical can
 * adopt this shell and re-skin by overriding :root (that is how enterprise or
 * film could join without duplicating the structural CSS again).
 */

:root {
  color-scheme: dark;
  --bg: #071018;
  --bg-soft: #0a151e;
  --panel: rgba(15, 29, 39, 0.78);
  --panel-solid: #0f1c26;
  --panel-raised: #14232e;
  --line: rgba(211, 234, 229, 0.13);
  --line-strong: rgba(211, 234, 229, 0.25);
  --ink: #f4f8f5;
  --muted: #9db0ad;
  --quiet: #6e8582;
  --lime: #b7f56a;
  --mint: #70e6c1;
  --blue: #82b3ff;
  --amber: #ffc879;
  --danger: #ff9a9a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% -8%, rgba(112, 230, 193, 0.12), transparent 31rem),
    radial-gradient(circle at 90% 9%, rgba(130, 179, 255, 0.10), transparent 28rem),
    linear-gradient(180deg, #071018 0%, #08131b 58%, #060d13 100%);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid rgba(183, 245, 106, 0.68); outline-offset: 3px; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); border-color: rgba(211, 234, 229, 0.42); background: rgba(255, 255, 255, 0.07); }
.button.primary { border-color: var(--lime); background: var(--lime); color: #101a10; box-shadow: 0 10px 32px rgba(183, 245, 106, 0.12); }
.button.primary:hover { background: #c5ff7d; }
.button.small { min-height: 36px; padding: 0 13px; font-size: 12px; }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
