:root {
  --ink: #30251a;
  --muted: #80705c;
  --mint: #f6c445;
  --mint-dark: #1fa843;
  --mint-pale: #fdf6e3;
  --blue: #65c9e8;
  --blue-pale: #eaf8ff;
  --orange: #ff9b55;
  --yellow: #ffd466;
  --cream: #fff6e3;
  --white: #fff;
  --line: rgba(48, 37, 26, .11);
  --shadow: 0 24px 70px rgba(150, 110, 55, .13);
  --radius-lg: 36px;
  --radius-md: 24px;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fffdf7;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #167bff;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 0;
}

.site-header.scrolled {
  position: fixed;
  padding: 10px 0;
  background: rgba(255, 253, 247, .9);
  border-bottom: 1px solid rgba(48, 37, 26, .08);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(150, 110, 55, .07);
  animation: header-in .25s ease both;
}

@keyframes header-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav-shell {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 10px 26px rgba(150, 110, 55, .18);
}

.site-header.scrolled .brand img {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.nav-links a,
.privacy-link {
  position: relative;
  font-size: .9rem;
  font-weight: 750;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint-dark);
  transition: left .2s ease, right .2s ease;
}

.nav-links a:hover::after {
  left: 0;
  right: 0;
}

.privacy-link {
  padding: 11px 18px;
  border: 1px solid rgba(48, 37, 26, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 6px 20px rgba(150, 110, 55, .07);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.privacy-link:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(150, 110, 55, .1);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.section {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 810px;
  padding: 155px max(20px, calc((100% - 1180px) / 2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .88fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
  background:
    radial-gradient(circle at 8% 20%, rgba(124, 196, 232, .16), transparent 26%),
    radial-gradient(circle at 82% 30%, rgba(246, 196, 69, .17), transparent 28%),
    linear-gradient(145deg, #fffcf3 0%, #fbf8ec 56%, #f3f7e9 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.eyebrow.centered {
  justify-content: center;
}

.eyebrow.light {
  color: #ffd166;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 28px;
  max-width: 750px;
  font-size: clamp(4rem, 7.1vw, 6.9rem);
  letter-spacing: -.075em;
  font-weight: 900;
}

h1 em,
h2 em {
  color: var(--mint-dark);
  font-style: normal;
}

.hero-lede {
  max-width: 630px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.23rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.coming-soon {
  min-width: 205px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--white);
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(48, 37, 26, .18);
  font-weight: 900;
  line-height: 1.05;
  text-align: left;
  cursor: default;
  opacity: 1;
}

.coming-soon small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: .61rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.play-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint);
  font-size: .72rem;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: .92rem;
  font-weight: 850;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero-tags {
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  color: #8f7f6a;
  font-size: .78rem;
  font-weight: 700;
}

.hero-tags li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(246, 196, 69, .16);
}

.hero-visual {
  position: relative;
  width: min(100%, 510px);
  justify-self: end;
  z-index: 2;
}

.hero-frame {
  position: relative;
  width: 82%;
  margin: 0 auto;
  aspect-ratio: .79;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, .82);
  border-radius: 52px;
  background: #4a3520;
  box-shadow: 0 45px 90px rgba(110, 90, 50, .22), 0 0 0 1px rgba(48, 37, 26, .08);
  transform: rotate(2.5deg);
}

.hero-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.frame-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .27), transparent 28%, transparent 72%, rgba(82, 213, 161, .12));
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  z-index: 4;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 17px;
  background: rgba(255, 255, 255, .87);
  box-shadow: 0 16px 42px rgba(48, 37, 26, .18);
  backdrop-filter: blur(13px);
  animation: float 4.2s ease-in-out infinite;
}

.hero-badge small,
.hero-badge strong {
  display: block;
  line-height: 1.25;
}

.hero-badge small {
  color: var(--muted);
  font-size: .58rem;
  font-weight: 750;
}

.hero-badge strong {
  font-size: .78rem;
}

.hero-badge > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--white);
  background: var(--orange);
  font-size: 1.1rem;
}

.hero-badge img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.badge-level {
  left: -30px;
  top: 18%;
}

.badge-friend {
  right: -15px;
  bottom: 12%;
  animation-delay: -1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.dot-field {
  position: absolute;
  inset: -8% -8% 9% 4%;
  z-index: -1;
  opacity: .55;
  background-image: radial-gradient(circle, rgba(31, 168, 67, .3) 2px, transparent 2.5px);
  background-size: 25px 25px;
  mask-image: linear-gradient(135deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  width: 230px;
  height: 230px;
  right: 7%;
  bottom: -115px;
  background: rgba(255, 212, 102, .35);
}

.hero-glow-two {
  width: 150px;
  height: 150px;
  left: 45%;
  top: 15%;
  background: rgba(124, 196, 232, .17);
}

.arrow-trail {
  position: absolute;
  display: flex;
  gap: 20px;
  color: rgba(31, 168, 67, .15);
  font-weight: 900;
  font-size: 2rem;
  pointer-events: none;
  animation: trail-drift 8s ease-in-out infinite alternate;
}

.trail-one {
  left: 4%;
  bottom: 7%;
  transform: rotate(-15deg);
}

.trail-two {
  right: 2%;
  top: 17%;
  animation-delay: -3s;
}

@keyframes trail-drift {
  to { translate: 24px -14px; }
}

.marquee-strip {
  overflow: hidden;
  color: #f4e8c9;
  background: var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
}

.marquee-content {
  width: max-content;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 28s linear infinite;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.marquee-content i {
  color: var(--yellow);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.about,
.garden-section,
.feature-section,
.gallery-section {
  padding-top: 135px;
  padding-bottom: 135px;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.left .eyebrow {
  justify-content: flex-start;
}

.section-heading h2,
.cta-content h2,
.challenge-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -.06em;
  font-weight: 900;
}

.section-heading > p:last-child {
  max-width: 630px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.left > p:last-child {
  margin-left: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.about-card {
  position: relative;
  min-height: 480px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 55px rgba(150, 110, 55, .08);
}

.about-card h3,
.feature-card h3,
.garden-feature h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  letter-spacing: -.03em;
}

.about-card p,
.feature-card p,
.garden-feature p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .92rem;
}

.card-topline {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-number {
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--mint-dark);
  background: var(--mint-pale);
  font-size: .68rem;
  font-weight: 850;
}

.puzzle-card {
  background: linear-gradient(160deg, #fbf7ec, #f6f2e2);
}

.mini-board {
  position: relative;
  aspect-ratio: 65 / 58;
  margin: 28px 0 22px;
  overflow: hidden;
  border-radius: 26px;
  background: #fff3e6;
  box-shadow: inset 0 0 0 1px rgba(240, 154, 105, .18);
}

.mini-board-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.garden-card {
  color: var(--white);
  background: #4a3520;
}

.garden-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  opacity: .72;
}

.garden-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 34, 22, .94) 3%, rgba(38, 34, 22, .18) 70%);
}

.garden-card .status-pill {
  color: #4a3520;
  background: #ffe9a8;
}

.garden-card-copy {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.garden-card-copy p {
  color: rgba(255, 255, 255, .74);
}

.friends-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #fff6e0, #fffdf5);
}

.friend-stack {
  position: relative;
  height: 225px;
  margin: 22px 0 18px;
  display: flex;
  flex: 0 0 225px;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.friend-stack img {
  position: static;
  width: calc(50% - 4px);
  max-width: 210px;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 25px rgba(132, 84, 34, .13));
}

.friend-stack img:first-child {
  transform: rotate(-2deg);
}

.friend-stack img:last-child {
  transform: rotate(2deg);
}

.play-section {
  width: 100%;
  padding: 135px max(20px, calc((100% - 1180px) / 2));
  background: linear-gradient(145deg, #f9f6ea, #fdfbf2);
}

.play-layout {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) 1fr;
  gap: clamp(70px, 9vw, 135px);
  align-items: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 450px);
  margin: 0 auto;
}

.phone-shell,
.slim-phone {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 10px solid #3b2c1c;
  border-radius: 49px;
  background: #3b2c1c;
  box-shadow: 0 35px 70px rgba(110, 95, 55, .2);
}

.phone-shell {
  position: relative;
  width: 78%;
  margin: 0 auto;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  width: 66px;
  height: 6px;
  border-radius: 99px;
  background: #3b2c1c;
  transform: translateX(-50%);
}

.phone-shell img,
.slim-phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.powerup {
  position: absolute;
  z-index: 4;
  width: 150px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  font-size: .67rem;
  font-weight: 850;
  line-height: 1.3;
}

.powerup img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.powerup-one {
  left: -10px;
  top: 22%;
  transform: rotate(-4deg);
}

.powerup-two {
  right: -12px;
  bottom: 18%;
  transform: rotate(4deg);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 24px 58px 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--mint-dark);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(150, 110, 55, .09);
  font-size: .71rem;
  font-weight: 900;
}

.steps h3 {
  margin: 1px 0 7px;
  font-size: 1.15rem;
  letter-spacing: -.03em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.step-arrow {
  position: absolute;
  right: 6px;
  top: 31px;
  color: var(--mint);
  font-size: 1.5rem;
  font-weight: 900;
}

.challenge-section {
  position: relative;
  width: 100%;
  min-height: 740px;
  padding: 110px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(35, 32, 22, .94) 0%, rgba(48, 42, 28, .8) 48%, rgba(48, 42, 28, .34) 100%),
    url("assets/phone-showcase-bg.webp") center / cover no-repeat,
    #30251a;
  overflow: hidden;
}

.challenge-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 2px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.challenge-copy,
.challenge-phones {
  position: relative;
  z-index: 2;
}

.challenge-copy h2 em {
  color: var(--mint);
}

.challenge-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, .66);
  font-size: 1.05rem;
}

.challenge-stats {
  margin-top: 42px;
  display: flex;
  gap: 42px;
}

.challenge-stats div {
  display: grid;
  gap: 4px;
}

.challenge-stats strong {
  color: var(--yellow);
  font-size: 1.7rem;
  letter-spacing: -.04em;
}

.challenge-stats span {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.challenge-phones {
  height: 520px;
}

.slim-phone {
  position: absolute;
  width: min(220px, 43%);
  border-width: 7px;
  border-radius: 36px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .3);
}

.back-phone {
  left: 7%;
  top: 2%;
  transform: rotate(-4deg);
}

.front-phone {
  right: 7%;
  top: 2%;
  transform: rotate(4deg);
}

.garden-showcase {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) 1fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.garden-scene {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  padding: 12px;
  overflow: hidden;
  border-radius: 42px;
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.garden-scene > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 32px;
}

.scene-label {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 15px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 12px 30px rgba(48, 37, 26, .16);
  backdrop-filter: blur(12px);
  font-size: .72rem;
  font-weight: 850;
}

.scene-label span {
  color: var(--orange);
}

.label-fox {
  right: -28px;
  top: 27%;
}

.label-rabbit {
  left: -28px;
  top: 43%;
}

.garden-features {
  display: grid;
  gap: 6px;
}

.garden-feature {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.feature-icon,
.feature-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  font-weight: 900;
}

.feature-icon {
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
}

.feature-icon.mint { color: #b3720a; background: #fff3d1; }
.feature-icon.orange { color: #c55b16; background: #fff0df; }
.feature-icon.blue { color: #2e7892; background: #e0f7ff; }

.character-ribbon {
  position: relative;
  min-height: 190px;
  margin-top: 28px;
  padding: 18px 20px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  gap: 14px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(110deg, #f7f3e4, #fff7e6);
}

.character-ribbon img {
  position: static;
  width: 100%;
  max-width: 195px;
  max-height: 165px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(82, 81, 46, .12));
}

.character-ribbon img.chest {
  width: 86%;
  max-width: 155px;
}

.feature-section {
  width: 100%;
  padding-left: max(20px, calc((100% - 1180px) / 2));
  padding-right: max(20px, calc((100% - 1180px) / 2));
  background: #faf7ee;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(48, 37, 26, .08);
  border-radius: 28px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 15px 40px rgba(150, 110, 55, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 55px rgba(150, 110, 55, .11);
}

.feature-symbol {
  width: 52px;
  height: 52px;
  margin-bottom: 35px;
  font-size: 1.55rem;
}

.feature-symbol.green { color: #b3720a; background: #fff3d1; }
.feature-symbol.yellow { color: #9b6b00; background: #fff2bc; }
.feature-symbol.pink { color: #c45367; background: #ffe5e9; }
.feature-symbol.blue { color: #277a97; background: #dff6ff; }
.feature-symbol.orange { color: #c65f21; background: #ffeadc; }
.feature-symbol.purple { color: #7457b5; background: #eee7ff; }

.gallery-heading {
  margin-bottom: 52px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.gallery-heading .section-heading {
  margin-bottom: 0;
}

.gallery-heading > p {
  max-width: 240px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.gallery-item {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 6px solid #3b2c1c;
  border-radius: 30px;
  background: #3b2c1c;
  box-shadow: 0 16px 40px rgba(110, 95, 55, .08);
  cursor: zoom-in;
}

.gallery-item:nth-child(even) {
  margin-top: 38px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 13px;
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 8px 24px rgba(48, 37, 26, .15);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 850;
}

.cta-section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 585px;
  margin-bottom: 45px;
  padding: 90px 25px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 196, 232, .23), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255, 212, 102, .2), transparent 30%),
    #3b2c1c;
  text-align: center;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.cta-content > img {
  width: 104px;
  height: 104px;
  margin: 0 auto 24px;
  border: 6px solid rgba(255, 255, 255, .9);
  border-radius: 29px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .23);
  transform: rotate(-4deg);
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content h2 em {
  color: var(--mint);
}

.cta-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, .68);
}

.light-button {
  margin: 0 auto;
  color: var(--ink);
  background: var(--white);
}

.light-button small {
  color: rgba(48, 37, 26, .52);
}

.cta-orbit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  color: rgba(255, 255, 255, .23);
  background: rgba(255, 255, 255, .04);
  font-size: 2rem;
  font-weight: 900;
  transform: rotate(12deg);
}

.orbit-one { left: 9%; top: 18%; }
.orbit-two { right: 10%; top: 13%; transform: rotate(-9deg); }
.orbit-three { right: 17%; bottom: 10%; transform: rotate(8deg); }

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 45px 0 28px;
}

.footer-main {
  padding-bottom: 35px;
  display: grid;
  grid-template-columns: 1fr minmax(250px, 1.3fr) auto;
  align-items: center;
  gap: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: 43px;
  height: 43px;
}

.footer-main > p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.footer-main > a:last-child,
.footer-bottom a {
  font-size: .8rem;
  font-weight: 850;
}

.footer-main > a:last-child span {
  color: var(--mint-dark);
}

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  color: #97876f;
  font-size: .72rem;
}

.footer-bottom p {
  margin: 0;
}

.gallery-dialog {
  width: min(430px, calc(100% - 30px));
  max-height: 92vh;
  padding: 12px;
  overflow: visible;
  border: 0;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
}

.gallery-dialog::backdrop {
  background: rgba(28, 24, 16, .77);
  backdrop-filter: blur(8px);
}

.gallery-dialog img {
  width: 100%;
  max-height: calc(92vh - 55px);
  border-radius: 21px;
  object-fit: contain;
}

.gallery-dialog p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border: 4px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr .74fr;
    gap: 35px;
  }

  h1 {
    font-size: clamp(3.8rem, 7.8vw, 5.6rem);
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .friends-card {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .friend-stack {
    position: absolute;
    width: 48%;
    right: 3%;
    bottom: 10%;
  }

  .friends-card > h3,
  .friends-card > p {
    max-width: 45%;
  }

  .play-layout {
    gap: 60px;
  }

  .challenge-section {
    gap: 35px;
  }

  .challenge-phones {
    height: 490px;
  }

  .slim-phone {
    width: 205px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(680px, calc(100% - 30px));
  }

  .site-header {
    padding: 14px 0;
  }

  .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 2;
  }

  .privacy-link {
    grid-column: 3;
    padding: 9px 13px;
    font-size: .73rem;
  }

  .nav-links {
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 7px);
    padding: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 8px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: min(84%, 480px);
    margin: 15px auto 0;
    justify-self: center;
  }

  .hero-frame {
    width: 80%;
  }

  .trail-one {
    bottom: 43%;
  }

  .about,
  .garden-section,
  .feature-section,
  .gallery-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .friends-card {
    grid-column: auto;
    min-height: 480px;
  }

  .friend-stack {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
  }

  .friends-card > h3,
  .friends-card > p {
    max-width: none;
  }

  .play-layout,
  .garden-showcase {
    grid-template-columns: 1fr;
  }

  .play-copy {
    grid-row: 1;
  }

  .play-copy .section-heading {
    text-align: center;
    margin-left: auto;
  }

  .play-copy .eyebrow {
    justify-content: center;
  }

  .play-copy .section-heading > p:last-child {
    margin-left: auto;
  }

  .phone-stage {
    width: min(100%, 430px);
  }

  .challenge-section {
    padding-top: 100px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .challenge-copy .eyebrow {
    justify-content: center;
  }

  .challenge-copy > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }

  .challenge-stats {
    justify-content: center;
  }

  .challenge-phones {
    width: min(100%, 530px);
    margin: 0 auto;
  }

  .garden-scene {
    width: min(82%, 430px);
  }

  .garden-features {
    max-width: 650px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr auto;
  }

  .footer-main > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  :root {
    --radius-lg: 28px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 4.7rem);
  }

  .section-heading h2,
  .cta-content h2,
  .challenge-copy h2 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-frame {
    width: 86%;
    border-width: 7px;
    border-radius: 38px;
  }

  .hero-badge {
    padding: 9px 11px;
  }

  .badge-level {
    left: -9px;
  }

  .badge-friend {
    right: -7px;
  }

  .marquee-content {
    gap: 20px;
  }

  .about-card {
    padding: 23px;
  }

  .friend-stack img {
    width: calc(50% - 4px);
  }

  .play-section {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .phone-stage {
    width: 94%;
  }

  .phone-shell {
    border-width: 7px;
    border-radius: 38px;
  }

  .powerup {
    width: 135px;
    padding: 10px;
  }

  .powerup-one { left: -15px; }
  .powerup-two { right: -15px; }

  .steps li {
    padding-right: 42px;
  }

  .challenge-stats {
    gap: 25px;
  }

  .challenge-phones {
    height: 430px;
  }

  .slim-phone {
    width: 175px;
    border-width: 5px;
    border-radius: 28px;
  }

  .back-phone { left: 3%; }
  .front-phone { right: 3%; }

  .garden-scene {
    width: 86%;
  }

  .scene-label {
    font-size: .62rem;
  }

  .label-fox { right: -22px; }
  .label-rabbit { left: -22px; }

  .character-ribbon {
    min-height: 150px;
    padding: 14px 12px 10px;
    gap: 8px;
  }

  .character-ribbon img {
    width: 100%;
    max-height: 130px;
  }

  .character-ribbon img.chest {
    width: 86%;
    max-width: 120px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-heading > p {
    max-width: none;
    margin-top: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(even) {
    margin-top: 22px;
  }

  .cta-section {
    width: calc(100% - 24px);
    min-height: 560px;
    margin-bottom: 20px;
    border-radius: 34px;
  }

  .orbit-one { left: 2%; }
  .orbit-two { right: 2%; }
  .orbit-three { right: 4%; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-main > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
