:root {
  --ink: #10253f;
  --navy: #071a32;
  --navy-2: #0b294a;
  --blue: #176bb6;
  --teal: #00a99d;
  --mint: #dff7f2;
  --red: #d74745;
  --gold: #e8b850;
  --paper: #f7f5f0;
  --white: #ffffff;
  --muted: #5f7083;
  --line: #d9e1e8;
  --shadow: 0 20px 60px rgba(7, 26, 50, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

p { margin: 0 0 1rem; }

h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }

h1 { font-size: clamp(2.7rem, 6vw, 5.65rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); max-width: 17ch; }
h3 { font-size: 1.25rem; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(247, 245, 240, .92);
  border-bottom: 1px solid rgba(16, 37, 63, .08);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand-mark {
  width: 31px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1;
  background: linear-gradient(145deg, var(--teal), var(--blue));
  clip-path: polygon(50% 0, 90% 16%, 90% 72%, 50% 100%, 10% 72%, 10% 16%);
  box-shadow: 0 5px 14px rgba(23, 107, 182, .3);
}

.brand-name { color: var(--navy); font-size: 1.12rem; }
.brand-sub { color: var(--muted); font-size: .74rem; font-weight: 650; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }

.site-nav a {
  color: #4d5e71;
  font-size: .92rem;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }

.nav-cta {
  padding: .58rem .88rem;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 999px;
}

.nav-cta:hover { color: var(--white) !important; background: var(--blue); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-white { background: var(--white); }
.section-navy { color: var(--white); background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-navy .eyebrow { color: #77e4d9; }

.lede {
  max-width: 58ch;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.section-navy .lede { color: #b7c8d7; }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 24px rgba(215, 71, 69, .25); }
.button-primary:hover { background: #ba3738; }
.button-secondary { color: var(--navy); background: var(--white); border-color: #cbd6df; }
.button-secondary:hover { box-shadow: 0 8px 22px rgba(7, 26, 50, .1); }
.button-dark { color: var(--white); background: var(--navy); }
.button-dark:hover { background: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 77% 22%, rgba(0, 169, 157, .43), transparent 25%), linear-gradient(135deg, #071a32 8%, #0a315b 64%, #0c5689 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .15;
  background-image: linear-gradient(30deg, transparent 47%, #fff 48%, #fff 52%, transparent 53%), linear-gradient(-30deg, transparent 47%, #fff 48%, #fff 52%, transparent 53%);
  background-size: 42px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 60%);
}

.hero .container { position: relative; }

.hero-grid {
  min-height: 645px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  align-items: center;
  gap: 3rem;
}

.hero h1 { color: var(--white); }
.hero .lede { color: #d4e1ed; }
.hero .eyebrow { color: #7fe8dd; }

.hero-art { position: relative; min-height: 535px; }

.hero-art::before {
  position: absolute;
  top: 36px;
  right: 0;
  width: 310px;
  height: 310px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}

.phone-frame {
  position: absolute;
  right: 13%;
  bottom: -28px;
  width: min(302px, 70%);
  padding: 9px;
  overflow: hidden;
  background: #061321;
  border: 4px solid #14324d;
  border-radius: 38px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, .34);
  transform: rotate(5deg);
}

.phone-frame img { width: 100%; border-radius: 25px; }

.app-orb {
  position: absolute;
  top: 90px;
  left: 2%;
  width: 136px;
  padding: 8px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .33);
  border-radius: 28px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
  transform: rotate(-8deg);
}

.app-orb img { border-radius: 20px; }

.hero-chip {
  position: absolute;
  right: -2%;
  bottom: 92px;
  padding: .7rem .9rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .03em;
  transform: rotate(-7deg);
}

.store-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.2rem; color: #b7c8d7; font-size: .82rem; }
.store-note::before { width: 7px; height: 7px; content: ""; background: #78e3a3; border-radius: 50%; box-shadow: 0 0 0 4px rgba(120, 227, 163, .15); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(16, 37, 63, .06);
}

.stat-strip > div { padding: 1.1rem 1.15rem; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border: 0; }
.stat-label { display: block; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-value { display: block; margin-top: .2rem; color: var(--navy); font-size: 1rem; font-weight: 840; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: start;
  gap: clamp(2.2rem, 7vw, 7rem);
}

.product-icon-line { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.product-icon-line img { width: 74px; border-radius: 18px; box-shadow: 0 10px 28px rgba(7, 26, 50, .16); }
.product-icon-line span { color: var(--muted); font-size: .86rem; font-weight: 750; }

.feature-list { display: grid; gap: .95rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.feature-list li::before { width: 28px; height: 28px; display: grid; place-items: center; content: "✓"; color: var(--teal); background: var(--mint); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.feature-list strong { display: block; color: var(--navy); font-size: .98rem; }
.feature-list span { display: block; color: var(--muted); font-size: .91rem; }

.screen-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 445px;
  padding: 2.5rem 1rem 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #d7f1ef, #dceaf5);
  border-radius: var(--radius);
}

.screen-showcase::after { position: absolute; inset: auto -18% -39% auto; width: 340px; height: 340px; content: ""; border: 1px solid rgba(23, 107, 182, .25); border-radius: 50%; }
.screen-showcase img { position: relative; z-index: 1; width: 232px; border: 7px solid var(--navy); border-radius: 27px; box-shadow: 0 22px 36px rgba(7, 26, 50, .24); }

.gallery-title { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; }
.gallery-title p { max-width: 42ch; margin: 0; color: var(--muted); }
.game-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.game-gallery figure { margin: 0; overflow: hidden; background: #0c2f52; border-radius: 17px; box-shadow: 0 12px 28px rgba(7, 26, 50, .14); }
.game-gallery img { width: 100%; aspect-ratio: 1 / 1.9; object-fit: cover; object-position: top; transition: transform .3s ease; }
.game-gallery figure:hover img { transform: scale(1.04); }

.split-callout { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.split-callout .copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 6vw, 5rem); }
.split-callout .image-wrap { min-height: 405px; }
.split-callout .image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.info-card { padding: 1.5rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; }
.info-card .card-number { display: block; margin-bottom: .8rem; color: #77e4d9; font-size: .78rem; font-weight: 850; letter-spacing: .1em; }
.info-card p { margin: .75rem 0 0; color: #b7c8d7; font-size: .92rem; }

.page-hero { position: relative; min-height: 420px; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--navy); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; }
.page-hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7, 26, 50, .94), rgba(7, 26, 50, .52) 60%, rgba(7, 26, 50, .25)); }
.page-hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #dae6ed; }
.page-hero .eyebrow { color: #86eee4; }

.story-grid { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(2.2rem, 7vw, 7rem); align-items: center; }
.story-photo { min-height: 450px; }
.story-photo img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; border-radius: var(--radius); }
.story-text > p { max-width: 58ch; color: var(--muted); font-size: 1.03rem; }
.note { margin-top: 1.5rem; padding: 1rem 1.1rem; color: #40546a; background: #e8f3f4; border-left: 3px solid var(--teal); border-radius: 0 10px 10px 0; font-size: .9rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.4rem; }
.value { padding: 1.55rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.value-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--white); background: var(--blue); border-radius: 12px; font-weight: 900; }
.value p { margin: .75rem 0 0; color: var(--muted); font-size: .93rem; }

.photo-mosaic { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.photo-mosaic img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; border-radius: 18px; }
.photo-mosaic img:first-child { grid-row: span 2; min-height: 520px; }

.join-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.join-card { padding: clamp(1.7rem, 4vw, 3rem); color: var(--white); background: linear-gradient(145deg, #0e426d, #09233f); border-radius: var(--radius); }
.join-card h2 { color: var(--white); }
.join-card p { margin-top: 1.2rem; color: #c8d8e5; }
.join-card .button-secondary { border-color: transparent; }
.culture-image { position: relative; min-height: 445px; }
.culture-image > img:first-child { width: 86%; height: 410px; object-fit: cover; border-radius: var(--radius); }
.culture-image > img:last-child { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: .72; object-fit: cover; border: 7px solid var(--paper); border-radius: 17px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(315px, 1.05fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.contact-photo { min-height: 465px; overflow: hidden; border-radius: var(--radius); }
.contact-photo img { width: 100%; height: 100%; min-height: 465px; object-fit: cover; }
.contact-options { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-option { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.contact-option .contact-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); background: #e8f1fa; border-radius: 12px; font-weight: 900; }
.contact-option h3 { font-size: 1rem; }
.contact-option p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.contact-email { color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }

.legal-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 100px; }
.legal-heading { padding-bottom: 2.1rem; margin-bottom: 2.3rem; border-bottom: 1px solid var(--line); }
.legal-heading h1 { max-width: none; font-size: clamp(2.5rem, 5vw, 4.2rem); }
.legal-heading p { max-width: 62ch; margin-top: 1.1rem; color: var(--muted); }
.legal-content { color: #42556a; }
.legal-content h2 { max-width: none; margin: 2.8rem 0 1rem; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2.25rem); }
.legal-content h3 { margin: 1.8rem 0 .65rem; color: var(--navy); }
.legal-content p, .legal-content li { max-width: 76ch; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content li + li { margin-top: .4rem; }
.legal-content a { color: var(--blue); font-weight: 700; }
.disclosure-table { width: 100%; margin: 1.35rem 0; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; }
.disclosure-table th, .disclosure-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.disclosure-table th { color: var(--navy); background: #edf4f8; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.disclosure-table tr:last-child td { border-bottom: 0; }
.legal-callout { padding: 1.15rem 1.2rem; margin: 1.4rem 0; color: #34516d; background: #eaf6f4; border: 1px solid #c6e9e1; border-radius: 14px; font-size: .92rem; }

.site-footer { color: #bbcad7; background: #061526; }
.footer-main { width: min(1180px, calc(100% - 40px)); padding: 48px 0 26px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 2rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: #a8bdcd; }
.footer-brand p { max-width: 37ch; margin-top: 1rem; color: #9bb0c1; font-size: .88rem; }
.footer-title { margin-bottom: .75rem; color: var(--white); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: #bbcad7; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #86eee4; }
.footer-bottom { width: min(1180px, calc(100% - 40px)); padding: 1.15rem 0; margin: 0 auto; color: #8ca2b4; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; }

@media (max-width: 820px) {
  .nav-shell { padding: .8rem 0; align-items: flex-start; }
  .site-nav { justify-content: flex-end; flex-wrap: wrap; gap: .6rem .9rem; }
  .site-nav a { font-size: .8rem; }
  .nav-cta { padding: .38rem .65rem; }
  .hero-grid, .product-grid, .split-callout, .story-grid, .join-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 5rem 0 0; }
  .hero-art { min-height: 445px; }
  .phone-frame { right: 17%; width: 260px; }
  .split-callout .image-wrap { min-height: 310px; order: -1; }
  .card-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { min-height: 380px; }
  .photo-mosaic img:first-child { min-height: 360px; }
  .culture-image { min-height: 400px; }
}

@media (max-width: 580px) {
  .nav-shell { width: min(100% - 28px, 1180px); }
  .brand { gap: .45rem; }
  .brand-name { font-size: .98rem; }
  .brand-sub { display: none; }
  .site-nav { gap: .45rem .65rem; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .section-tight { padding: 50px 0; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-grid { padding-top: 4rem; }
  .hero-art { min-height: 375px; }
  .phone-frame { right: 10%; bottom: -40px; width: 220px; }
  .app-orb { top: 28px; left: 1%; width: 108px; }
  .hero-chip { right: 0; bottom: 54px; font-size: .68rem; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .game-gallery { grid-template-columns: 1fr 1fr; }
  .story-photo, .story-photo img { min-height: 330px; }
  .photo-mosaic { grid-template-columns: 1fr; }
  .photo-mosaic img:first-child { grid-row: auto; min-height: 330px; }
  .photo-mosaic img { min-height: 250px; }
  .culture-image > img:first-child { width: 91%; height: 350px; }
  .culture-image > img:last-child { width: 42%; }
  .legal-shell { width: min(100% - 28px, 900px); padding: 55px 0 70px; }
  .disclosure-table { display: block; overflow-x: auto; white-space: normal; }
  .footer-main { width: min(100% - 28px, 1180px); grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { width: min(100% - 28px, 1180px); }
}
