:root {
  color-scheme: dark;
  --ink: #f5fbff;
  --muted: #aac0d0;
  --line: rgba(151, 203, 224, 0.22);
  --aqua: #6ce0d5;
  --navy: #071722;
  --product-background-image: url('./assets/background.png');
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background-color: var(--navy);
  background-image:
    linear-gradient(
      105deg,
      rgba(5, 18, 28, 0.9) 12%,
      rgba(5, 27, 40, 0.72) 58%,
      rgba(4, 23, 34, 0.56)
    ),
    radial-gradient(circle at 78% 18%, rgba(58, 202, 191, 0.22), transparent 34%),
    var(--product-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  background:
    linear-gradient(rgba(112, 202, 218, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 202, 218, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
a {
  color: inherit;
}
.page-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px clamp(24px, 5vw, 76px) 24px;
}
.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  min-height: 72px;
}
.brand {
  display: inline-block;
  text-decoration: none;
}
.brand-wordmark {
  display: block;
  width: clamp(154px, 13vw, 205px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.32));
}
.header-link,
.text-link,
footer a {
  color: var(--aqua);
  font-size: 0.86rem;
  font-weight: 750;
  text-underline-offset: 5px;
}
.header-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(350px, 0.82fr);
  gap: clamp(42px, 7vw, 106px);
  align-items: center;
  min-height: calc(100vh - 250px);
  padding: clamp(56px, 8vh, 110px) 0 clamp(48px, 8vh, 90px);
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero-copy {
  max-width: 730px;
}
.headline-lockup {
  display: grid;
  grid-template-columns: max-content minmax(150px, 1fr);
  gap: clamp(10px, 1.25vw, 20px);
  align-items: end;
}
.hero-mascot-frame {
  position: relative;
  align-self: end;
  justify-self: center;
  width: clamp(195px, 17.5vw, 245px);
  aspect-ratio: 816 / 1120;
  transform: translateY(45px);
  overflow: visible;
  opacity: 0.62;
  filter: saturate(0.9) brightness(0.84) drop-shadow(0 28px 46px rgba(0, 0, 0, 0.48));
  pointer-events: none;
  user-select: none;
}
.hero-mascot {
  position: absolute;
  top: -20.1%;
  left: -37.25%;
  width: 204.9%;
  max-width: none;
  height: auto;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(3.25rem, 7vw, 7.15rem);
  line-height: 0.91;
  letter-spacing: -0.065em;
}
h1 span {
  display: block;
  white-space: nowrap;
}
.hero-summary {
  max-width: 650px;
  margin-top: 26px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.23rem);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 13px;
  background: var(--aqua);
  box-shadow: 0 15px 44px rgba(62, 203, 189, 0.2);
  color: #06221f;
  font-weight: 850;
  text-decoration: none;
}
.download-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 49, 69, 0.94), rgba(13, 38, 55, 0.78));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}
.download-heading {
  padding: 30px 30px 18px;
}
.download-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
}
.download-heading > p:last-child,
.download-note {
  color: var(--muted);
  line-height: 1.55;
}
.download-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.download-option {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 78px;
  padding: 13px 30px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}
.download-option:hover {
  background: rgba(108, 224, 213, 0.09);
  transform: translateX(3px);
}
.download-option > span:nth-child(2) {
  display: grid;
  gap: 4px;
}
.download-option small {
  color: var(--muted);
}
.platform-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(108, 224, 213, 0.25);
  border-radius: 10px;
  background: rgba(108, 224, 213, 0.08);
  color: var(--aqua);
  font-size: 0.86rem;
  font-weight: 900;
}
.arrow {
  color: var(--aqua);
  font-size: 1.25rem;
}
.download-note {
  margin: 0;
  padding: 19px 30px 22px;
  font-size: 0.78rem;
}
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 27px clamp(18px, 2.4vw, 34px);
}
.value-strip article + article {
  border-left: 1px solid var(--line);
}
.value-strip article > span {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.value-strip h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.value-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
footer {
  gap: 24px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
}
footer p {
  margin-bottom: 0;
}
:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .download-card {
    width: min(100%, 680px);
  }
  .value-strip {
    grid-template-columns: 1fr;
  }
  .value-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 680px) {
  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy > .eyebrow {
    grid-row: 1;
  }
  .headline-lockup {
    display: contents;
  }
  .headline-lockup h1 {
    grid-row: 2;
  }
  .hero-summary {
    grid-row: 3;
  }
  .hero-actions {
    grid-row: 4;
  }
  .hero-mascot-frame {
    grid-row: 5;
    justify-self: center;
    width: min(56vw, 220px);
    margin: 28px 0 0;
    transform: none;
    opacity: 0.52;
  }
}
@media (max-width: 560px) {
  .page-shell {
    padding: 18px 18px 22px;
  }
  .site-header {
    align-items: flex-start;
  }
  .brand-wordmark {
    width: 132px;
  }
  .header-link {
    margin-top: 11px;
    font-size: 0.78rem;
  }
  .hero {
    gap: 42px;
    padding-top: 58px;
  }
  h1 {
    font-size: clamp(3.1rem, 17vw, 4.4rem);
  }
  .download-heading,
  .download-option,
  .download-note {
    padding-right: 20px;
    padding-left: 20px;
  }
  .hero-actions,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .download-option {
    transition: none;
  }
}
