:root {
  --bg: #070B16;
  --bg-warm: #0B1020;
  --bg-pink: #1A1130;
  --surface: rgba(21, 28, 50, 0.78);
  --surface-2: rgba(29, 38, 66, 0.84);
  --text: #F8FBFF;
  --text-2: #B9C3D6;
  --text-3: #7D8AA6;
  --primary: #4DA3FF;
  --primary-light: #7CC4FF;
  --primary-dark: #A8D8FF;
  --premium: #8B5CF6;
  --success: #49C98A;
  --warning: #F59E0B;
  --error: #E85D5D;
  --keyword: #FF6B6B;
  --dark: #0B1020;
  --dark-surface: #151C32;
  --dark-2: #1D2642;
  --dark-border: #2A3558;
  --border: rgba(168, 216, 255, 0.16);
  --border-strong: rgba(124, 196, 255, 0.34);
  --glow-blue: rgba(77, 163, 255, 0.38);
  --glow-purple: rgba(139, 92, 246, 0.34);
  --glow-coral: rgba(255, 107, 107, 0.2);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  color-scheme: dark;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(77, 163, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 84% 10%, rgba(139, 92, 246, 0.24), transparent 28rem),
    radial-gradient(circle at 58% 42%, rgba(73, 201, 138, 0.08), transparent 24rem),
    linear-gradient(135deg, var(--bg), var(--bg-warm) 46%, #100A1D 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% -28rem -10%;
  z-index: -1;
  height: 42rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.18), transparent 58%);
}

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

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--dark);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(124, 196, 255, 0.14);
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 2rem, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-logo,
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-logo {
  object-fit: cover;
  box-shadow: 0 0 26px rgba(77, 163, 255, 0.34);
}

.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--premium));
  box-shadow: 0 10px 26px rgba(77, 163, 255, 0.28);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(21, 28, 50, 0.78);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
}

.nav-menu {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 78px;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(11, 16, 32, 0.96);
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  padding: 0.75rem 0.9rem;
  border-radius: 9px;
  color: var(--text-2);
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.is-active {
  color: var(--text);
  background: rgba(77, 163, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(124, 196, 255, 0.12);
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 12vw, 4.75rem);
  text-shadow: 0 0 42px rgba(77, 163, 255, 0.2);
}

h1 span {
  display: inline;
  color: transparent;
  background: linear-gradient(100deg, #FFFFFF 0%, var(--primary-light) 38%, #C7B8FF 70%, #FFD0D0 100%);
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 8vw, 3.35rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-subtitle,
.feature-copy > p,
.dialog-copy p,
.section-heading p,
.soft-note {
  color: var(--text-2);
  font-size: 1.04rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.store-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 9px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.store-links a:hover,
.store-links a:focus {
  transform: translateY(-1px);
}

.store-links img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 196, 255, 0.34);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(135deg, var(--primary), var(--premium));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 36px rgba(77, 163, 255, 0.24), 0 0 32px rgba(139, 92, 246, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(77, 163, 255, 0.32), 0 0 48px rgba(139, 92, 246, 0.24);
}

.button-secondary {
  background: rgba(21, 28, 50, 0.62);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(124, 196, 255, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 0 4%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.28), transparent 55%);
  filter: blur(20px);
}

.phone {
  width: min(78vw, 330px);
  aspect-ratio: 9 / 18.6;
  padding: 13px;
  position: relative;
  border: 1px solid rgba(124, 196, 255, 0.42);
  border-radius: 36px;
  background: linear-gradient(155deg, var(--dark), var(--dark-2));
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.48), 0 0 72px rgba(77, 163, 255, 0.26);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-speaker {
  width: 74px;
  height: 6px;
  margin: 3px auto 10px;
  border-radius: 99px;
  background: var(--dark-border);
}

.phone-screen,
.mini-phone,
.video-frame,
.screen-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--surface);
}

.phone-screen {
  height: calc(100% - 19px);
  border-radius: 25px;
}

.asset-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-media.is-missing {
  display: none;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-content: center;
  justify-items: start;
  gap: 0.8rem;
  padding: 1.2rem;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(21, 28, 50, 0.82), rgba(11, 16, 32, 0.92)),
    repeating-linear-gradient(135deg, rgba(77, 163, 255, 0.12) 0 9px, rgba(139, 92, 246, 0.09) 9px 18px);
}

.media-placeholder.is-visible {
  display: grid;
}

.media-placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  background: rgba(11, 16, 32, 0.72);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-label,
.scenario-tag,
.best-value {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  background: rgba(77, 163, 255, 0.16);
  color: #BEE3FF;
  font-size: 0.76rem;
  font-weight: 850;
}

.feature-chip {
  position: absolute;
  z-index: 2;
  max-width: 170px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(124, 196, 255, 0.22);
  border-radius: 10px;
  background: rgba(21, 28, 50, 0.72);
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 850;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26), 0 0 28px rgba(77, 163, 255, 0.16);
  backdrop-filter: blur(14px);
  animation: chipFloat 6s ease-in-out infinite;
}

.feature-chip:nth-child(2) { animation-delay: -1s; }
.feature-chip:nth-child(3) { animation-delay: -2s; }
.feature-chip:nth-child(4) { animation-delay: -3s; }
.feature-chip:nth-child(5) { animation-delay: -4s; }

.chip-ai { top: 8%; left: 2%; }
.chip-dialog { top: 20%; right: 0; }
.chip-build { left: 0; bottom: 18%; }
.chip-games { right: 4%; bottom: 9%; }
.chip-listen { left: 50%; bottom: 0; transform: translateX(-50%); }

.stats-strip {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(21, 28, 50, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stats-strip div {
  padding: 0.8rem;
  border-radius: 10px;
  background: rgba(11, 16, 32, 0.5);
  color: var(--text-2);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.problem-grid,
.screen-grid,
.pricing-grid,
.game-grid,
.demo-grid {
  display: grid;
  gap: 1rem;
}

.problem-card,
.demo-card,
.screen-card,
.price-card,
.game-grid article,
.chat-mockup {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 28, 50, 0.78), rgba(11, 16, 32, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.problem-card::before,
.demo-card::before,
.screen-card::before,
.price-card::before,
.game-grid article::before,
.chat-mockup::before,
.contact-card::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), rgba(77, 163, 255, 0.82), rgba(139, 92, 246, 0.58), rgba(73, 201, 138, 0.42), rgba(255, 107, 107, 0.36), rgba(77, 163, 255, 0.82));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  animation: borderSpin 9s linear infinite;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.demo-card::before,
.screen-card::before,
.premium-card::before,
.contact-card::before,
.final-cta::before {
  opacity: 0.72;
}

.problem-card:hover::before,
.game-grid article:hover::before,
.price-card:hover::before,
.chat-mockup:hover::before {
  opacity: 0.66;
}

.problem-card,
.price-card,
.game-grid article,
.chat-mockup {
  padding: 1.15rem;
}

.problem-card p,
.screen-card p,
.demo-card p,
.game-grid p,
.price-card li,
.faq-list p {
  color: var(--text-2);
}

.card-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.icon-coral { background: var(--keyword); }
.icon-blue { background: var(--primary); }
.icon-green { background: var(--success); }

.solution-line {
  margin: 1.3rem 0 0;
  padding: 1rem;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: rgba(77, 163, 255, 0.1);
  color: var(--primary-dark);
  font-weight: 850;
}

.feature-band,
.dialog-spotlight,
.final-cta,
.contact-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.check-list,
.price-card ul {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-card li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
}

.check-list li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.practice-board {
  position: relative;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  align-items: center;
}

.mini-phone {
  aspect-ratio: 9 / 18;
  border-radius: 24px;
  border-color: rgba(124, 196, 255, 0.28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(77, 163, 255, 0.14);
}

.mini-phone.is-raised {
  transform: translateY(-2rem);
}

.mode-stack {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mode-stack span {
  padding: 0.48rem 0.65rem;
  border-radius: 8px;
  background: rgba(7, 11, 22, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.demo-card {
  overflow: hidden;
  width: min(100%, 360px);
  justify-self: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-card:hover,
.screen-card:hover,
.game-grid article:hover,
.price-card:hover {
  transform: translateY(-4px);
}

.demo-card h3,
.demo-card p,
.screen-card h3,
.screen-card p {
  padding-inline: 1rem;
}

.demo-card h3 {
  padding-top: 1rem;
}

.screen-card h3 {
  padding-top: 1rem;
}

.demo-card p,
.screen-card p {
  padding-bottom: 1rem;
}

.video-frame {
  height: min(56vh, 496px);
  border-radius: 14px 14px 0 0;
  background: linear-gradient(155deg, var(--dark), var(--dark-2));
}

.video-frame .asset-media {
  object-fit: contain;
}

.screen-card {
  overflow: hidden;
  width: min(100%, 300px);
  justify-self: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-shot {
  aspect-ratio: 9 / 19.5;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(155deg, var(--dark), var(--dark-2));
}

.screen-shot .asset-media {
  object-fit: contain;
}

.dialog-spotlight {
  width: min(100% - 2rem, 1060px);
}

.chat-mockup {
  background: linear-gradient(160deg, rgba(21, 28, 50, 0.88), rgba(11, 16, 32, 0.78));
}

.chat-mockup h3 {
  margin: 0.9rem 0 1rem;
}

.chat-bubble {
  position: relative;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 14px 14px 14px 4px;
  background: var(--dark-surface);
  color: #fff;
}

.bubble-tools {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.bubble-tools button {
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  background: var(--dark-2);
  color: #dbeafe;
  font-size: 0.72rem;
  font-weight: 800;
}

.option-button {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.9rem;
  border: 1px solid rgba(73, 201, 138, 0.55);
  border-radius: 10px;
  background: rgba(73, 201, 138, 0.12);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.option-button.muted {
  border-color: var(--border);
  background: rgba(29, 38, 66, 0.72);
  color: var(--text-3);
  cursor: not-allowed;
}

.game-grid article {
  min-height: 140px;
}

.game-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 850;
}

.blue { background: var(--primary); }
.purple { background: var(--premium); }
.green { background: var(--success); }
.coral { background: var(--keyword); }
.dark { background: var(--dark); }

.premium-card {
  border-color: rgba(139, 92, 246, 0.42);
  background: linear-gradient(160deg, rgba(29, 38, 66, 0.9), rgba(139, 92, 246, 0.16));
}

.price {
  margin: 0.8rem 0;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 900;
}

.price span {
  color: var(--text-2);
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(21, 28, 50, 0.62);
}

summary {
  cursor: pointer;
  padding: 1rem;
  color: var(--text);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.final-cta {
  position: relative;
  isolation: isolate;
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 12%, rgba(77, 163, 255, 0.24), transparent 18rem),
    radial-gradient(circle at 82% 82%, rgba(139, 92, 246, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(21, 28, 50, 0.86), rgba(11, 16, 32, 0.76));
  box-shadow: var(--shadow);
}

.final-actions .hero-actions {
  margin-top: 0;
}

.final-store-links {
  margin-top: 1rem;
}

.contact-section {
  padding-top: 2.5rem;
}

.contact-copy p,
.contact-card p {
  color: var(--text-2);
}

.contact-card {
  position: relative;
  isolation: isolate;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21, 28, 50, 0.82), rgba(11, 16, 32, 0.74));
  box-shadow: var(--shadow);
}

.contact-email {
  display: block;
  margin-top: 0.85rem;
  color: var(--text);
  font-size: clamp(1.35rem, 7vw, 2.1rem);
  font-weight: 900;
  line-height: 1.1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: grid;
  gap: 1.5rem;
  color: var(--text-2);
  border-top: 1px solid rgba(124, 196, 255, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-store-links {
  margin-top: 1rem;
}

.footer-store-links img {
  height: 38px;
}

.footer-links a {
  font-weight: 800;
}

.copyright {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible.demo-card:hover,
.reveal.is-visible.screen-card:hover,
.reveal.is-visible.price-card:hover,
.game-grid article.reveal.is-visible:hover {
  transform: translateY(-4px);
}

@keyframes borderSpin {
  to {
    --angle: 360deg;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.chip-listen {
  animation-name: chipListenFloat;
}

@keyframes chipListenFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-7px);
  }
}

@media (min-width: 641px) {
  .stats-strip,
  .problem-grid,
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 0.55rem 0.7rem;
  }

  .hero,
  .feature-band,
  .dialog-spotlight,
  .final-cta,
  .contact-section {
    grid-template-columns: 1fr 0.82fr;
  }

  .hero {
    gap: 4rem;
  }

  .stats-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .problem-grid,
  .screen-grid,
  .demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  :root {
    --max: 1260px;
  }

  .phone {
    width: 360px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 3.25rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .store-links {
    justify-content: center;
  }

  .hero-visual {
    min-height: 500px;
  }

  .feature-chip {
    font-size: 0.74rem;
    padding: 0.48rem 0.6rem;
  }

  .chip-ai { top: 4%; left: 0; }
  .chip-dialog { top: 13%; right: 0; }
  .chip-build { bottom: 17%; left: 0; }
  .chip-games { bottom: 8%; right: 0; }
  .chip-listen { bottom: 0; }

  .practice-board {
    min-height: 420px;
  }

  .mode-stack {
    left: 0;
    right: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
