:root {
  --bg: #fffbff;
  --surface: #fdf9ed;
  --surface-2: #ffffff;
  --muted: #f2eedd;
  --brand: #396e63;
  --brand-dark: #2c6157;
  --brand-soft: #b1e8da;
  --text: #39382a;
  --text-secondary: #666555;
  --text-muted: #838170;
  --border: #ece9d4;
  --gold: #f6d56b;
  --gold-deep: #7b6100;
  --shadow: 0 20px 50px rgba(57, 56, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Avenir Next",
    "Nunito Sans",
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(57, 110, 99, 0.08), transparent 26rem),
    radial-gradient(circle at bottom right, rgba(123, 97, 0, 0.09), transparent 20rem),
    var(--bg);
  color: var(--text);
}

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

.page-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0 2rem;
}

.brand img {
  width: min(270px, 58vw);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--brand);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: rgba(177, 232, 218, 0.32);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.story-copy h2,
.cta-panel h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text,
.story-copy p,
.cta-panel p,
.info-card p,
.feature-row p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 38rem;
  margin: 1.2rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-actions--compact {
  justify-content: flex-start;
  margin-top: 1rem;
}

.store-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  min-height: 70px;
  border-radius: 28px;
  padding: 1rem 1.25rem;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
}

.store-button--play {
  background: linear-gradient(135deg, var(--brand) 0%, #65bca9 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(57, 110, 99, 0.24);
}

.store-button--apple {
  background: var(--surface-2);
  color: var(--brand);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.store-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.8;
}

.store-name {
  margin-top: 0.2rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-note code {
  background: rgba(57, 110, 99, 0.08);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(390px, 100%);
  padding: 1rem;
  border-radius: 38px;
  background: linear-gradient(180deg, #fdf9ed 0%, #fffdf7 100%);
  box-shadow:
    0 25px 50px rgba(57, 56, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(57, 110, 99, 0.08), transparent 11rem),
    #fffef8;
  border: 1px solid rgba(236, 233, 212, 0.9);
}

.mock-header,
.mock-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mock-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.mock-brand span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mock-pill {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(177, 232, 218, 0.24);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.mock-card {
  margin-top: 1rem;
  border-radius: 28px;
  padding: 1.1rem;
  border: 1px solid rgba(236, 233, 212, 0.9);
}

.mock-card--mission,
.mock-card--journey {
  background: linear-gradient(180deg, #fffdf7 0%, #faf5e8 100%);
}

.mock-card--parent {
  background: linear-gradient(180deg, rgba(177, 232, 218, 0.18), rgba(177, 232, 218, 0.1));
}

.mock-card h3,
.mock-card strong {
  margin: 0;
  font-size: 1.15rem;
}

.mock-card p {
  margin: 0.45rem 0 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.mock-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(249, 169, 172, 0.5);
  color: #6b3236;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(57, 110, 99, 0.22);
}

.mock-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.mock-track::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: calc(50% - 1px);
  border-top: 3px dashed #ddd6c3;
}

.mock-node {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.mock-node--done {
  background: var(--brand);
}

.mock-node--reward {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9);
}

.mock-node--locked {
  background: #f7f4ea;
  border: 2px solid #dfd9c6;
}

.mock-map-icon {
  width: 48px;
  height: 48px;
  opacity: 0.35;
  background:
    linear-gradient(90deg, transparent 30%, #dbd4c0 30%, #dbd4c0 36%, transparent 36%,
      transparent 63%, #dbd4c0 63%, #dbd4c0 69%, transparent 69%),
    linear-gradient(135deg, transparent 8%, #dbd4c0 8%, #dbd4c0 14%, transparent 14%,
      transparent 48%, #dbd4c0 48%, #dbd4c0 54%, transparent 54%);
  clip-path: polygon(0 18%, 26% 4%, 52% 18%, 74% 8%, 100% 24%, 100% 82%, 74% 96%, 48% 82%, 26% 92%, 0 76%);
}

.mock-status {
  color: var(--gold-deep);
  font-weight: 800;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.info-card,
.cta-panel {
  border-radius: 36px;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(253, 249, 237, 0.96), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(236, 233, 212, 0.9);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(177, 232, 218, 0.26);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h2 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
}

.story-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 3rem 0;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(236, 233, 212, 0.9);
}

.feature-row h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-bullet {
  width: 18px;
  height: 18px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), #ffe8a0);
  box-shadow: 0 0 0 5px rgba(246, 213, 107, 0.16);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.site-footer img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.site-footer span {
  color: var(--text-muted);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .hero,
  .story-section,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero h1,
  .story-copy h2,
  .cta-panel h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .store-button {
    width: 100%;
    min-width: 0;
  }
}
