:root {
  --bg: #0c0c0f;
  --bg2: #121218;
  --card: #16161c;
  --line: #2c2c34;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --cream: #e8e0d4;
  --red: #c8102e;
  --red2: #e31c3d;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --max: 1120px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); }
body { min-height: 100vh; }
img, video { max-width: 100%; display: block; }
a { color: var(--cream); }
button, [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.site-head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-top));
  background: rgba(12,12,15,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-head .head-tag {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #e11d2e;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.wordmark {
  display: flex; align-items: center; gap: 8px;
  font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  font-size: 11px; text-decoration: none; color: #fff; line-height: 1.15;
}
.wordmark .ocm-mark { height: 36px; width: auto; display: block; flex-shrink: 0; }
.wordmark .wm-text { display: block; }
.wordmark b { color: var(--red2); font-weight: 900; display: block; font-size: 13px; letter-spacing: .16em; }
.nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.btn-mini {
  background: var(--red); color: #fff; padding: 8px 12px; border-radius: 8px; min-height: 36px;
  display: inline-flex; align-items: center;
}
.nav-links a.btn-ghost {
  border: 1px solid var(--line); padding: 7px 12px; border-radius: 8px; color: var(--text);
}
.langs { display: flex; gap: 6px; }
.langs button {
  background: transparent; border: 0; color: var(--muted); font-size: 11px; font-weight: 800;
  padding: 4px 2px;
}
.langs button.on { color: var(--cream); border-bottom: 1px solid var(--cream); }

.tabs-wrap {
  position: sticky; top: 52px; z-index: 30;
  background: rgba(12,12,15,.94);
  border-bottom: 1px solid var(--line);
}
.guide-tabs {
  display: flex; gap: 4px; overflow-x: auto; max-width: var(--max); margin: 0 auto;
  padding: 8px 12px; scrollbar-width: none;
}
.guide-tabs::-webkit-scrollbar { display: none; }
.guide-tabs a {
  flex: 0 0 auto; text-decoration: none; color: var(--muted);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 10px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center;
}
.guide-tabs a.on, .guide-tabs a:hover { background: #1e1e26; color: var(--cream); }

.hero {
  position: relative; min-height: 88vh;
  display: grid; align-items: end;
  padding: 24px 16px 28px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,15,.28) 0%, rgba(12,12,15,.12) 36%, rgba(12,12,15,.75) 72%, #0c0c0f 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid; gap: 22px;
}
.kicker {
  color: var(--cream); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.02; font-weight: 600;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero .sub {
  max-width: 38ch; font-size: 16px; line-height: 1.5; color: #d5d8de;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 18px; border-radius: 10px;
  font-weight: 800; font-size: 14px; text-decoration: none; border: 1px solid transparent;
}
.btn.red { background: linear-gradient(180deg, var(--red2), #8b0f22); color: #fff; border-color: #ff3a55; }
.btn.cream { background: var(--cream); color: #1a1208; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.sec-links { display: flex; gap: 16px; font-size: 13px; }
.sec-links a { color: var(--cream); }

.auth-card {
  background: rgba(16,16,22,.88);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.tabs button {
  flex: 1; min-height: 40px; border-radius: 8px; border: 1px solid var(--line);
  background: #121218; color: var(--muted); font-weight: 800; font-size: 11px;
}
.tabs button.on { color: #fff; border-color: var(--red); background: rgba(200,16,46,.16); }
.auth-card label {
  display: block; font-size: 10px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; margin: 8px 0 4px;
}
.auth-card input {
  width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #0e0e14; color: #fff; font-size: 14px; min-height: 44px;
}
.auth-card .btn { width: 100%; margin-top: 12px; }
.err { color: #ff8a96; font-size: 12px; min-height: 16px; margin-top: 8px; }
.ok { color: #7dcea0; font-size: 12px; margin-top: 6px; }
.hint { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.code-box {
  margin-top: 8px; padding: 8px; border-radius: 8px;
  border: 1px dashed var(--cream); color: var(--cream); font-size: 12px; font-weight: 700;
}

.guide { width: min(var(--max), calc(100% - 24px)); margin: 0 auto; padding: 28px 0 80px; }
.section {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  display: grid; gap: 24px;
  align-items: start;
}
.section h2 {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 36px);
  font-weight: 600; line-height: 1.15; margin: 6px 0 12px;
}
.eyebrow {
  color: var(--cream); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.section p { font-size: 16px; line-height: 1.58; color: #d0d4da; margin: 0 0 12px; }

/* Balanced media container — fixed 16:9 box */
.media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0c;
  outline: 1px solid rgba(255,255,255,.1);
  outline-offset: -1px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.media img,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.media.tt img, .media.tt video { object-position: 50% 35%; }

.explain { margin: 0 0 14px; }
.explain dt {
  color: var(--cream); font-size: 13px; font-weight: 800;
  margin: 12px 0 4px; letter-spacing: .02em;
}
.explain dd { color: #d0d4da; font-size: 15px; line-height: 1.55; margin: 0; }
.flags { display: grid; gap: 8px; margin: 12px 0 16px; }
.flags article {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.flags b { color: var(--cream); }
.week { display: grid; gap: 8px; margin-top: 8px; }
.week article {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.week b { color: var(--cream); display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.qs { display: grid; gap: 10px; }
.qs article {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px;
}
.qs .n { color: var(--red2); font-weight: 900; font-size: 12px; letter-spacing: .12em; }

/* Smaller in-game shots — one neat strip, not competing with main media */
.shots {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.shots img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a0a0c;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
@media (min-width: 640px) {
  .shots.two { grid-template-columns: 1fr 1fr; }
}

.foot {
  padding: 28px 16px 40px; text-align: center;
  border-top: 1px solid var(--line);
}
.foot .wordmark { display: inline-block; margin-bottom: 12px; }
.legal { font-size: 11px; color: var(--muted); margin-top: 16px; line-height: 1.5; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: end; }
  .section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  .section.flip .copy { order: 2; }
  .section.full { grid-template-columns: 1fr; }
  .section.full .media { max-width: 720px; margin: 0 auto; }
  .qs { grid-template-columns: 1fr 1fr 1fr; }
  .flags { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .hero { min-height: 86vh; padding: 40px 28px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media video { display: none !important; }
  .media img { position: absolute; inset: 0; }
}

.media.grid img { object-fit: contain; background: #0a0a0c; }


/* T-90 beginners guide */
.guide-page { max-width: var(--max); margin: 0 auto; padding: 28px 16px 48px; }
.guide-page h1 { font-family: var(--serif); font-size: clamp(28px,4vw,44px); line-height:1.1; margin:8px 0 12px; }
.guide-page .sub { color: var(--muted); max-width: 52ch; margin-bottom: 20px; }
.guide-video-wrap { max-width: 1040px; }
.guide-video { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.nav-links a.on-page { color: var(--cream); }
.guide-topics { margin: 22px 0 8px; padding: 0; list-style: none; max-width: 52ch; }
.guide-topics li {
  position: relative; padding: 8px 0 8px 2.2em; color: #d0d4da; font-size: 15px; line-height: 1.45;
  border-bottom: 1px solid var(--line);
}
.guide-topics li:last-child { border-bottom: 0; }
.guide-topics li::before {
  content: attr(data-n); position: absolute; left: 0; top: 8px;
  color: var(--red2); font-weight: 900; font-size: 12px; letter-spacing: .06em;
}
.guide-outro {
  margin: 18px 0 8px; font-family: var(--serif); font-size: clamp(18px,2.5vw,22px);
  color: var(--cream); font-style: italic; max-width: 40ch;
}

body.landing-home { min-height: 100vh; }
.hero.doors {
  min-height: calc(100dvh - 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 16px 28px;
}
.hero.doors .hero-media video {
  object-position: center 42%;
}
.hero.doors .hero-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, transparent 66%);
}
.hero.doors .hero-copy {
  position: relative;
  z-index: 1;
  align-self: stretch;
  margin: -20px -16px 0;
  padding: 20px 16px 36px;
  max-width: none;
  background: none;
}
.hero.doors h1 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  text-transform: none;
  max-width: none;
  font-size: clamp(20px, 4.8vw, 42px);
  line-height: 1.05;
  text-shadow: none;
}
.hero.doors .sub {
  color: #e11d2e;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  max-width: none;
  margin-top: 6px;
}
.hero.doors .season {
  color: rgba(255,255,255,0.9);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.6vw, 15px);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
  max-width: none;
}
.hero.doors .honesty {
  color: rgba(232, 234, 237, 0.78);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(11px, 1.35vw, 13px);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  white-space: pre-line;
  margin-top: 8px;
  max-width: 42ch;
}
.hero.doors .hero-actions {
  position: relative;
  z-index: 1;
  margin-top: 0;
  align-self: flex-start;
}
.guide-h2 {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 32px);
  font-weight: 600; margin: 28px 0 14px;
}
.guide-explainer { margin: 22px 0 0; font-size: 16px; }
.guide-explainer a { font-weight: 800; }

.guide-book { margin: 22px 0 8px; }
.guide-viewport {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  touch-action: pan-y;
}
.guide-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.guide-track.drag { transition: none; }
.guide-card {
  flex: 0 0 100%;
  max-height: min(72vh, 760px);
  overflow: auto;
  padding: 18px 16px 20px;
  box-sizing: border-box;
}
.guide-card .copy { max-width: 62ch; }
.guide-card .eyebrow { margin-bottom: 6px; }
.guide-card h2 {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 32px);
  font-weight: 600; line-height: 1.15; margin: 0 0 12px;
}
.guide-card p { font-size: 16px; line-height: 1.58; color: #d0d4da; margin: 0 0 12px; }
.guide-card .media,
.guide-card .media-stack {
  margin-top: 14px;
  max-width: 100%;
  min-width: 0;
}
.guide-card .media-stack {
  display: grid;
  gap: 12px;
}
.guide-card .media-stack .media { margin-top: 0; }
.guide-card .shots.small {
  max-width: 280px;
  width: 72%;
  margin-top: 0;
}
.guide-card .shots.small img {
  aspect-ratio: 16 / 10;
}
.guide-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.guide-nav .btn { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.guide-dots {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 7px;
  margin-top: 12px;
}
.guide-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 0; background: #4a4a54; min-height: 0;
}
.guide-dots button.on { background: var(--cream); }
@media (min-width: 800px) {
  .guide-nav { display: flex; }
  .guide-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 22px;
    align-items: start;
  }
  .guide-card.full { grid-template-columns: 1fr; }
}
.guide-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 28px;
}
@media (max-width: 799px) {
  .guide-video-grid { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .hero.doors .hero-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media video { /* poster / first frame stays; JS pauses playback */ }
}

.site-legal {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(12,12,15,.92);
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.site-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
}
.site-legal a:hover,
.site-legal a[aria-current="page"] { color: var(--cream); }
.site-legal .sep { margin: 0 .4em; }

body.legal-doc {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal-page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 28px 18px 48px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 14px;
}
.legal-page h2 {
  font-size: 15px;
  font-weight: 800;
  margin: 22px 0 6px;
  color: var(--cream);
}
.legal-page p {
  font-size: 15px;
  line-height: 1.55;
  color: #d5d8de;
  margin: 0 0 10px;
  max-width: 68ch;
}
.legal-page .lede { color: var(--cream); }
.legal-page .contact-email {
  font-family: ui-monospace, monospace;
  color: var(--cream);
  font-weight: 700;
}
