/* Foundrel tokens and shared parts: shop floor greys, one steel slate accent */

:root {
  --navy: #1f2a31; --ink: #1a2227; --ink-2: #4e5b63; --bg: #eef0f1; --surface: #fff; --soft: #e6eaec; --line: #d6dcdf; --line-2: #b9c2c7;
  --accent: #4d6675; --accent-dark: #364a56; --accent-tint: #e0e9ee;
  --ok: #1f6335; --ok-tint: #dff0e2; --warn: #8a4300; --warn-tint: #ffe8cc; --danger: #a12222; --danger-tint: #fbe1df;
  --info: #1d5583; --info-tint: #e1eef9; --wait: #664900; --wait-tint: #faefc2;
  --radius: 4px; --radius-lg: 6px;
  --font: "Overpass", "Segoe UI", sans-serif; --head: "Chivo", "Overpass", sans-serif; --mono: "Overpass Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1f6fd6; outline-offset: 2px; }
h1[tabindex]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.code { font-family: var(--mono); font-size: .88em; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14.5px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .14s, border-color .14s, transform .08s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-quiet { color: var(--danger); }
.btn-danger-quiet:hover { border-color: var(--danger); background: var(--danger-tint); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--soft); border-color: var(--line); }
.btn-small { min-height: 34px; padding: 0 11px; font-size: 13.5px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 20px/1 var(--head); text-decoration: none; color: inherit; }

/* Demo bar: marks this as a concept demo */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 40px; padding: 4px 20px; background: var(--accent-tint); color: #1f2a31; font-size: 13.5px; }
.demo-bar nav { display: flex; align-items: center; gap: 18px; }
.demo-bar a { color: inherit; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.demo-bar .demo-cta { padding: 0 13px; border-radius: var(--radius); background: #1f2a31; color: #fff; text-decoration: none; }
@media (max-width: 620px) { .demo-bar { padding: 4px 14px; } .demo-bar p span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
