/* Assault Front: Global - assaultfront.com */

@font-face {
  font-family: "Rajdhani";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/rajdhani-600.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/rajdhani-700.woff2") format("woff2");
}

:root {
  --bg: #09090b;
  --bg-2: #111114;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f1f1f1;
  --muted: #a3a3ab;
  --attack: #ff7a1a; /* attackers: the logo orange */
  --defend: #2ee59d; /* defenders: signal green */
  --radius: 4px;
  --wrap: 1240px;
  --display: "Rajdhani", "Arial Narrow", "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto; /* keep the aspect ratio when CSS sets only the width */
  display: block;
}

a {
  color: var(--attack);
  text-underline-offset: 3px;
}

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

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  color: var(--attack);
  margin: 0 0 14px;
}

/* Top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.85), rgba(9, 9, 11, 0));
}
.topbar.solid {
  position: sticky;
  top: 0;
  background: rgba(9, 9, 11, 0.96);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand img {
  width: 34px;
  height: 34px;
}
/* pages without the section menu: the top bar's first button goes right */
.topbar .brand + .button {
  margin-left: auto;
}
.topbar .button ~ .button {
  margin-left: -14px; /* Store and Download read as one group */
}
.nav {
  display: flex;
  gap: 26px;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--text);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.button.primary {
  background: var(--attack);
  color: #140a00;
}
.button.primary:hover {
  background: #ff9443;
  color: #140a00;
}
.button.small {
  min-height: 40px;
  padding: 6px 18px;
  font-size: 1.05rem;
}
.button.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
}
.button.ghost:hover {
  border-color: var(--text);
}
.button svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Full-bleed video panels */
.media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.media video,
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 1000px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 9vh;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.2) 0%, rgba(9, 9, 11, 0) 35%, rgba(9, 9, 11, 0.75) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.6) 0%, rgba(9, 9, 11, 0) 55%);
}
.hero-logo {
  width: min(300px, 56vw); /* the v3 lockup is square: mark above the wordmark */
  margin: 0 0 26px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 6.2rem);
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}
.hero h1 span {
  color: var(--attack);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.release-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

/* Attack / defend split */
.sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.side {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 48px clamp(20px, 5vw, 64px);
  overflow: hidden;
}
.side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0) 40%, rgba(9, 9, 11, 0.92) 100%);
}
.side h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}
.side p {
  margin: 10px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8d8dc;
}
.side.attack h2 {
  color: var(--attack);
}
.side.defend h2 {
  color: var(--defend);
}
.side.attack {
  border-bottom: 4px solid var(--attack);
}
.side.defend {
  border-bottom: 4px solid var(--defend);
}

/* Modes */
.section {
  padding: 110px 0;
}
.section.tight {
  padding: 80px 0;
}
.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 48px;
}
.modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.mode {
  padding: 34px 28px 10px 0;
}
.mode + .mode {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.mode .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}
.mode h3 {
  font-size: 2rem;
  margin: 12px 0 8px;
}
.mode p {
  margin: 0;
  color: var(--muted);
}

/* Install */
.install {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.steps li::before {
  content: counter(step);
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--attack);
  color: var(--attack);
  font-size: 1.5rem;
}
.note {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  margin: 0;
}
.note svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--defend);
}
.note b {
  color: var(--text);
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.specs div {
  min-width: 140px;
}
.specs dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.specs dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}
.checksum {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0;
  max-width: 860px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--attack);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* Final call */
.final {
  position: relative;
  isolation: isolate;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 9, 11, 0.72);
}
.final h2 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  margin-bottom: 34px;
}
.final .actions {
  justify-content: center;
}

/* Text pages */
.prose {
  max-width: 760px;
  padding-block: 56px 80px;
}
.prose h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 0.4em;
}
.prose h2 {
  font-size: 1.7rem;
  margin: 2em 0 0.5em;
}
.prose p,
.prose li {
  color: #cfcfd4;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose ol {
  padding-left: 1.3em;
}
.prose code {
  font-size: 0.88em;
  overflow-wrap: anywhere;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
}
.actions-inline {
  margin: 28px 0 8px;
}
.kicker {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--attack);
  margin: 0 0 10px;
}
.updated {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text);
}

.center-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.center-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 30px;
}

@media (max-width: 860px) {
  .nav,
  .topbar .brand span {
    display: none;
  }
  .topbar .button {
    margin-left: auto;
  }
  .topbar .button ~ .button {
    margin-left: -14px; /* Store and Download sit together on the right */
  }
  .sides,
  .modes,
  .steps {
    grid-template-columns: 1fr;
  }
  .side {
    min-height: min(74vh, 640px);
  }
  .mode,
  .mode + .mode {
    padding: 26px 0;
    border-left: 0;
  }
  .mode + .mode {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 72px 0;
  }
  .hero .actions .button {
    width: 100%;
  }
}

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