:root {
  --plum-950: #1c0716;
  --plum-900: #2e0e1f;
  --plum-800: #45132f;
  --ink: #211426;
  --muted: #675c68;
  --paper: #fffaf1;
  --cream: #fff0d7;
  --cyan: #42d8f4;
  --cyan-soft: #c8f6ff;
  --pink: #ff5b9f;
  --pink-soft: #ffd6e8;
  --yellow: #ffd45a;
  --lime: #8be16e;
  --blue: #6175ff;
  --line: rgba(46, 14, 31, 0.18);
  --shadow: 0 24px 70px rgba(44, 10, 31, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shell: min(1180px, calc(100% - 48px));
}

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

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

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

body.menu-open {
  overflow: hidden;
}

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

img,
video {
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
.brand-name,
.eyebrow,
.media-sticker {
  font-family: "Arial Black", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
}

h1,
h2,
h3 {
  margin-bottom: 0.55em;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.75rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

p {
  text-wrap: pretty;
}

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

main,
section,
.hero-layout,
.hero-copy,
.section-copy {
  min-width: 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--plum-900);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--plum-900);
  background: rgba(255, 250, 241, 0.98);
  border-bottom: 2px solid var(--plum-900);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding-top: env(safe-area-inset-top);
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 0 rgba(46, 14, 31, 0.2);
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 30px);
}

.primary-nav a,
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  text-decoration: underline;
}

.language-switch {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  color: var(--plum-900);
  background: var(--cream);
  border: 2px solid var(--plum-900);
  border-radius: 999px;
}

.language-switch button {
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--plum-900);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--plum-900);
  background: var(--cream);
  border: 2px solid var(--plum-900);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines span {
  display: block;
}

.menu-toggle-lines {
  width: 22px;
}

.menu-toggle-lines span {
  height: 3px;
  margin: 4px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(74px, 9vw, 128px) 0 86px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    var(--plum-900);
  background-size: 72px 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: clamp(0.72rem, 1.3vw, 0.9rem);
  letter-spacing: 0.15em;
  line-height: 1.3;
}

.eyebrow-dark {
  color: var(--plum-800);
}

.hero h1 {
  max-width: 820px;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.store-badge-link {
  min-width: 120px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  line-height: 0;
}

.store-badge-link img {
  display: block;
  width: auto;
}

.store-badge-apple img {
  height: 54px;
}

.store-badge-google img {
  height: 80px;
}

.text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px;
  color: #fff;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.fact-block {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.22);
}

.fact-cyan { background: var(--cyan); }
.fact-pink { background: var(--pink); }
.fact-yellow { background: var(--yellow); }

.hero-media {
  position: relative;
  width: min(100%, 390px);
  margin: 0 auto;
}

.hero-media-figure {
  margin: 0;
}

.device-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  filter: drop-shadow(0 24px 28px rgba(46, 14, 31, 0.28));
}

.device-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.device-screen {
  position: absolute;
  z-index: 2;
  top: 3.15%;
  left: 18%;
  width: 64%;
  aspect-ratio: 720 / 1560;
  overflow: hidden;
  border-radius: 10.5% / 4.85%;
  background: var(--plum-950);
}

.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media figcaption {
  position: absolute;
  right: -20px;
  bottom: 106px;
  min-width: 180px;
  padding: 13px 18px;
  color: var(--plum-900);
  background: var(--yellow);
  border: 3px solid var(--plum-950);
  border-radius: 13px;
  box-shadow: 5px 5px 0 var(--plum-950);
  transform: rotate(-2deg);
}

.hero-media figcaption strong,
.hero-media figcaption span {
  display: block;
}

.hero-media figcaption strong {
  font-family: "Arial Black", sans-serif;
}

.hero-media figcaption span {
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-mode-toggle {
  width: fit-content;
  min-width: 168px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 10px 18px;
  color: var(--plum-950);
  background: var(--cyan);
  border: 3px solid var(--plum-950);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--plum-950);
  cursor: pointer;
  font-family: "Arial Black", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-mode-toggle[hidden] {
  display: none;
}

.hero-mode-toggle:disabled {
  cursor: wait;
  opacity: 0.72;
}

.device-screen[data-mode="arcade"] img {
  animation: hero-mode-reveal-arcade 200ms ease-out;
}

.device-screen[data-mode="classic"] img {
  animation: hero-mode-reveal-classic 200ms ease-out;
}

@keyframes hero-mode-reveal-arcade {
  from { opacity: 0.72; transform: scale(0.992); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-mode-reveal-classic {
  from { opacity: 0.72; transform: scale(0.992); }
  to { opacity: 1; transform: scale(1); }
}

.brand,
.primary-nav a,
.footer-links a,
.language-switch button,
.menu-toggle,
.store-badge-link,
.text-link,
.hero-mode-toggle {
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

@media (hover: hover) {
  .brand:hover,
  .primary-nav a:hover,
  .footer-links a:hover,
  .language-switch button:hover,
  .menu-toggle:hover,
  .store-badge-link:hover,
  .text-link:hover,
  .hero-mode-toggle:hover {
    transform: translateY(-2px);
  }
}

.brand:active,
.primary-nav a:active,
.footer-links a:active,
.language-switch button:active,
.menu-toggle:active,
.store-badge-link:active,
.text-link:active,
.hero-mode-toggle:active {
  transform: translateY(1px) scale(0.985);
}

.block-divider {
  position: absolute;
  right: 0;
  bottom: -22px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  padding-inline: 5px;
}

.block-divider span {
  height: 44px;
  border: 3px solid var(--plum-950);
  border-radius: 8px;
}

.block-divider span:nth-child(1), .block-divider span:nth-child(5) { background: var(--cyan); }
.block-divider span:nth-child(2), .block-divider span:nth-child(7) { background: var(--pink); }
.block-divider span:nth-child(3) { background: var(--yellow); }
.block-divider span:nth-child(4) { background: var(--lime); }
.block-divider span:nth-child(6) { background: var(--blue); }

.motion-section,
.mode-section,
.personalize-section,
.gallery-section {
  padding: clamp(96px, 12vw, 160px) 0;
}

.motion-section {
  background: var(--cream);
}

.motion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(52px, 9vw, 120px);
}

.section-copy h2,
.gallery-heading h2,
.download-copy h2 {
  max-width: 760px;
}

.section-copy > p:not(.eyebrow),
.gallery-heading > p,
.arcade-heading > p,
.card-copy > p:not(.eyebrow),
.trust-layout p,
.download-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.mode-key {
  display: grid;
  gap: 12px;
  margin: 32px 0 20px;
}

.mode-key > span {
  display: grid;
  grid-template-columns: 20px 64px 1fr;
  align-items: center;
  gap: 12px;
}

.mode-key i {
  width: 18px;
  height: 18px;
  border: 2px solid var(--plum-900);
  border-radius: 4px;
}

.key-cyan { background: var(--cyan); }
.key-pink { background: var(--pink); }

.mode-key b {
  color: var(--plum-900);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.mode-key em {
  color: var(--muted);
  font-style: normal;
}

.data-note {
  padding-left: 15px;
  border-left: 4px solid var(--cyan);
  font-size: 0.84rem !important;
  font-weight: 800;
}

.video-stage {
  position: relative;
  width: min(100%, 410px);
  margin-inline: auto;
  padding: 13px;
  background: var(--plum-950);
  border: 3px solid var(--plum-950);
  border-radius: 35px;
  box-shadow: 16px 16px 0 var(--pink), var(--shadow);
}

.video-stage video {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
  background: var(--plum-900);
  border-radius: 22px;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  min-width: 210px;
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 18px;
  color: var(--plum-900);
  background: var(--yellow);
  border: 3px solid var(--plum-950);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--plum-950);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

@media (hover: hover) {
  .video-play:hover {
    transform: translate(-50%, calc(-50% - 2px));
  }
}

.video-play:active {
  transform: translate(-50%, calc(-50% + 1px)) scale(0.985);
}

.video-play[hidden] {
  display: none;
}

.video-play strong,
.video-play small {
  display: block;
  text-align: left;
}

.video-play strong {
  font-family: "Arial Black", sans-serif;
}

.video-play small {
  font-size: 0.72rem;
  font-weight: 800;
}

.play-symbol {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--plum-900);
}

.noscript-video {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 10px;
  background: var(--paper);
  border-radius: 9px;
  text-align: center;
}

.mode-classic {
  background: var(--paper);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(290px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(62px, 10vw, 130px);
}

.editorial-media {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
}

.media-sticker {
  position: absolute;
  right: -42px;
  bottom: 24%;
  padding: 12px 18px;
  color: var(--plum-900);
  border: 3px solid var(--plum-900);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--plum-900);
  transform: rotate(4deg);
}

.sticker-yellow { background: var(--yellow); }

.feature-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 24px minmax(130px, 0.45fr) 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.feature-list li > span {
  width: 20px;
  height: 20px;
  background: var(--cyan);
  border: 2px solid var(--plum-900);
  border-radius: 4px;
}

.feature-list li:nth-child(2) > span { background: var(--pink); }
.feature-list li:nth-child(3) > span { background: var(--yellow); }

.feature-list b {
  color: var(--plum-900);
}

.feature-list em {
  color: var(--muted);
  font-style: normal;
}

.mode-arcade {
  color: #fff;
  background: var(--plum-900);
}

.arcade-heading,
.gallery-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: clamp(40px, 8vw, 100px);
  margin-bottom: clamp(52px, 8vw, 88px);
}

.arcade-heading > p {
  color: rgba(255, 255, 255, 0.76);
}

.arcade-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(26px, 5vw, 64px);
}

.arcade-card {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--cream);
  border: 3px solid var(--plum-950);
  border-radius: 28px;
  box-shadow: 12px 12px 0 var(--cyan);
}

.arcade-card-seals {
  margin-top: 92px;
  box-shadow: 12px 12px 0 var(--pink);
}

.arcade-card img {
  width: 100%;
  border-radius: 17px;
}

.arcade-card figcaption {
  display: grid;
  gap: 2px;
  padding: 18px 12px 9px;
  color: var(--plum-900);
}

.arcade-card figcaption span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.arcade-card figcaption strong {
  font-family: "Arial Black", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.personalize-section {
  background: var(--cyan-soft);
}

.personalize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 60px);
}

.personalize-card {
  overflow: clip;
  border: 3px solid var(--plum-900);
  border-radius: 30px;
  box-shadow: 10px 10px 0 var(--plum-900);
}

.personalize-card .card-copy {
  min-height: 330px;
  padding: clamp(28px, 5vw, 54px);
}

.personalize-card h3 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.personalize-card picture {
  width: min(72%, 380px);
  margin: 0 auto -34%;
  padding: 10px;
  background: var(--plum-950);
  border: 3px solid var(--plum-950);
  border-radius: 26px 26px 0 0;
}

.personalize-card img {
  width: 100%;
  border-radius: 15px 15px 0 0;
}

.theme-card { background: var(--pink-soft); }
.market-card { background: var(--yellow); }

.trust-section {
  padding: clamp(76px, 9vw, 120px) 0;
  background: var(--lime);
  border-block: 3px solid var(--plum-900);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(46px, 8vw, 100px);
}

.trust-layout h2 {
  margin-bottom: 0.2em;
}

.trust-layout p {
  max-width: 720px;
  color: var(--plum-800);
}

.trust-visual {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
  isolation: isolate;
}

.trust-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 10%;
  background: var(--plum-900);
  border-radius: 31%;
  box-shadow: 0 24px 50px rgba(46, 14, 31, 0.22);
  transform: rotate(-4deg);
}

.trust-visual img {
  width: 58%;
  height: 58%;
  border: 6px solid #fff;
  border-radius: 24%;
  box-shadow: 0 16px 30px rgba(22, 5, 30, 0.28);
}

.trust-flow-ring {
  position: absolute;
  z-index: -1;
  inset: 2%;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--cyan), var(--blue), var(--pink), var(--yellow), var(--lime), var(--cyan));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 16px), #000 calc(100% - 15px));
  filter: drop-shadow(0 7px 0 rgba(46, 14, 31, 0.22));
}

.trust-flow-arrow {
  position: absolute;
  top: 18%;
  right: 2%;
  width: 34px;
  height: 34px;
  border-top: 10px solid var(--pink);
  border-right: 10px solid var(--pink);
  transform: rotate(50deg);
}

.gallery-section {
  background: var(--paper);
}

.gallery-heading > p {
  align-self: end;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.gallery-track figure {
  margin: 0;
  padding: 10px;
  background: var(--plum-900);
  border: 3px solid var(--plum-900);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--cyan);
}

.gallery-track figure:nth-child(2) { box-shadow-color: var(--pink); }
.gallery-track figure:nth-child(3) { box-shadow-color: var(--yellow); }

.gallery-track img {
  width: 100%;
  border-radius: 14px;
}

.gallery-track figcaption {
  padding: 14px 8px 7px;
  color: #fff;
  font-family: "Arial Black", sans-serif;
  text-align: center;
}

.download-section {
  padding: 34px 0;
  color: #fff;
  background: var(--plum-950);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: clamp(34px, 6vw, 70px);
  background: var(--plum-800);
  border: 3px solid #fff;
  border-radius: 30px;
}

.download-copy h2 {
  margin-bottom: 0.2em;
}

.download-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.download-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 54px 0 calc(54px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.82);
  background: var(--plum-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  border-radius: 13px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand span,
.copyright {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.platform-legal {
  grid-column: 1 / -1;
  max-width: 920px;
  margin: -16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 40px, 920px);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 14px;
    color: #fff;
    background: var(--plum-900);
    border: 3px solid var(--plum-950);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
  }

  .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a {
    min-height: 50px;
    padding: 4px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 48px;
  }

  .motion-layout {
    gap: 60px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .hero-layout,
  .motion-layout,
  .editorial-grid,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero .store-actions,
  .hero-facts {
    justify-content: center;
  }

  .hero-media {
    width: min(72vw, 390px);
  }

  .motion-copy {
    max-width: 680px;
  }

  .motion-layout {
    justify-items: center;
  }

  .motion-layout .section-copy {
    justify-self: stretch;
  }

  .editorial-grid {
    gap: 80px;
  }

  .editorial-media {
    width: min(70vw, 390px);
  }

  .arcade-heading,
  .gallery-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

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

  .personalize-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
    align-items: end;
  }

  .personalize-card .card-copy {
    min-height: auto;
  }

  .personalize-card picture {
    width: calc(100% - 28px);
    margin: 28px 14px -34%;
  }

  .trust-visual {
    width: min(70vw, 340px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 78px;
  }

  .header-inner {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 112px;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .language-switch {
    min-height: 44px;
    gap: 0;
  }

  .language-switch button {
    width: 44px;
  }

  .language-switch > span {
    display: none;
  }

  .primary-nav {
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.8vw, 3.4rem);
    letter-spacing: -0.055em;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .store-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .store-badge-link,
  .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-facts {
    display: none;
  }

  .hero-media {
    width: min(78vw, 360px);
  }

  .hero-media figcaption {
    right: -6px;
    bottom: 96px;
  }

  .block-divider {
    grid-template-columns: repeat(5, 1fr);
  }

  .block-divider span:nth-child(n + 6) {
    display: none;
  }

  .motion-section,
  .mode-section,
  .personalize-section,
  .gallery-section {
    padding: 92px 0;
  }

  .video-stage {
    width: min(88vw, 390px);
    box-shadow: 9px 9px 0 var(--pink), var(--shadow);
  }

  .feature-list li {
    grid-template-columns: 22px 1fr;
  }

  .feature-list em {
    grid-column: 2;
  }

  .arcade-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .arcade-card {
    width: min(86vw, 420px);
    margin-inline: auto;
  }

  .arcade-card-seals {
    margin-top: 0;
  }

  .personalize-card {
    display: block;
  }

  .personalize-card .card-copy {
    min-height: 0;
  }

  .personalize-card picture {
    width: min(72%, 350px);
    margin: 0 auto -34%;
  }

  .trust-layout {
    gap: 54px;
  }

  .gallery-track {
    width: calc(100vw - 14px);
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 8px 22px 22px 0;
    scroll-snap-type: inline mandatory;
    scrollbar-color: var(--plum-900) var(--cream);
  }

  .gallery-track figure {
    min-width: min(78vw, 330px);
    scroll-snap-align: start;
  }

  .download-panel {
    padding: 30px 22px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .brand-name {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .hero-media,
  .editorial-media {
    width: min(84vw, 350px);
  }

  .media-sticker {
    right: -8px;
  }

  .mode-key > span {
    grid-template-columns: 18px 55px 1fr;
    gap: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .fact-block,
  .mode-key i,
  .feature-list li > span {
    forced-color-adjust: none;
  }
}
