:root {
  --black: #050505;
  --panel: #0b0b0c;
  --panel-2: #111113;
  --white: #f2f0ed;
  --muted: #a3a0a0;
  --red: #ef2636;
  --red-dark: #9e0e1b;
  --line: rgba(255,255,255,.12);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.accent, h2 span { color: var(--red); }
.page-glow { position: fixed; width: 520px; height: 520px; border-radius: 50%; left: var(--mouse-x, 80%); top: var(--mouse-y, 10%); translate: -50% -50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(239,38,54,.07), transparent 68%); }

.site-header { position: fixed; inset: 0 0 auto; height: 82px; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding-inline: max(32px, calc((100vw - 1180px)/2)); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { height: 66px; background: rgba(5,5,5,.9); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: .06em; font-size: 15px; }
.brand-mark { width: 32px; color: var(--red); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: #c7c3c3; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav a:hover { color: white; }
.nav .nav-cta { border: 1px solid var(--red); color: white; padding: 9px 16px; }
.nav .nav-cta:hover { background: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle > span:not(.sr-only) { width: 24px; height: 2px; background: white; display: block; margin: 5px 0; }

.hero { min-height: 790px; height: 100vh; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-media, .hero-overlay, .hero-grid { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; filter: contrast(1.08) brightness(.66) saturate(.72); transform: scale(1.03); animation: heroIn 1.5s cubic-bezier(.2,.7,.2,1) both; }
.hero-overlay { background: linear-gradient(90deg, #050505 3%, rgba(5,5,5,.92) 27%, rgba(5,5,5,.26) 70%), linear-gradient(0deg, #050505 0%, transparent 25%, rgba(0,0,0,.3) 100%); }
.hero-grid { opacity: .16; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, black, transparent 62%); }
.hero-content { position: relative; z-index: 2; padding-top: 60px; }
.eyebrow, .kicker { margin: 0 0 22px; font: 700 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .19em; color: #cbc6c6; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 32px; height: 1px; background: var(--red); box-shadow: 0 0 12px var(--red); }
h1 { max-width: 780px; margin: 0; font-size: clamp(60px, 7.7vw, 116px); line-height: .87; letter-spacing: -.065em; text-transform: uppercase; font-weight: 900; }
h1 em { color: var(--red); font-style: normal; text-shadow: 0 0 50px rgba(239,38,54,.2); }
.hero-copy { max-width: 610px; margin: 30px 0; color: #c8c4c4; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 0 24px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 800; border: 1px solid var(--line); transition: .25s ease; }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-primary { background: var(--red); color: white; border-color: var(--red); box-shadow: 0 12px 40px rgba(239,38,54,.18); }
.button-primary:hover { background: #ff3545; border-color: #ff3545; transform: translateY(-2px); box-shadow: 0 15px 50px rgba(239,38,54,.3); }
.button-secondary { background: rgba(8,8,8,.55); backdrop-filter: blur(8px); }
.button-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-meta { display: flex; gap: 0; margin-top: 55px; }
.hero-meta div { min-width: 145px; padding: 0 28px; border-left: 1px solid var(--line); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong, .hero-meta span { display: block; }
.hero-meta strong { font-size: 18px; font-weight: 800; letter-spacing: .05em; }
.hero-meta span { color: #989494; font: 11px/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1180px)/2)); bottom: 38px; display: flex; align-items: center; gap: 12px; color: #aba7a7; text-decoration: none; font: 700 10px/1 ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--red), transparent); }
@keyframes heroIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.03); } }

.section { padding-block: 120px; position: relative; z-index: 1; }
.section-heading h2 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.kicker { color: var(--red); margin-bottom: 18px; }
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.intro-copy { padding-top: 36px; }
.intro-copy p { color: var(--muted); }
.intro-copy .lead { color: var(--white); font-size: 23px; line-height: 1.45; margin-top: 0; }
.platform-line { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: #c0bcbc; font: 11px/1.4 ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.platform-line span::before { content: "+"; color: var(--red); margin-right: 8px; }

.features { background: #080809; border-block: 1px solid rgba(255,255,255,.06); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.section-heading-row > p { max-width: 340px; color: var(--muted); margin: 0 0 4px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-card { min-height: 340px; padding: 32px; background: var(--panel); border: 1px solid var(--line); margin: -1px 0 0 -1px; position: relative; overflow: hidden; transition: .3s ease; }
.feature-card::after { content: ""; position: absolute; inset: auto -20% -55% 25%; height: 200px; background: radial-gradient(circle, rgba(239,38,54,.14), transparent 66%); opacity: 0; transition: opacity .3s; }
.feature-card:hover { background: #101012; transform: translateY(-3px); border-color: rgba(239,38,54,.5); z-index: 2; }
.feature-card:hover::after { opacity: 1; }
.feature-card-large { grid-column: span 1; grid-row: span 2; min-height: 500px; display: flex; flex-direction: column; justify-content: end; background: linear-gradient(145deg, rgba(239,38,54,.12), transparent 55%), var(--panel-2); }
.feature-number { position: absolute; right: 25px; top: 22px; color: #5e5c5c; font: 11px ui-monospace, monospace; letter-spacing: .1em; }
.feature-icon { color: var(--red); margin-bottom: 60px; }
.feature-card-large .feature-icon { margin-bottom: auto; }
.feature-icon svg { width: 42px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.feature-card h3 { font-size: 21px; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 12px; }
.feature-card p { color: var(--muted); line-height: 1.65; margin: 0; font-size: 14px; }
.card-tag { margin-top: 30px; color: var(--red); font: 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .16em; }

.gallery-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; grid-template-rows: repeat(2, 240px); gap: 12px; }
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; padding: 0; border: 0; background: #111; color: white; text-align: left; }
.gallery-main { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.75) contrast(1.05); }
.gallery-item::after { content: "+"; position: absolute; right: 18px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(5,5,5,.7); border: 1px solid rgba(255,255,255,.25); font-size: 20px; opacity: 0; transform: translateY(-8px); transition: .25s; }
.gallery-item > span { position: absolute; inset: auto 0 0; padding: 45px 18px 15px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.gallery-item b { color: var(--red); margin-right: 10px; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1); }
.gallery-item:hover::after { opacity: 1; transform: none; }

.connect { background: var(--red); color: white; overflow: hidden; }
.connect::after { content: "NET"; position: absolute; right: -20px; bottom: -140px; font-size: 420px; line-height: 1; font-weight: 950; letter-spacing: -.08em; color: rgba(0,0,0,.08); pointer-events: none; }
.connect .kicker { color: #300307; }
.connect h2 span { color: #2d0306; }
.connect-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; position: relative; z-index: 1; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 27px 0; border-top: 1px solid rgba(0,0,0,.25); }
.steps li:last-child { border-bottom: 1px solid rgba(0,0,0,.25); }
.steps > li > span { font: 800 11px ui-monospace, monospace; color: #52070d; padding-top: 6px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; text-transform: uppercase; }
.steps p { margin: 0; max-width: 500px; color: rgba(255,255,255,.75); }

.controls-layout { display: grid; grid-template-columns: 200px 1fr 250px; margin-top: 55px; border: 1px solid var(--line); min-height: 370px; }
.control-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.control-tabs button { flex: 1; padding: 25px; background: none; border: 0; border-bottom: 1px solid var(--line); color: #777; text-align: left; font: 800 11px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.control-tabs button:last-child { border-bottom: 0; }
.control-tabs button[aria-selected="true"] { background: var(--red); color: white; }
.control-panels { padding: 45px; display: grid; align-items: center; }
.control-panel { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 30px; }
.control-panel > div { display: flex; align-items: center; gap: 8px; min-height: 50px; }
kbd { min-width: 38px; display: inline-grid; place-items: center; padding: 8px 10px; border: 1px solid #484848; border-bottom-width: 3px; border-radius: 3px; background: #151516; color: #fff; font: 700 11px/1 ui-monospace, monospace; box-shadow: inset 0 1px rgba(255,255,255,.08); }
kbd.wide { min-width: 76px; }
.control-panel span { margin-left: 6px; color: var(--muted); font-size: 13px; }
.hotkeys { border-left: 1px solid var(--line); padding: 38px 32px; background: #090909; }
.hotkeys h3 { margin: 0 0 24px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.hotkeys p { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.hotkeys kbd { min-width: 46px; }

.download { min-height: 680px; display: grid; place-items: center; overflow: hidden; text-align: center; }
.download-bg { position: absolute; inset: 0; }
.download-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.18) contrast(1.25); }
.download-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(239,38,54,.16), transparent 36%), linear-gradient(#050505 0%, transparent 25%, #050505 100%); }
.download-inner { position: relative; }
.download h2 { font-size: clamp(58px, 7vw, 102px); line-height: .84; margin: 0 0 28px; text-transform: uppercase; letter-spacing: -.06em; }
.download-inner > p:not(.kicker):not(.requirement) { color: #aaa5a5; max-width: 540px; margin: 0 auto 30px; font-size: 17px; }
.download code { color: #e4e0e0; }
.button-large { min-height: 66px; padding-inline: 35px; }
.button-large span { opacity: .7; padding-left: 18px; margin-left: 5px; border-left: 1px solid rgba(255,255,255,.4); }
.download .requirement { margin: 18px 0 0; color: #777; font: 10px ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; }

.footer { min-height: 125px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #747171; font-size: 12px; }
.footer p { margin: 0; }
.footer > a:last-child { text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.lightbox { width: min(1180px, calc(100% - 40px)); padding: 0; border: 1px solid #4b4b4b; background: #050505; box-shadow: 0 30px 100px #000; }
.lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-close { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.8); color: white; font-size: 26px; cursor: pointer; z-index: 2; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 700px); }
  .site-header { padding-inline: 18px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav { display: none; position: absolute; inset: 0 0 auto; min-height: 100vh; padding: 110px 30px; background: rgba(5,5,5,.98); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { font-size: 22px; padding: 10px; }
  .nav .nav-cta { text-align: center; margin-top: 20px; }
  .hero { min-height: 760px; }
  .hero-media img { object-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.8) 70%, rgba(5,5,5,.45)), linear-gradient(0deg, #050505, transparent 35%); }
  .hero-content { padding-top: 20px; }
  .scroll-cue { display: none; }
  .section { padding-block: 85px; }
  .intro, .connect-layout { grid-template-columns: 1fr; gap: 40px; }
  .intro-copy { padding-top: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-large { grid-row: auto; min-height: 340px; }
  .feature-card-large .feature-icon { margin-bottom: 60px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 200px 200px; }
  .gallery-main { grid-column: span 2; grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: auto; }
  .controls-layout { grid-template-columns: 170px 1fr; }
  .hotkeys { grid-column: span 2; border-left: 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 25px; align-items: center; }
  .hotkeys h3 { width: 100%; margin-bottom: 5px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  .hero { min-height: 720px; }
  .hero-media { opacity: .65; }
  h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero-copy { font-size: 16px; margin: 24px 0; }
  .hero-meta { margin-top: 38px; }
  .hero-meta div { min-width: 0; flex: 1; padding: 0 13px; }
  .hero-meta strong { font-size: 15px; }
  .hero-meta span { font-size: 8px; }
  .button { width: 100%; }
  .section-heading-row { display: block; margin-bottom: 36px; }
  .section-heading-row > p { margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-large { min-height: 310px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 220px); }
  .gallery-main { grid-column: auto; }
  .connect::after { font-size: 240px; bottom: -50px; }
  .controls-layout { display: block; }
  .control-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .control-tabs button { min-width: 135px; border-bottom: 0; border-right: 1px solid var(--line); padding: 20px 15px; }
  .control-panels { padding: 30px 22px; }
  .control-panel { grid-template-columns: 1fr; gap: 14px; }
  .hotkeys { display: block; padding: 30px 22px; }
  .download { min-height: 650px; }
  .button-large span { display: none; }
  .footer { padding-block: 35px; flex-direction: column; text-align: center; }
}

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