:root {
  color-scheme: light;
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-soft: #edf5ff;
  --surface-raised: #ffffff;
  --text: #102038;
  --text-soft: #5b6b82;
  --blue: #1677ff;
  --blue-dark: #075ecb;
  --blue-soft: #ddecff;
  --cyan: #39c6ee;
  --yellow: #ffd25a;
  --border: #dce6f4;
  --shadow: 0 24px 70px rgba(30, 93, 170, .15);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --container: 1160px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #101c2d;
  --surface-soft: #14253a;
  --surface-raised: #132238;
  --text: #f2f7ff;
  --text-soft: #a9b8cb;
  --blue: #4e9cff;
  --blue-dark: #8ebeff;
  --blue-soft: #16375e;
  --cyan: #55d6f2;
  --yellow: #ffd76c;
  --border: #263950;
  --shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 25px rgba(20, 57, 100, .06);
}

.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.025em;
}

.brand-copy { font-size: 1rem; font-weight: 500; }
.brand-copy strong { font-weight: 800; }

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--blue);
  box-shadow: 0 7px 16px rgba(22, 119, 255, .25);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}
.brand-mark::before { left: 6px; top: 6px; }
.brand-mark::after { right: 5px; bottom: 5px; opacity: .58; }
.brand-mark span { left: 6px; bottom: -6px; opacity: .28; }

.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--blue); }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.nav-actions { display: flex; gap: 8px; align-items: center; }
.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.theme-toggle:hover,
.menu-toggle:hover { border-color: var(--blue); transform: translateY(-1px); }
.theme-icon { font-size: 1.1rem; line-height: 1; }
.theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: block; }
.menu-toggle { display: none; gap: 4px; align-content: center; }
.menu-toggle span { width: 17px; height: 2px; background: currentColor; border-radius: 4px; transition: .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 74px 0 98px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; right: -170px; top: -180px; background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 68%); }
.hero-glow-two { width: 450px; height: 450px; left: -240px; bottom: -240px; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 16%, transparent), transparent 69%); }

.eyebrow {
  margin: 0 0 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 2px; border-radius: 4px; background: currentColor; }

.hero h1,
.section-heading h2,
.studio-card h2,
.cta-card h2,
.legal-hero h1 {
  margin: 0;
  letter-spacing: -.06em;
  line-height: .98;
}

.hero h1 { max-width: 670px; font-size: clamp(3.75rem, 7.1vw, 6.6rem); font-weight: 850; }
.hero h1 em,
.section-heading h2 em { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lede { max-width: 610px; margin: 28px 0 0; color: var(--text-soft); font-size: clamp(1rem, 1.7vw, 1.16rem); }

.hero-actions { display: flex; align-items: center; gap: 27px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 13px 28px rgba(22, 119, 255, .25); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 17px 34px rgba(22, 119, 255, .3); }
.text-link { color: var(--text); font-size: .92rem; font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--blue); }

.hero-notes { display: flex; gap: 22px; margin-top: 32px; color: var(--text-soft); font-size: .84rem; font-weight: 650; }
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.hero-notes i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-size: .7rem; font-style: normal; }

.hero-art { position: relative; min-height: 500px; display: grid; place-items: center; }
.app-card {
  position: relative;
  z-index: 3;
  width: min(380px, 82vw);
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
  border-radius: 38px;
  background: color-mix(in srgb, var(--surface) 87%, transparent);
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  backdrop-filter: blur(14px);
}
.app-card::before { content: ""; position: absolute; z-index: -1; inset: 46px -20px -20px 35px; border-radius: 38px; background: var(--blue-soft); opacity: .65; transform: rotate(-7deg); }
.app-card > img { aspect-ratio: 1; width: 100%; border-radius: 26px; object-fit: cover; }
.app-card-label { display: inline-flex; position: absolute; z-index: 2; top: 31px; left: 31px; padding: 6px 10px; color: #173359; background: var(--yellow); border-radius: 7px; font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.app-card-info { display: flex; justify-content: space-between; align-items: center; padding: 18px 6px 4px; }
.app-card-info div { display: grid; gap: 1px; }
.app-card-info strong { font-size: 1rem; letter-spacing: -.02em; }
.app-card-info span { color: var(--text-soft); font-size: .78rem; }
.round-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff !important; font-size: 1rem !important; }
.orbit { position: absolute; z-index: 0; border-radius: 50%; border: 1px solid var(--border); }
.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 360px; height: 360px; border-style: dashed; animation: spin 28s linear infinite; }
.orbit-two::after { content: ""; position: absolute; width: 15px; height: 15px; top: 20px; left: 70px; background: var(--cyan); border: 5px solid var(--bg); border-radius: 50%; }
.floating-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 13px 36px rgba(34, 81, 135, .14); font-size: .76rem; font-weight: 800; }
.floating-chip span { color: var(--blue); }
.chip-top { top: 46px; right: -9px; animation: float 4s ease-in-out infinite; }
.chip-bottom { left: -18px; bottom: 67px; animation: float 4s ease-in-out 1s infinite; }

.games-section { padding: 108px 0; background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.section-heading > p { max-width: 400px; margin: 0 0 3px; color: var(--text-soft); }
.game-showcase { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: 0 22px 55px rgba(29, 78, 136, .08); }
.game-identity { display: grid; grid-template-columns: 310px 1fr; gap: 48px; align-items: center; padding: 48px; }
.game-icon-wrap { position: relative; }
.game-icon-wrap::after { content: ""; position: absolute; z-index: 0; inset: 14% -5% -8% 20%; border-radius: 30%; background: var(--blue-soft); transform: rotate(8deg); }
.game-icon-wrap img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 26%; box-shadow: 0 23px 50px rgba(72, 82, 112, .23); }
.game-kicker { margin: 0 0 7px; color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.game-identity h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; line-height: 1.05; }
.game-identity p:not(.game-kicker) { max-width: 650px; margin: 18px 0 0; color: var(--text-soft); font-size: 1.03rem; }
.store-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 27px; }
.store-button { min-width: 178px; min-height: 55px; display: inline-flex; align-items: center; gap: 11px; padding: 8px 16px; color: #fff; background: #0b1018; border: 1px solid #0b1018; border-radius: 12px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.store-button[href]:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(11, 16, 24, .2); }
.store-button span:not(.store-symbol) { display: grid; line-height: 1.02; }
.store-button small { font-size: .57rem; letter-spacing: .08em; }
.store-button strong { margin-top: 4px; font-size: 1rem; }
.store-symbol { width: 27px; display: grid; place-items: center; font-size: 1.35rem; }
.apple-symbol { font-size: 1.8rem; }
.store-button-muted { color: var(--text-soft); background: var(--surface); border-color: var(--border); cursor: default; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.feature-card { position: relative; min-height: 235px; padding: 33px 29px; border-right: 1px solid var(--border); }
.feature-card:last-child { border: 0; }
.feature-number { position: absolute; top: 20px; right: 23px; color: var(--border); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 27px; color: var(--blue); background: var(--blue-soft); border-radius: 13px; font-size: 1.25rem; font-weight: 800; }
.feature-card h4 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.feature-card p { margin: 9px 0 0; color: var(--text-soft); font-size: .86rem; line-height: 1.55; }

.secondary-game {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  margin-top: 24px;
  padding: 27px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.secondary-game-icon img { width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 30px; box-shadow: 0 17px 35px rgba(72, 82, 112, .18); }
.secondary-game-copy h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.05; letter-spacing: -.045em; }
.secondary-game-copy > p:not(.game-kicker) { max-width: 650px; margin: 12px 0 0; color: var(--text-soft); font-size: .92rem; }
.mini-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.mini-features span { padding: 6px 10px; color: var(--blue-dark); background: var(--surface); border: 1px solid var(--border); border-radius: 30px; font-size: .7rem; font-weight: 800; }
.secondary-game-actions { padding-right: 8px; }

.studio-section { padding: 108px 0; }
.studio-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.studio-card { position: relative; overflow: hidden; padding: 56px; color: #fff; background: linear-gradient(145deg, #0867e3, #1787ff); border-radius: var(--radius-lg); box-shadow: 0 28px 60px rgba(22, 119, 255, .24); }
.studio-card::after { content: ""; position: absolute; width: 270px; height: 270px; right: -110px; bottom: -130px; border: 45px solid rgba(255,255,255,.1); border-radius: 50%; }
.eyebrow-light { color: #cfe5ff; }
.studio-card h2 { position: relative; z-index: 1; max-width: 560px; font-size: clamp(2.5rem, 4.5vw, 4.2rem); }
.studio-card > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 610px; margin: 24px 0 29px; color: #ddebff; }
.button-light { position: relative; z-index: 1; color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.button-light:hover { background: rgba(255,255,255,.18); }
.principles { display: grid; }
.principle { display: grid; grid-template-columns: 47px 1fr; gap: 20px; padding: 29px 0; border-bottom: 1px solid var(--border); }
.principle:last-child { border: 0; }
.principle > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.principle h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.principle p { margin: 6px 0 0; color: var(--text-soft); font-size: .92rem; }

.cta-section { padding: 0 0 108px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 55px; color: #fff; background: #0d203a; border-radius: var(--radius-lg); }
html[data-theme="dark"] .cta-card { background: #152b49; }
.cta-card h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.cta-card p:not(.eyebrow) { margin: 12px 0 0; color: #b9c9dc; }
.button-white { flex: 0 0 auto; min-width: 160px; color: #0d203a; background: #fff; }
.button-white:hover { box-shadow: 0 15px 30px rgba(0,0,0,.2); }

.site-footer { padding: 67px 0 25px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-main { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; padding-bottom: 48px; }
.footer-brand { margin-bottom: 16px; }
.footer-main > div > p { margin: 0; color: var(--text-soft); font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-links > div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { width: fit-content; color: var(--text-soft); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-soft); font-size: .76rem; }

/* Legal pages */
.legal-hero { position: relative; overflow: hidden; padding: 88px 0 74px; background: var(--surface); border-bottom: 1px solid var(--border); }
.legal-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -210px; background: var(--blue-soft); border-radius: 50%; opacity: .7; }
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { max-width: 850px; font-size: clamp(3.2rem, 7vw, 6rem); }
.legal-hero p:not(.eyebrow) { max-width: 710px; margin: 24px 0 0; color: var(--text-soft); font-size: 1.08rem; }
.legal-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.legal-meta span { padding: 7px 12px; border: 1px solid var(--border); border-radius: 30px; color: var(--text-soft); background: var(--bg); font-size: .75rem; font-weight: 750; }
.legal-shell { display: grid; grid-template-columns: 250px minmax(0, 780px); justify-content: space-between; gap: 74px; padding-block: 72px 110px; }
.legal-toc { position: sticky; top: 111px; align-self: start; display: grid; gap: 3px; }
.legal-toc strong { margin-bottom: 9px; color: var(--text); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-toc a { padding: 8px 11px; color: var(--text-soft); border-left: 2px solid var(--border); font-size: .82rem; text-decoration: none; line-height: 1.35; }
.legal-toc a:hover { color: var(--blue); border-color: var(--blue); }
.legal-content { min-width: 0; }
.legal-intro { margin-bottom: 48px; padding: 24px 26px; color: var(--text-soft); background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius-md); }
.legal-intro strong { color: var(--text); }
.legal-section { padding: 0 0 39px; margin: 0 0 39px; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border: 0; margin: 0; padding-bottom: 0; }
.legal-section h2 { margin: 0 0 18px; font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.035em; }
.legal-section h3 { margin: 26px 0 9px; font-size: 1rem; letter-spacing: -.015em; }
.legal-section p { margin: 0 0 14px; color: var(--text-soft); }
.legal-section ul { margin: 14px 0 18px; padding-left: 20px; color: var(--text-soft); }
.legal-section li { margin: 8px 0; padding-left: 5px; }
.legal-section a { color: var(--blue); text-underline-offset: 3px; }
.legal-section strong { color: var(--text); }
.policy-table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.policy-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .86rem; }
.policy-table th, .policy-table td { padding: 15px 17px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.policy-table th { color: var(--text); background: var(--surface-soft); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.policy-table td { color: var(--text-soft); }
.policy-table tr:last-child td { border-bottom: 0; }
.legal-callout { margin: 20px 0; padding: 19px 21px; border-left: 3px solid var(--blue); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-soft); }
.contact-card { padding: 25px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.contact-card p:last-child { margin-bottom: 0; }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 70% 20%, var(--blue-soft), transparent 36%), var(--bg); }
.not-found-card { width: min(100%, 630px); padding: 48px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.not-found-card .brand { justify-content: center; }
.error-code { margin: 40px 0 5px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.not-found h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.not-found-card > p:not(.error-code) { max-width: 460px; margin: 20px auto 28px; color: var(--text-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav {
    position: fixed;
    inset: 80px 0 auto 0;
    display: grid;
    gap: 3px;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: max-height .25s ease, padding .25s ease, opacity .2s ease, border-color .2s ease;
  }
  .mobile-nav.open { max-height: 330px; padding: 18px 20px 26px; border-bottom-color: var(--border); opacity: 1; }
  .mobile-nav a { padding: 10px 0; font-size: 1rem; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-notes { justify-content: center; }
  .hero-lede { margin-inline: auto; }
  .hero-art { min-height: 470px; }
  .game-identity { grid-template-columns: 230px 1fr; gap: 35px; padding: 38px; }
  .secondary-game { grid-template-columns: 125px minmax(0, 1fr); }
  .secondary-game-icon img { width: 125px; border-radius: 25px; }
  .secondary-game-actions { grid-column: 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .studio-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .legal-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .nav-wrap { height: 70px; }
  .brand-copy { font-size: .91rem; }
  .mobile-nav { inset-block-start: 70px; }
  .hero { min-height: auto; padding: 56px 0 78px; }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
  .hero-actions { flex-direction: column; gap: 19px; }
  .button-primary { width: 100%; }
  .hero-notes { gap: 12px; font-size: .75rem; }
  .hero-art { min-height: 390px; }
  .app-card { width: min(295px, 79vw); border-radius: 29px; }
  .app-card > img { border-radius: 20px; }
  .app-card::before { border-radius: 28px; }
  .orbit-one { width: 345px; height: 345px; }
  .orbit-two { width: 275px; height: 275px; }
  .chip-top { top: 25px; right: 0; }
  .chip-bottom { left: 0; bottom: 36px; }
  .games-section, .studio-section { padding: 78px 0; }
  .section-heading { display: grid; gap: 19px; margin-bottom: 34px; }
  .section-heading h2 { font-size: 2.65rem; }
  .game-identity { grid-template-columns: 1fr; padding: 25px; }
  .game-icon-wrap { max-width: 215px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--border) !important; }
  .feature-card:last-child { border-bottom: 0 !important; }
  .secondary-game { grid-template-columns: 92px minmax(0, 1fr); gap: 19px; padding: 20px; border-radius: 24px; }
  .secondary-game-icon img { width: 92px; border-radius: 20px; }
  .secondary-game-actions { grid-column: 1 / -1; padding: 0; }
  .secondary-game-actions .button { width: 100%; }
  .store-button { flex: 1 1 170px; }
  .studio-card { padding: 37px 27px; }
  .studio-card h2 { font-size: 2.75rem; }
  .cta-section { padding-bottom: 78px; }
  .cta-card { display: grid; padding: 36px 27px; }
  .button-white { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .legal-hero { padding: 63px 0 55px; }
  .legal-hero h1 { font-size: 3.4rem; }
  .legal-shell { grid-template-columns: 1fr; gap: 30px; padding-block: 45px 78px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, 1fr); padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
  .legal-toc strong { grid-column: 1 / -1; }
  .legal-toc a { border-left: 0; padding: 5px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
