/* Grow Guava site.
   Look: playful summer, guava and plants. Cream like guava flesh, guava-pink
   accent, leaf green, a little sun yellow, seed-brown ink. Hand-drawn edges and
   doodle icons (inline SVG symbols, one loose 2px stroke). Dark mode is a deep
   leaf green with the same tokens flipped. Flat colour only, no gradients. */

:root {
  --paper: #ffffff;
  --paper-2: #fff3f6;
  --paper-3: #ffe3ea;
  --ink: #2b2326;
  --ink-2: #5d4f54;
  --ink-3: #8f7f85;
  --rule: #efd9df;
  --accent: #ef4b7c;
  --accent-2: #d12f63;
  --accent-ink: #ffffff;
  --leaf: #3f9a5a;
  --leaf-2: #d7efd8;
  --sun: #ffc93c;
  --sun-2: #fff0c2;
  --blush: #ffe1ea;
  --bark: #b5784a;
  --warn-bg: #fff0c2;
  --warn-ink: #5c4210;
  --crisis-bg: #e4e9ee;
  --crisis-ink: #1e2e47;
  --skeleton: #ffe3ea;
  --skeleton-2: #fff3f6;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 7c10-5 20 4 30 0s20-6 30-1 20 5 30 0 20-6 30 1' fill='none' stroke='%23ffc1d3' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='10' viewBox='0 0 200 10'%3E%3Cpath d='M2 6c20-4 40 3 60 0s40-5 60 0 40 4 60 0 16-3 16-3' fill='none' stroke='%23f5c451' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --seeds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='%232b2326' fill-opacity='0.14'%3E%3Cellipse cx='6' cy='7' rx='1.6' ry='2.1' transform='rotate(-20 6 7)'/%3E%3Cellipse cx='20' cy='12' rx='1.5' ry='2' transform='rotate(25 20 12)'/%3E%3Cellipse cx='11' cy='22' rx='1.6' ry='2.1' transform='rotate(10 11 22)'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Nunito", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --measure: 42rem;
  --wide: 60rem;
  --gutter: 16px;
  /* Hand-drawn edges: uneven radii read as a quick pen outline. */
  --sk-a: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --sk-b: 15px 255px 15px 225px / 225px 15px 255px 15px;
  --sk-c: 125px 10px 20px 185px / 25px 205px 205px 25px;
  --arch: 999px 999px 18px 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1a1f;
    --paper-2: #27242b;
    --paper-3: #342e36;
    --ink: #f8f0f2;
    --ink-2: #cfc2c7;
    --ink-3: #978a90;
    --rule: #433a41;
    --accent: #ff6f99;
    --accent-2: #ff8fb0;
    --accent-ink: #231418;
    --leaf: #7fcf8f;
    --leaf-2: #27402e;
    --sun: #ffc93c;
    --sun-2: #4a3f22;
    --blush: #4a2a36;
    --bark: #8a5a3a;
    --warn-bg: #4a3f22;
    --warn-ink: #f7e3b3;
    --crisis-bg: #1f2a3b;
    --crisis-ink: #dbe5f5;
    --skeleton: #2d3d30;
    --skeleton-2: #36483a;
    --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 7c10-5 20 4 30 0s20-6 30-1 20 5 30 0 20-6 30 1' fill='none' stroke='%233f5a45' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='10' viewBox='0 0 200 10'%3E%3Cpath d='M2 6c20-4 40 3 60 0s40-5 60 0 40 4 60 0 16-3 16-3' fill='none' stroke='%23f5c451' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    --seeds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='%23f6ecdd' fill-opacity='0.14'%3E%3Cellipse cx='6' cy='7' rx='1.6' ry='2.1' transform='rotate(-20 6 7)'/%3E%3Cellipse cx='20' cy='12' rx='1.5' ry='2' transform='rotate(25 20 12)'/%3E%3Cellipse cx='11' cy='22' rx='1.6' ry='2.1' transform='rotate(10 11 22)'/%3E%3C/g%3E%3C/svg%3E");
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17.5px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.3rem);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  margin-top: 0;
  font-variation-settings: "opsz" 72, "SOFT" 100;
}

h3 {
  font-size: 1.1rem;
  font-family: var(--font-text);
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

/* A hand-drawn clay underline for one phrase in a heading. */
.mark {
  font-style: inherit;
  background: var(--scribble) no-repeat left bottom / 100% 0.55em;
  padding-bottom: 0.14em;
}

code,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

pre {
  background: var(--paper-2);
  border: 2px solid var(--ink-3);
  border-radius: var(--sk-c);
  padding: 1rem 1.2rem;
  overflow-x: auto;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

code {
  background: var(--paper-2);
  padding: 0.05em 0.35em;
  border-radius: 6px 3px 7px 4px;
}

pre code {
  background: none;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap.wide {
  max-width: var(--wide);
}

/* Doodle icons: inline symbols reused with <use>. One loose stroke everywhere. */
.ico {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.35em;
  flex: none;
}

.ico-xs { width: 1.15rem; height: 1.15rem; stroke-width: 2.6; }
.ico-md { width: 2.4rem; height: 2.4rem; }
.ico-lg { width: 3.4rem; height: 3.4rem; stroke-width: 1.9; }
.ico-xl { width: 5rem; height: 5rem; stroke-width: 1.7; }
.tilt-l { transform: rotate(-6deg); }
.tilt-r { transform: rotate(5deg); }

/* Flat organic shapes, the sand and sage cut-outs from Japandi print work. */
.blob {
  position: absolute;
  display: block;
  background: var(--blush) var(--seeds);
  border-radius: 58% 42% 46% 54% / 55% 38% 62% 45%;
  z-index: -1;
}

.blob.sage {
  background: var(--leaf-2);
  border-radius: 44% 56% 55% 45% / 52% 46% 54% 48%;
}

.blob.sun {
  background: var(--sun-2);
  border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
}

/* Header */
.site-head .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.site-head .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-head .brand .ico {
  color: var(--leaf);
  width: 1.5rem;
  height: 1.5rem;
}

.site-head nav {
  text-align: right;
}

.site-head nav a {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .site-head .wrap {
    flex-wrap: wrap;
    align-items: baseline;
  }

  .site-head nav {
    text-align: left;
  }

  .site-head nav a {
    margin: 0 0.9rem 0 0;
    font-size: 0.9rem;
  }
}

.site-head nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--leaf);
}

/* Sections, separated by a hand-drawn wave rather than a ruled line. */
section {
  position: relative;
  padding: 3.5rem 0;
}

section + section::before {
  content: "";
  display: block;
  height: 12px;
  margin: -3.5rem auto 3.5rem;
  max-width: var(--wide);
  background: var(--wave) repeat-x center;
}

.hero {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero p.lede {
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 36rem;
}

.hero .status {
  font-size: 0.95rem;
  color: var(--ink-3);
  margin-bottom: 0;
}

/* The hero drawing: a letter, a cup of tea, a plant, a pen, on a sand cut-out. */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 21rem;
  margin: 0 auto;
  color: var(--ink);
}

.hero-art .blob {
  inset: 14% 4% 10% 8%;
}

.hero-art .blob.sun {
  inset: 0 auto auto 58%;
  width: 28%;
  height: 28%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

.eyebrow .ico {
  color: var(--leaf);
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 0.9rem;
}

/* Flow diagram: inputs, engine, outputs. Stacks on narrow screens. */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.9rem;
  align-items: center;
  margin: 1.75rem 0;
}

.flow .col {
  display: grid;
  gap: 0.75rem;
}

.flow .box {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 2px solid var(--ink-2);
  border-radius: var(--sk-a);
  padding: 0.8rem 0.95rem;
  background: var(--paper-2);
  font-size: 0.95rem;
}

.flow .col .box:nth-child(2) { border-radius: var(--sk-b); }
.flow .col .box:nth-child(3) { border-radius: var(--sk-c); }

.flow .box .ico {
  color: var(--ink-2);
  margin-top: 0.1rem;
}

.flow .box strong {
  display: block;
  font-weight: 600;
}

.flow .box span {
  color: var(--ink-2);
  font-size: 0.88rem;
}

.flow .box.engine {
  border-color: var(--accent);
  background: var(--paper);
  border-radius: var(--sk-b);
}

.flow .box .ico {
  color: var(--leaf);
}

.flow .box.engine .ico {
  color: var(--accent);
}

.flow .join {
  width: 2.4rem;
  height: 1.3rem;
  color: var(--ink-3);
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .flow .join {
    transform: rotate(90deg);
  }
}

/* Demo */
.demo-note {
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  border-radius: 14px 6px 12px 8px;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .demo {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink-3);
  border-radius: 10px 6px 11px 7px;
  padding: 0.6rem 0.75rem;
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.field select:focus,
.field textarea:focus,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field .help {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.field .count {
  float: right;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-3);
}

.contact-facts {
  border-left: 3px solid var(--leaf-2);
  padding: 0.2rem 0 0.2rem 0.9rem;
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.contact-facts strong {
  color: var(--ink);
}

button.primary {
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--ink);
  border-radius: var(--sk-a);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
}

button.primary:hover {
  background: var(--accent-2);
}

button.primary[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Output pane */
.out {
  min-height: 14rem;
}

.out .placeholder {
  color: var(--ink-3);
  border: 2px dashed var(--rule);
  border-radius: var(--sk-b);
  padding: 1.5rem;
}

.draft {
  border: 2px solid var(--ink-2);
  border-radius: var(--sk-b);
  background: var(--paper-2);
  overflow: hidden;
}

.draft .meta {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
}

.draft .meta dt {
  color: var(--ink-3);
}

.draft .meta dd {
  margin: 0;
}

.draft .subject {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
}

.draft .body {
  padding: 1.1rem;
  white-space: pre-wrap;
  font-family: inherit;
  margin: 0;
  background: transparent;
  border: 0;
  font-size: 1rem;
}

.draft .foot {
  padding: 0.75rem 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-2);
}

.error {
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: 0.9rem 1rem;
  border-radius: 12px 7px 11px 8px;
}

.crisis {
  background: var(--crisis-bg);
  color: var(--crisis-ink);
  padding: 1rem 1.1rem;
  font-size: 1rem;
  line-height: 1.6;
  border-radius: 12px 7px 11px 8px;
}

/* Skeleton loader */
.skeleton {
  border: 2px dashed var(--rule);
  border-radius: var(--sk-b);
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.skeleton .bar {
  height: 0.9rem;
  border-radius: 6px 3px 7px 4px;
  background: linear-gradient(90deg, var(--skeleton) 0%, var(--skeleton-2) 50%, var(--skeleton) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton .bar.w-40 { width: 40%; }
.skeleton .bar.w-60 { width: 60%; }
.skeleton .bar.w-80 { width: 80%; }
.skeleton .bar.w-95 { width: 95%; }
.skeleton .bar.gap { margin-top: 0.6rem; }

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton .bar {
    animation: none;
    background: var(--skeleton);
  }

  html {
    scroll-behavior: auto;
  }
}

/* Why: a short first-person note with a doodle beside the heading. */
#why .wrap {
  position: relative;
}

#why .blob {
  width: 9rem;
  height: 7rem;
  right: -2rem;
  top: -1rem;
  background: var(--sun-2);
}

/* About: the portrait in an arch on a wood-toned backing, beside a short bio. */
.about {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.25rem;
  align-items: start;
}

.about-frame {
  position: relative;
  padding: 0 0.6rem 0.6rem 0;
}

.about-frame::after {
  content: "";
  position: absolute;
  inset: 0.6rem 0 0 0.6rem;
  background: var(--leaf-2) var(--seeds);
  border-radius: var(--arch);
  z-index: -1;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--arch);
  border: 2px solid var(--ink-2);
  filter: grayscale(1);
}

.about h2 {
  margin-top: 0;
}

@media (max-width: 600px) {
  .about {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-frame {
    width: 9rem;
  }
}

/* Install: numbered steps in small hand-drawn circles, doodle markers in lists. */
.steps {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 0.7rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
}

.steps li:nth-child(even)::before {
  border-radius: 45% 55% 48% 52% / 52% 44% 56% 48%;
}

.scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0;
}

@media (max-width: 600px) {
  .scope {
    grid-template-columns: 1fr;
  }
}

.scope ul {
  list-style: none;
  margin: 0.3rem 0 0;
  padding-left: 0;
}

.scope li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
}

.scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55em;
  height: 0.55em;
  border: 1.8px solid var(--leaf);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
}

/* Footer */
.site-foot {
  padding: 2rem 0 3rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.site-foot::before {
  content: "";
  display: block;
  height: 12px;
  margin: 0 auto 2rem;
  max-width: var(--wide);
  background: var(--wave) repeat-x center;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.site-foot .ico {
  color: var(--leaf);
  margin-right: 0.35rem;
}

/* The guava tree in the hero. Tap a guava and it drops into the basket; tap
   the tree and it shakes one loose. Fallen fruit stays in the basket; when the
   tree is bare, the next tap grows a new crop. */
.tree {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tree .ground { fill: var(--leaf-2); stroke: none; }
.tree .trunk { fill: var(--bark); }
.tree .canopy { fill: var(--leaf-2); stroke: var(--leaf); }
.tree .canopy-line { stroke: var(--leaf); }
.tree .basket { fill: var(--sun-2); }
.tree .basket-rim { fill: var(--sun-2); }
.tree .in-basket .fruit { fill: var(--accent); }
.tree .in-basket .gleaf { fill: var(--leaf-2); stroke: var(--leaf); }
.tree .weave { stroke-width: 1.6; opacity: 0.6; }
.tree .shadow { fill: var(--ink); opacity: 0.08; stroke: none; }

.tree .guava {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.5, 0, 0.8, 0.6), opacity 0.4s ease;
}

.tree .guava .fruit { fill: var(--accent); }
.tree .guava .gleaf { fill: var(--leaf-2); stroke: var(--leaf); }
.tree .guava .shine { stroke: var(--accent-ink); opacity: 0.7; }

.tree .guava:hover .fruit,
.tree .guava:focus-visible .fruit { fill: var(--accent-2); }

.tree .guava:focus-visible { outline: none; }
.tree .guava:focus-visible .fruit { stroke-width: 3.5; }

.tree .guava.fallen { cursor: default; }
.tree .guava.growing { transition: none; opacity: 0; }

.tree .tree-body { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; outline: none; }
.tree .tree-body:focus-visible .canopy { stroke-width: 3.6; }
.tree .tree-body.shake { animation: shake 0.5s ease; }

@keyframes shake {
  0% { transform: rotate(0); }
  25% { transform: rotate(-2.2deg); }
  55% { transform: rotate(1.8deg); }
  80% { transform: rotate(-1deg); }
  100% { transform: rotate(0); }
}

.tree-caption {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .tree .guava { transition: none; }
  .tree .tree-body.shake { animation: none; }
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-art {
    max-width: 16rem;
    margin: 0 auto;
  }
}
