:root {
  --leaf: #2f8a35;
  --leaf-dark: #1f5f29;
  --leaf-soft: #e8ffd9;
  --sun: #ffd356;
  --cream: #fff8df;
  --ink: #203f26;
  --muted: #5f745f;
  --line: #cde9bf;
  --shadow: 0 20px 45px rgba(39, 87, 35, .16);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: #fbfff5;
  overflow-x: hidden;
}

.fw-black {
  font-weight: 900;
}

.text-muted-green {
  color: var(--muted);
}

.text-leaf-soft {
  color: var(--leaf-soft);
}

.py-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.twiggy-navbar {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .94) !important;
}

.brand {
  color: var(--leaf-dark);
  font-size: 1.5rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #71400d;
  background: radial-gradient(circle at 50% 25%, #a9ff3e, #71c831 55%, #b87934 56%);
  border: 2px solid #183c1d;
  border-radius: 50%;
}

.tm {
  font-size: .45em;
  margin-left: 1px;
  vertical-align: super;
}

.nav-link {
  color: #315d31;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--leaf);
}

.btn-sun {
  color: #5a3900;
  background: linear-gradient(#ffe889, #ffc53f);
  border: 0;
  box-shadow: 0 6px 0 #c98721;
}

.btn-sun:hover,
.btn-sun:focus {
  color: #4b3000;
  background: linear-gradient(#fff0a3, #ffd45a);
}

.hero {
  min-height: 760px;
  isolation: isolate;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-bg {
  object-fit: cover;
  object-position: 62% center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 244, 197, .96) 0%, rgba(255, 244, 197, .72) 37%, rgba(255, 244, 197, .08) 70%),
    linear-gradient(0deg, rgba(25, 68, 23, .22), rgba(25, 68, 23, 0) 42%);
}

.hero h1,
.display-1,
.display-3,
.display-4,
.display-5,
h2,
h3 {
  color: var(--leaf-dark);
  line-height: .98;
}

.hero h1 {
  max-width: 720px;
  text-shadow: 0 4px 0 #fff5b7;
}

.hero-copy {
  max-width: 620px;
  color: #355b34;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.kicker {
  margin: 0 0 .75rem;
  color: var(--leaf-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intro-band {
  background: var(--leaf-dark);
}

.shadow-soft {
  box-shadow: var(--shadow);
}

.story-image,
.family-image {
  width: 100%;
  min-height: 34rem;
  object-fit: cover;
}

.story-image {
  object-position: 68% center;
}

.family-image {
  object-position: 58% center;
}

.story-card,
.character-card {
  border: 2px solid var(--line);
  border-radius: .5rem;
  box-shadow: 0 12px 28px rgba(47, 95, 35, .08);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: .65rem;
  color: #5a3900;
  background: var(--sun);
  border-radius: 50%;
  font-weight: 900;
}

.character-card {
  overflow: hidden;
}

.character-img {
  width: 100%;
  height: 245px;
  padding: 1rem 1rem 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .12));
}

.tall-img {
  height: 320px;
}

.twiggy-badge {
  align-self: flex-start;
  color: var(--leaf-dark);
  background: var(--leaf-soft);
  border: 1px solid #bfe5ae;
  border-radius: 999px;
  font-size: .88rem;
}

.app-section {
  background: linear-gradient(180deg, #fff7cc, #e9ffdc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phone {
  max-width: 360px;
  padding: 12px;
  background: #223422;
  border-radius: 42px;
  box-shadow: 0 30px 55px rgba(0, 0, 0, .28);
}

.phone-bar {
  width: 80px;
  height: 7px;
  margin: 10px auto 14px;
  background: #637063;
  border-radius: 999px;
}

.phone-screen {
  min-height: 620px;
  padding: 24px 20px;
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 255, 255, .9), transparent 24%),
    linear-gradient(#67d0ff, #edffd8);
  border-radius: 30px;
  text-align: center;
}

.phone-screen img {
  height: 255px;
  margin: 1rem auto 1.25rem;
  object-fit: contain;
}

.twiggy-list .list-group-item {
  padding: 1rem 1.15rem;
  background: var(--cream);
  border: 2px solid #f0d98d;
}

.twiggy-list strong,
.twiggy-list span {
  display: block;
}

.twiggy-list span {
  color: var(--muted);
}

.vision-panel {
  background:
    linear-gradient(120deg, rgba(31, 95, 41, .97), rgba(49, 125, 48, .9)),
    url("assets/garden.png") center / cover;
  box-shadow: var(--shadow);
}

.stat-box {
  padding: 1.1rem;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: .5rem;
}

.stat-box strong,
.stat-box span {
  display: block;
}

.stat-box strong {
  color: var(--sun);
  font-size: 3rem;
  line-height: 1;
}

.contact-section {
  background: linear-gradient(180deg, #f9ffef, #dcffd0);
}

.contact-tree {
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .14));
}

.site-footer {
  color: #eaffdf;
  background: #203f26;
}

.app-demo-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 211, 86, .35), transparent 30%),
    linear-gradient(180deg, #f7fff0, #e7ffdc 42%, #fbfff5);
}

.app-hero {
  min-height: calc(100vh - 72px);
}

.app-showcase {
  position: relative;
  max-width: 440px;
}

.app-phone {
  max-width: 390px;
}

.app-live-screen {
  position: relative;
  overflow: hidden;
}

.app-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: .75rem;
  color: #315d31;
  font-size: .78rem;
  font-weight: 900;
}

.app-home-view {
  display: none;
  animation: appFade .18s ease-out;
}

.app-home-view.active {
  display: block;
}

.app-pill {
  display: inline-flex;
  margin: 0 auto .65rem;
  padding: .42rem .75rem;
  color: var(--leaf-dark);
  background: rgba(232, 255, 217, .95);
  border: 1px solid #bfe5ae;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.app-avatar {
  width: auto;
  height: 245px;
  max-width: 100%;
  margin: .5rem auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .14));
}

.app-avatar.short {
  height: 190px;
}

.garden-meter {
  width: 100%;
  height: 18px;
  padding: 3px;
  margin: .5rem 0 .35rem;
  background: rgba(255, 255, 255, .85);
  border: 2px solid #bfe5ae;
  border-radius: 999px;
}

.garden-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #5cc63e, #ffd356);
  border-radius: 999px;
}

.quest-card,
.parent-panel {
  padding: 1rem;
  margin: 1rem 0;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border: 2px solid var(--line);
  border-radius: 1rem;
  text-align: left;
}

.quest-card strong,
.quest-card span,
.parent-panel strong,
.parent-panel span {
  display: block;
}

.quest-card span,
.parent-panel span {
  margin-top: .35rem;
  color: var(--muted);
  font-weight: 700;
}

.reward-burst {
  display: grid;
  min-height: 96px;
  place-items: center;
  margin: 1rem 0;
  color: #5a3900;
  background: radial-gradient(circle, #fff4af, #ffd356);
  border: 3px solid #e4a928;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 900;
}

.app-story-art {
  width: 100%;
  height: 170px;
  margin: .75rem 0 1rem;
  object-fit: cover;
  object-position: 64% center;
  border-radius: 1rem;
  box-shadow: 0 12px 20px rgba(31, 95, 41, .14);
}

.chapter-list,
.badge-garden {
  display: grid;
  gap: .55rem;
  margin: 1rem 0;
}

.chapter-list span,
.badge-garden div {
  padding: .75rem;
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, .92);
  border: 2px solid var(--line);
  border-radius: .85rem;
  font-weight: 900;
}

.chapter-list .done {
  color: #5a3900;
  background: #fff1a8;
  border-color: #edc84c;
}

.badge-garden {
  grid-template-columns: repeat(2, 1fr);
}

.qr-box {
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
  margin: 1rem auto;
  color: var(--leaf-dark);
  background:
    linear-gradient(90deg, #203f26 12px, transparent 12px) 0 0 / 36px 36px,
    linear-gradient(#203f26 12px, transparent 12px) 0 0 / 36px 36px,
    #fff;
  border: 10px solid #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  font-weight: 900;
}

.app-floating-card {
  position: absolute;
  right: -10px;
  bottom: 42px;
  width: 205px;
  padding: 1rem;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: .75rem;
  box-shadow: var(--shadow);
}

.app-floating-card strong,
.app-floating-card span {
  display: block;
}

.app-floating-card span {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .9rem;
}

.app-feature-card {
  border: 2px solid var(--line);
  border-radius: .5rem;
  box-shadow: 0 12px 28px rgba(47, 95, 35, .08);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 1rem;
  color: #5a3900;
  background: var(--sun);
  border-radius: 50%;
  font-weight: 900;
}

.app-parent-section {
  background: linear-gradient(180deg, #fff7cc, #e9ffdc);
  border-top: 1px solid var(--line);
}

@keyframes appFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 680px;
  }

  .hero-bg {
    object-position: 70% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 244, 197, .97) 0%, rgba(255, 244, 197, .84) 56%, rgba(255, 244, 197, .25) 100%),
      linear-gradient(0deg, rgba(25, 68, 23, .22), rgba(25, 68, 23, 0) 42%);
  }

  .navbar-nav {
    padding-top: .75rem;
  }
}

@media (max-width: 575.98px) {
  .brand {
    font-size: 1.3rem;
  }

  .py-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero .kicker {
    max-width: 330px;
    font-size: .75rem;
    letter-spacing: .045em;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .story-image,
  .family-image {
    min-height: 340px;
  }

  .phone-screen {
    min-height: 560px;
  }

  .app-floating-card {
    position: static;
    width: auto;
    margin-top: 1rem;
  }

  .app-avatar {
    height: 215px;
  }

  .app-avatar.short {
    height: 170px;
  }
}
