/* =========================================================
   Moso Growth: site styles
   Shared by index.html, privacy.html and terms.html.
   To change a color everywhere, edit it once in :root below.
   ========================================================= */

:root {
  /* Brand colors */
  --cream: #FCF7F2;         /* page background */
  --ink: #2B1B15;           /* headings and main text */
  --text: #5A463D;          /* body text */
  --text-strong: #3E2C25;   /* text on the budget band */
  --red: #A62F1B;           /* buttons and accents */
  --red-tint: #F8E4D9;      /* icon tiles, eyebrow pill */
  --band: #F9EBE1;          /* minimum ad budget band */
  --border: #EEDFD4;        /* lines and card border */
  --divider: #E6D5C9;       /* line next to the hero budget note */
  --divider-band: #EBD3C4;  /* line inside the budget band */
  --white: #FFFFFF;
  --pill: #F6EEE8;          /* "Example" label */
  --up-text: #4A6A27;       /* "+64%" label text */
  --up-tint: #E8F0DA;       /* "+64%" label background */
  --panda-dark: #3A2723;    /* Moso's paws */
  --panda-red: #C6371C;     /* little marks next to Moso */

  /* Bamboo */
  --stalk: #7FAE45;
  --stalk-dark: #4F7A28;
  --stalk-light: #B4D67C;
  --leaf-1: #6FA23A;
  --leaf-2: #86B94B;
  --leaf-3: #9CC860;
  --leaf-4: #5E9132;

  /* Example card chart and the small sprout in the budget band */
  --olive-deep: #5C7A34;
  --olive-dark: #6B8A3B;
  --olive: #8BA855;
  --olive-light: #A7BE73;

  /* Ground and hills */
  --soil: #E2CBAE;
  --soil-top: #D6BB97;
  --soil-shade: #CDB08A;
  --pebble: #C4A784;
  --pebble-dark: #BFA07C;
  --hill-sand: #F5E9DC;
  --hill-sand-dark: #EEDCC6;
  --hill-light: #EFE4CF;
  --hill-green: #BCC98E;    /* front hill and footer */

  /* Shadows */
  --shadow-button: 0 10px 20px -12px rgba(166,47,27,0.6);
  --shadow-card: 0 24px 48px -24px rgba(90,40,20,0.28);

  /* Type and layout */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --page-max: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(48px, 6vw, 72px);
  --radius-button: 10px;
  --radius-card: 22px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { margin: 0; }
summary { list-style-position: outside; }

.page {
  width: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.block { display: block; }
.bold { font-weight: 700; }
.center { text-align: center; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-28 { display: flex; flex-direction: column; gap: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-button);
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.btn-header { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-hero { gap: 10px; min-height: 52px; padding: 0 24px; font-size: 16px; box-shadow: var(--shadow-button); }
.btn-band { margin-top: 8px; align-self: flex-start; gap: 8px; min-height: 48px; padding: 0 20px; font-size: 15px; }
.btn-cta { margin-top: 12px; gap: 10px; min-height: 56px; padding: 0 30px; font-size: 17px; box-shadow: var(--shadow-button); }

/* ---------- Line icons ---------- */
.icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.icon-arrow { stroke-width: 2; }
.icon-trend { stroke-width: 2.5; }
.icon-tile { stroke-width: 1.9; }
.icon-check { stroke-width: 3.2; }

/* ---------- Header ---------- */
.site-header { padding: 0 var(--gutter); }
.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 84px;
  padding: 12px 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.03em;
}
.brand-logo { width: 48px; height: auto; display: block; }
.header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; font-size: 15px; font-weight: 500; }
.main-nav-link { color: var(--ink); text-decoration: none; padding: 10px 0; }
/* On phones keep the header to one row: logo + "Book a Call" (the page is one long scroll) */
@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; font-size: 20px; }
  .brand-logo { width: 40px; }
}

/* ---------- Hero: one centered message that fills the first screen ---------- */
.hero {
  min-height: calc(100vh - 84px);   /* 84px = header height */
  min-height: calc(100svh - 84px);  /* "svh" ignores the phone's address bar */
  box-sizing: border-box;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  /* Soft cream glow behind the text so it stays easy to read over the photo */
  background: radial-gradient(42% 46% at 50% 44%, rgba(252,247,242,0.85) 0%, rgba(252,247,242,0) 100%);
}

/* ---------- Bamboo scene behind the hero + "Clear terms. Clear numbers." ----------
   Laptops/tablets: one photo (bamboo-scenery.webp) runs behind both sections and ends on the
   mossy ground, with short fades at the top and bottom so it blends into the cream page.
   Phones: the photo sits behind the first screen only (see the @media block below). */
.scenery {
  background:
    /* gentle fade from the menu into the photo */
    linear-gradient(to bottom, rgba(252,247,242,1) 0px, rgba(252,247,242,0.93) 16px, rgba(252,247,242,0.8) 35px, rgba(252,247,242,0.6) 59px, rgba(252,247,242,0.4) 86px, rgba(252,247,242,0.22) 112px, rgba(252,247,242,0.09) 136px, rgba(252,247,242,0) 160px),
    linear-gradient(to top, var(--cream) 0, rgba(252,247,242,0) 120px),
    url("bamboo-scenery.webp") center bottom / cover no-repeat,
    var(--cream);
}
/* Frosted cream card so the small text stays readable over the photo */
.scenery .terms-copy {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-card);
  background: rgba(252,247,242,0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .scenery { background: none; }
  .scenery .terms-copy { padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; }
  .hero {
    background:
      radial-gradient(50% 40% at 50% 40%, rgba(252,247,242,0.85) 0%, rgba(252,247,242,0) 100%),
      linear-gradient(to bottom, rgba(252,247,242,1) 0px, rgba(252,247,242,0.93) 12px, rgba(252,247,242,0.8) 26px, rgba(252,247,242,0.6) 44px, rgba(252,247,242,0.4) 65px, rgba(252,247,242,0.22) 84px, rgba(252,247,242,0.09) 102px, rgba(252,247,242,0) 120px),
      linear-gradient(to top, var(--cream) 0, rgba(252,247,242,0) 96px),
      url("bamboo-scenery.webp") center bottom / cover no-repeat,
      var(--cream);
  }
}
.hero-inner {
  flex: 1;
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.hero .eyebrow { align-self: center; }
.eyebrow {
  margin: 0;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red-tint);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.hero-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(46px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lead { margin: 0; max-width: 600px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }
.hero-note { margin: 0; font-size: 14px; color: var(--text); text-wrap: balance; }

/* "Built for" strip along the bottom of the first screen */
.made-for {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 22px 0 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
}
.made-for-label { flex: none; margin: 0; font-size: 13px; font-weight: 700; color: var(--text); }

/* The tags scroll slowly from right to left in a loop (pauses on hover).
   The list is in the HTML twice; moving the track by half its width makes the loop seamless. */
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.made-for-list { flex: none; margin: 0; padding: 0 8px 0 0; list-style: none; display: flex; gap: 8px; }
.made-for-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--ink);
}
.chip-icon { flex: none; display: block; color: var(--red); }

@media (max-width: 640px) {
  .made-for { flex-direction: column; align-items: stretch; gap: 10px; }
  .made-for-label { text-align: center; }
}
/* People who turn motion off see all the tags standing still, wrapped onto rows */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; animation: none; }
  .marquee-track .made-for-list { flex: 1; flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-track .made-for-list[aria-hidden="true"] { display: none; }
}

/* Hero text eases in when the page opens (skipped for people who turn motion off) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-inner > .hero-in:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > .hero-in:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > .hero-in:nth-child(4) { animation-delay: 0.24s; }
  .hero-inner > .hero-in:nth-child(5) { animation-delay: 0.3s; }
  .made-for.hero-in { animation-delay: 0.4s; }
}

/* ---------- "Clear terms. Clear numbers." (trust points + example card) ---------- */
.terms-inner { max-width: var(--page-max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 96px; }
.terms-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.terms-copy .trust-list { margin-top: 20px; }

/* Example card with Moso peeking over it */
.example-visual { flex: 1 1 380px; min-width: 0; max-width: 440px; position: relative; padding-top: 112px; }
.example-panda { position: absolute; top: 6px; left: 56px; width: 150px; height: auto; display: block; z-index: 0; }
.paw { position: absolute; top: 102px; width: 36px; height: 22px; border-radius: 50%; background: var(--panda-dark); z-index: 2; }
.paw-left { left: 66px; }
.paw-right { left: 160px; }
.spark { position: absolute; width: 4px; height: 16px; border-radius: 2px; background: var(--panda-red); }
.spark-1 { top: 34px; left: 218px; transform: rotate(35deg); }
.spark-2 { top: 54px; left: 228px; transform: rotate(70deg); }
.stat-card {
  position: relative;
  z-index: 1;
  height: 196px;
  box-sizing: border-box;
  padding: 26px 28px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  container-type: inline-size; /* lets the chart below size itself to the card's width */
}
.example-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pill);
}
.stat-card-title { font-weight: 700; font-size: 16px; }
.stat-label { font-size: 13px; color: var(--text); padding-top: 14px; }
.stat-row { display: flex; align-items: center; gap: 12px; }
.stat-value { font-weight: 800; font-size: 36px; letter-spacing: -0.03em; line-height: 1.1; }
.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--up-text);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--up-tint);
}
/* Full size (190px) on wide cards; shrinks on phones so the arrow never runs over the "+64%" label.
   100cqw = the card's inner width; 154px keeps the chart to the right of the label. */
.stat-chart {
  position: absolute;
  right: 8px;
  bottom: -2px;
  display: block;
  width: clamp(72px, calc(100cqw - 154px), 190px);
  height: auto;
  aspect-ratio: 190 / 162;
}

/* Trust points (used in "Clear terms. Clear numbers.") */
.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px 32px;
}
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-text { display: flex; flex-direction: column; line-height: 1.4; }
.trust-title { font-weight: 700; font-size: 15px; }
.trust-desc { font-size: 14px; color: var(--text); }

/* ---------- Shared section layout ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section-title { margin: 0; font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.section-title-sm { margin: 0; font-weight: 800; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.section-lead { margin: 0; font-size: 17px; color: var(--text); }

/* ---------- Our process (bamboo steps) ---------- */
.process-inner { max-width: var(--page-max); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.process-stage { position: relative; }
.process-hill { position: absolute; left: -4%; right: -4%; top: 40px; height: 160px; z-index: 0; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 40px 24px;
  position: relative;
  z-index: 1;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; z-index: 1; }
.step-bamboo { display: block; margin-bottom: -8px; position: relative; overflow: visible; }
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-number { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); padding-top: 6px; }
.step-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.step-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); max-width: 190px; }
.method-heading { display: flex; flex-direction: column; gap: 12px; }
/* "You get" box at the bottom of each step (lines up across the row) */
.step-get {
  margin: auto 0 0;
  width: 100%;
  max-width: 190px;
  min-height: 72px; /* room for the label + two lines, so the boxes line up */
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.step-get-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* ---------- What's included + Our approach ---------- */
.included-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: var(--section-y);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 56px 96px;
}
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.check-item { display: flex; gap: 14px; align-items: center; }
.check-dot {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-item { display: flex; gap: 20px; align-items: flex-start; }
.approach-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-text { display: flex; flex-direction: column; gap: 4px; }
.approach-title { margin: 0; font-size: 17px; font-weight: 700; }
.approach-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }

/* ---------- Meet the founder ---------- */
.founder-section { padding: 0 var(--gutter) var(--section-y); }
.founder-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: var(--section-y);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 80px;
}
.founder-photo {
  flex: none;
  width: clamp(220px, 28vw, 320px);
  aspect-ratio: 3 / 4; /* same shape as the full photo, so nothing is cropped */
  box-sizing: border-box;
  border-radius: var(--radius-card);
  background: var(--red-tint);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo-stand-in { width: 62%; height: auto; display: block; }
.founder-copy { flex: 1 1 420px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 16px; }
.founder-text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
.founder-sign { margin: 8px 0 0; display: flex; flex-direction: column; font-size: 16px; line-height: 1.4; color: var(--ink); }
.founder-role { font-size: 14px; color: var(--text); }

/* ---------- Minimum ad budget band ---------- */
.band-section { padding: clamp(24px, 3vw, 40px) var(--gutter) var(--section-y); }
.band {
  max-width: var(--page-max);
  margin: 0 auto;
  border-radius: var(--radius-card);
  background: var(--band);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  align-items: center;
}
.band-main { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.band-label { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.band-price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.band-amount { font-weight: 800; font-size: clamp(40px, 4vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.band-period { font-size: 22px; font-weight: 500; }
.band-text { margin: 0; font-size: 15px; color: var(--text-strong); max-width: 440px; }
.band-why {
  flex: 1 1 380px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-left: clamp(0px, 3vw, 48px);
  border-left: 1px solid var(--divider-band);
}
.band-sprout { flex: none; display: block; }
.band-why-title { margin: 0; font-size: 18px; font-weight: 700; }
.band-why-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-question { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq-answer { margin: 10px 0 0; font-size: 15px; color: var(--text); }

/* ---------- Final call to action ---------- */
.cta-section { padding: var(--section-y) var(--gutter) 24px; }
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta-lead { margin: 0; max-width: 520px; font-size: 18px; color: var(--text); text-wrap: pretty; }

/* ---------- Bottom landscape (bamboo + Moso peeking over the hill) ---------- */
.landscape { --peek-right: clamp(24px, 12vw, 200px); position: relative; height: 260px; overflow: hidden; }
.landscape-hill { position: absolute; left: 0; bottom: 0; display: block; }
.landscape-bamboo { position: absolute; left: clamp(8px, 5vw, 96px); bottom: 0; display: block; overflow: visible; }
.peek-panda { position: absolute; right: var(--peek-right); bottom: 54px; width: 120px; height: auto; display: block; }
.peek-paw { position: absolute; bottom: 58px; width: 30px; height: 18px; border-radius: 50%; background: var(--panda-dark); }
.peek-paw-1 { right: calc(var(--peek-right) + 18px); }
.peek-paw-2 { right: calc(var(--peek-right) + 72px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hill-green); padding: 8px var(--gutter) 32px; }
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink);
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-name { font-weight: 800; font-size: 17px; letter-spacing: -0.03em; }
.footer-tagline { font-size: 13px; font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-link { color: var(--ink); text-decoration: none; }
.footer-link[aria-current="page"] { font-weight: 700; }

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.legal { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 104px); }
.legal-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.legal p, .legal ul { margin: 0; }
.legal-title { margin: 0; font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); }
.legal-updated { font-size: 14px; }
.legal .legal-intro { margin-top: 8px; font-size: 18px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.legal h2 { margin: 28px 0 0; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.legal ul { padding-left: 1.25em; display: flex; flex-direction: column; gap: 8px; }
.legal li::marker { color: var(--red); }
.legal strong { font-weight: 700; color: var(--ink); }
.legal a { color: var(--red); text-underline-offset: 3px; }
.legal .legal-related { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- "Page not found" (404.html) ---------- */
.notfound {
  min-height: calc(100vh - 84px - 90px);   /* fills the screen between header and footer */
  min-height: calc(100svh - 84px - 90px);
  box-sizing: border-box;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(50% 50% at 50% 45%, var(--band) 0%, rgba(252,247,242,0) 70%);
}
.notfound-inner { max-width: 620px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.notfound .eyebrow { align-self: center; }
.notfound-panda { width: 140px; height: auto; display: block; }
.notfound-title { margin: 0; font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.notfound-text { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text); text-wrap: pretty; }
.notfound-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; padding-top: 8px; }
.notfound-link { color: var(--red); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Illustration colors (bamboo, ground, hills, chart) ---------- */
.stop-dark { stop-color: var(--stalk-dark); }
.stop-light { stop-color: var(--stalk-light); }
.stop-mid { stop-color: var(--stalk); }
.node { fill: var(--stalk-dark); }
.node-shine { fill: var(--stalk-light); opacity: 0.8; }
.twig { fill: none; stroke: var(--stalk-dark); stroke-width: 1.4; stroke-linecap: round; }
.vein { fill: none; stroke: var(--stalk-dark); stroke-width: 0.8; opacity: 0.45; }
.seedling-stem { fill: none; stroke: var(--stalk); stroke-width: 2.6; stroke-linecap: round; }
.leaf-1 { fill: var(--leaf-1); }
.leaf-2 { fill: var(--leaf-2); }
.leaf-3 { fill: var(--leaf-3); }
.leaf-4 { fill: var(--leaf-4); }
.soil { fill: var(--soil); }
.soil-top { fill: var(--soil-top); }
.soil-shade { fill: var(--soil-shade); opacity: 0.7; }
.pebble { fill: var(--pebble); }
.pebble-dark { fill: var(--pebble-dark); }
.hill-sand { fill: var(--hill-sand); }
.hill-sand-dark { fill: var(--hill-sand-dark); }
.hill-light { fill: var(--hill-light); }
.hill-green { fill: var(--hill-green); }
.chart-line { fill: none; stroke: var(--olive-deep); stroke-width: 4; stroke-linecap: round; }
.chart-arrow { fill: none; stroke: var(--olive-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.olive-dark { fill: var(--olive-dark); }
.olive { fill: var(--olive); }
.olive-light { fill: var(--olive-light); }
.sprout-stem { fill: none; stroke: var(--olive-dark); stroke-width: 3.5; stroke-linecap: round; }
