@font-face {
  font-family: 'Nunito';
  src: url('./assets/fonts/Nunito-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-canvas: #FDFBF7;
  --bg-ivory: #F8F4EC;
  --surface: #FFFFFF;
  --surface-tint: #FFFDF9;
  --border: #EAE3D5;
  --border-strong: #DCD2BF;

  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;

  --denim-50: #EFF6FF;
  --denim-100: #DBEAFE;
  --denim-200: #BFDBFE;
  --denim-600: #2563EB;
  --denim-700: #1D4ED8;
  --denim-800: #1E40AF;

  --mint-50: #ECFDF5;
  --mint-100: #D1FAE5;
  --mint-200: #A7F3D0;
  --mint-500: #10B981;
  --mint-600: #059669;
  --mint-700: #047857;

  --coral-50: #FFF1F2;
  --coral-500: #FB7185;
  --coral-600: #E11D48;

  --ink-900: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-card: 0 8px 28px rgba(30, 41, 59, 0.055), 0 1px 2px rgba(30, 41, 59, 0.04);
  --shadow-device: 0 22px 48px rgba(30, 41, 59, 0.14), 0 4px 12px rgba(30, 41, 59, 0.06);
  --container: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-canvas);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--denim-600);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== TOP NAV ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 227, 213, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  flex-shrink: 0;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--amber-500);
  background: var(--amber-50);
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-600);
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.site-header .btn-clay {
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-500);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  min-height: 32px;
  transition: background 0.16s ease, color 0.16s ease;
}

.lang-btn[aria-pressed='true'] {
  background: var(--ink-900);
  color: #FFFFFF;
}

/* Tactile 3D Clay Buttons */
.btn-clay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  border-radius: 14px;
  border: none;
  padding: 11px 20px;
  min-height: 46px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.14s ease;
}

.btn-clay-amber {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
  color: #FFFFFF;
  text-shadow: 0 1px 1px rgba(146, 64, 14, 0.25);
  box-shadow: 0 4px 0 var(--amber-700), 0 8px 18px rgba(245, 158, 11, 0.28);
}

.btn-clay-amber:hover {
  background: linear-gradient(180deg, #FCD34D 0%, #F59E0B 100%);
}

.btn-clay-amber:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--amber-700), 0 3px 8px rgba(245, 158, 11, 0.2);
}

.btn-clay-denim {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 0 var(--denim-800), 0 8px 18px rgba(37, 99, 235, 0.25);
}

.btn-clay-denim:hover {
  background: linear-gradient(180deg, #60A5FA 0%, #2563EB 100%);
}

.btn-clay-denim:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--denim-800);
}

/* ==================== HERO ==================== */
.hero {
  padding: 46px 0 64px;
  background:
    radial-gradient(640px 360px at 85% 18%, rgba(254, 243, 199, 0.72), transparent 70%),
    radial-gradient(520px 320px at 10% 80%, rgba(219, 234, 254, 0.45), transparent 72%),
    var(--bg-canvas);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 44px;
  align-items: center;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--amber-50);
  border: 1.5px solid var(--amber-200);
  color: #92400E;
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.1vw, 48px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  max-width: 19ch;
}

.hero-subtitle {
  margin: 0 0 26px;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--ink-600);
  max-width: 54ch;
  font-weight: 600;
}

/* Mobile primary OS button (visible only on mobile) */
.mobile-primary-cta-wrap {
  display: none;
  margin-bottom: 14px;
}

.mobile-primary-cta {
  width: 100%;
  min-height: 56px;
  font-size: 16.5px;
  border-radius: 16px;
}

/* 4-Platform Download Dock + QR */
.download-dock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  min-height: 58px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface-tint);
  color: var(--ink-900);
  transition: transform 0.13s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.store-btn:hover {
  border-color: var(--denim-600);
  background: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.1);
}

.store-btn[data-primary='true'] {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  border-color: var(--denim-700);
  color: #FFFFFF;
  box-shadow: 0 4px 0 var(--denim-800), 0 8px 18px rgba(37, 99, 235, 0.24);
}

.store-btn[data-primary='true'] .store-sub {
  color: rgba(255, 255, 255, 0.88);
}

.store-btn[data-primary='true'] .store-icon {
  color: #FFFFFF;
}

.store-btn[data-primary='true']:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--denim-800);
}

.store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--ink-900);
}

.store-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.22;
}

.store-name {
  font-weight: 800;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-canvas);
  border: 1.5px dashed var(--border-strong);
  border-radius: 16px;
  padding: 10px 8px;
  text-align: center;
}

.qr-card img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border);
}

.qr-caption {
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink-600);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint-50);
  border: 1.5px solid var(--mint-200);
  color: var(--mint-700);
  font-size: 13.5px;
  font-weight: 800;
}

/* Hero Visual Stage */
.hero-stage {
  position: relative;
  background: linear-gradient(155deg, #FFF8E1 0%, #FFF3CD 48%, #EAF2FF 100%);
  border: 1.5px solid var(--amber-200);
  border-radius: var(--radius-xl);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-card);
}

.stage-devices {
  position: relative;
  padding-bottom: 18px;
}

.stage-ipad {
  border-radius: 18px;
  overflow: hidden;
  border: 6px solid #1E293B;
  background: #1E293B;
  box-shadow: var(--shadow-device);
}

.stage-ipad img {
  width: 100%;
  height: auto;
  display: block;
}

.stage-iphone {
  position: absolute;
  right: -12px;
  bottom: 2px;
  width: 34%;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #0F172A;
  background: #0F172A;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
}

.stage-iphone img {
  width: 100%;
  height: auto;
  display: block;
}

.luti-quote-card {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(30, 41, 59, 0.06);
}

.luti-quote-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2.5px solid var(--amber-500);
  background: var(--amber-50);
  object-fit: cover;
  flex-shrink: 0;
}

.luti-quote-text {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.38;
}

.luti-quote-by {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-500);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 64px 0;
}

.section-ivory {
  background: var(--bg-ivory);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 30px;
  max-width: 680px;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.section-desc {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-600);
  font-weight: 600;
}

/* ==================== ROADMAP BENTO ==================== */
.roadmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: stretch;
}

.track-panel {
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.track-cambridge {
  background: linear-gradient(160deg, #EFF6FF 0%, #E0ECFF 100%);
  border-color: var(--denim-200);
}

.track-right-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.track-primary {
  background: linear-gradient(160deg, #ECFDF5 0%, #D9F9EC 100%);
  border-color: var(--mint-200);
}

.track-games {
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: var(--amber-200);
}

.track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.track-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink-900);
}

.shields-mini {
  display: inline-flex;
  gap: 4px;
  color: var(--amber-500);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.level-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  padding: 13px 15px;
}

.level-card-wide {
  grid-column: 1 / -1;
}

.level-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-900);
}

.level-count {
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--denim-50);
  color: var(--denim-700);
  white-space: nowrap;
}

.skill-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  padding: 12px 15px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-700);
}

.track-copy {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-600);
  font-weight: 600;
}

.grade-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.grade-chip {
  background: var(--surface);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: var(--mint-700);
  font-weight: 800;
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 999px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.game-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 11px 13px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-900);
}

/* ==================== PARENT TRUST BAND ==================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-icon-blue {
  background: var(--denim-50);
  color: var(--denim-600);
}

.trust-icon-mint {
  background: var(--mint-50);
  color: var(--mint-600);
}

.trust-icon-amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.trust-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink-900);
}

.trust-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-600);
  font-weight: 600;
  line-height: 1.62;
}

/* ==================== INTERACTIVE GALLERY ==================== */
.device-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.device-tab {
  border: none;
  background: transparent;
  color: var(--ink-600);
  font-weight: 800;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  min-height: 40px;
  transition: background 0.16s ease, color 0.16s ease;
}

.device-tab[aria-selected='true'] {
  background: var(--amber-500);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.gallery-stage {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.gallery-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.65fr);
  gap: 24px;
  align-items: center;
}

.gallery-viewport {
  background: var(--bg-canvas);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}

.gallery-viewport img {
  border-radius: 14px;
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 16px 36px rgba(30, 41, 59, 0.12);
  max-height: 500px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.gallery-viewport[data-device='iphone'] img {
  border: 5px solid #0F172A;
  border-radius: 28px;
  max-height: 520px;
}

.gallery-viewport[data-device='ipad'] img {
  border: 6px solid #1E293B;
  border-radius: 20px;
  max-height: 520px;
}

.gallery-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--denim-50);
  color: var(--denim-700);
  font-size: 13px;
  font-weight: 800;
}

.gallery-caption-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.28;
  color: var(--ink-900);
}

.gallery-caption-body {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-600);
  font-weight: 600;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.thumb-btn {
  border: 1.5px solid var(--border);
  background: var(--bg-canvas);
  color: var(--ink-700);
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 12px;
  min-height: 40px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.thumb-btn[aria-current='true'] {
  border-color: var(--amber-500);
  background: var(--amber-50);
  color: #92400E;
}

/* ==================== FAQ ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.03);
}

.faq-item[open] {
  border-color: var(--amber-200);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.09);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink-900);
  cursor: pointer;
  min-height: 58px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-500);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--amber-600);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 15.5px;
  color: var(--ink-600);
  font-weight: 600;
  line-height: 1.65;
}

/* ==================== CLOSING CTA ==================== */
.cta-banner {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid var(--amber-200);
  border-radius: var(--radius-xl);
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-card);
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-mascot {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid var(--amber-500);
  background: #fff;
  object-fit: cover;
  flex-shrink: 0;
}

.cta-left h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 900;
  line-height: 1.24;
}

.cta-left p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-600);
}

.cta-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(156px, 1fr));
  gap: 10px;
  flex-shrink: 0;
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-ivory);
  padding: 30px 0 38px;
  font-size: 14px;
  color: var(--ink-600);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--denim-600);
  text-decoration: underline;
}

.footer-meta {
  text-align: right;
  max-width: 520px;
}

.footer-disclaimer {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 600;
}

.footer-brand {
  margin: 0;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--ink-900);
}

/* ==================== SUBPAGES (/privacy, /support) ==================== */
.doc-wrap {
  padding: 48px 0 72px;
}

.doc-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--denim-600);
  margin-bottom: 18px;
}

.doc-card h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.doc-updated {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 700;
}

.doc-card h2 {
  margin: 28px 0 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--ink-900);
}

.doc-card p, .doc-card li {
  font-size: 15.5px;
  color: var(--ink-700);
  font-weight: 600;
}

.doc-card ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.doc-highlight {
  background: var(--mint-50);
  border: 1.5px solid var(--mint-200);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--mint-700);
  font-weight: 800;
  margin: 18px 0 24px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1120px) {
  .download-dock {
    grid-template-columns: 1fr;
  }

  .qr-card {
    display: none;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 980px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    max-width: 100%;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .track-right-stack {
    grid-template-rows: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    min-height: 62px;
    gap: 8px;
  }

  .brand {
    font-size: 15.5px;
    gap: 8px;
  }

  .brand-avatar {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    gap: 6px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 12px;
    min-height: 28px;
  }

  .site-header .btn-clay {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 38px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .brand-text-full {
    display: none;
  }

  .brand-text-short {
    display: inline;
  }

  .hero {
    padding: 20px 0 42px;
  }

  .hero-copy,
  .hero-stage,
  .track-panel,
  .gallery-viewport,
  .gallery-aside {
    min-width: 0;
  }

  .hero-stage {
    order: -1;
    padding: 14px;
    overflow: hidden;
  }

  .stage-iphone {
    right: 6px;
    bottom: 6px;
    width: 28%;
    border-width: 3px;
    border-radius: 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15.5px;
  }

  .mobile-primary-cta-wrap {
    display: block;
  }

  .download-dock {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .qr-card {
    display: none;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .store-btn {
    padding: 9px 10px;
    gap: 8px;
    min-height: 52px;
  }

  .store-icon {
    width: 20px;
    height: 20px;
  }

  .store-name {
    font-size: 13px;
  }

  .store-sub {
    font-size: 11px;
  }

  .level-grid,
  .games-grid,
  .cta-stores {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    padding: 14px;
  }

  .gallery-viewport {
    min-height: 260px;
    padding: 10px;
  }

  .device-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .device-tab {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
  }

  .cta-banner {
    padding: 24px 18px;
  }

  .cta-left {
    flex-direction: column;
    text-align: center;
  }

  .doc-card {
    padding: 24px 18px;
  }
}

@media (min-width: 641px) {
  .brand-text-short {
    display: none;
  }
}

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