:root {
  --ink: #f6ead0;
  --muted: #c5ad92;
  --brass: #e7b957;
  --brass-dark: #8b5f26;
  --teal: #45c4bd;
  --wine: #6f1726;
  --bg: #0e0708;
  --panel: #171011;
  --line: rgba(231, 185, 87, 0.26);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--bg);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.4rem clamp(1.2rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(rgba(8, 4, 5, 0.78), transparent);
}

.wordmark {
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: #eadfd3; font-size: 0.84rem; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--brass); }
.nav-cta { padding: 0.55rem 0.9rem; border: 1px solid rgba(231, 185, 87, 0.65); }

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  overflow: hidden;
  place-items: center;
}

.hero-art, .hero-art img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 50%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 5, 6, 0.96) 0%, rgba(11, 5, 6, 0.74) 39%, rgba(11, 5, 6, 0.16) 67%, rgba(11, 5, 6, 0.48) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.4rem));
  margin-top: 3rem;
}

.eyebrow, .kicker {
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 0.65rem; }
.eyebrow span { display: inline-block; width: 1.8rem; height: 1px; background: var(--brass); }

h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }

h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 8.5vw, 7.6rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 em { color: var(--brass); font-weight: inherit; }

.lead {
  max-width: 620px;
  margin: 0 0 2rem;
  color: #e1d3c4;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary { background: var(--brass); color: #1b0f08; }
.button-primary:hover, .button-primary:focus-visible { background: #ffd87a; }
.button-quiet { border-color: rgba(246, 234, 208, 0.45); background: rgba(10, 5, 6, 0.5); color: var(--ink); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--ink); }

.availability { margin-top: 1rem; color: #bba895; font-size: 0.78rem; letter-spacing: 0.05em; }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.5rem; left: 50%; color: var(--brass); font-size: 1.4rem; text-decoration: none; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 6vw, 6rem); }
.section-heading { width: min(1180px, 100%); margin: 0 auto 4rem; }
h2 { max-width: 900px; margin-bottom: 1.5rem; font-size: clamp(2.25rem, 5vw, 4.5rem); letter-spacing: -0.035em; }
h3 { margin-bottom: 0.8rem; font-size: 1.55rem; }

.game-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(69, 196, 189, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg), #150b0c);
}

.feature-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article { padding: 2.5rem clamp(1rem, 3vw, 2.5rem); }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid p, .alpha-copy p, .join-copy p, .game-details p, .screenshot-heading > p { color: var(--muted); }
.feature-number { display: block; margin-bottom: 2.5rem; color: var(--teal); font: 700 0.78rem/1 "Courier New", monospace; }

.game-details {
  display: grid;
  width: min(1180px, 100%);
  margin: clamp(5rem, 9vw, 8rem) auto 3rem;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.game-details h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.game-details p { margin-top: 0; }
.fact-row {
  display: grid;
  width: min(1180px, 100%);
  margin: auto;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}
.fact-row span { padding: 0.5rem 1rem; color: var(--muted); font-size: 0.8rem; text-align: center; text-transform: uppercase; }
.fact-row span + span { border-left: 1px solid var(--line); }
.fact-row strong { margin-right: 0.35rem; color: var(--brass); font: 700 1.4rem/1 Georgia, serif; }

.screenshot-section { overflow: hidden; background: #080d12; }
.screenshot-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 0.55fr;
  gap: 3rem;
}
.screenshot-heading h2 { margin-bottom: 0; }
.screenshot-grid {
  display: grid;
  width: min(1080px, 100%);
  margin: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}
.screenshot-grid figure { margin: 0; }
.phone-frame {
  overflow: hidden;
  border: 1px solid rgba(231, 185, 87, 0.42);
  border-radius: 24px;
  background: #08080a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.phone-frame img { display: block; width: 100%; height: auto; }
.screenshot-grid figcaption { padding: 1.2rem 0.3rem 0; color: var(--muted); font-size: 0.82rem; }
.screenshot-grid figcaption strong { display: block; margin-bottom: 0.25rem; color: var(--ink); font-family: Georgia, serif; font-size: 1rem; }

.alpha-section { background: #11090a; }
.alpha-card {
  display: grid;
  width: min(1180px, 100%);
  margin: auto;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(111, 23, 38, 0.28), rgba(23, 16, 17, 0.95));
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.alpha-card h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.alpha-copy { align-self: end; }
.alpha-copy ul { margin: 1.8rem 0 0; padding: 0; list-style: none; }
.alpha-copy li { position: relative; margin: 0.7rem 0; padding-left: 1.5rem; color: #e2d4c5; }
.alpha-copy li::before { position: absolute; left: 0; color: var(--teal); content: "◇"; }

.join-section {
  display: grid;
  background: radial-gradient(circle at 15% 30%, rgba(111, 23, 38, 0.25), transparent 35%), var(--bg);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.join-copy { justify-self: end; max-width: 600px; }
.join-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.privacy-note { padding-left: 1rem; border-left: 2px solid var(--teal); font-size: 0.9rem; }

.discord-card {
  width: min(520px, 100%);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #19161f, #111016);
}
.discord-card ol { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.discord-card li { display: grid; align-items: center; padding: 0.95rem 0; border-top: 1px solid rgba(255,255,255,0.08); grid-template-columns: 2.4rem 1fr; gap: 0.8rem; }
.discord-card li > span { display: grid; width: 1.9rem; height: 1.9rem; border: 1px solid rgba(88,101,242,0.8); border-radius: 50%; place-items: center; color: #aeb5ff; font: 700 0.75rem/1 "Courier New", monospace; }
.discord-card li strong { display: block; color: var(--ink); font-size: 0.9rem; }
.discord-card li small { display: block; margin-top: 0.15rem; color: var(--muted); line-height: 1.4; }
.discord-button { width: 100%; background: #5865f2; color: white; }
.discord-button:hover, .discord-button:focus-visible { background: #7289da; }
.discord-fineprint { margin: 0.8rem 0 0; color: #8f8595; font-size: 0.7rem; text-align: center; }

footer {
  display: grid;
  align-items: center;
  padding: 2rem clamp(1.2rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  color: #8f7d70;
  font-size: 0.78rem;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
}

.footer-mark { font-size: 0.85rem; }
footer p { margin: 0; text-align: center; }
footer div { display: flex; justify-content: end; gap: 1.3rem; }
footer div a { color: var(--muted); }

.legal-page { min-height: 100vh; padding: 6rem 1.2rem; background: radial-gradient(circle at 50% 0%, #251216, var(--bg) 45%); }
.legal-card { width: min(760px, 100%); margin: auto; padding: clamp(1.5rem, 5vw, 4rem); border: 1px solid var(--line); background: var(--panel); }
.legal-card h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.legal-card h2 { margin-top: 2.4rem; font-size: 1.5rem; letter-spacing: 0; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--teal); }
@media (max-width: 800px) {
  .site-header { padding: 1rem 1.2rem; }
  nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: 820px; place-items: end center; }
  .hero-art img { object-position: 50% 25%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 5%, rgba(11, 5, 6, 0.83) 52%, rgba(11, 5, 6, 0.08) 100%); }
  .hero-copy { margin: 0 auto 5rem; }
  h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .feature-grid, .alpha-card, .join-section, .game-details, .screenshot-heading { grid-template-columns: 1fr; }
  .feature-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .fact-row span:nth-child(3) { border-left: 0; }
  .fact-row span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .screenshot-grid { width: calc(100% + 1.2rem); grid-template-columns: repeat(3, minmax(260px, 76vw)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.2rem 1rem 0; }
  .screenshot-grid figure { scroll-snap-align: start; }
  .alpha-card { gap: 1rem; }
  .join-copy { justify-self: start; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer div { justify-content: center; }
  .footer-mark { justify-self: center; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
}

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