@font-face {
  font-family: "Fredoka TMRW";
  src: url("/fonts/fredoka-bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-mid: #07070d;
  --ink: #ffffff;
  --muted: rgba(236, 242, 247, 0.76);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(9, 12, 18, 0.92);
  --cyan: #21f5ee;
  --pink: #ff2f85;
  --yellow: #ffe65a;
  --violet: #a57cff;
  --orange: #ff8d4d;
  --shadow-pink: rgba(255, 47, 133, 0.42);
  --shadow-cyan: rgba(33, 245, 238, 0.34);
  --display: "Avenir Next", "Helvetica Neue", "Arial Black", sans-serif;
  --body: "Avenir Next", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
}

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

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

.landing-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(33, 245, 238, 0.03), transparent 36%),
    linear-gradient(245deg, rgba(255, 47, 133, 0.07), transparent 43%),
    linear-gradient(180deg, #020304 0%, var(--bg-mid) 55%, #070407 100%);
}

.screen-wash,
.star-field {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.screen-wash-cyan {
  background: linear-gradient(105deg, rgba(33, 245, 238, 0.17), rgba(33, 245, 238, 0.03) 28%, transparent 55%);
  opacity: 0.76;
}

.screen-wash-pink {
  background: linear-gradient(282deg, rgba(255, 47, 133, 0.2), rgba(255, 47, 133, 0.05) 30%, transparent 58%);
  opacity: 0.86;
}

.star-field span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 999px;
  background: var(--c);
  box-shadow: 0 0 16px 4px var(--c);
  opacity: 0.8;
  animation: starPulse 2.8s ease-in-out infinite;
  animation-delay: var(--d);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 88px, 1780px);
  margin: 0 auto;
  padding: 34px 0 18px;
}

.brand {
  width: 170px;
  transform: translateY(-2px);
}

.brand img {
  width: 100%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.84);
  border: 1.5px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 28px rgba(255, 47, 133, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.store-badge-small {
  justify-self: end;
  min-width: 224px;
  min-height: 76px;
  border-radius: 14px;
}

.store-badge-hero {
  min-width: 360px;
  min-height: 108px;
  border-radius: 22px;
  border-color: transparent;
  background:
    linear-gradient(#000000, #000000) padding-box,
    linear-gradient(98deg, var(--yellow), var(--cyan), var(--pink)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 24px rgba(255, 47, 133, 0.32),
    0 0 18px rgba(255, 230, 90, 0.18);
}

.store-badge small {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.store-badge strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 31px;
  line-height: 0.94;
  letter-spacing: 0;
}

.store-badge-hero small {
  font-size: 23px;
}

.store-badge-hero strong {
  font-size: 50px;
}

.apple-mark-svg {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  fill: #ffffff;
}

.store-badge-hero .apple-mark-svg {
  width: 69px;
  height: 69px;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(600px, 0.96fr) minmax(620px, 1.04fr);
  align-items: center;
  gap: clamp(18px, 3vw, 54px);
  width: min(100% - 88px, 1780px);
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  padding: 34px 0 78px;
}

.hero-copy {
  align-self: center;
  padding-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  color: var(--cyan);
}

.eyebrow span {
  width: 44px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 15px currentColor;
}

.eyebrow p {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 5px;
}

h1 {
  max-width: 840px;
  margin: 0;
  color: #ffffff;
  font-family: var(--display);
  font-size: clamp(68px, 5.15vw, 96px);
  line-height: 0.99;
  letter-spacing: 0;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.16);
}

.lede {
  max-width: 720px;
  margin: 34px 0 44px;
  color: var(--muted);
  font-size: clamp(26px, 2vw, 36px);
  font-weight: 500;
  line-height: 1.32;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.qr-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.qr-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(#07090d, #07090d) padding-box,
    linear-gradient(140deg, var(--cyan), #ffffff, var(--pink)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 24px rgba(33, 245, 238, 0.36),
    0 0 24px rgba(255, 47, 133, 0.26);
}

.qr-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -19px;
  width: 26px;
  height: 28px;
  border-right: 3px solid var(--pink);
  border-bottom: 3px solid var(--pink);
  border-radius: 0 0 24px 0;
  transform: rotate(28deg);
}

.qr-grid {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: #ffffff;
  background-image:
    linear-gradient(90deg, #111 10px, transparent 10px),
    linear-gradient(#111 10px, transparent 10px),
    linear-gradient(90deg, transparent 20px, #111 20px 30px, transparent 30px 50px, #111 50px 60px, transparent 60px 80px, #111 80px 90px, transparent 90px),
    linear-gradient(transparent 20px, #111 20px 30px, transparent 30px 50px, #111 50px 60px, transparent 60px 80px, #111 80px 90px, transparent 90px);
  background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%;
  box-shadow: 0 0 0 8px #ffffff inset;
}

.qr-group p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.02;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
}

.pill-row-eyebrow {
  margin-top: 0;
  margin-bottom: 28px;
  gap: 12px;
}

.pill-row-eyebrow .topic-pill {
  min-height: 40px;
  padding: 0 18px;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.pill-row-eyebrow .pill-icon {
  width: 18px;
  height: 18px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 31px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.055);
  border: 1.5px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  font-size: 24px;
  font-weight: 800;
}

.pill-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.topic-tv .pill-icon {
  color: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan));
}

.topic-pop .pill-icon {
  color: var(--pink);
  filter: drop-shadow(0 0 6px var(--pink));
}

.topic-reality .pill-icon {
  color: var(--yellow);
  filter: drop-shadow(0 0 6px var(--yellow));
}

.phone-stage {
  position: relative;
  min-height: min(760px, calc(100vh - 190px));
  align-self: stretch;
}

.floor-glow {
  position: absolute;
  left: 8%;
  right: 2%;
  bottom: 7%;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(33, 245, 238, 0.45), rgba(255, 47, 133, 0.76));
  filter: blur(18px);
  opacity: 0.9;
}

.phone {
  --rim: var(--pink);
  --rim-secondary: var(--cyan);
  position: absolute;
  width: clamp(205px, 15.7vw, 300px);
  aspect-ratio: 852 / 1846;
  border-radius: clamp(33px, 3.2vw, 58px);
  padding: clamp(8px, 0.75vw, 13px);
  background:
    linear-gradient(#030407, #030407) padding-box,
    linear-gradient(135deg, var(--rim-secondary), var(--yellow), var(--rim)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 0 18px var(--rim-secondary),
    0 0 32px var(--rim),
    0 32px 52px rgba(0, 0, 0, 0.7);
  transform-origin: center bottom;
  animation: phoneFloat 5.4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  top: clamp(8px, 0.75vw, 13px);
  width: 38%;
  height: 4.2%;
  border-radius: 0 0 18px 18px;
  background: #010206;
  transform: translateX(-50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.42);
}

.phone::after {
  content: "";
  position: absolute;
  inset: clamp(8px, 0.75vw, 13px);
  z-index: 2;
  border-radius: calc(clamp(33px, 3.2vw, 58px) - 10px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09) inset,
    0 -90px 80px rgba(0, 0, 0, 0.24) inset;
  pointer-events: none;
}

.phone-rim {
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--rim) 78%, #ffffff 22%);
  opacity: 0.64;
  filter: blur(1px);
}

.phone img {
  width: 100%;
  height: 100%;
  border-radius: calc(clamp(33px, 3.2vw, 58px) - 11px);
  object-fit: cover;
}

.phone-left {
  --rim: var(--pink);
  --rim-secondary: var(--cyan);
  left: 5%;
  top: 24%;
  z-index: 1;
  transform: rotate(-9deg);
}

.phone-center {
  --rim: var(--pink);
  --rim-secondary: var(--yellow);
  left: 37%;
  top: 4%;
  z-index: 3;
  width: clamp(244px, 18.8vw, 356px);
  transform: rotate(0deg);
}

.phone-right {
  --rim: var(--pink);
  --rim-secondary: var(--violet);
  right: 7%;
  top: 26%;
  z-index: 2;
  transform: rotate(9deg);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  width: min(100% - 88px, 1780px);
  margin: 0 auto;
  padding: 0 0 42px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 500;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.legal-shell {
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(33, 245, 238, 0.11), transparent 35%),
    linear-gradient(250deg, rgba(255, 47, 133, 0.1), transparent 45%),
    linear-gradient(180deg, #020304 0%, #07070d 100%);
  padding-bottom: 64px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 48px, 980px);
  margin: 0 auto;
  padding: 34px 0 28px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.legal-document {
  width: min(100% - 48px, 920px);
  margin: 0 auto;
}

.legal-document h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 86px);
}

.legal-document h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.08;
}

.legal-eyebrow {
  margin-top: 32px;
}

.legal-date {
  margin: 18px 0 24px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.legal-card {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.legal-card p {
  margin: 0 0 12px;
  color: rgba(236, 242, 247, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card li {
  margin: 8px 0;
  color: rgba(236, 242, 247, 0.8);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.legal-card a {
  color: #ffffff;
  font-weight: 600;
}

@keyframes phoneFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes starPulse {
  0%,
  100% {
    opacity: 0.32;
    scale: 0.74;
  }
  50% {
    opacity: 0.96;
    scale: 1.1;
  }
}

@media (max-width: 1180px) {
  .site-header {
    width: min(100% - 56px, 1060px);
  }

  .brand {
    width: 150px;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 56px, 960px);
    padding-top: 46px;
  }

  .hero-copy {
    max-width: 780px;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(68px, 10vw, 104px);
  }

  .phone-stage {
    min-height: 780px;
    margin-top: -18px;
  }

  .phone-left {
    left: 3%;
    top: 26%;
  }

  .phone-center {
    left: 34%;
    top: 3%;
  }

  .phone-right {
    right: 2%;
    top: 27%;
  }

}

@media (max-width: 820px) {
  .landing-shell {
    min-height: 100svh;
  }

  .site-header {
    width: min(100% - 42px, 640px);
    padding-top: 28px;
  }

  .brand {
    width: 144px;
  }

  .store-badge-small {
    min-width: 194px;
    min-height: 64px;
    gap: 10px;
    border-radius: 13px;
  }

  .store-badge-small .apple-mark-svg {
    width: 30px;
    height: 30px;
  }

  .store-badge-small small {
    font-size: 14px;
  }

  .store-badge-small strong {
    font-size: 26px;
  }

  .hero {
    width: min(100% - 42px, 640px);
    min-height: auto;
    padding: 36px 0 38px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .eyebrow p {
    font-size: 16px;
    letter-spacing: 3.6px;
  }

  h1 {
    font-size: clamp(44px, 8vw, 64px);
  }

  .lede {
    margin: 22px 0 28px;
    font-size: clamp(20px, 3.4vw, 26px);
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .store-badge-hero {
    width: min(100%, 480px);
    min-width: 0;
    min-height: 100px;
  }

  .store-badge-hero strong {
    font-size: clamp(40px, 8vw, 50px);
  }

  .pill-row {
    gap: 14px;
    margin-top: 34px;
  }

  .topic-pill {
    min-height: 52px;
    padding: 0 22px;
    font-size: 20px;
  }

  .phone-stage {
    min-height: 760px;
    margin-top: 14px;
    margin-bottom: 28px;
  }

  .phone {
    width: clamp(184px, 41vw, 270px);
    border-radius: 34px;
  }

  .phone-center {
    left: 50%;
    top: 5%;
    width: clamp(220px, 49vw, 330px);
    transform: translateX(-50%);
  }

  .phone-left {
    left: 0;
    top: 26%;
    transform: rotate(-8deg);
  }

  .phone-right {
    right: 0;
    top: 28%;
    transform: rotate(8deg);
  }

  .site-footer {
    width: min(100% - 42px, 640px);
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 42px, 640px);
  }

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

  .legal-document {
    width: min(100% - 42px, 640px);
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 28px, 430px);
    gap: 12px;
    padding-top: 20px;
  }

  .brand {
    width: 108px;
  }

  .store-badge-small {
    min-width: 148px;
    min-height: 48px;
    gap: 8px;
  }

  .store-badge-small .apple-mark-svg {
    width: 22px;
    height: 22px;
  }

  .store-badge-small small {
    font-size: 10px;
  }

  .store-badge-small strong {
    font-size: 19px;
  }

  .hero {
    width: min(100% - 28px, 430px);
    padding: 24px 0 32px;
  }

  .eyebrow {
    gap: 12px;
    margin-bottom: 14px;
  }

  .eyebrow span {
    width: 30px;
  }

  .eyebrow p {
    font-size: 13px;
    letter-spacing: 3px;
  }

  h1 {
    font-size: clamp(34px, 9.4vw, 44px);
    line-height: 1.02;
  }

  .lede {
    margin: 18px 0 24px;
    font-size: clamp(17px, 4.6vw, 20px);
    line-height: 1.32;
  }

  .store-badge-hero {
    min-height: 76px;
    gap: 12px;
    border-radius: 18px;
  }

  .store-badge-hero .apple-mark-svg {
    width: 40px;
    height: 40px;
  }

  .store-badge-hero small {
    font-size: 16px;
  }

  .store-badge-hero strong {
    font-size: 30px;
  }

  .qr-group {
    display: none;
  }

  .pill-row {
    margin-top: 24px;
  }

  .topic-pill {
    min-height: 42px;
    padding: 0 14px;
    font-size: 15px;
    gap: 8px;
  }

  .pill-icon {
    width: 20px;
    height: 20px;
  }

  .phone-stage {
    min-height: 620px;
    margin: -28px -14px 24px;
  }

  .phone {
    width: 45vw;
    min-width: 168px;
    padding: 7px;
  }

  .phone-center {
    width: 54vw;
    min-width: 210px;
    top: 8%;
  }

  .phone-left {
    left: -2%;
    top: 29%;
  }

  .phone-right {
    right: -3%;
    top: 31%;
  }

  .site-footer {
    width: min(100% - 28px, 430px);
    justify-content: flex-start;
    padding-bottom: 32px;
  }

  .legal-header {
    width: min(100% - 28px, 430px);
    padding-top: 20px;
  }

  .legal-document {
    width: min(100% - 28px, 430px);
  }

  .legal-document h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .legal-card {
    border-radius: 18px;
    padding: 18px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 15px;
  }
}

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

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