:root {
  color-scheme: dark;
  --bg-top: #080d21;
  --bg-bottom: #0d2938;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --line: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.07);
  --mint: #40e6bf;
  --pink: #ff4d8c;
  --sun: #ffd940;
  --sky: #4dccff;
  --orange: #ff9e29;
  --grape: #9e66ff;
  --danger: #ff5950;
  --rounded: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  font-family: var(--rounded);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg-top);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  overflow-x: hidden;
}

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

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

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

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
  border-radius: 10px;
}

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

.wrap {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

/* Floating balls backdrop */
.balls {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ball {
  position: absolute;
  border-radius: 50%;
  border: 4px solid #fff;
  opacity: 0.9;
  animation: bob 5s ease-in-out infinite;
}

.ball::before,
.ball::after {
  content: "";
  position: absolute;
  top: 38%;
  width: 18%;
  height: 22%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset -2px -2px 0 #14122b;
}

.ball::before { left: 24%; }
.ball::after { right: 24%; }

.ball.pink { background: radial-gradient(circle at 35% 30%, #ff8ab4, var(--pink)); }
.ball.orange { background: radial-gradient(circle at 35% 30%, #ffc36e, var(--orange)); }
.ball.mint { background: radial-gradient(circle at 35% 30%, #9ff5df, var(--mint)); }
.ball.sky { background: radial-gradient(circle at 35% 30%, #a6e4ff, var(--sky)); }
.ball.grape { background: radial-gradient(circle at 35% 30%, #c4a3ff, var(--grape)); }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* Hero */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 36px, transparent 36px 72px),
    radial-gradient(800px 500px at 15% 10%, rgba(158, 102, 255, 0.28), transparent 70%),
    radial-gradient(700px 500px at 90% 80%, rgba(64, 230, 191, 0.2), transparent 70%);
}

.hero {
  position: relative;
  width: min(100% - 40px, 1080px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.nav {
  position: absolute;
  inset: 28px 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 11vw, 7.6rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  transform-origin: left center;
}

h1 .pop {
  display: block;
  background: linear-gradient(90deg, var(--mint), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 .panic {
  display: block;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 30px;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
}

.intro {
  max-width: 460px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0a1228;
  background: linear-gradient(180deg, #5ff0cd, var(--mint));
  box-shadow: 0 5px 0 #1f9c80, 0 14px 28px rgba(64, 230, 191, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

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

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #1f9c80;
}

.btn-ghost {
  color: #fff;
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--line);
}

.btn-ghost:active {
  box-shadow: 0 0 0 2px var(--line);
}

.soon-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.soon-note strong {
  color: var(--sun);
}

.hero-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 886;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line);
}

.store-badge-link,
.badge-button {
  display: inline-flex;
  width: 120px;
  height: 40px;
}

.store-badge-link img,
.badge-button img {
  display: block;
  width: 120px;
  height: 40px;
}

.badge-button {
  width: 150px;
  height: 50px;
}

.badge-button img {
  width: 150px;
  height: 50px;
}

/* Stat blocks */
.counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.count {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: clamp(28px, 5vw, 52px) 12px;
  text-align: center;
  color: #0a1228;
}

.count strong {
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.count span {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.count-mint { background: var(--mint); }
.count-pink { background: var(--pink); }
.count-sun { background: var(--sun); }
.count-sky { background: var(--sky); }

/* Sections */
section {
  position: relative;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-head {
  margin-bottom: 36px;
}

.how {
  padding: clamp(56px, 9vw, 96px) 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.steps li::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0a1228;
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--mint);
}

.steps li:nth-child(2)::before { background: var(--sun); }
.steps li:nth-child(3)::before { background: var(--pink); }

.steps h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.steps p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

/* Power-ups */
.powerups {
  padding: clamp(48px, 8vw, 80px) 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.power-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.power-list li {
  padding: 20px 16px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 4px 0 var(--c), 0 0 0 1px var(--line);
}

.power-list h3 {
  color: var(--c);
  font-size: 1.15rem;
  font-weight: 900;
}

.power-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Screenshots */
.screens {
  padding: clamp(56px, 9vw, 96px) 0 40px;
}

.screens-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.carousel-buttons {
  display: flex;
  gap: 8px;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.carousel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.carousel-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.shot-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar {
  display: none;
}

.shot-track li {
  flex: 0 0 min(760px, 88%);
  scroll-snap-align: start;
}

.shot-track img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line);
}

/* Promise */
.promise {
  padding: clamp(48px, 8vw, 80px) 0;
  color: #0a1228;
  background: var(--sun);
}

.promise .section-kicker {
  color: #0a1228;
}

.promise h2 {
  max-width: 13em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: #0a1228;
  font-size: 0.95rem;
  font-weight: 800;
}

.fineprint {
  margin-top: 22px;
  color: rgba(10, 18, 40, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
}

/* More */
.more-apps {
  padding: 72px 0 96px;
}

.more-app-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.more-app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.more-app-card:hover {
  box-shadow: 0 0 0 2px var(--mint);
}

.more-app-card img {
  border-radius: 12px;
  flex: none;
}

.more-app-card span {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.more-app-card strong {
  color: #fff;
  font-size: 1rem;
}

.footer {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: #fff;
}

/* Policy and support pages */
.page-hero {
  position: relative;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 140px 0 40px;
}

.page-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4rem);
  transform: none;
  color: #fff;
}

.page-copy .eyebrow {
  color: var(--muted);
}

.page-copy .intro {
  max-width: none;
}

.policy-main,
.support-main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding-bottom: 80px;
}

.policy-main section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-main h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.policy-main h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.policy-main p,
.policy-main li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.policy-main p + p {
  margin-top: 12px;
}

.policy-main ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-main a {
  color: var(--mint);
}

.support-form {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: #fff;
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid var(--mint);
  border-color: transparent;
}

.support-submit {
  width: fit-content;
  cursor: pointer;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 112px;
    min-height: 0;
  }

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

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

  .power-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ball.hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 14px;
    inset: 20px 0 auto;
  }

  .nav .nav-link:not(.keep),
  .nav .store-badge-link {
    display: none;
  }

  .more-app-list,
  .power-list {
    grid-template-columns: 1fr;
  }

  .shot-track li {
    flex-basis: 92%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .ball {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
