/* Neo Industrial Hazard: shared base. Tokens, atmosphere, buttons, hero, sections, HUD cells, columns, rules, footer. */
/* Neo Industrial Hazard. One accent token drives every highlight. */
:root {
  --background: #000; --foreground: #f2f2f2; --card: #070707; --muted: #101010;
  --muted-foreground: #8a8a8a; --border: #222;
  --accent: #f2f2f2;                /* shared white */
  --accent2: #9a9a9a;               /* muted neutral */
  --accent-dim: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 45%, transparent);
  --accent-hot: color-mix(in srgb, var(--accent) 80%, #fff);
  --font-sans: "Geist", ui-sans-serif, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 28v8M28 32h8' stroke='%23f2f2f2' stroke-opacity='.13' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 120% 100% at 50% 30%, #000 40%, rgba(0,0,0,.3) 100%); -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 30%, #000 40%, rgba(0,0,0,.3) 100%); }
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.wrap { width: 100%; padding-inline: clamp(16px, 4vw, 56px); }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.accent { color: var(--accent); }
.blue { color: var(--accent2); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; min-height: 40px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 0; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hot); box-shadow: 0 0 22px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--muted-foreground); }
.btn-ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-sm { padding: 6px 14px; min-height: 30px; font-size: 10px; }
.hero { padding-block: clamp(56px, 12vw, 140px) clamp(40px, 8vw, 96px); position: relative; }
.serial { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 28px; }
.serial span::before { content: "["; color: var(--accent); margin-right: 4px; } .serial span::after { content: "]"; color: var(--accent); margin-left: 4px; }
h1 { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .88; font-size: clamp(48px, 11.5vw, 188px); }
h1 em { font-style: normal; color: var(--accent); }
.lede { max-width: 640px; margin-top: 32px; font-size: clamp(16px, 1.6vw, 20px); color: #cfcfcf; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

section { padding-block: clamp(48px, 8vw, 104px); border-top: 1px solid var(--border); position: relative; }
h2 { margin: 10px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; font-size: clamp(32px, 6vw, 84px); max-width: 16ch; }
.sub { max-width: 620px; color: #bdbdbd; margin-top: 20px; }

.hud { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.cell { background: var(--card); padding: 22px 22px 20px; position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.cell::before, .cell::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--accent); }
.cell::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; } .cell::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 44px; }
.col { background: var(--card); padding: 26px; }
.col h3 { margin: 8px 0 10px; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; }
.col p { margin: 0; color: #b5b5b5; font-size: 15px; }
ul.rules { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
ul.rules li { background: var(--card); padding: 18px 22px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; color: #c4c4c4; font-size: 15px; }
ul.rules li b { font-family: var(--font-mono); font-weight: 500; color: var(--accent); font-size: 12px; letter-spacing: .1em; padding-top: 3px; }
footer { border-top: 1px solid var(--border); padding-block: 40px 56px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot p { margin: 0; max-width: 560px; }
