:root {
  --ink: #090706;
  --ink-soft: #120d0c;
  --panel: #17100e;
  --panel-raised: #211612;
  --blood: #7e1717;
  --blood-bright: #b12620;
  --bronze: #b48a4f;
  --gold: #d7b16a;
  --parchment: #e8d8b6;
  --muted: #aa9b86;
  --line: rgba(210, 168, 95, 0.28);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--parchment);
  background:
    radial-gradient(circle at 13% 30%, rgba(126, 23, 23, 0.12), transparent 31rem),
    radial-gradient(circle at 86% 74%, rgba(180, 138, 79, 0.07), transparent 28rem),
    linear-gradient(180deg, #0b0807 0%, #110c0b 48%, #090706 100%);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.012) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0,0,0,0.05) 5px 6px);
}

img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: 10px 16px;
  color: #fff;
  background: var(--blood-bright);
  border-radius: 4px;
}

.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 86px;
  border-bottom: 1px solid rgba(216, 178, 106, 0.14);
  background: linear-gradient(180deg, rgba(7, 5, 4, 0.88), rgba(7, 5, 4, 0.35));
  transition: height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(9, 7, 6, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 228px;
  text-decoration: none;
}

.brand-image {
  width: auto;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.55));
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
}

.brand-mark {
  width: 41px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--bronze);
  color: var(--parchment);
  background: linear-gradient(145deg, #541010, #1b0d0b 62%);
  box-shadow: inset 0 0 0 3px #0d0908, 0 5px 18px rgba(0,0,0,0.5);
  clip-path: polygon(50% 0, 92% 22%, 92% 78%, 50% 100%, 8% 78%, 8% 22%);
  font: 700 1.45rem/1 var(--serif);
}

.brand-words {
  display: flex;
  flex-direction: column;
  color: var(--gold);
  font: 700 1.03rem/0.95 var(--serif);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 12px #000;
}

.brand-words small {
  margin-bottom: 5px;
  color: #efe0bb;
  font: 600 0.61rem/1 var(--sans);
  letter-spacing: 0.3em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #d6c8ab;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:not(.nav-download)::after {
  content: "";
  position: absolute;
  inset: auto 50% 2px;
  height: 1px;
  background: var(--gold);
  transition: inset 180ms ease;
}

.site-nav a:hover, .site-nav a:focus-visible { color: #fff1ca; }
.site-nav a:not(.nav-download):hover::after,
.site-nav a:not(.nav-download):focus-visible::after { inset-inline: 0; }

.site-nav .nav-download {
  padding: 11px 18px;
  border: 1px solid #a87b3e;
  background: linear-gradient(180deg, rgba(133, 30, 25, 0.8), rgba(72, 12, 12, 0.92));
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.35);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  color: inherit;
  background: rgba(20, 13, 11, 0.86);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--gold);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 1040px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: #0a0706 url("assets/images/hero-arena.webp") center/cover no-repeat;
  transform: scale(1.015);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,4,3,0.98) 0%, rgba(7,5,4,0.90) 23%, rgba(8,6,5,0.2) 66%, rgba(6,4,4,0.42) 100%),
    linear-gradient(180deg, rgba(6,4,3,0.52), transparent 28%, transparent 62%, rgba(5,3,3,0.92));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: min(11vw, 155px);
  opacity: 0.62;
  filter: drop-shadow(0 0 24px rgba(0,0,0,0.8));
  background:
    linear-gradient(90deg, #250907, rgba(116,18,17,0.92) 48%, #210706),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,0.03) 22px 24px);
}

.hero::before { left: 0; clip-path: polygon(0 0, 100% 0, 62% 48%, 88% 100%, 0 100%); }
.hero::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 38% 48%); }

.hero-inner {
  width: min(calc(100% - 40px), 1240px);
  padding-top: 80px;
}

.hero-copy {
  width: min(100%, 660px);
  padding-left: clamp(0px, 3vw, 42px);
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 8px #000;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow span:last-child { transform: scaleX(-1); }

.hero h1,
.section-heading h2,
.arena-banner h2,
.community h2,
.download-panel h2,
.legal-hero h1 {
  margin: 0;
  color: #f1e1bd;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(3.6rem, 7.4vw, 7.45rem);
  text-shadow: 0 7px 30px #000, 0 2px 0 rgba(255,255,255,0.08);
}

.hero h1 em {
  color: #b92821;
  font-style: normal;
  background: linear-gradient(180deg, #d54a32 0%, #8c1818 72%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.7));
}

.hero-lead {
  max-width: 575px;
  margin: 27px 0 30px;
  color: #d6c8af;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
  text-shadow: 0 2px 12px #000;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.download-button {
  position: relative;
  min-width: 235px;
  min-height: 67px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid #8f6937;
  color: #f3e6c8;
  background: linear-gradient(180deg, #3a2920, #211713);
  box-shadow: inset 0 0 0 2px #0e0a08, 0 10px 28px rgba(0,0,0,0.4);
  text-decoration: none;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.download-button::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,255,255,0.045);
  pointer-events: none;
}

.download-button::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -30%;
  width: 35%;
  height: 280%;
  transform: rotate(22deg);
  background: rgba(255,255,255,0.11);
  transition: left 420ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  filter: brightness(1.08);
}

.download-button:hover::after,
.download-button:focus-visible::after { left: 115%; }

.download-button--primary {
  border-color: #be7f32;
  background: linear-gradient(180deg, #a3261e, #5d0d0d);
}

.download-button small {
  display: block;
  margin-bottom: 2px;
  color: #c7b99e;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.download-button > span:last-child {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.platform-icon {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  color: #f5dfaf;
}

.windows-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  transform: skewY(-4deg);
}

.windows-icon i { background: currentColor; }
.android-icon { display: grid; place-items: center; font-size: 1.5rem; }

.download-note {
  margin: 16px 0 0;
  color: #948978;
  font-size: 0.78rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #70a874;
  box-shadow: 0 0 10px rgba(112,168,116,0.72);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #b8aa90;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 28px;
  display: block;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 1.7s ease-in-out infinite;
}

.section { padding: 112px 0; }

.intro {
  position: relative;
  border-bottom: 1px solid rgba(214,177,107,0.12);
}

.intro::before {
  content: "AOC";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  color: rgba(203, 161, 91, 0.025);
  font: 800 clamp(9rem, 21vw, 22rem)/1 var(--serif);
  letter-spacing: -0.08em;
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.arena-banner h2,
.community h2,
.download-panel h2 {
  font-size: clamp(2.5rem, 5.2vw, 5.1rem);
}

.section-heading h2 span,
.arena-banner h2 span,
.community h2 span,
.download-panel h2 span { color: #a4251e; }

.intro-copy {
  max-width: 520px;
  color: #b8aa95;
  font-size: 1.08rem;
}

.intro-copy p { margin: 0; }

.ornament {
  width: 190px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bronze);
}

.ornament span { flex: 1; height: 1px; background: linear-gradient(90deg, var(--bronze), transparent); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament b { font-size: 0.72rem; }

.features {
  position: relative;
  padding-top: 124px;
  background: linear-gradient(180deg, rgba(20,13,11,0.2), rgba(31,17,14,0.48));
}

.section-heading--center {
  max-width: 820px;
  margin: 0 auto 58px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 54px 34px 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 36%),
    linear-gradient(180deg, #211511, #120d0b);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(transparent, var(--blood-bright), transparent);
}

.feature-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -62px;
  bottom: -62px;
  border: 1px solid rgba(210,168,95,0.13);
  transform: rotate(45deg);
}

.feature-card:hover { transform: translateY(-7px); border-color: rgba(215,177,106,0.54); }

.feature-number {
  position: absolute;
  top: 21px;
  right: 25px;
  color: rgba(214,177,106,0.17);
  font: 700 3.7rem/1 var(--serif);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 29px;
  border: 1px solid #8c6437;
  color: var(--gold);
  background: #160c0a;
  box-shadow: inset 0 0 18px rgba(160,34,27,0.22);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font: 700 1.65rem/1 var(--serif);
}

.feature-card h3 {
  margin: 0 0 13px;
  color: #e8d6b3;
  font: 700 1.25rem/1.25 var(--serif);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature-card p { margin: 0; color: #9f927f; font-size: 0.95rem; }

.arena-banner {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(214,177,106,0.22);
}

.arena-banner__image {
  position: absolute;
  inset: 0;
  background: #100b09 url("assets/images/hero-arena.webp") 68% 53%/cover no-repeat;
  filter: saturate(0.72) contrast(1.06);
  transform: scale(1.02);
}

.arena-banner__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,5,4,0.97), rgba(7,5,4,0.7) 43%, rgba(7,5,4,0.18) 77%),
    linear-gradient(180deg, rgba(7,5,4,0.55), transparent 35%, rgba(7,5,4,0.68));
}

.arena-banner__content { position: relative; }
.arena-banner h2 { max-width: 680px; }

.platform-pills {
  margin-top: 31px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.platform-pills span {
  padding: 9px 14px;
  border: 1px solid rgba(214,177,106,0.4);
  color: #d5c4a3;
  background: rgba(15,10,8,0.68);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.community { padding-bottom: 104px; }

.community-copy {
  max-width: 780px;
  margin-bottom: 46px;
}

.community-copy > p:last-child {
  max-width: 610px;
  margin: 22px 0 0;
  color: #a99b87;
  font-size: 1.04rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.social-card {
  position: relative;
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 17px;
  padding: 20px;
  border: 1px solid rgba(214,177,106,0.24);
  color: #eee0c2;
  background: linear-gradient(155deg, rgba(38,24,19,0.96), rgba(18,12,10,0.96));
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(216,177,106,0.66);
  background: linear-gradient(155deg, rgba(91,23,20,0.68), rgba(22,13,11,0.98));
}

.social-card.is-pending { opacity: 0.72; }

.social-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-weight: 800;
}

.social-card small {
  margin-top: 2px;
  color: #8f8372;
  font-size: 0.7rem;
  font-weight: 500;
}

.social-card b {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #9d7c4e;
  font-size: 1rem;
}

.social-monogram {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #7e5c35;
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.download-section {
  padding-top: 68px;
  background: linear-gradient(180deg, transparent, rgba(92,16,15,0.13));
}

.download-panel {
  position: relative;
  padding: 77px 50px 72px;
  border: 1px solid rgba(214,177,106,0.42);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(156,40,30,0.22), transparent 40%),
    linear-gradient(180deg, rgba(37,22,17,0.96), rgba(15,10,8,0.98));
  box-shadow: var(--shadow), inset 0 0 0 4px #0d0908, inset 0 0 0 5px rgba(214,177,106,0.12);
  overflow: hidden;
}

.download-panel::before,
.download-panel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,177,106,0.4));
}

.download-panel::before { left: 0; }
.download-panel::after { right: 0; transform: scaleX(-1); }

.download-panel__ornament {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: -98px auto 48px;
  border: 1px solid var(--bronze);
  color: var(--gold);
  background: #130c0a;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.download-panel > p:not(.kicker) { margin: 22px 0 30px; color: #a99b87; }
.download-actions--center { justify-content: center; }

.site-footer {
  padding: 72px 0 24px;
  border-top: 1px solid rgba(214,177,106,0.13);
  background: #070504;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 43px;
}

.brand--footer { min-width: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; justify-content: flex-end; }

.footer-links a {
  color: #9c907e;
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(214,177,106,0.1);
  color: #696157;
  font-size: 0.72rem;
}

.footer-bottom p { margin: 0; }
.footer-note { font-style: italic; }

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 30px;
  max-width: min(440px, calc(100% - 32px));
  padding: 13px 18px;
  border: 1px solid #9e7139;
  color: #f1dfbc;
  background: rgba(24,15,12,0.97);
  box-shadow: 0 18px 50px #000;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible { opacity: 1; transform: none; }
.feature-card:nth-child(2) { transition-delay: 100ms; }
.feature-card:nth-child(3) { transition-delay: 200ms; }

/* Legal pages */
.legal-page { background: #0b0807; }

.legal-header {
  position: relative;
  height: 76px;
  background: #090706;
}

.legal-header .header-inner { width: min(calc(100% - 40px), var(--container)); }
.legal-back { color: #c9b998; font-size: 0.82rem; text-decoration: none; }
.legal-back:hover { color: var(--gold); }

.legal-hero {
  position: relative;
  padding: 94px 0 68px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10,7,6,0.95), rgba(10,7,6,0.75)),
    url("assets/images/hero-arena.webp") center 45%/cover;
}

.legal-hero h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); }
.legal-hero p { margin: 18px 0 0; color: #b2a48e; }

.legal-shell {
  width: min(calc(100% - 40px), 860px);
  margin: 72px auto 110px;
}

.legal-shell article {
  padding: clamp(25px, 5vw, 58px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31,20,16,0.92), rgba(17,12,10,0.96));
  box-shadow: var(--shadow);
}

.legal-shell h2 {
  margin: 38px 0 12px;
  color: #ddc9a4;
  font: 700 1.35rem/1.3 var(--serif);
  text-transform: uppercase;
}

.legal-shell h2:first-child { margin-top: 0; }
.legal-shell p, .legal-shell li { color: #afa18c; }
.legal-shell a { color: var(--gold); }
.legal-shell ul { padding-left: 1.2rem; }
.legal-updated { padding-top: 28px; border-top: 1px solid rgba(214,177,106,0.12); font-size: 0.82rem; }

@keyframes hero-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.045); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.72); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 24px 25px;
    border-bottom: 1px solid var(--line);
    background: rgba(9,7,6,0.98);
    box-shadow: 0 24px 50px rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { padding: 15px 6px; border-bottom: 1px solid rgba(214,177,106,0.1); }
  .site-nav .nav-download { margin-top: 12px; text-align: center; }

  .feature-grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
  .feature-card { min-height: 260px; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .container, .header-inner { width: min(calc(100% - 28px), var(--container)); }
  .site-header, .site-header.is-scrolled { height: 70px; }
  .brand { min-width: 0; }
  .brand-image { height: 49px; max-width: 218px; }
  .brand-mark { width: 35px; }
  .brand-words { font-size: 0.84rem; }
  .brand-words small { font-size: 0.54rem; }

  .hero { min-height: 720px; height: 100svh; max-height: 900px; align-items: end; }
  .hero-backdrop { background-position: 67% center; }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(5,4,3,0.38) 0%, rgba(6,4,3,0.12) 25%, rgba(6,4,3,0.83) 62%, rgba(5,3,3,0.98) 100%),
      linear-gradient(90deg, rgba(5,4,3,0.75), transparent 75%);
  }
  .hero::before, .hero::after { width: 56px; opacity: 0.5; }
  .hero-inner { width: min(calc(100% - 32px), 640px); padding: 150px 0 88px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 5.5rem); }
  .hero-lead { margin: 20px 0 23px; font-size: 0.97rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.2em; }
  .download-actions { display: grid; grid-template-columns: 1fr; }
  .download-button { width: 100%; min-width: 0; }
  .scroll-cue { display: none; }

  .section { padding: 82px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-copy { font-size: 1rem; }
  .section-heading h2, .arena-banner h2, .community h2, .download-panel h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .section-heading--center { margin-bottom: 38px; text-align: left; }

  .arena-banner { min-height: 530px; align-items: end; }
  .arena-banner__image { background-position: 66% center; }
  .arena-banner__shade {
    background: linear-gradient(180deg, rgba(7,5,4,0.1), rgba(7,5,4,0.94) 75%, #070504);
  }
  .arena-banner__content { padding-bottom: 58px; }

  .social-grid { grid-template-columns: 1fr 1fr; }
  .social-card { min-height: 132px; }
  .download-section { padding-top: 45px; }
  .download-panel { padding: 65px 18px 42px; }
  .download-panel__ornament { margin-top: -86px; margin-bottom: 39px; }
  .download-panel::before, .download-panel::after { width: 55px; }

  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; gap: 14px 20px; }
  .footer-note { display: none; }

  .legal-header .brand-words { display: none; }
  .legal-hero { padding: 72px 0 50px; }
  .legal-shell { margin-top: 44px; }
}

@media (max-width: 430px) {
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 105px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
  .social-card b { position: static; }
  .hero h1 { font-size: 3.15rem; }
}

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