:root {
  --white: #ffffff;
  --text: #292524;
  --text-muted: #57534e;
  --accent: #3b82e6;
  --accent-soft: #f0f7ff;
  --card: rgba(255, 255, 255, 0.92);
  --stroke: rgba(120, 113, 108, 0.25);
  --shadow: rgba(15, 23, 42, 0.14);
}

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

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

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

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

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #9fddf3;
  line-height: 1.45;
  position: relative;
  overflow-x: hidden;
}

.background-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.sky-scene {
  width: 100%;
  height: 100%;
  display: block;
}

.background-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.4) 68%, rgba(255, 255, 255, 0.7));
  z-index: 2;
}

.cloud {
  position: absolute;
  width: 130px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
}

.cloud::before {
  width: 52px;
  height: 52px;
  top: -20px;
  left: 20px;
}

.cloud::after {
  width: 48px;
  height: 48px;
  top: -15px;
  right: 18px;
}

.cloud-1 {
  --scale: 0.9;
  top: 9%;
  left: -12%;
  animation: drift 85s linear infinite;
}

.cloud-2 {
  --scale: 0.75;
  top: 15%;
  left: -20%;
  animation: drift 95s linear infinite 6s;
}

.cloud-3 {
  --scale: 1;
  top: 7%;
  left: -25%;
  animation: drift 78s linear infinite 14s;
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 6px 18px var(--shadow);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

.text-link {
  color: #124f9a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link:hover {
  text-decoration: underline;
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  padding: 12px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.copy {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  padding: 28px 28px 24px;
  box-shadow: 0 16px 48px var(--shadow);
  backdrop-filter: blur(6px);
}

.eyebrow {
  margin: 0 0 8px;
  color: #1d4e9e;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 14px 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 50ch;
}

.benefits {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.benefits li {
  position: relative;
  padding-left: 26px;
  color: #3f3a36;
  font-size: 1rem;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1d4e9e;
  font-weight: 700;
}

.cta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  min-width: 196px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.store-btn.apple {
  background: linear-gradient(180deg, #1f1f1f, #0f0f0f);
}

.store-btn.google {
  background: linear-gradient(180deg, #222, #111);
}

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

.store-copy {
  display: grid;
  line-height: 1.05;
}

.store-copy small {
  font-size: 0.68rem;
  opacity: 0.9;
}

.store-copy strong {
  font-size: 1.12rem;
  font-weight: 700;
}

.mascot-section {
  text-align: center;
  position: relative;
}

.mascot-stage {
  width: min(520px, 90vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}

.mascot-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 79, 0.52) 0%, rgba(255, 213, 79, 0.22) 40%, rgba(255, 213, 79, 0) 72%);
  filter: blur(2px);
}

.mascot-float {
  width: 58%;
  position: relative;
  z-index: 2;
  animation: mascot-bob 3.1s ease-in-out infinite;
}

.mascot-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.22));
}

.mascot-note {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: #134988;
}

.supporting {
  max-width: 1060px;
  margin: 0 auto;
  padding: 8px 24px 54px;
}

.supporting h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-grid article {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 30px rgba(20, 35, 60, 0.12);
}

.support-grid h3 {
  margin: 0;
  font-size: 1.08rem;
}

.support-grid p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.site-footer {
  padding: 0 24px 28px;
}

.site-footer p {
  margin: 0 auto;
  max-width: 1060px;
  font-size: 0.88rem;
  color: #3d546f;
  text-align: center;
}

@keyframes drift {
  from {
    transform: translateX(0) scale(var(--scale, 1));
  }
  to {
    transform: translateX(145vw) scale(var(--scale, 1));
  }
}

@keyframes mascot-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 8px;
  }

  .copy {
    order: 2;
    border-radius: 22px;
  }

  .mascot-section {
    order: 1;
  }

  .mascot-stage {
    width: min(460px, 96vw);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px 14px 0;
  }

  .hero {
    padding: 4px 14px 40px;
  }

  .copy {
    padding: 20px 18px 18px;
  }

  .benefits li {
    font-size: 0.95rem;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .mascot-note {
    margin-top: 0;
  }

  .supporting {
    padding: 4px 14px 44px;
  }

  .site-footer {
    padding: 0 14px 24px;
  }
}
