:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5d687b;
  --paper: #f7f9fc;
  --white: #ffffff;
  --teal: #148577;
  --teal-dark: #0b6359;
  --mint: #bce9dd;
  --line: #dce3ec;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 66vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(45, 190, 169, 0.2), transparent 30%),
    linear-gradient(145deg, #111827 0%, #17243a 55%, #123b38 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: 84px 92px;
}

.company-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  color: #d6fff4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-size: 1.6rem;
  font-weight: 750;
  letter-spacing: -0.06em;
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #9ee2d5;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.eyebrow.dark {
  color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.motto {
  max-width: 760px;
  margin-bottom: 20px;
  color: #ebfff9;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.intro {
  max-width: 660px;
  margin-bottom: 0;
  color: #c2ccd8;
  font-size: 1.06rem;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.glow-one {
  right: -80px;
  bottom: -150px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(139, 226, 209, 0.22);
}

.glow-two {
  right: 100px;
  bottom: -205px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(139, 226, 209, 0.12);
}

.apps {
  padding-block: 82px 96px;
}

.apps h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.app-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(30, 45, 66, 0.08);
}

.app-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 30px rgba(20, 133, 119, 0.25);
  font-size: 2rem;
}

.app-label {
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.app-copy h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.app-copy p:last-child {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.store-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border: 1px solid #2b3446;
  border-radius: 12px;
  color: var(--white);
  background: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
}

.store-link small {
  display: block;
  margin-bottom: 3px;
  color: #d9e0ea;
  font-size: 0.62rem;
  font-weight: 500;
}

.store-symbol {
  font-size: 1.2rem;
}

.store-symbol.play {
  color: #88d7c4;
}

.store-link:hover {
  background: var(--teal-dark);
}

.app-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 14px;
  color: var(--white);
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.app-link:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.app-link:focus-visible,
.store-link:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-content {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

footer a {
  color: var(--teal-dark);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, 1040px);
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-block: 64px 72px;
  }

  .app-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 25px;
  }

  .app-link {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 470px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 22px;
  }
}

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

  .app-link {
    transition: none;
  }
}
