:root {
  --bg: #07080b;
  --bg-soft: #0c0e13;
  --panel: #10131a;
  --panel-2: #151922;
  --text: #f4f4f0;
  --muted: #a6abb6;
  --line: rgba(255,255,255,.11);
  --cyan: #90171f;
  --cyan-deep: #2584cf;
  --yellow: #f2b92b;
  --purple: #8f7fd1;
  --max: 1180px;
  --radius: 2px;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 120px 0; position: relative; }
.section-dark { background: #090b10; border-block: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font: 700 13px/1 Barlow Condensed, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-heading { max-width: 800px; margin-bottom: 54px; }
.section-heading h2 {
  margin: 0;
  font: 700 clamp(42px, 6vw, 78px)/.92 Barlow Condensed, sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.section-heading > p:not(.eyebrow), .inline-heading > p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
}
.inline-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 60px;
  align-items: end;
}

.site-header {
  position: fixed;
  z-index: 100;
  left: 0; right: 0; top: 0;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 4vw);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(5,6,9,.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 2px solid currentColor;
  font: 800 16px/1 Barlow Condensed, sans-serif;
  letter-spacing: -.05em;
  transform: rotate(-2deg);
}
.brand-copy { display: flex; flex-direction: column; line-height: .82; }
.brand-copy b { font: 700 20px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.brand-copy small { color: var(--cyan); font: 600 10px/1.2 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #d6d9e0; font: 600 12px/1 Barlow Condensed, sans-serif; letter-spacing: .13em; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-forum { padding: 12px 16px; border: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; }
.nav-toggle span { display: block; height: 1px; background: white; margin: 7px 0; transition: transform .25s ease; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,8,.96) 0%, rgba(5,6,8,.89) 34%, rgba(5,6,8,.58) 65%, rgba(5,6,8,.83) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
  z-index: 1;
}
.hero-backdrop, .final-bg {
  position: absolute; inset: -5%;
  background-image: url('assets/ambient.jpg');
  background-size: cover;
  background-position: center;
  filter: saturate(.85) contrast(1.1) brightness(.65) blur(1px);
  transform: scale(1.07);
}
.hero-backdrop::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, transparent 15%, black 75%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}
.hero-product {
  position: relative;
  padding: 38px;
  min-height: 650px;
  background: rgba(4,5,7,.91);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-product::after {
  content: "";
  position: absolute;
  left: -1px; bottom: -1px;
  width: 90px; height: 3px;
  background: var(--cyan);
}
.hero-product h2 {
  margin: 0 0 22px;
  font: 700 53px/.86 UnifrakturCook, Georgia, serif;
  letter-spacing: -.02em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font: 700 13px/1 Barlow Condensed, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #0a0a0a; }
.button-primary:hover { background: #ffd052; }
.button-ghost { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.015); }
.button-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.cover-frame {
  margin: 0;
  position: relative;
  aspect-ratio: 1.18;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
}
.cover-frame img { height: 100%; object-fit: contain; }
.micro-links { margin-top: 24px; display: flex; gap: 22px; }
.micro-links a { color: var(--muted); font: 600 11px/1 Barlow Condensed, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.micro-links a:hover { color: white; }

.hero-content { max-width: 700px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: #cdd3dc; font: 700 13px/1 Barlow Condensed, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.hero-kicker span { display: block; width: 46px; height: 2px; background: var(--cyan); }
.hero-content h1 {
  margin: 28px 0;
  font: 800 clamp(68px, 9.5vw, 134px)/.78 Barlow Condensed, sans-serif;
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 900px;
}
.hero-content h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.hero-definition { max-width: 680px; color: #d2d4d9; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 42px; }
.hero-facts article { background: rgba(7,8,11,.82); padding: 22px 20px; min-height: 145px; }
.hero-facts strong { display: block; font: 700 20px/1.1 Barlow Condensed, sans-serif; text-transform: uppercase; margin-bottom: 10px; }
.hero-facts span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.server-bar { margin-top: 16px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: rgba(8,10,13,.75); }
.server-bar small { color: var(--muted); display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.server-bar b { font: 700 16px/1.2 Barlow Condensed, sans-serif; letter-spacing: .06em; }
.status-dot { font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--yellow); }
.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; background: currentColor; border-radius: 50%; margin-right: 8px; box-shadow: 0 0 14px currentColor; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.story-copy .lead { font-size: clamp(22px, 2.3vw, 31px); line-height: 1.45; color: #e9e9e6; margin-top: 0; }
.story-copy p:not(.lead) { color: var(--muted); max-width: 620px; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--cyan); font: 700 13px/1 Barlow Condensed, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 7px; border-bottom: 1px solid currentColor; }
.mission-board { border-top: 1px solid var(--line); }
.mission-line { display: grid; grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.mission-line > span { color: var(--cyan); font: 700 13px/1 Barlow Condensed, sans-serif; }
.mission-line b { font: 700 22px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.mission-line p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 380px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.category-large { grid-row: span 2; min-height: 778px; }
.category-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.category-card:hover img { transform: scale(1.045); filter: saturate(1.18); }
.category-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,4,6,.97) 0%, rgba(3,4,6,.15) 72%); }
.category-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px; }
.category-copy small { color: var(--cyan); font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.category-copy h3 { margin: 9px 0 9px; font: 700 clamp(34px, 4vw, 58px)/.95 Barlow Condensed, sans-serif; text-transform: uppercase; }
.category-copy p { color: #c2c5cc; max-width: 500px; font-size: 14px; }
.category-copy b { display: inline-block; margin-top: 10px; font: 700 12px/1 Barlow Condensed, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.category-community { background: linear-gradient(135deg, #13152a, #081621); }
.community-pattern { position: absolute; inset: 0; opacity: .55; background:
  radial-gradient(circle at 20% 25%, rgba(89,199,255,.26) 0 2px, transparent 3px),
  linear-gradient(120deg, transparent 0 44%, rgba(255,255,255,.05) 45% 46%, transparent 47%),
  repeating-linear-gradient(25deg, transparent 0 32px, rgba(255,255,255,.025) 33px 34px); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; min-height: 340px; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gallery-wide { grid-column: 1 / -1; min-height: 500px !important; }
.gallery img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font: 700 23px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.gallery figcaption span { display: block; margin-top: 7px; color: var(--cyan); font-size: 10px; letter-spacing: .16em; }
.gallery-quote { display: grid; align-content: center; padding: 45px; background: linear-gradient(135deg, #111722, #0b0d12) !important; }
.gallery-quote blockquote { margin: 0; font: 600 clamp(28px, 4vw, 48px)/1.05 Barlow Condensed, sans-serif; text-transform: uppercase; }
.gallery-quote figcaption { position: static; background: none; padding: 22px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; }

.install-section { background: #0b0d11; border-block: 1px solid var(--line); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.download-card { background: var(--panel); border: 1px solid var(--line); min-height: 520px; display: grid; grid-template-rows: 265px 1fr; }
.download-image { position: relative; overflow: hidden; background: #000; }
.download-image img { height: 100%; object-fit: cover; }
.gta-download img { object-fit: contain; }
.openmp-download img { object-fit: contain; padding: 20px; }
.download-image > span { position: absolute; right: 20px; top: 16px; color: rgba(255,255,255,.5); font: 700 52px/1 Barlow Condensed, sans-serif; }
.download-copy { padding: 32px; }
.download-copy small { color: var(--cyan); font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.download-copy h3 { margin: 8px 0 10px; font: 700 42px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.download-copy p { color: var(--muted); min-height: 70px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.steps li { padding: 24px; border-right: 1px solid var(--line); counter-increment: steps; }
.steps li:last-child { border-right: 0; }
.steps b { display: block; font: 700 20px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.steps span { color: var(--muted); font-size: 12px; display: block; margin-top: 9px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 26px 22px; min-height: 400px; display: flex; flex-direction: column; }
.price-card small { color: var(--cyan); font: 700 10px/1 Barlow Condensed, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.price-card h3 { margin: 11px 0 12px; font: 700 36px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.price { font: 700 52px/.9 Barlow Condensed, sans-serif; }
.price span { font-size: 16px; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 26px 0; color: var(--muted); }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.price-card .button { margin-top: auto; }
.price-featured { border-color: rgba(242,185,43,.65); transform: translateY(-12px); }
.featured-label { position: absolute; right: 18px; top: 17px; color: var(--yellow); font: 700 10px/1 Barlow Condensed, sans-serif; letter-spacing: .15em; text-transform: uppercase; }

.roadmap-section { background: #06070a; border-top: 1px solid var(--line); }
.roadmap-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.roadmap-list { border-top: 1px solid var(--line); }
.roadmap-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.roadmap-list span { color: var(--cyan); font: 700 11px/1 Barlow Condensed, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.roadmap-list b { font: 700 24px/1 Barlow Condensed, sans-serif; text-transform: uppercase; }
.roadmap-list p { grid-column: 2; margin: -7px 0 0; color: var(--muted); font-size: 13px; }

.final-cta { min-height: 620px; position: relative; display: grid; place-items: center; overflow: hidden; border-top: 1px solid var(--line); }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,4,6,.92), rgba(3,4,6,.55), rgba(3,4,6,.88)); }
.final-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.final-inner h2 { margin: 0 auto 36px; font: 800 clamp(58px, 8vw, 104px)/.82 Barlow Condensed, sans-serif; text-transform: uppercase; letter-spacing: -.05em; }
.final-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 54px 0 24px; border-top: 1px solid var(--line); background: #050609; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.footer-brand { margin-bottom: 18px; }
.footer-grid p { color: var(--muted); max-width: 430px; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.footer-links a { color: #cdd0d6; font: 700 12px/1 Barlow Condensed, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #747985; font-size: 10px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 11px; }
  .hero-grid { grid-template-columns: 330px 1fr; gap: 55px; }
  .hero-product { min-height: 590px; padding: 28px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts article { min-height: auto; }
  .category-large { min-height: 650px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-featured { transform: none; }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 86px 0; }
  .site-header { height: 68px; padding-inline: 15px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 68px 0 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,6,9,.98);
    padding: 28px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: .25s ease;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav .nav-forum { margin-top: 18px; border: 1px solid var(--line); text-align: center; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { padding-top: 98px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-product { order: 2; min-height: auto; }
  .hero-content { order: 1; }
  .hero-content h1 { font-size: clamp(64px, 19vw, 104px); }
  .hero-facts { grid-template-columns: 1fr; }
  .story-grid, .inline-heading, .roadmap-grid { grid-template-columns: 1fr; gap: 42px; }
  .inline-heading { align-items: start; }
  .category-grid { grid-template-columns: 1fr; }
  .category-large { grid-row: auto; min-height: 520px; }
  .category-card { min-height: 420px; }
  .download-grid, .pricing-grid { grid-template-columns: 1fr; }
  .price-featured { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; min-height: 400px !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-product { padding: 23px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-product h2 { font-size: 45px; }
  .server-bar { align-items: flex-start; gap: 14px; flex-direction: column; }
  .section-heading h2 { font-size: 48px; }
  .category-card, .category-large { min-height: 460px; }
  .category-copy { padding: 24px; }
  .gallery figure, .gallery-wide { min-height: 350px !important; }
  .download-card { grid-template-rows: 220px 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

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