@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #dff7ff;
  --header: #ffffff;
  --ink: #2f2f2f;
  --muted: #6b6b6b;
  --pink: #ff4f87;
  --violet: #8b5cf6;
  --line: #111111;
  --font: "Poppins", sans-serif;
  --header-h: 4.25rem;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body.landing-home {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

/* ===== Top white bar ===== */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid #e6e6e6;
  padding: 0.75rem clamp(0.85rem, 3vw, 1.5rem);
}

.landing-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.75rem);
}

.nav-group--left {
  justify-content: flex-start;
}

.nav-group--right {
  justify-content: flex-end;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand img {
  display: block;
  width: clamp(100px, 11vw, 150px);
  height: auto;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.15rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-current {
  color: var(--ink);
}

.nav-link:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.mobile-menu {
  display: none;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  padding: 1.15rem 1rem 1.6rem;
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
}

.landing-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: var(--ink);
}

/* ===== Hero ===== */
.landing-main {
  min-height: calc(100svh - var(--header-h));
}

.hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.75rem) clamp(0.85rem, 3vw, 1.25rem) clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  animation: rise-in 0.55s ease both;
}

.hero-line {
  display: block;
}

.hero-line--1 {
  color: #1a1a1a;
  font-weight: 500;
}

.hero-line--2 {
  color: #1a1a1a;
  font-weight: 500;
}

.hero-line--2 em {
  font-style: italic;
  font-weight: 400;
}

.accent-pink {
  color: var(--pink);
  font-style: italic;
  font-weight: 500;
}

.hero-line--3 {
  color: var(--violet);
  font-weight: 500;
}

.hero-stage {
  position: relative;
  width: min(100%, 920px);
  margin-top: 0.25rem;
  aspect-ratio: 16 / 11;
  min-height: clamp(260px, 52vw, 480px);
  max-height: min(62svh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.7s ease 0.08s both;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: lighten;
}

.hero-actions {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  margin-top: clamp(0.5rem, 6vw, 5rem);
  padding: 0 clamp(0.25rem, 2vw, 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1.5vw, 0.75rem);
  animation: rise-in 0.55s ease 0.18s both;
}

.waitlist {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 0.55rem;
}

.waitlist-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  font-size: clamp(0.55rem, 1.4vw, 0.62rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.waitlist-input {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  padding: 0 1.1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}

.waitlist-input::placeholder {
  color: #8a8a8a;
}

.waitlist-input:focus {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.waitlist-submit {
  width: 2.85rem;
  min-width: 2.85rem;
  min-height: 2.85rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--pink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.waitlist-submit:hover {
  transform: translateX(2px) translateY(-2px);
  background: #fff5f8;
}

.waitlist-submit:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.store-icon {
  flex: 0 0 auto;
  display: block;
}

.store-icon--play {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-text small {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.store-text strong {
  font-size: clamp(0.82rem, 2.2vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .hero-stage {
    max-height: min(58svh, 460px);
  }

  .hero-actions {
    width: min(100%, 500px);
  }
}

/* ===== Compact tablet / large phone ===== */
@media (max-width: 768px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-group--left,
  .nav-group--right {
    display: none;
  }

  .nav-brand {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .mobile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 1100px;
    margin: 0.65rem auto 0;
    padding-top: 0.35rem;
    border-top: 1px solid #ececec;
  }

  .mobile-menu .nav-link {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 0.15rem;
    font-size: 1rem;
  }

  .hero-stage {
    aspect-ratio: 5 / 4;
    min-height: clamp(240px, 68vw, 400px);
    max-height: none;
  }

  .hero-actions {
    margin-top: clamp(0.25rem, 4vw, 2rem);
    width: min(100%, 420px);
  }

  .waitlist {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label label"
      "input submit";
  }

  .waitlist-label {
    grid-area: label;
    flex-direction: row;
    gap: 0.3rem;
    justify-content: center;
    border-radius: 999px;
    min-height: 2.5rem;
  }

  .waitlist-input {
    grid-area: input;
    min-height: 3rem;
    font-size: 1rem;
  }

  .waitlist-submit {
    grid-area: submit;
    width: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }
}

/* ===== Phones ===== */
@media (max-width: 480px) {
  .landing-header {
    padding: 0.55rem 0.85rem;
  }

  .hero {
    padding: 0.9rem 0.75rem 2rem;
  }

  .hero-stage {
    aspect-ratio: auto;
    min-height: 280px;
    width: 100%;
  }

  .hero-bg {
    object-position: center 35%;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1rem;
  }

  .store-row {
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Short / landscape viewports ===== */
@media (max-height: 640px) and (orientation: landscape) {
  .hero {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }

  .hero-title {
    font-size: 1.1rem;
  }

  .hero-stage {
    min-height: 220px;
    max-height: 52svh;
    aspect-ratio: 2 / 1;
  }

  .hero-actions {
    margin-top: 0.35rem;
  }
}
