/* SIGNSOBER — design tokens (shared by / and /docs). Owner: LANDING.
   Concept A "cinematic hero-object": near-black, glass, one cyan accent; verdict colours only on stamps.
   Fonts are self-hosted in /fonts. */

@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/plex-mono-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-2: #090B0D;
  --card: rgba(255, 255, 255, .035);
  --card-solid: #0D1012;
  --ink: #E9EDF0;
  --ink-2: #A3ACB4;
  --ink-3: #78828B;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fill: rgba(255, 255, 255, .045);
  --focus: #7FE7F2;
  --cyan: #6FE6F2;
  --cyan-dim: rgba(111, 230, 242, .14);
  --glass: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.8);

  --sober: #4BE08A;
  --amber: #F2B04E;
  --red: #FF6B63;
  --sober-bg: rgba(75, 224, 138, .08);
  --amber-bg: rgba(242, 176, 78, .08);
  --red-bg: rgba(255, 107, 99, .08);

  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 10px;
  --r-lg: 16px;
  --wrap: 1240px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code, pre, kbd, .mono { font-family: var(--font-mono); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(5, 6, 7, .62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font-mono); letter-spacing: .22em; text-decoration: none; }
.mark svg { width: 18px; height: 18px; flex: none; color: var(--ink); filter: drop-shadow(0 0 8px rgba(111,230,242,.35)); }
.top__nav { display: flex; gap: 20px; font: 500 13px/1 var(--font-mono); }
.top__nav a { text-decoration: none; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); text-decoration: underline; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.7); background: linear-gradient(180deg, #F4F8FA, #C9D3D9); color: #071014;
  font: 600 14px/1 var(--font-body); cursor: pointer; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 28px -6px rgba(180, 235, 245, .55), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .06s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.05); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 36px -4px rgba(180, 235, 245, .7), inset 0 1px 0 rgba(255,255,255,.9); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--ink); border-color: var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.btn--ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); filter: none; }
.btn--sm { min-height: 34px; padding: 0 13px; font-size: 13px; border-radius: 9px; }

/* code */
pre.code {
  margin: 0; padding: 14px 16px; overflow-x: auto;
  background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: var(--r);
  font: 400 12.5px/1.6 var(--font-mono); color: #CFE9EE; white-space: pre;
}

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 72px; padding: 36px 0 52px; color: var(--ink-2); font-size: 13px; background: linear-gradient(180deg, transparent, rgba(111,230,242,.025)); }
.foot__grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
.foot__disc { max-width: 760px; margin: 0; }
.foot__links { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 13px; }
.foot__small { grid-column: 1 / -1; margin: 0; color: var(--ink-3); font-size: 12px; }
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .foot__grid { grid-template-columns: 1fr; }
  .top__nav { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

::selection { background: rgba(111, 230, 242, .28); color: #fff; }
