@font-face {
  font-family: "Towards";
  src: url("./assets/fonts/Towards-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --teal: #143d43;
  --button-teal: #35665f;
  --yellow: #f1bf32;
  --mint: #e5f4ed;
  --paper: #fffdf9;
  --muted: #667571;
  --line: #e5ebe7;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--teal);
  background:
    radial-gradient(circle at 8% 12%, rgba(229, 244, 237, 0.86), transparent 26rem),
    radial-gradient(circle at 92% 84%, rgba(241, 191, 50, 0.12), transparent 23rem),
    var(--paper);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--teal);
  font-family: "Towards", "Poppins", sans-serif;
  font-size: clamp(2.35rem, 8vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.wordmark-accent {
  margin-left: 0.08em;
  color: var(--yellow);
}

main {
  flex: 1;
  display: grid;
  align-items: center;
}

.hero {
  display: grid;
  align-items: center;
  gap: 24px;
  padding: 18px 0 42px;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--button-teal);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(2.25rem, 10vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--yellow);
}

.hero-description {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 3vw, 1.08rem);
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  width: min(78vw, 340px);
  margin: 0 auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -8% 3%;
  z-index: -1;
  border-radius: 46% 54% 47% 53%;
  background: linear-gradient(145deg, var(--mint), rgba(229, 244, 237, 0.26));
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.96);
}

.accent-dot {
  position: absolute;
  border-radius: 999px;
  background: var(--yellow);
}

.accent-dot-one {
  top: 14%;
  right: -5%;
  width: 16px;
  height: 16px;
}

.accent-dot-two {
  bottom: 13%;
  left: -2%;
  width: 10px;
  height: 10px;
}

.download-area {
  margin-top: 26px;
}

.download-label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 600;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store-badge {
  width: 174px;
  min-height: 54px;
  padding: 7px 13px;
  border: 1px solid #1d2625;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #111514;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-badge:not([aria-disabled="true"]):hover,
.store-badge:not([aria-disabled="true"]):focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 61, 67, 0.17);
}

.store-badge[aria-disabled="true"] {
  cursor: default;
  opacity: 0.72;
}

.store-badge:focus-visible,
.site-footer a:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid rgba(241, 191, 50, 0.72);
  outline-offset: 3px;
}

.store-badge span {
  display: grid;
}

.store-badge small {
  font-size: 0.58rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.store-badge strong {
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
}

.store-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.apple-icon {
  fill: #fff;
}

.play-blue { fill: #48a9f8; }
.play-green { fill: #48cf76; }
.play-yellow { fill: #ffd15c; }
.play-red { fill: #ff625f; }

.store-note {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer {
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.site-footer a {
  text-underline-offset: 3px;
  text-decoration-color: rgba(20, 61, 67, 0.35);
}

.site-footer a:hover {
  color: var(--teal);
  text-decoration-color: var(--yellow);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 820px) {
  .page-shell {
    padding: 0 44px;
  }

  .site-header {
    min-height: 96px;
    justify-content: flex-start;
  }

  .site-header .wordmark {
    font-size: clamp(3.65rem, 5vw, 4.35rem);
  }

  main {
    align-items: start;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.72fr);
    gap: clamp(36px, 7vw, 88px);
    padding: 4px 0 64px;
    text-align: left;
  }

  .eyebrow,
  h1,
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .download-area {
    margin-top: 34px;
  }

  .store-badges {
    justify-content: flex-start;
  }

  .hero-visual {
    width: min(31vw, 390px);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    align-items: center;
    text-align: left;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
