:root {
  color-scheme: dark;
  --ink: #f6edcf;
  --muted: #b8c7b6;
  --paper: #0a322c;
  --paper-deep: #051f1d;
  --panel: rgba(14, 59, 49, 0.78);
  --gold: #e9ba50;
  --gold-bright: #ffd978;
  --line: rgba(238, 198, 103, 0.28);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 123, 85, 0.25), transparent 32rem),
    linear-gradient(145deg, #0c3b32 0%, var(--paper-deep) 55%, #061817 100%);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  background-image: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.08) 80px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.05) 80px);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
img { display: block; max-width: 100%; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.22rem; font-weight: 800; text-decoration: none; letter-spacing: .01em; }
.brand img { border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.site-header nav { display: flex; gap: 26px; color: var(--muted); font-size: .94rem; font-weight: 650; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--gold-bright); }

main { position: relative; z-index: 1; }
.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 66px auto 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}
.eyebrow { margin: 0 0 16px; color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .19em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.7rem, 7.4vw, 7rem); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
h1 em { color: var(--gold-bright); font-weight: 500; }
.lede { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.9vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 780; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #183028; background: linear-gradient(135deg, var(--gold-bright), #dca83f); box-shadow: 0 12px 28px rgba(231, 180, 69, .18); }
.button.secondary { background: rgba(255,255,255,.055); }

.hero-art { position: relative; width: min(100%, 470px); padding: 24px 0 0 24px; justify-self: end; }
.game-shot { width: 100%; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.app-icon { position: absolute; width: clamp(92px, 11vw, 132px); right: -22px; bottom: -36px; border-radius: 25%; box-shadow: 0 22px 40px rgba(0,0,0,.46); border: 2px solid rgba(255,255,255,.32); }

.features { width: min(1180px, calc(100% - 40px)); margin: 0 auto 90px; }
.section-heading { max-width: 680px; margin-bottom: 34px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.5vw, 4.25rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { padding: 34px 30px 38px 0; }
.feature-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.number { color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .16em; }
h3 { margin: 30px 0 10px; font-size: 1.28rem; line-height: 1.25; }
.feature-grid p, .quiet-card > p { color: var(--muted); }

.quiet-card { width: min(1180px, calc(100% - 40px)); margin: 0 auto 110px; padding: clamp(34px, 6vw, 72px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(135deg, rgba(26,85,66,.72), rgba(7,36,32,.72)); box-shadow: var(--shadow); }
.quiet-card h2 { max-width: 760px; }
.quiet-card > p { max-width: 760px; margin: 24px 0 16px; }
.quiet-card > a { color: var(--gold-bright); font-weight: 760; }

.document-shell { width: min(920px, calc(100% - 40px)); margin: 60px auto 100px; }
.document-title { max-width: 780px; margin-bottom: 46px; }
.document-title h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.document-title > p:last-child { margin-top: 24px; color: var(--muted); font-size: 1.1rem; }
.document-card { padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line); border-radius: 30px; background: var(--panel); box-shadow: var(--shadow); }
.document-card section { padding: 34px 0; border-top: 1px solid var(--line); }
.document-card section:first-child { padding-top: 0; border-top: 0; }
.document-card h2 { font-family: inherit; font-size: 1.35rem; letter-spacing: -.01em; font-weight: 800; }
.document-card p { color: var(--muted); }
.document-card a:not(.button) { color: var(--gold-bright); }
.contact-panel { margin-top: 18px; }
.contact-panel .button { margin-top: 10px; color: #183028; }
.privacy-copy > p:first-child { color: var(--ink); font-size: 1.1rem; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; color: var(--muted); font-size: .9rem; }
footer strong { display: block; color: var(--ink); font-size: 1.08rem; }
footer span { display: block; margin-top: 3px; }
footer > p { grid-column: 1 / -1; margin: 4px 0 0; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.locale-nav { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 11px 20px; color: var(--muted); font-size: .86rem; }
.locale-nav a { text-decoration: none; }
.locale-nav a:hover, .locale-nav a[aria-current="true"] { color: var(--gold-bright); }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; margin-top: 38px; }
  .hero-art { width: min(470px, 100%); justify-self: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 28px 0; }
  .feature-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { align-items: flex-start; padding-top: 18px; }
  .brand span { display: none; }
  .site-header nav { gap: 15px; padding-top: 10px; font-size: .86rem; }
  .hero { margin-bottom: 84px; }
  .hero-art { padding-left: 0; }
  .app-icon { right: 14px; bottom: -28px; }
  .document-shell { margin-top: 35px; }
  .document-card { border-radius: 22px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; }
  footer > p { grid-column: auto; }
}

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