:root {
  --teal: #0a7780;
  --dark: #031315;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--dark);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--dark);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  -webkit-overflow-scrolling: touch;
}

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

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
}

.cinematic-bg,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cinematic-bg {
  z-index: -3;
  background:
    radial-gradient(
      circle at 63% 42%,
      rgba(9, 105, 112, 0.62),
      transparent 31%
    ),
    radial-gradient(
      circle at 84% 54%,
      rgba(170, 94, 57, 0.5),
      transparent 28%
    ),
    linear-gradient(
      120deg,
      #020e10 0%,
      #04191b 45%,
      #101518 100%
    );
}

.grain {
  z-index: -2;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  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='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.58;
  pointer-events: none;
}

.glow-one {
  width: 30vw;
  height: 30vw;
  min-width: 280px;
  min-height: 280px;
  right: 20%;
  top: 18%;
  background: rgba(8, 125, 134, 0.4);
}

.glow-two {
  width: 28vw;
  height: 28vw;
  min-width: 250px;
  min-height: 250px;
  right: -3%;
  bottom: 4%;
  background: rgba(190, 102, 59, 0.36);
}

.header,
.footer {
  width: min(1420px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.header {
  flex-shrink: 0;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 800 23px "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.get-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.get-app:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  width: min(1040px, calc(100% - 48px));
  margin: auto;
  padding: 52px 0 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #ffffff;
  font: 800 clamp(76px, 8.8vw, 144px) / 0.86 "Manrope", sans-serif;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.subtitle {
  max-width: 820px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.9vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.store-buttons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-button {
  width: 210px;
  height: 62px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  column-gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  background: #ffffff;
  color: #07191b;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.store-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}

.store-button > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.store-button small {
  display: block;
  margin: 0;
  color: #07191b;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.store-button strong {
  display: block;
  margin-top: 4px;
  color: #07191b;
  font: 700 20px/1 "Manrope", sans-serif;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.apple {
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07191b;
  font-size: 31px;
  line-height: 1;
}

.play-icon {
  width: 25px;
  height: 29px;
  justify-self: center;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background:
    linear-gradient(
      180deg,
      #31d17b 0 34%,
      #ffd54a 34% 66%,
      #ff655f 66%
    );
}

.status-pill {
  width: fit-content;
  max-width: 100%;
  margin: 46px auto 0;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(3, 18, 20, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #f47b4c;
  box-shadow: 0 0 0 7px rgba(244, 123, 76, 0.13);
}

.footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.footer nav {
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer p {
  margin: 0;
  color: inherit;
  text-align: center;
}

@media (max-width: 500px) {
  .page {
    min-height: 100svh;
    display: block;
    padding-bottom: 0;
  }

  .header,
  .footer {
    width: calc(100% - 40px);
  }

  .header {
    padding-top: 28px;
  }

  .brand {
    gap: 10px;
    font-size: 22px;
  }

  .brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .get-app {
    min-height: 44px;
    padding: 11px 17px;
    font-size: 14px;
  }

  .hero {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 72px 0 32px;
  }

  .eyebrow {
    max-width: 330px;
    margin: 0 auto 28px;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: 0.2em;
  }

  h1 {
    font-size: clamp(61px, 17.5vw, 76px);
    line-height: 0.91;
    letter-spacing: -0.07em;
  }

  .subtitle {
    max-width: 350px;
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.55;
  }

  .store-buttons {
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .store-button {
    width: min(222px, 100%);
    height: 64px;
    padding: 0 20px;
    grid-template-columns: 38px 1fr;
    column-gap: 14px;
    border-radius: 17px;
  }

  .store-button small {
    font-size: 9px;
  }

  .store-button strong {
    font-size: 21px;
  }

  .apple {
    width: 38px;
    font-size: 32px;
  }

  .play-icon {
    width: 30px;
    height: 33px;
  }

  .status-pill {
    margin-top: 46px;
    padding: 13px 16px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .footer {
    margin-top: 36px;
    padding-top: 20px;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
    font-size: 9px;
  }

  .footer nav {
    gap: 10px 14px;
  }
}

@media (max-width: 385px) {
  .header,
  .footer {
    width: calc(100% - 32px);
  }

  .header {
    padding-top: 22px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .get-app {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 66px);
  }

  .subtitle {
    font-size: 17px;
  }

  .status-pill {
    margin-top: 40px;
  }

  .footer {
    margin-top: 30px;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .header {
    padding-top: 18px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 20px;
    transform: scale(0.9);
    transform-origin: center;
  }

  .footer {
    padding-bottom: 14px;
  }
}

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