@font-face {
  font-family: "RA Gotham";
  src: url("./fonts/gotham-book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "RA Gotham";
  src: url("./fonts/gotham-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "RA Gotham";
  src: url("./fonts/gotham-ultra.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #0f131a;
  --page-deep: #090c11;
  --panel: #181d27;
  --panel-raised: #1d2430;
  --panel-soft: #141922;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f8fb;
  --muted: #aeb6c4;
  --subtle: #778090;
  --red: #e50e0e;
  --red-bright: #ff3b30;
  --orange: #ff8a3d;
  --green: #2dde83;
  --blue: #54a7ff;
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(229, 14, 14, 0.1), transparent 30rem),
    radial-gradient(circle at 88% 36%, rgba(84, 167, 255, 0.07), transparent 34rem),
    var(--page);
  color: var(--text);
  font-family: "RA Gotham", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--page);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(9, 12, 17, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red-bright) 58%, #ff6760);
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.72);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 11px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(229, 14, 14, 0.22));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  gap: clamp(20px, 3vw, 42px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--red-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.15;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-bright), #bd0606);
  box-shadow: 0 14px 34px rgba(229, 14, 14, 0.24);
  color: #fff;
}

.button-primary::after {
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -35%;
  width: 25%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  content: "";
  transform: skewX(-18deg);
  animation: cta-shine 1.1s ease 1.2s 1 both;
  pointer-events: none;
}

.button-primary:hover {
  box-shadow: 0 17px 40px rgba(229, 14, 14, 0.34);
  transform: translateY(-2px);
}

.button-primary:active {
  box-shadow: 0 8px 20px rgba(229, 14, 14, 0.24);
  transform: translateY(0);
}

.button-small {
  min-height: 44px;
  padding: 10px 15px;
  background: rgba(229, 14, 14, 0.12);
  border-color: rgba(255, 59, 48, 0.38);
  color: #fff;
  font-size: 0.84rem;
}

.button-small:hover {
  background: var(--red);
  border-color: var(--red);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--text);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.button-download {
  min-height: 64px;
  padding: 13px 22px;
}

.button-download > span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.button-download strong {
  font-size: 0.97rem;
}

.button-download small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 400;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  overflow: hidden;
  padding: clamp(94px, 9vw, 132px) 0 84px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 19, 26, 0.16), rgba(9, 12, 17, 0.78));
}

.combat-ticker {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  height: 38px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 11, 16, 0.52);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.combat-ticker-track,
.combat-ticker-group {
  display: flex;
  align-items: center;
  width: max-content;
}

.combat-ticker-track {
  min-width: 200%;
  height: 100%;
  animation: ticker-run 28s linear infinite;
}

.combat-ticker-group {
  min-width: 50%;
  justify-content: space-around;
  gap: clamp(46px, 7vw, 110px);
  padding-right: clamp(46px, 7vw, 110px);
}

.combat-ticker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(174, 182, 196, 0.72);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.combat-ticker i,
.stage-hud i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(45, 222, 131, 0.8);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(800px) rotateX(64deg) scale(1.7) translateY(-10%);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 77%);
  mask-image: linear-gradient(to top, #000, transparent 77%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-glow-red {
  top: -18rem;
  left: -15rem;
  background: var(--red);
}

.hero-glow-blue {
  right: -22rem;
  bottom: -22rem;
  background: var(--blue);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(440px, 1.07fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > * {
  animation: hero-reveal 500ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 60ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 110ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 150ms;
}

.hero-copy > :nth-child(5) {
  animation-delay: 190ms;
}

.hero-copy > :nth-child(6) {
  animation-delay: 230ms;
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.1vw, 5.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero h1 em {
  display: block;
  margin-top: 4px;
  background: linear-gradient(100deg, #fff 4%, var(--orange) 42%, var(--red-bright) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 30px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #d8dde6;
  font-size: 0.75rem;
  font-weight: 600;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.chip-dot-green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(45, 222, 131, 0.65);
}

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.hero-note {
  display: flex;
  align-items: center;
  margin: 18px 0 0;
  gap: 8px;
  color: var(--subtle);
  font-size: 0.73rem;
}

.hero-note svg {
  flex: 0 0 auto;
  color: var(--green);
}

.hero-stage {
  position: relative;
  animation: stage-reveal 620ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
  will-change: transform;
}

.stage-hud {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 28px;
  padding: 0 4px 8px;
  gap: 18px;
  color: rgba(174, 182, 196, 0.66);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.stage-hud span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.screen-shell {
  position: relative;
  overflow: hidden;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 28%),
    #121721;
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.46),
    0 0 0 8px rgba(255, 255, 255, 0.015);
}

.screen-shell::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 59, 48, 0.16);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.screen-topbar,
.screen-status {
  display: flex;
  align-items: center;
  min-height: 32px;
  color: var(--subtle);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.screen-topbar {
  gap: 6px;
  padding: 0 6px;
}

.screen-topbar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.screen-topbar span:first-child {
  background: var(--red-bright);
}

.screen-topbar b {
  margin-left: auto;
  color: #8d96a5;
  font-size: inherit;
}

.screen-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: #080a0e;
}

.screen-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-viewport::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 65%, rgba(255, 255, 255, 0.08));
  content: "";
  pointer-events: none;
}

.screen-scan {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -28%;
  width: 18%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  filter: blur(3px);
  transform: skewX(-15deg);
  animation: scan-once 1.2s ease-out 460ms 1 both;
  pointer-events: none;
}

.screen-status {
  justify-content: space-between;
  padding: 0 7px;
}

.screen-status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.screen-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.screen-status b {
  color: var(--text);
  font-size: inherit;
}

.stage-corner {
  position: absolute;
  z-index: -1;
  width: 82px;
  height: 82px;
  border-color: rgba(255, 59, 48, 0.54);
  pointer-events: none;
}

.stage-corner-top {
  top: -17px;
  right: -17px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.stage-corner-bottom {
  bottom: -17px;
  left: -17px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.file-section {
  position: relative;
  z-index: 3;
  margin-top: -30px;
}

.file-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  gap: 26px 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(24, 29, 39, 0.96);
  box-shadow: var(--shadow);
}

.file-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 15px;
}

.file-icon {
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 59, 48, 0.36);
  border-radius: 13px;
  background: rgba(229, 14, 14, 0.1);
  color: var(--red-bright);
}

.file-kicker {
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-heading h2 {
  margin-bottom: 0;
  overflow: hidden;
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-facts {
  display: grid;
  grid-template-columns: 0.8fr 0.7fr 1.55fr;
  margin: 0;
  gap: 12px;
}

.file-facts div {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.file-facts dt,
.spec-list dt {
  margin-bottom: 3px;
  color: var(--subtle);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.file-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.file-facts small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 400;
}

.checksum {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 46px;
  padding: 8px 9px 8px 14px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(7, 10, 14, 0.56);
}

.checksum > span:first-child {
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.checksum code {
  min-width: 0;
  overflow: hidden;
  color: #c3cad5;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.copy-button:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.085);
}

.copy-button.is-copied {
  border-color: rgba(45, 222, 131, 0.42);
  color: var(--green);
}

.copy-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section {
  padding: clamp(76px, 7.5vw, 104px) 0;
}

.section-heading {
  max-width: 1120px;
  margin-bottom: clamp(36px, 4vw, 52px);
}

.section-heading h2,
.build-description h2 {
  margin-bottom: 19px;
  font-size: clamp(2.1rem, 3.25vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.build-description > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
  align-items: end;
  max-width: none;
  gap: 48px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-features {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 50%, transparent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  display: flex;
  grid-column: span 5;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.13);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.feature-card::before,
.step::before,
.gallery-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  z-index: 2;
  height: 1px;
  opacity: 0.46;
  background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.9), rgba(255, 59, 48, 0.9), transparent);
  content: "";
  transform: scaleX(0.26);
  transition: opacity 240ms ease, transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-card-wide {
  grid-column: span 7;
}

.feature-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080a0e;
}

.feature-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 19, 26, 0.32), transparent 38%);
  content: "";
  pointer-events: none;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.feature-content {
  position: relative;
  flex: 1;
  padding: 25px 26px 27px;
}

.feature-content > span {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-content h3 {
  max-width: calc(100% - 52px);
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.feature-content p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-gallery {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 18%, rgba(229, 14, 14, 0.07), transparent 26rem),
    var(--page-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  min-width: 0;
  min-height: 220px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0a0d12;
  cursor: zoom-in;
  text-align: left;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.gallery-card-featured {
  grid-column: span 8;
}

.gallery-card-wide {
  grid-column: span 12;
  max-height: 440px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter 240ms ease, transform 340ms ease;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 8, 12, 0.96), transparent 48%),
    linear-gradient(135deg, transparent 50%, rgba(229, 14, 14, 0.12));
  content: "";
  pointer-events: none;
}

.gallery-card > span {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.gallery-card b {
  font-size: 0.91rem;
}

.gallery-card small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-install {
  padding-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 clamp(88px, 10vw, 140px);
  padding: 0;
  gap: 18px;
  list-style: none;
  counter-reset: steps;
}

.step {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent), var(--panel-soft);
}

.step:not(:last-child)::after {
  position: absolute;
  top: 54px;
  right: -19px;
  z-index: 3;
  width: 19px;
  height: 1px;
  background: linear-gradient(to right, var(--red-bright), rgba(255, 59, 48, 0.15));
  content: "";
}

.step-number {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(255, 255, 255, 0.17);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid rgba(255, 59, 48, 0.34);
  border-radius: 14px;
  background: rgba(229, 14, 14, 0.09);
  color: var(--red-bright);
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.23rem;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.52fr);
  align-items: center;
  margin-bottom: clamp(76px, 8vw, 112px);
  gap: clamp(44px, 5vw, 72px);
}

.build-description h2 {
  max-width: none;
  font-size: clamp(2rem, 2.3vw, 2.5rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  gap: 8px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
}

.text-link svg {
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.spec-list div {
  min-width: 0;
  padding: 23px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-list div:nth-child(2n) {
  border-right: 0;
}

.spec-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.spec-list dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 72px);
  gap: 36px;
  border: 1px solid rgba(255, 59, 48, 0.24);
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(229, 14, 14, 0.26), transparent 20rem),
    linear-gradient(135deg, #1b202b, #111620);
  box-shadow: 0 -18px 80px rgba(0, 0, 0, 0.18);
}

.final-cta::before {
  position: absolute;
  top: -60%;
  right: 20%;
  width: 1px;
  height: 220%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.15), transparent);
  content: "";
  transform: rotate(28deg);
}

.final-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  letter-spacing: -0.035em;
}

.final-cta-copy > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta-actions {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 13px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.24);
  text-underline-offset: 4px;
}

.support-link:hover {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #090c11;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 112px;
  padding-block: 20px;
  gap: 24px;
}

.footer-brand {
  justify-self: start;
}

.footer-inner > p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.to-top {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 44px;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.to-top:hover {
  color: var(--text);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .feature-grid .reveal:nth-child(2),
.reveal-ready .gallery-grid .reveal:nth-child(2),
.reveal-ready .steps .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.reveal-ready .feature-grid .reveal:nth-child(3),
.reveal-ready .gallery-grid .reveal:nth-child(3),
.reveal-ready .steps .reveal:nth-child(3) {
  transition-delay: 120ms;
}

.reveal-ready .feature-grid .reveal:nth-child(4),
.reveal-ready .gallery-grid .reveal:nth-child(4) {
  transition-delay: 170ms;
}

.reveal-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.mobile-download-bar {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  padding: 28px;
  opacity: 0;
  background: rgba(5, 7, 10, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-close,
.lightbox-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.lightbox-prev {
  justify-self: start;
}

.lightbox-next {
  justify-self: end;
}

.lightbox-figure {
  display: grid;
  width: min(100%, 1500px);
  max-height: calc(100vh - 80px);
  margin: 0 auto;
  gap: 15px;
}

.lightbox-image-wrap {
  position: relative;
  display: grid;
  min-height: 120px;
  place-items: center;
}

.lightbox-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
  object-fit: contain;
}

.lightbox-loader {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--red-bright);
  border-radius: 50%;
  opacity: 0;
  animation: loader-spin 700ms linear infinite;
  pointer-events: none;
}

.lightbox-image-wrap.is-loading .lightbox-loader {
  opacity: 1;
}

.lightbox-image-wrap.is-loading img {
  opacity: 0.16;
}

.lightbox figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.lightbox figcaption strong {
  color: var(--text);
  font-size: 0.88rem;
}

.lightbox figcaption span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.metrika-pixel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

@media (hover: hover) {
  .feature-card:hover,
  .step:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.23);
    transform: translateY(-4px) scale(1.008);
  }

  .feature-card:hover::before,
  .step:hover::before,
  .gallery-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }

  .feature-card:hover .feature-media img {
    transform: scale(1.025);
  }

  .gallery-card:hover {
    z-index: 2;
    border-color: rgba(255, 59, 48, 0.52);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.36);
    transform: scale(1.018);
  }

  .gallery-card:hover img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.025);
  }
}

@media (min-width: 1081px) {
  .hero-layout {
    width: min(calc(100% - 40px), 1360px);
    grid-template-columns: minmax(0, 1.04fr) minmax(520px, 0.96fr);
  }

  .hero h1,
  .section-heading h2,
  .build-description h2,
  .final-cta h2 {
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 4vw, 4.65rem);
  }
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 5.4vw, 4.6rem);
  }

  .file-panel {
    grid-template-columns: 1fr;
  }

  .file-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-heading-row {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.52fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .header-download {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-stage {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .feature-card,
  .feature-card-wide {
    grid-column: span 12;
  }

  .gallery-card {
    grid-column: span 6;
  }

  .gallery-card-featured,
  .gallery-card-wide {
    grid-column: span 12;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .section-heading-row > p {
    max-width: 620px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 56px;
    width: 1px;
    height: 19px;
    background: linear-gradient(to bottom, var(--red-bright), rgba(255, 59, 48, 0.15));
  }

  .specs-layout {
    grid-template-columns: 1fr;
  }

  .spec-list {
    width: min(100%, 620px);
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta-actions {
    justify-items: start;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .header-download {
    min-width: 108px;
  }

  .hero {
    padding: 70px 0 62px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-lead {
    margin-bottom: 19px;
    font-size: 0.96rem;
  }

  .hero-chips {
    margin-bottom: 23px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    margin-top: 14px;
  }

  .hero-stage {
    margin-top: 2px;
  }

  .file-section {
    margin-top: -24px;
  }

  .file-panel {
    padding: 20px;
    gap: 20px;
  }

  .file-facts {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .file-facts div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: baseline;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .file-facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .file-facts dt {
    margin: 0;
  }

  .checksum {
    grid-template-columns: 1fr auto;
    padding: 10px;
  }

  .checksum > span:first-child {
    grid-column: 1 / -1;
  }

  .checksum code {
    font-size: 0.67rem;
  }

  .copy-button {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .copy-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .build-description h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    text-wrap: balance;
  }

  .feature-grid,
  .gallery-grid {
    gap: 12px;
  }

  .feature-content {
    padding: 21px 21px 23px;
  }

  .gallery-card,
  .gallery-card-featured,
  .gallery-card-wide {
    grid-column: span 12;
    min-height: 190px;
    max-height: none;
  }

  .steps {
    margin-bottom: 88px;
  }

  .step {
    padding: 24px;
  }

  .specs-layout {
    margin-bottom: 88px;
    gap: 38px;
  }

  .final-cta {
    min-height: 0;
    padding: 34px 24px 42px;
    border-radius: 19px 19px 0 0;
  }

  .final-cta-actions,
  .final-cta-actions .button {
    width: 100%;
  }

  .footer-inner {
    min-height: 98px;
  }

  .footer-brand .brand-copy span {
    display: none;
  }

  .mobile-download-bar {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 10px 10px 10px 15px;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    opacity: 0;
    background: rgba(17, 22, 30, 0.96);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.46);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .mobile-download-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-download-bar > div {
    display: grid;
    min-width: 0;
    line-height: 1.2;
  }

  .mobile-download-bar > div span {
    overflow: hidden;
    font-size: 0.76rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-download-bar > div small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.66rem;
  }

  .mobile-download-bar .button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 10px 15px;
    font-size: 0.78rem;
  }

  .lightbox {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 68px 14px 86px;
  }

  .lightbox-figure {
    grid-column: 1;
    grid-row: 1;
    max-height: calc(100vh - 150px);
  }

  .lightbox-image-wrap img {
    max-height: calc(100vh - 220px);
  }

  .lightbox-arrow {
    position: absolute;
    bottom: 22px;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 440px) {
  .brand-copy span {
    display: none;
  }

  .header-download {
    min-width: 0;
    padding-inline: 13px;
  }

  .header-download span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 11.5vw, 2.8rem);
    text-wrap: balance;
  }

  .combat-ticker-group {
    gap: 38px;
    padding-right: 38px;
  }

  .stage-hud {
    justify-content: space-between;
    gap: 10px;
  }

  .stage-hud span:nth-child(2) {
    display: none;
  }

  .hero-lead {
    line-height: 1.5;
  }

  .hero-chips {
    gap: 6px;
  }

  .hero-chips li {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 0.69rem;
  }

  .screen-shell {
    padding: 7px;
    border-radius: 15px;
  }

  .screen-topbar,
  .screen-status {
    min-height: 25px;
  }

  .screen-topbar b {
    font-size: 0.49rem;
  }

  .stage-corner {
    display: none;
  }

  .file-heading h2 {
    font-size: 0.94rem;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .spec-list div,
  .spec-list div:nth-child(2n),
  .spec-list div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spec-list div:last-child {
    border-bottom: 0;
  }

  .footer-brand .brand-copy {
    display: none;
  }

  .mobile-download-bar > div span {
    max-width: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy > *,
  .hero-stage,
  .reveal-ready .reveal,
  .reveal-ready .reveal.is-revealed {
    opacity: 1;
    transform: none;
  }

  .screen-scan {
    display: none;
  }

  .combat-ticker-track {
    animation: none;
    transform: translateX(-8%);
  }

  .combat-ticker i,
  .stage-hud i {
    animation: none;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scan-once {
  0% {
    left: -28%;
    opacity: 0;
  }

  18% {
    opacity: 0.65;
  }

  82% {
    opacity: 0.5;
  }

  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes cta-shine {
  0% {
    left: -35%;
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  100% {
    left: 122%;
    opacity: 0;
  }
}

@keyframes ticker-run {
  to {
    transform: translateX(-50%);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}
