/* Design tokens and themes
--------------------------------------------- */
:root {
  color-scheme: light;
  --bg: #f2f3f8;
  --surface: #ffffff;
  --surface-soft: #e8eaf2;
  --surface-strong: #101321;
  --text: #101321;
  --muted: #5d6274;
  --line: rgba(16, 19, 33, 0.12);
  --green: #18b981;
  --green-bright: #78f7c5;
  --violet: #7161e8;
  --violet-bright: #a89cff;
  --danger: #d64d64;
  --success: #09865c;
  --shadow: 0 24px 70px rgba(15, 18, 34, 0.12);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --container: 1180px;
}

body.dark-theme {
  color-scheme: dark;
  --bg: #080a12;
  --surface: #101321;
  --surface-soft: #171b2b;
  --surface-strong: #f5f7ff;
  --text: #f5f7ff;
  --muted: #a9afc2;
  --line: rgba(245, 247, 255, 0.12);
  --green: #78f7c5;
  --violet: #a89cff;
  --danger: #ff8094;
  --success: #78f7c5;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

/* Reset and document base
--------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  transition: background .25s ease, color .25s ease;
}

button,
input,
select {
  font: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 800px;
}

p {
  color: var(--muted);
}

em {
  color: transparent;
  background: linear-gradient(100deg, var(--green), var(--violet));
  background-clip: text;
  -webkit-background-clip: text;
}

/* Shared layout and atmosphere
--------------------------------------------- */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 80px 0;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.page-glow {
  position: fixed;
  z-index: -2;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: .16;
  pointer-events: none;
}

.page-glow-one {
  top: -260px;
  right: -120px;
  background: var(--violet);
}

.page-glow-two {
  bottom: -280px;
  left: -220px;
  background: var(--green);
}

/* Header and controls
--------------------------------------------- */
.site-header {
  position: relative;
  z-index: 100;
  height: 64px;
}

.header-content {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  width: auto;
  height: 32px;
  color: var(--text);
}

.language-selector {
  --language-option-size: 32px;
  --language-gap: 4px;
  --language-index: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--language-gap);
}

.language-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: var(--language-option-size);
  height: var(--language-option-size);
  border-radius: 50%;
  background: #101321;
  pointer-events: none;
  transform: translateX(calc(var(--language-index) * (var(--language-option-size) + var(--language-gap)) + 1px));
}

.language-selector.ready .language-indicator {
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), background-color .22s ease, box-shadow .22s ease;
}

.language-option {
  position: relative;
  z-index: 1;
  display: grid;
  width: var(--language-option-size);
  height: var(--language-option-size);
  padding: 0 0 5px 2px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
}

.language-option:hover {
  color: var(--text);
}

.language-option:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.language-option.active {
  color: #fff;
}

body.dark-theme .language-indicator {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

body.dark-theme .language-option.active {
  color: #101321;
}

.theme-button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
}

.theme-button span {
  padding-bottom: 2px;
}

.theme-button:hover {
  background: var(--surface-soft);
}

/* Hero
--------------------------------------------- */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding-top: 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 70px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.eyebrow {
  margin-bottom: 14px;
}

.hero-description {
  margin-top: 30px;
}

.setup-note {
  margin-top: 12px;
}

.hero-actions {
  margin-top: 36px;
}

.compatibility-line {
  margin-top: 16px;
}

.pulse-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--green) 18%, transparent);
}

.hero-description {
  max-width: 610px;
}

.setup-note {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

.setup-note span:first-child {
  color: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(100deg, var(--green-bright), var(--violet-bright));
  color: #0b0d16;
  box-shadow: 0 14px 38px color-mix(in srgb, var(--violet) 26%, transparent);
}

.button-ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.compatibility-line {
  font-size: 14px;
  line-height: 16px;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.game-window {
  position: absolute;
  top: 40px;
  right: 32px;
  width: min(100%, 540px);
  height: 400px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  background: #101323;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.game-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  background: #171b2a;
  color: #7f879e;
}

.game-window-bar>span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b4155;
}

.game-window-bar small {
  margin-left: auto;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.game-scene {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(#17142d, #27224a 55%, #0f1724);
}

.game-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(155deg, transparent 35%, #0b0f19 36%);
}

.scene-moon {
  position: absolute;
  top: 56px;
  right: 48px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #d6d2ff;
  box-shadow: 0 0 70px rgba(176, 167, 255, .6);
}

.scene-mountain {
  position: absolute;
  bottom: 0;
  width: 80%;
  height: 62%;
  clip-path: polygon(0 100%, 45% 8%, 100% 100%);
  background: #171b2c;
}

.mountain-one {
  left: -18%;
}

.mountain-two {
  right: -32%;
  height: 48%;
  background: #222840;
}

.scene-player {
  position: absolute;
  z-index: 2;
  left: 47%;
  bottom: 48px;
  width: 18px;
  height: 58px;
  border-radius: 8px 8px 3px 3px;
  background: #070a10;
  box-shadow: 0 -18px 0 -3px #070a10;
}

.assistant-panel {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  width: min(100%, 340px);
  height: 640px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 42px;
  background: linear-gradient(145deg, #373d50, #111522 45%, #06080e);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
  animation: phone-float 6s ease-in-out infinite;
}

.phone-screen {
  position: absolute;
  top: 9px;
  left: 9px;
  display: flex;
  width: 350px;
  height: 676.09px;
  overflow: hidden;
  flex-direction: column;
  padding: 24px 18px 18px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 110% 0%, rgba(113, 97, 232, .28), transparent 42%),
    linear-gradient(180deg, #121726, #090c14);
  color: #f5f7ff;
  transform: scale(.92);
  transform-origin: top left;
}

.assistant-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
}

.assistant-panel-header img {
  width: auto;
  height: 24px;
}

.assistant-panel-header strong {
  font-size: .92rem;
}

.playing-now {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 4px 0;
  color: #9da6ba;
  font-size: .68rem;
  line-height: 1.35;
}

.playing-now .live-dot {
  flex: 0 0 auto;
  margin-top: 3px;
}

.phone-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 16px;
}

.tip-kicker {
  color: #9da6ba;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.context-card {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: 22px;
}

.objective-hero {
  position: relative;
  min-height: 145px;
  padding: 10px 6px;
}

.objective-hero small {
  display: block;
  color: #8993a8;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.objective-hero strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 260px;
  margin-top: 24px;
  font-size: 1.65rem;
  line-height: 1.08;
  background: linear-gradient(100deg, var(--green-bright), var(--violet-bright));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.objective-hero>span {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 3rem;
  color: var(--violet-bright);
  opacity: .1;
}

.hint-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 6px;
  color: #aeb6c8;
}

.hint-row>span {
  padding-top: 3px;
  color: var(--violet-bright);
}

.hint-row p {
  margin: 0;
}

.hint-row small,
.hint-row strong {
  display: block;
}

.hint-row small {
  margin-bottom: 3px;
  color: #747e94;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hint-row strong {
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.35;
}

.phone-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-card-grid .context-card {
  min-height: 145px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  border-radius: 20px;
}

.phone-card-grid .context-card strong {
  font-size: .72rem;
}

.phone-card-grid .tip-icon {
  width: 34px;
  min-width: 34px;
  height: 34px;
  border-radius: 11px;
}

.context-card strong {
  display: block;
  margin-top: 4px;
  font-size: .86rem;
  line-height: 1.25;
}

.context-card small {
  display: block;
  opacity: .68;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tip-icon {
  position: static;
  display: grid;
  width: 40px;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: rgba(11, 13, 22, .12);
  font-size: 1.05rem;
  font-weight: 700;
}

.context-card-gold {
  color: #f5f7ff;
  background: linear-gradient(110deg, #26344a, #463d7a);
}

.context-card-sidequest {
  color: #f5f7ff;
  background: linear-gradient(120deg, #26324a, #315f6b);
}

.phone-composer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-composer-text {
  display: flex;
  min-width: 0;
  min-height: 46px;
  flex: 1;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: #8d96aa;
  background: rgba(255, 255, 255, .07);
  font-size: .78rem;
}

.phone-microphone {
  position: relative;
  display: grid;
  width: 46px;
  min-width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #0b0d16;
  background: var(--green-bright);
}

.phone-microphone span {
  width: 10px;
  height: 16px;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: transparent;
}

.phone-microphone::before {
  position: absolute;
  width: 16px;
  height: 13px;
  border: solid #0b0d16;
  border-width: 0 2px 2px;
  border-radius: 0 0 10px 10px;
  content: "";
}

.phone-microphone::after {
  position: absolute;
  bottom: 11px;
  width: 2px;
  height: 5px;
  background: #0b0d16;
  content: "";
}

.phone-home {
  width: 92px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: rgba(245, 247, 255, .72);
}

@keyframes phone-float {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

/* Content sections and cards
--------------------------------------------- */
.section-heading,
.split-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 55px;
}

.section-heading>div,
.split-heading>div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-heading>p,
.split-heading>p {
  max-width: 520px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.problem-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-card:nth-child(2) {
  background: var(--surface-strong);
  color: var(--bg);
}

body.dark-theme .feature-card:nth-child(2) {
  color: #101321;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-top small,
.problem-card>small {
  color: var(--muted);
  font-weight: 600;
}

.card-top span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 1.3rem;
}

.feature-card div:last-child,
.problem-card {
  gap: 14px;
}

.feature-card div:last-child {
  display: flex;
  flex-direction: column;
}

.feature-card p,
.problem-card p {
  margin-top: 12px;
}

.problem-section {
  overflow: hidden;
}

.problem-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 18px;
}

.problem-card {
  min-height: 270px;
  background: transparent;
}

.problem-card h3 {
  margin-top: auto;
}

.how-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sticky-copy p {
  max-width: 440px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-card>span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(100deg, color-mix(in srgb, var(--green) 25%, transparent), color-mix(in srgb, var(--violet) 25%, transparent));
  color: var(--text);
  font-weight: 700;
}

.step-card div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compatibility-panel {
  padding: 64px;
  border-radius: var(--radius-lg);
  background: #101321;
  color: #f5f7ff;
  box-shadow: var(--shadow);
}

.compatibility-copy {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compatibility-copy p {
  color: #aeb4c8;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.device-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
}

.device-card>span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 14px;
  background: rgba(120, 247, 197, .12);
  color: #78f7c5;
  font-size: 1.3rem;
}

.device-card p {
  color: #aeb4c8;
  margin-top: 9px;
}

.control-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.control-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.control-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.control-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.control-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
  font-weight: 800;
}

.control-list p {
  color: var(--text);
}

/* Waitlist form
--------------------------------------------- */
.waitlist-section {
  padding-bottom: 84px;
}

.waitlist-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 70px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #121627, #0d1020);
  color: #f5f7ff;
  box-shadow: var(--shadow);
}

.waitlist-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.waitlist-copy p {
  color: #aeb4c8;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}

.benefit-card>span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(120, 247, 197, .12);
  color: #78f7c5;
}

.benefit-card p {
  margin-top: 5px;
  font-size: .9rem;
}

.waitlist-form {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: 24px;
  background: #f5f7ff;
  color: #101321;
}

.waitlist-form label:not(.consent-field) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(16, 19, 33, .14);
  border-radius: 13px;
  background: #fff;
  color: #101321;
  outline: none;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: #7161e8;
  box-shadow: 0 0 0 3px rgba(113, 97, 232, .12);
}

.consent-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #5d6274;
  font-size: 14px;
  line-height: 16px;
  text-transform: none;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin: 1px 0 0;
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}

.form-privacy {
  color: #767c8e;
  text-align: center;
}

.form-status {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Footer and runtime states
--------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: center;
  padding: 16px var(--container-padding);
  padding-bottom: 16px;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
}

.creator-link img {
  width: 134px;
  height: auto;
  filter: brightness(0);
}

body.dark-theme .creator-link img {
  filter: none;
}

.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal-enabled .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive layout
--------------------------------------------- */
@media (max-width: 980px) {
  .section {
    padding: 72px 0;
  }

  .hero-grid,
  .section-heading,
  .split-heading,
  .how-grid,
  .control-grid,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
  }

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

  .section-heading,
  .split-heading {
    gap: 25px;
  }

  .three-columns,
  .problem-track,
  .device-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-copy {
    position: static;
  }

  .how-grid,
  .control-grid {
    gap: 50px;
  }

  .waitlist-panel {
    padding: 48px;
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .logo {
    width: auto;
    height: 30px;
  }

  .header-actions {
    gap: 20px;
  }

  .theme-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
  }

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

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

  .game-window {
    right: 0;
    width: 100%;
    height: 330px;
  }

  .assistant-panel {
    left: 10px;
    width: min(76vw, 272px);
    height: 528px;
    bottom: 8px;
  }

  .phone-screen {
    width: 288.64px;
    height: 579.55px;
    transform: scale(.88);
  }

  .three-columns,
  .problem-track,
  .device-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 260px;
  }

  .step-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .compatibility-panel,
  .waitlist-panel {
    padding: 30px 22px;
    border-radius: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .waitlist-form {
    padding: 20px;
  }

  .waitlist-section {
    padding-bottom: 24px;
  }

  .site-footer {
    padding: 24px 0 16px;
  }
}

@media (max-width: 680px) {
  .language-selector {
    width: var(--language-option-size);
    height: var(--language-option-size);
    display: grid;
    gap: 0;
    place-items: center;
  }

  .language-selector .language-indicator {
    display: none;
  }

  .language-selector .language-option {
    display: none;
    width: var(--language-option-size);
    height: var(--language-option-size);
    color: #fff;
    background: #101321;
  }

  .language-selector:not(.ready) .language-option:first-of-type,
  .language-selector .language-option.active {
    display: grid;
  }

  body.dark-theme .language-selector .language-option.active {
    color: #101321;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .assistant-panel {
    animation: none;
  }
}
