/* Plant The World landing page.
   Everything visual here is lifted from the app: its palette (hue .36 greens),
   SF Pro Rounded (Nunito as the web fallback), 36px cards, the walking path's
   colours and stroke widths, and its idle motion (sway, orbit, flap, drift). */

:root {
  --green: #2B7A38;        /* buttons, accents */
  --green-deep: #1F662A;
  --green-pale: #C0F0C7;
  --meadow: #2DA46C;
  --path-track: #FFFFFF;
  --path-fill: #E0F5B8;
  --path-dash: rgba(112, 191, 71, .7);
  --path-dot: #70BF47;
  --gold: #F2C524;
  --heart: #FF6185;
  --ink: #000;
  --ink-soft: #4D4D4D;
  --ink-mute: #595959;
  --ink-faint: #666;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --card-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  --text-shadow: 0 2px 0 rgba(31, 102, 42, .25), 0 10px 30px rgba(0, 40, 10, .45);

  /* Liquid Glass (community card) */
  --glass-alpha: 0.46;
  --glass-rim: rgba(255, 255, 255, 0.9);
  --glass-rim-dim: rgba(255, 255, 255, 0.3);
  --glass-glow: rgba(255, 255, 255, 0.28);
  --glass-tile: rgba(255, 255, 255, 0.42);
  --glass-line: rgba(0, 0, 0, 0.08);
  --spec-x: 30%;
  --spec-y: 0%;
}
@property --spec-x { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
@property --spec-y { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--meadow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { font-weight: 900; margin: 0; }
p { margin: 0; }

/* the painted meadow behind everything */
.meadow {
  position: fixed; inset: 0; z-index: 0;
  background: var(--meadow) url("assets/meadow.jpg") center / cover no-repeat;
}
main { position: relative; z-index: 1; }

/* --------------------------------------------------------------- shared */
.display {
  color: #fff;
  text-shadow: var(--text-shadow);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 0 32px;
}
.section {
  position: relative; z-index: 2;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: 72px 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.split > .card { justify-self: stretch; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr .9fr; }
  .split-wide { grid-template-columns: 1.45fr .55fr; }
  .how .split { grid-template-columns: 1fr 1fr; }
  .how .phones { order: -1; }
}

.card {
  background: #fff;
  border-radius: 36px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.card p + p { margin-top: 12px; }
.card .quiet { color: var(--ink-faint); font-size: 15px; }
.card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900; color: var(--ink);
  margin: 0 0 12px;
}
.card-title svg { width: 22px; height: 22px; flex: none; fill: var(--green); }

.button {
  display: flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px; border-radius: 14px;
  background: var(--green); color: #fff;
  font: inherit; font-size: 17px; font-weight: 800;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px rgba(0, 40, 10, .25);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), background-color .2s ease;
}
.button:hover { background: var(--green-deep); }
.button:active { transform: scale(.96); transition-duration: .12s; }
.button:focus-visible { outline: 3px solid var(--green-pale); outline-offset: 3px; }
.hero-cta .button, .footer .button { display: inline-flex; }

/* phone frame; the screenshots carry an App Store headline in their top
   13 %, which the frame crops away since each section has its own */
.phone {
  margin: 0;
  width: min(260px, 72vw);
  padding: 10px;
  border-radius: 44px;
  background: #1c1c1e;
  box-shadow: 0 24px 60px rgba(0, 30, 10, .35), inset 0 0 0 2px #3a3a3c;
}
.phone { --crop: .20; }                    /* share of the screenshot's height hidden at the top */
.screen { border-radius: 34px; overflow: hidden; aspect-ratio: 1 / calc((1 - var(--crop)) * 2.1625); background: var(--meadow); }
.screen img { display: block; width: 100%; height: auto; margin-top: calc(var(--crop) * -216.25%); }
.phones { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.phones .phone { width: min(220px, 42vw); }

/* game idle motion: every tree and flower sways from its base */
@keyframes sway { from { transform: rotate(calc(var(--a, 1.5deg) * -1)); } to { transform: rotate(var(--a, 1.5deg)); } }
.sway {
  transform-origin: 50% 100%;
  transform-box: fill-box;
  animation: sway var(--d, 3s) ease-in-out var(--delay, 0s) infinite alternate;
}

/* bees and butterflies: a slow ellipse, a tilt, and a two-frame wing flap */
@keyframes orbit-x { from { transform: translateX(calc(var(--ox, 14px) * -1)); } to { transform: translateX(var(--ox, 14px)); } }
@keyframes orbit-y { from { transform: translateY(calc(var(--oy, 8px) * -1)); } to { transform: translateY(var(--oy, 8px)); } }
@keyframes tilt { from { transform: rotate(calc(var(--tilt, 20deg) * -1)); } to { transform: rotate(var(--tilt, 20deg)); } }
@keyframes flap-a { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes flap-b { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes flap-bg { 50% { background-image: var(--f1); } }
.orbit-x { animation: orbit-x var(--T, 5s) ease-in-out infinite alternate; }
.orbit-y { animation: orbit-y calc(var(--T, 5s) * .55) ease-in-out infinite alternate; }
.tilt { animation: tilt calc(var(--T, 5s) * .8) ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 50%; }
.flyer .f0 { animation: flap-a var(--flap, .15s) steps(1) infinite; }
.flyer .f1 { animation: flap-b var(--flap, .15s) steps(1) infinite; }
.bee { --T: 4.4s; --ox: 15px; --oy: 9px; --tilt: 24deg; --flap: .15s; }
.butterfly { --T: 7.5s; --ox: 22px; --oy: 14px; --tilt: 34deg; --flap: .26s; }
.flyer-html { position: absolute; }
.flyer-html .sprite {
  width: 100%; aspect-ratio: 1;
  background: var(--f0) center / contain no-repeat;
  animation: flap-bg var(--flap, .2s) steps(1) infinite;
}
.bee-html { --T: 4.4s; --ox: 12px; --oy: 7px; --tilt: 24deg; }
.butterfly-html { --T: 7.5s; --ox: 20px; --oy: 12px; --tilt: 34deg; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; z-index: 2; height: 320vh; overflow: clip; }
/* the scene is not clipped, so the planted card's shadow can fall past its
   bottom edge instead of being sliced off; only the cloud layer is clipped */
.scene {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column;
}
.cloud-clip { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }

/* the app's clouds: Cloud4 seen through a drifting Cloud6 luminance mask;
   the whole layer is rotated by a random angle at load like the app */
.clouds {
  position: absolute; inset: -50%;
  transform: rotate(var(--cloud-rot, 0deg));
  transition: opacity .8s ease;
}
.cloud {
  position: absolute; width: 38%; aspect-ratio: 720 / 264;
  background: url("assets/cloud.png") center / contain no-repeat;
  opacity: .32;
  -webkit-mask-image: url("assets/cloud-mask.jpg");
  mask-image: url("assets/cloud-mask.jpg");
  -webkit-mask-size: 170% 170%;
  mask-size: 170% 170%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-source-type: luminance;
  mask-mode: luminance;
  animation: drift var(--cd, 120s) linear infinite, mask-drift calc(var(--cd, 120s) * 1.25) linear infinite;
}
.cloud-a { top: 22%; --cd: 110s; animation-delay: -30s, -30s; }
.cloud-b { top: 46%; width: 48%; --cd: 150s; animation-delay: -90s, -90s; }
.cloud-c { top: 68%; --cd: 130s; opacity: .24; animation-delay: -10s, -10s; }
@keyframes drift { from { transform: translateX(-120%); } to { transform: translateX(380%); } }
@keyframes mask-drift { from { -webkit-mask-position: 0% 0%; mask-position: 0% 0%; } to { -webkit-mask-position: 100% 100%; mask-position: 100% 100%; } }

.grove-edge { position: absolute; top: 0; bottom: 0; width: 24%; z-index: 1; display: none; }
.grove-left { left: 0; } .grove-right { right: 0; }
.grove-edge img { position: absolute; }
@media (min-width: 900px) { .grove-edge { display: block; } }

/* the planting spotlight: 80 % black with a soft hole where the tree grows */
.spotlight {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 40%),
    rgba(0,0,0,0) var(--sr, 120px), rgba(0,0,0,.8) calc(var(--sr, 120px) * 1.5));
  opacity: var(--spot, 0);
}

.hero-head {
  position: relative; z-index: 3; flex: none;
  text-align: center;
  padding: max(24px, env(safe-area-inset-top)) 16px 0;
}
.hero-head h1 {
  color: #fff; text-shadow: var(--text-shadow);
  font-size: clamp(34px, 7vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em;
  max-width: 13ch; margin: 0 auto;
}
.lede {
  color: #fff; text-shadow: 0 1px 2px rgba(0,40,10,.4), 0 6px 20px rgba(0,40,10,.35);
  font-size: clamp(15px, 2vw, 19px); font-weight: 700; line-height: 1.4;
  max-width: 44ch; margin: 12px auto 0;
}

.loop-wrap {
  position: relative; z-index: 3;
  flex: 1 1 auto; min-height: 0;
  align-self: center;
  height: 56dvh; aspect-ratio: 402 / 490; max-width: 100%;
  margin: 6px auto;
  --loop-w: 402px;
}
.loop { display: block; width: 100%; height: 100%; overflow: visible; }

.track, .fill, .dashes, .mask-stroke { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.track { stroke: var(--path-track); stroke-width: 28.14; }
.fill { stroke: var(--path-fill); stroke-width: 28.14; }
.mask-stroke { stroke: #fff; stroke-width: 28.14; }
.dashes { stroke: var(--path-dash); stroke-width: 8.04; stroke-dasharray: 19.3 12.06; }

.dot circle { fill: var(--path-track); transition: fill .25s ease; }
.dot.on circle { fill: var(--path-dot); }
.dot .glyph { opacity: .5; transition: opacity .25s ease; }
.dot.on .glyph { opacity: 1; }
.award { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .7s cubic-bezier(.34,1.56,.64,1); }
.award.on { transform: scale(1); }
.grown { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--grow, 0)); }
.flyer { opacity: 0; transition: opacity .5s ease; }
.flyer.on { opacity: 1; }

.counter {
  position: absolute; left: 52.5%; top: 53.7%;
  transform: translate(-50%, -50%);
  text-align: center; color: #fff; pointer-events: none;
  text-shadow: 0 2px 10px rgba(0,40,10,.45);
  transition: opacity .3s ease;
}
.steps { font-size: calc(var(--loop-w) * .14); font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.steps-label { font-size: calc(var(--loop-w) * .04); font-weight: 800; margin-top: 4px; }
.scene.ready .counter { opacity: 0; }

@keyframes pulse-btn { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-50%, -50%) scale(1.06); } }
.plant {
  position: absolute; left: 52.5%; top: 53.7%;
  transform: translate(-50%, -50%) scale(.8);
  height: 52px; padding: 0 30px; border: 0; border-radius: 14px;
  background: var(--green); color: #fff;
  font: inherit; font-size: calc(var(--loop-w) * .055); font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 40, 10, .3);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.scene.ready .plant { opacity: 1; animation: pulse-btn .9s ease-in-out infinite alternate; }
.scene.spot .plant { opacity: 0; animation: none; }

.hero-cta {
  position: relative; z-index: 3; flex: none;
  text-align: center;
  padding: 6px 16px max(18px, env(safe-area-inset-bottom));
}
.hint {
  color: #fff; font-size: 13px; font-weight: 700; margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0,40,10,.5);
  transition: opacity .4s ease;
}
.scene.walking .hint { opacity: 0; }

/* the "Tree Planted!" card springs up when the loop is complete */
.planted-card {
  position: absolute; z-index: 6;
  left: 50%; bottom: max(28px, env(safe-area-inset-bottom));
  width: min(100% - 32px, 400px);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.3,.64,1), opacity .25s ease;
  text-align: left;
}
.planted-card h2 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.planted-card p { font-size: 16px; }
/* as in the app: text left, button spanning the card */
.planted-card .button { display: flex; width: 100%; margin-top: 20px; height: 48px; }
.scene.is-planted .planted-card { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------------------------------------ real trees */

/* ---------------------------------------------------------- how it works */
.steps-path { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; width: 100%; }
.steps-path li { position: relative; background: rgba(255,255,255,.94); border-radius: 18px; padding: 16px 20px; margin: 0 0 20px; box-shadow: var(--card-shadow); }
.steps-path li:last-child { margin-bottom: 0; }
/* the path runs from each dot to the next. Dots sit at the vertical centre
   of their card, so each card draws the track from its centre down into the
   gap, and (except the first) from its top up to its centre; the dashes are
   anchored at the join so the pattern reads as one line. */
.steps-path li::before, .steps-path li::after {
  position: absolute; left: -52px; width: 22px;
  background:
    repeating-linear-gradient(to bottom, var(--path-dash) 0 12px, transparent 12px 20px) 8px 0 / 6px 100% no-repeat,
    var(--path-fill);
  box-shadow: inset 0 0 0 4px var(--path-track);
}
.steps-path li:not(:last-child)::before { content: ""; top: 50%; bottom: -20px; background-position: 8px bottom, 0 0; }
.steps-path li:not(:first-child)::after { content: ""; top: 0; bottom: 50%; background-position: 8px top, 0 0; }
.steps-path h3 { font-size: 19px; margin-bottom: 4px; }
.steps-path p { color: var(--ink-mute); font-size: 16px; line-height: 1.5; }
.steps-path .dot {
  position: absolute; left: -64px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--path-dot); box-shadow: 0 0 0 4px var(--path-track);
  display: grid; place-items: center;
}
.steps-path .dot svg { width: 24px; height: 24px; fill: #000; }
.steps-path .dot img { width: 34px; height: 34px; object-fit: contain; }
.note { color: #fff; text-shadow: 0 1px 2px rgba(0,40,10,.5); font-size: 15px; margin-top: 28px; text-align: center; }

/* ------------------------------------------------------ planted together */
.community {
  position: relative; z-index: 2;
  min-height: max(100dvh, 760px);
  overflow: hidden;
}
#forest { position: absolute; inset: 0; width: 100%; height: 100%; }
#forest.fade { opacity: 0; }
#forest.fade.in { opacity: 1; transition: opacity .4s ease-out; }
.community .display {
  position: relative; z-index: 2;
  text-align: center; margin: 72px auto 0; padding: 0 16px; max-width: 18ch;
}

/* Liquid Glass: base tint + a lens canvas that renders the scene behind the
   card (soft in the middle, refracted at the rim), a specular rim that
   follows the light, and an inner glow. */
.glass {
  position: relative;
  background: transparent; padding: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    inset 0 -1px 0 rgba(255,255,255,.2),
    inset 0 16px 40px var(--glass-glow),
    inset 0 -12px 30px rgba(0, 40, 15, .08),
    0 24px 60px rgba(0, 30, 10, .32);
}
.tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(165deg,
    rgba(255,255,255, calc(var(--glass-alpha) + .14)) 0%,
    rgba(255,255,255, var(--glass-alpha)) 45%,
    rgba(255,255,255, calc(var(--glass-alpha) - .06)) 100%);
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; padding: 1.5px;
  background: radial-gradient(120% 90% at var(--spec-x) var(--spec-y),
    var(--glass-rim) 0%, var(--glass-rim) 8%, var(--glass-rim-dim) 45%, rgba(255,255,255,.55) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(70% 45% at var(--spec-x) var(--spec-y), rgba(255,255,255,.32), rgba(255,255,255,0) 70%);
}
@media (hover: none) { .glass { animation: spec-drift 14s ease-in-out infinite alternate; } }
@keyframes spec-drift { from { --spec-x: 15%; --spec-y: 0%; } to { --spec-x: 85%; --spec-y: 12%; } }

.community-card {
  position: absolute; z-index: 5;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(100% - 32px, 440px);
  border-radius: 36px; overflow: hidden;
}
.lens { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; filter: saturate(1.15) brightness(1.04); }
.card-body { position: relative; z-index: 3; padding: 24px; }
.community-h { font-size: 20px; margin: 0 0 14px; color: var(--ink); }
.hero-count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.count { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--green); }
.count.loading { color: rgba(0,0,0,.18); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.hero-label { font-size: 15px; color: var(--ink-soft); line-height: 1.3; max-width: 200px; }
.tiles { display: flex; gap: 12px; margin-bottom: 20px; }
.tile {
  flex: 1 1 0; padding: 12px 6px;
  background: var(--glass-tile); border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,255,255,.18);
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.tile .emoji { font-size: 24px; line-height: 1; }
.tile .value { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.tile .label { font-size: 11px; color: var(--ink-faint); }
.community-card .button { height: 46px; border-radius: 12px; }
@media (min-width: 1400px) {
  .community-card { width: 520px; }
  .community-card .card-body { padding: 28px; }
  .community-h { font-size: 22px; }
  .count { font-size: 66px; }
  .hero-label { font-size: 16px; max-width: 240px; }
  .tile .value { font-size: 19px; }
  .tile .label { font-size: 12px; }
}
.meta { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--ink-faint); line-height: 1.5; }
.meta .warn { color: #B5541C; }

/* ------------------------------------------------------------ two groves */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
@media (max-width: 560px) { .panels { grid-template-columns: 1fr; } }
.panel {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 28px; box-shadow: var(--card-shadow);
}
.panel-bg, .water { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.forest-panel .panel-bg { object-position: left top; }
.autumn-panel .panel-bg, .water { object-position: right top; }
.panel > img.sway, .panel > img[style] { position: absolute; }
.water { opacity: 0; animation: water 1.5s steps(1, end) infinite; }
.w1 { animation-delay: .5s; } .w2 { animation-delay: 1s; }
@keyframes water { 0% { opacity: 1; } 33.34% { opacity: 0; } }
.panel figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(255,255,255,.92); border-radius: 14px;
  padding: 10px 14px; font-size: 15px; font-weight: 800; color: var(--ink);
}

/* ------------------------------------------------------- critter friends */
.critters .intro { max-width: 640px; }
.strip {
  position: relative; margin-top: 32px; height: 230px;
  border-radius: 28px; overflow: hidden; box-shadow: var(--card-shadow);
  background: var(--meadow) url("assets/meadow.jpg") center 85% / cover no-repeat;
}
.strip-tree { position: absolute; bottom: 70px; }
.perch { position: absolute; top: 28px; width: 56px; height: auto; }
.critter {
  position: absolute; bottom: 10px;
  width: 92px; height: 92px; padding: 0; border: 0; background: none;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.critter.small { width: 62px; height: 62px; bottom: 16px; }
.critter.glider { bottom: 2px; width: 84px; height: 84px; }
.critter img { width: 100%; height: 100%; display: block; }
.critter.flip img { transform: scaleX(-1); }
.critter:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 14px; }
.heart { position: absolute; color: var(--heart); font-size: 18px; pointer-events: none; z-index: 2; }
@media (max-width: 600px) {
  .strip { height: 190px; }
  .strip-tree { width: 84px !important; bottom: 56px; }
  .perch { width: 40px; top: 20px; }
  .critter { width: 64px; height: 64px; }
  .critter.small { width: 44px; height: 44px; bottom: 14px; }
  .critter.glider { width: 60px; height: 60px; }
}

/* ------------------------------------------------------------------- faq */
.faq-split { align-items: start; }
.rows { display: grid; gap: 10px; max-width: 640px; width: 100%; }
.row { background: #fff; border-radius: 18px; padding: 0 20px; box-shadow: var(--card-shadow); }
.row summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-size: 17px; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.row summary::-webkit-details-marker { display: none; }
.row summary::after { content: "+"; color: var(--green); font-size: 22px; font-weight: 900; line-height: 1; }
.row[open] summary::after { content: "−"; }
.row summary:focus-visible { outline: 3px solid var(--green-pale); outline-offset: -3px; border-radius: 10px; }
.row p { padding: 0 0 16px; color: var(--ink-mute); font-size: 16px; line-height: 1.5; }

/* ---------------------------------------------------------------- footer */
.footer {
  position: relative; z-index: 2;
  padding: 72px 16px 48px;
  display: grid; gap: 22px; justify-items: center; text-align: center;
  color: #fff; text-shadow: 0 1px 2px rgba(0,40,10,.5);
  background: linear-gradient(rgba(20,60,26,0), rgba(20,60,26,.85));
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; }
.brand img { border-radius: 12px; }
.links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.links a { color: #fff; }

/* ------------------------------------------------------------- behaviour */
body.paused * { animation-play-state: paused !important; }

@media (max-height: 700px) {
  .lede { display: none; }
  .hero-head h1 { font-size: clamp(28px, 6vw, 44px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .scene { position: relative; height: auto; min-height: 100dvh; }
  .sway, .orbit-x, .orbit-y, .tilt, .flyer .f0, .flyer .f1, .sprite, .cloud, .water, .plant, .glass, .count.loading { animation: none !important; }
  .award, .flyer, .dot circle, .dot .glyph, .planted-card, .button, .counter, .hint { transition: none !important; }
  .flyer .f1 { opacity: 0; }
}
