:root {
  --bg: #0b0b0a;
  --bg2: #121211;
  --surface: #171715;
  --fg: #e8e6e1;
  --muted: #9a9890;
  --subtle: #6a6860;
  --steel: #c7c7c7;
  --accent: #7a2e2c;
  --ok: #3d8b5a;
  --warn: #c9a227;
  --bad: #b44532;
  --border: rgba(199, 199, 199, 0.12);
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Space Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.nav { border-bottom: 1px solid var(--border); background: rgba(11,11,10,.92); position: sticky; top: 0; z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--display); letter-spacing: .02em; }
.brand span { display: block; color: var(--subtle); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .92rem; }
.nav-links a.active, .nav-links a:hover { color: var(--fg); }
.hero { padding: 4.5rem 0 3rem; }
.kicker { color: var(--subtle); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; }
h1, h2, .display { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: .95; max-width: 14ch; margin: .6rem 0 1rem; }
.lede { color: var(--muted); max-width: 38rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: .92rem; }
.btn-primary { background: var(--accent); color: #0b0b0a; }
.btn-secondary { border-color: var(--border); color: var(--fg); }
.section { padding: 3rem 0; border-top: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.facts div { border: 1px solid var(--border); background: var(--surface); padding: 1.1rem; border-radius: 10px; }
.facts b { display: block; font-family: var(--display); font-size: 1.4rem; }
.facts span { color: var(--muted); font-size: .85rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.card { border: 1px solid var(--border); background: var(--surface); border-radius: 10px; overflow: hidden; }
.card .ph { aspect-ratio: 4/3; background: #1a1a18; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); font-size: .8rem; }
.footer { border-top: 1px solid var(--border); padding: 2rem 0 5rem; color: var(--subtle); font-size: .85rem; }
.field, select, textarea { width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--border); border-radius: 8px; height: 44px; padding: 0 12px; font: inherit; }
textarea { height: auto; min-height: 120px; padding: 10px 12px; }
label { display: block; font-size: .82rem; color: var(--muted); margin: 0 0 .35rem; }
.form-group { margin-bottom: .85rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; color: var(--muted); font-weight: 500; }
td, th { padding: .7rem .6rem; border-top: 1px solid var(--border); vertical-align: top; }
.hidden { display: none !important; }
.wb-dock { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); background: rgba(11,11,10,.96); }
.wb-dock button { height: 56px; background: none; border: 0; color: var(--subtle); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.wb-dock button.on { color: var(--fg); }
.dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.dash button, .dash a { display: block; text-align: left; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 1rem; color: inherit; }
.nav-links a { position: relative; }
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover:after, .nav-links a.active:after { transform: scaleX(1); }
.gear-spin { transform-box: fill-box; transform-origin: center; animation: gear-cw 11s linear infinite; }
.gear-spin-rev { transform-box: fill-box; transform-origin: center; animation: gear-ccw 16.5s linear infinite; }
@keyframes gear-cw { to { transform: rotate(360deg); } }
@keyframes gear-ccw { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .gear-spin, .gear-spin-rev { animation: none; }
}
