:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --near: #3c3c3c;
  --mid: #7a7a7a;
  --far: #b5b5b5;
  --fog: #e6e6e6;
  --sky: #f2f2f2;
  --glow: #f4ebd8;
  --line: rgb(10 10 10 / 0.12);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--fog) 40%, #cfcfcf 100%);
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar, main { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 32px; height: auto; filter: invert(1); }

.nav-links { display: flex; gap: 22px; color: var(--near); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--near);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ─── Hero ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  padding: 32px 0 88px;
}

.wordmark { width: 220px; height: auto; margin-bottom: 28px; }

.hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 8.5vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy > p {
  max-width: 520px;
  color: var(--near);
  font-size: 18px;
  line-height: 1.7;
}

.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.primary-button, .secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.primary-button { background: var(--ink); color: var(--fog); }
.secondary-button { border: 1px solid var(--line); background: rgb(255 255 255 / 0.5); }

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  box-shadow: 0 40px 80px rgb(10 10 10 / 0.22);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(230 230 230 / 0.35) 0%, transparent 30%);
  pointer-events: none;
}

/* ─── Sections ─── */
.section { padding: 40px 0 88px; }

.section-heading { margin-bottom: 32px; max-width: 720px; }

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-heading p { margin: 18px 0 0; color: var(--near); font-size: 18px; line-height: 1.65; }

/* ─── Features ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.55);
}

.feature-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--mid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3 { margin: 0 0 12px; font-size: 26px; }
.feature-card p { margin: 0; color: var(--near); font-size: 17px; line-height: 1.65; }

/* ─── Worlds: darker as you go down, the way the climb starts ─── */
.worlds { display: flex; flex-direction: column; gap: 12px; }

.world {
  display: grid;
  grid-template-columns: 120px 1fr 1.3fr;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 24px;
}

.world-number { font-family: "Newsreader", Georgia, serif; font-size: 44px; font-weight: 600; line-height: 1; }
.world h3 { margin: 0; font-size: 30px; text-transform: uppercase; }
.world .levels { margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.world p { margin: 0; font-size: 16px; line-height: 1.65; }

.world-above   { background: #fafafa; border: 1px solid var(--line); }
.world-city    { background: var(--far); }
.world-tunnels { background: var(--near); color: var(--fog); }
.world-deep    { background: var(--ink); color: var(--fog); }

/* ─── Screenshots ─── */
.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgb(10 10 10 / 0.14);
}

/* ─── Gear ─── */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gear-panel {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.55);
}

.gear-panel h3 { margin: 0 0 18px; font-size: 28px; text-transform: uppercase; }

.gear-panel dl { margin: 0; display: grid; gap: 14px; }
.gear-panel dt { font-weight: 700; }
.gear-panel dd { margin: 2px 0 0; color: var(--near); line-height: 1.55; }

/* ─── Fair ads banner ─── */
.banner {
  margin-bottom: 88px;
  padding: 40px 48px;
  border-radius: 28px;
  background: var(--glow);
  display: flex;
  align-items: center;
  gap: 40px;
}

.banner h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
.banner p { margin: 0; color: var(--near); font-size: 17px; line-height: 1.65; }

.coin {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, #fffaf0 0%, var(--glow) 45%, #9c9384 100%);
}

/* ─── CTA: the bottom of the world ─── */
.cta {
  margin-bottom: 64px;
  padding: 64px 40px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 50% 0%, rgb(122 122 122 / 0.45), transparent 60%),
    var(--ink);
  color: var(--fog);
  text-align: center;
}

.cta .eyebrow { color: var(--far); }

.cta h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.cta .actions { justify-content: center; }
.cta .primary-button { background: var(--fog); color: var(--ink); }
.cta .secondary-button { border-color: rgb(230 230 230 / 0.2); background: rgb(230 230 230 / 0.08); }

/* ─── Scripts without capitals ─── */
/* Wide tracking splits Devanagari conjuncts and loosens CJK; tall glyphs need more leading. */
:lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: 0.06em; }
:lang(hi) .eyebrow { letter-spacing: 0; }
:lang(ja) body { line-break: strict; }

:lang(ja) :is(h1, .section-heading h2, .cta h2),
:lang(ko) :is(h1, .section-heading h2, .cta h2),
:lang(zh-Hans) :is(h1, .section-heading h2, .cta h2),
:lang(hi) :is(h1, .section-heading h2, .cta h2) { line-height: 1.15; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 400px; }
  .world { grid-template-columns: 80px 1fr; }
  .world p { grid-column: 1 / -1; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 720px) {
  .topbar, main { width: calc(100% - 32px); }
  .topbar { flex-direction: column; align-items: flex-start; }
  .nav-links { flex-wrap: wrap; }
  .feature-grid, .gear-grid { grid-template-columns: 1fr; }
  .feature-card, .gear-panel, .cta { padding: 24px; border-radius: 24px; }
  .world { padding: 24px; gap: 16px; }
  .world-number { font-size: 34px; }
  .banner { padding: 28px 24px; }
}

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