:root {
  --green-950: #031a1e;
  --green-900: #06282d;
  --green-800: #0b3b3f;
  --green-600: #2b6f68;
  --accent: #f47b12;
  --cream: #f4e7cf;
  --ink: #142124;
  --asphalt: #2c3536;
  --stone: #e6e8e4;
  --mist: #f4f2ec;
  --white: #ffffff;
  --muted: #66706b;
  --line: rgba(24, 32, 29, 0.15);
  --radius: 1.4rem;
  --shadow: 0 24px 60px rgba(11, 33, 25, 0.12);
  --shell: min(1180px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a { color: inherit; }

img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
}

.site-header.is-scrolled {
  position: fixed;
  color: var(--ink);
  background: rgba(244, 242, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: 0.7rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
  overflow: hidden;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.site-header.is-scrolled .brand-mark,
.legal-page .brand-mark { box-shadow: 0 0 0 1px rgba(24,32,29,0.12); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: 0.92rem; font-weight: 650; text-decoration: none; }
.site-nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: 0.35rem; }

.nav-contact {
  padding: 0.62rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle { display: none; }

.hero {
  min-height: 100svh;
  padding: 9rem 0 2rem;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(244, 123, 18, 0.18), transparent 24rem),
    linear-gradient(125deg, var(--green-950) 0%, var(--green-900) 60%, #0b3338 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 0.65rem; color: var(--accent); }
.eyebrow::before { width: 1.6rem; height: 1px; content: ""; background: currentColor; }

.hero-status { display: flex; align-items: center; gap: 0.95rem; margin-bottom: 1.15rem; }
.hero-status .eyebrow { margin: 0; }
.hero-app-icon {
  width: 5rem;
  height: 5rem;
  flex: 0 0 auto;
  border-radius: 1.3rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.14);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(4.3rem, 10.7vw, 9rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.76;
  text-transform: uppercase;
}

h1 span { color: var(--accent); }

h2 {
  max-width: 16ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h3 { font-size: 1.35rem; line-height: 1.2; }

.hero-tagline {
  margin-bottom: 1.15rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.hero-lead { max-width: 38rem; color: rgba(255,255,255,0.72); font-size: 1.08rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 2.2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green-950); background: var(--accent); }
.button-dark { color: var(--white); background: var(--ink); }

.text-link { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 0.4rem; }
.text-link span { margin-left: 0.35rem; }

.media-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 24rem;
  padding: 1.5rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.015)),
    repeating-linear-gradient(105deg, transparent 0 64px, rgba(255,255,255,0.025) 65px 66px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media { aspect-ratio: 16 / 10; transform: rotate(1.5deg); }

.media-placeholder p { z-index: 1; margin: 0; color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.media-label { z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.media-label span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.media-label strong { font-size: 0.8rem; font-weight: 650; opacity: 0.65; }

.road-line {
  position: absolute;
  right: -10%;
  bottom: -25%;
  width: 80%;
  height: 130%;
  border: 2px solid rgba(244, 123, 18, 0.62);
  border-width: 0 0 0 2px;
  border-radius: 50%;
  transform: rotate(43deg);
}

.road-line::after {
  position: absolute;
  top: 12%;
  left: -0.42rem;
  width: 0.8rem;
  height: 0.8rem;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.65rem rgba(244, 123, 18, 0.14);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-facts p { margin: 0; padding: 1.5rem 0; font-size: 0.88rem; font-weight: 650; }
.hero-facts span { margin-right: 0.7rem; color: var(--accent); font-size: 0.72rem; }

.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 8vw, 8rem); }
.intro-copy { padding-top: 2.25rem; color: #46504b; font-size: 1.12rem; }
.intro-copy p + p { margin-top: 1.5rem; }

.pillars { background: var(--mist); }
.section-heading { margin-bottom: 3.5rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar-card { min-height: 22rem; padding: 1.7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar-card.featured { color: var(--white); background: var(--green-800); transform: translateY(-1.5rem); }
.card-number { display: block; margin-bottom: 7rem; color: var(--green-600); font-size: 0.78rem; font-weight: 850; }
.featured .card-number { color: var(--accent); }
.pillar-card p { color: var(--muted); }
.pillar-card.featured p { color: rgba(255,255,255,0.72); }

.real-world { color: var(--white); background: var(--asphalt); }
.real-copy { display: grid; grid-template-columns: 0.55fr 1.2fr 0.8fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.real-copy .kicker { color: var(--accent); }
.real-copy h2 { margin: 0; }
.real-copy > p:last-child { color: rgba(255,255,255,0.68); }
.comparison { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.comparison-card { min-height: 25rem; box-shadow: none; }
.comparison-card:first-child { background: linear-gradient(150deg, #56635d, #28312d); }
.comparison-card.game-view { background: linear-gradient(150deg, #345f4c, #173527); }
.comparison-divider { position: absolute; top: 50%; left: 50%; z-index: 3; display: grid; width: 3.4rem; height: 3.4rem; place-items: center; color: var(--ink); background: var(--accent); border: 0.4rem solid var(--asphalt); border-radius: 50%; transform: translate(-50%, -50%); }

.features { background: var(--white); }
.split-heading { display: grid; grid-template-columns: 1fr 0.6fr; gap: 4rem; align-items: end; }
.split-heading > p { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.feature-grid li { display: grid; grid-template-columns: 3rem 1fr; gap: 0 0.8rem; align-items: center; min-height: 5.25rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.feature-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-grid span { color: var(--green-600); font-size: 0.72rem; font-weight: 850; grid-row: 1 / span 2; }
.feature-grid strong { font-size: 1.05rem; }
.feature-grid small { color: var(--muted); }
.planned { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding: 1.5rem; color: var(--white); background: var(--green-900); border-radius: 1rem; }
.planned p { margin: 0; color: var(--accent); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.planned ul { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.planned li { padding: 0.28rem 0.65rem; border: 1px solid rgba(255,255,255,0.26); border-radius: 999px; font-size: 0.88rem; }

.development { color: var(--white); background: var(--green-900); }
.development-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: start; }
.kicker.light { color: var(--accent); }
.development-grid > div:last-child { color: rgba(255,255,255,0.72); font-size: 1.08rem; }
.status-chip { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1rem; padding: 0.45rem 0.75rem; color: var(--white); border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
.status-chip span { width: 0.45rem; height: 0.45rem; background: var(--accent); border-radius: 50%; }

.release { background: var(--mist); }
.release-card { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); background: var(--cream); border: 1px solid rgba(244, 123, 18, 0.28); border-radius: var(--radius); }
.release-card h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.release-card p:not(.kicker) { max-width: 44rem; margin-bottom: 0; }

.social { background: var(--white); }
.social-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 7rem; }
.social-grid > div > p:last-child { max-width: 36rem; color: var(--muted); }
.social-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.social-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.social-list span { font-size: 1.15rem; font-weight: 750; }
.social-list small { color: var(--muted); }

.site-footer { padding: 4.5rem 0 1.5rem; color: var(--white); background: var(--ink); }
.footer-main { display: flex; justify-content: space-between; gap: 3rem; padding-bottom: 4rem; }
.footer-brand { font-size: 1.05rem; }
.footer-main > div > p { margin: 1rem 0 0; color: rgba(255,255,255,0.55); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.footer-contact span { color: var(--accent); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-contact a { font-size: 1.1rem; font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.25rem; color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.13); font-size: 0.8rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { margin: 0; }
.future-links { color: rgba(255,255,255,0.35); }

/* Legal pages */
.legal-page { background: var(--white); }
.legal-page .site-header { position: relative; color: var(--ink); background: var(--mist); }
.legal-main { min-height: 70vh; padding: 5rem 0 8rem; }
.legal-main h1 { margin-bottom: 1rem; color: var(--green-900); font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; }
.legal-intro { max-width: 48rem; color: var(--muted); font-size: 1.08rem; }
.legal-content { max-width: 48rem; margin-top: 4rem; }
.legal-content h2 { max-width: none; margin-top: 3rem; font-size: 1.7rem; letter-spacing: -0.03em; }
.legal-content h3 { margin-top: 2rem; }
.todo-box { margin: 2rem 0; padding: 1.3rem; background: #fff4d6; border-left: 4px solid #c48000; }
.todo-box strong { display: block; margin-bottom: 0.4rem; }

@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .real-copy,
  .development-grid,
  .social-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 8rem; }
  .hero-grid { gap: 3.5rem; }
  .hero-media { min-height: 20rem; }
  .real-copy { gap: 1rem; }
  .real-copy > p:last-child { max-width: 42rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 17rem; }
  .pillar-card.featured { transform: none; }
  .card-number { margin-bottom: 4rem; }
  .split-heading { grid-template-columns: 1fr; gap: 1rem; }
  .release-card { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 1.5rem, 1180px); }

  .site-header { position: absolute; }
  .header-inner { min-height: 4.5rem; }
  .nav-toggle { position: relative; z-index: 2; display: grid; width: 2.8rem; height: 2.8rem; place-content: center; gap: 0.4rem; padding: 0; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
  .nav-toggle span:not(.sr-only) { width: 1rem; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(0.22rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.22rem) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: none; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.2rem; padding: 2rem; color: var(--white); background: var(--green-950); }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 1.6rem; }
  .nav-contact { margin-top: 1rem; font-size: 1rem !important; }

  .hero { min-height: auto; padding-bottom: 1.5rem; }
  .hero-app-icon { width: 4rem; height: 4rem; border-radius: 1.05rem; }
  h1 { font-size: clamp(4rem, 22vw, 6.4rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .hero-media { width: 100%; min-height: 17rem; aspect-ratio: auto; transform: none; }
  .hero-facts { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .hero-facts p { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .section { padding: 4.75rem 0; }
  .intro-copy { padding-top: 0; }
  .comparison { grid-template-columns: 1fr; }
  .comparison-card { min-height: 18rem; }
  .comparison-divider { transform: translate(-50%, -50%) rotate(90deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid li:nth-child(odd) { border-right: 0; }
  .planned, .footer-main { flex-direction: column; }
  .planned ul { flex-direction: column; align-items: flex-start; }
  .release-card { gap: 1.5rem; }
  .button-dark { width: 100%; }
  .social-grid { gap: 2rem; }
  .footer-contact { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
