@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');

:root {
  --color-bg: #FEF7E8;
  --color-bg-soft: #FFFCF5;
  --color-primary: #E6A817;
  --color-primary-dark: #C98F0E;
  --color-green: #7FAE86;
  --color-green-dark: #5C9265;
  --color-green-bg: #EEF4EA;
  --color-text: #2B2620;
  --color-heading: #211D17;
  --color-muted: #8A8474;
  --font-family: 'Nunito', system-ui, sans-serif;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 50px rgba(43, 38, 32, 0.10);
  --shadow-card: 0 10px 30px rgba(43, 38, 32, 0.07);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--color-heading);
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  color: var(--color-heading);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
  background: rgba(230, 168, 23, 0.14);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* Buttons */

.cta {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(230, 168, 23, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(230, 168, 23, 0.34);
}

.cta:active {
  transform: translateY(0);
}

.cta-small {
  padding: 11px 20px;
  font-size: 15px;
  border-radius: 12px;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cta-subtext {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 600;
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 247, 232, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43, 38, 32, 0.06);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
}

/* ============ Hero ============ */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.hero-text {
  max-width: 520px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-text p {
  font-size: 20px;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 24px 0 32px;
}

.hero-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Decorative blobs */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  opacity: 0.55;
}

.blob-green {
  width: 220px;
  height: 220px;
  background: var(--color-green);
  top: -30px;
  left: -30px;
}

.blob-amber {
  width: 180px;
  height: 180px;
  background: var(--color-primary);
  bottom: -20px;
  right: -20px;
}

.blob-small {
  width: 160px;
  height: 160px;
  opacity: 0.4;
}

/* Phone mockup (shared) */

.phone-frame {
  position: relative;
  z-index: 1;
  width: 292px;
  aspect-ratio: 1170 / 2532;
  background: #111;
  border-radius: 54px;
  padding: 8px;
  overflow: visible;
  container-type: inline-size;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: #F9F5EB;
}

.phone-background {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Hero greenhouse overlay: quote + Yuzu, anchored to .phone-frame (not the
   screen) so the quote bubble can overlap the left edge slightly without
   being clipped, while every size/position still derives from the phone's
   own box via cqw/percentages, so it scales and repositions with the phone
   at every breakpoint. Sits over the mint "greenhouse" band of the
   screenshot, bottom-aligned to the thin green ground line beneath it. */

.phone-greenhouse-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.phone-quote {
  position: absolute;
  top: 8%;
  left: 7%;
  max-width: 80%;
  background: rgba(255, 253, 246, 0.92);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: clamp(6px, 2.6cqw, 10px) clamp(8px, 3.4cqw, 12px);
  font-size: clamp(14px, 4.6cqw, 16px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading);
}

.phone-yuzu-button {
  position: absolute;
  top: 6.5%;
  right: 10%;
  display: inline-flex;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  pointer-events: auto;
  line-height: 0;
  border-radius: 50%;
}

.phone-yuzu-button:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 4px;
  border-radius: 50%;
}

.phone-yuzu {
  width: clamp(76px, 34cqw, 120px);
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.phone-yuzu-button.is-playing .phone-yuzu {
  animation: yuzu-jump 0.55s ease;
}

@keyframes yuzu-jump {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-16%) scale(1.08); }
  65% { transform: translateY(3%) scale(0.97); }
  100% { transform: translateY(0) scale(1); }
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 11px;
  transform: translateX(-50%);
  width: 88px;
  height: 4px;
  background: #111;
  border-radius: 999px;
  z-index: 3;
  opacity: 0.9;
}

.phone-button {
  position: absolute;
  display: block;
  background: #202020;
  border-radius: 999px;
}

.phone-button-left-top {
  left: -4px;
  top: 104px;
  width: 4px;
  height: 38px;
}

.phone-button-left-mid {
  left: -4px;
  top: 162px;
  width: 4px;
  height: 58px;
}

.phone-button-right {
  right: -4px;
  top: 148px;
  width: 4px;
  height: 66px;
}

.floaty {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ Feature sections ============ */

.feature {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.feature-reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1 1 460px;
  max-width: 520px;
}

.feature-text h2 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 900;
}

.feature-text p {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 20px 0 24px;
}

.feature-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-points li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.feature-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green-dark);
  font-weight: 900;
}

.feature-visual {
  position: relative;
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Analytics feature: two full-length screenshots stacked with a small
   overlap. Neither image is cropped — each .analytics-shot's own
   aspect-ratio matches its source PNG exactly (433 / 577), so
   object-fit: contain displays 100% of the image with no letterboxing.
   overflow: hidden + border-radius only rounds the already-transparent
   corners of the source PNG; it never clips visible artwork. No filter,
   blur, or extra scaling is applied.

   SIZE CONTROL:
   - Desktop/default: change max-width on .analytics-stack.
   - Tablet/mobile: change max-width inside @media (max-width: 800px).
   - Small phones: change max-width inside @media (max-width: 420px). */

.analytics-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  /* Nudges the whole image group down so its visual center lines up
     with the heading/body text beside it (desktop only; mobile has its
     own offset in the @media (max-width: 800px) block below). */
  transform: translateY(87px);
}

.analytics-shot {
  position: absolute;
  width: 60%;
  aspect-ratio:4 / 5;
  overflow: hidden;
  border-radius: 22px;
}

.analytics-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.analytics-shot-back {
  left: 0;
  top: 0;
  z-index: 1;
}

.analytics-shot-front {
  right: 25%;
  bottom: 25%;
  z-index: 2;
}

/* Add Day feature: four app cards arranged as one clean collage.
   The transparent padding in each PNG is cropped precisely inside its
   wrapper. No filter, shadow, forced zoom, or object-fit processing is
   applied, which keeps small text and icons as sharp as possible.

   SIZE CONTROL:
   - Desktop/default: change max-width on .add-day-collage.
   - Tablet/mobile: change max-width inside @media (max-width: 800px).
   - Small phones: change max-width inside @media (max-width: 420px). */

.add-day-collage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1.04;
  margin: 0 auto;
}

.add-day-chip {
  position: absolute;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
}

.add-day-chip img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

/* Movement — add_day/3.png */
.add-day-chip-1 {
  width: 64%;
  aspect-ratio: 582 / 353;
  left: 1%;
  top: 5%;
  transform: rotate(-2deg);
  z-index: 1;
}

.add-day-chip-1 img {
  width: 121.48%;
  left: -10.82%;
  top: 0;
}

/* Social — add_day/4.png */
.add-day-chip-2 {
  width: 60%;
  aspect-ratio: 575 / 353;
  right: 0;
  top: 28%;
  transform: rotate(2deg);
  z-index: 2;
}

.add-day-chip-2 img {
  width: 122.96%;
  left: -11.48%;
  top: 0;
}

/* Self Care — add_day/2.png */
.add-day-chip-3 {
  width: 62%;
  aspect-ratio: 707 / 280;
  left: 2%;
  top: 55%;
  transform: rotate(-2deg);
  z-index: 3;
}

.add-day-chip-3 img {
  width: 100%;
  left: 0;
  top: -12.50%;
}

/* Mood row — add_day/1.png */
.add-day-chip-4 {
  width: 58%;
  aspect-ratio: 707 / 212;
  right: 4%;
  top: 78%;
  transform: rotate(2deg);
  z-index: 4;
}

.add-day-chip-4 img {
  width: 100%;
  left: 0;
  top: -35.38%;
}

/* ============ Feature 3: Grow with Yuzu ============ */

.feature-yuzu {
  background: var(--color-green-bg);
  padding: 40px 0;
}

.feature-yuzu-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.feature-yuzu .section-label {
  color: var(--color-green-dark);
}

.feature-yuzu .feature-visual {
  flex-direction: column;
  gap: 8px;
}

/* Landscape card for the Yuzu-growth visual: a framed, cropped view of the
   greenhouse artwork rather than a phone mockup. The aspect-ratio matches
   the artwork's own content region, so object-fit: cover crops the
   surrounding whitespace symmetrically without needing custom offsets. */

.feature-landscape-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1185 / 385;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-green-bg);
}

.feature-landscape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* The source artwork has a faint anti-aliased white edge just beyond
     its cropped content region; a small uniform zoom pushes that edge
     outside the visible frame without visibly distorting the image. */
  transform: scale(1.06);
}

.growth-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 26px;
  max-width: 100%;
}

.growth-arrow {
  font-size: 16px;
  color: var(--color-green-dark);
}

/* ============ Benefits ============ */

.benefits {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  text-align: left;
}

.benefit-icon {
  font-size: 30px;
  display: inline-block;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 15px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============ Final CTA ============ */

.final-cta {
  position: relative;
  background: linear-gradient(180deg, var(--color-green-bg) 0%, var(--color-bg) 100%);
  padding: 110px 32px;
  text-align: center;
  overflow: hidden;
}

.final-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta-emoji {
  font-size: 46px;
  display: inline-block;
  margin-bottom: 20px;
}

.final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 18px;
}

.final-cta p {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 32px;
}

.final-cta-leaf {
  position: absolute;
  font-size: 64px;
  opacity: 0.25;
  z-index: 0;
}

.final-cta-leaf-left {
  top: 30px;
  left: 8%;
  transform: rotate(-20deg);
}

.final-cta-leaf-right {
  bottom: 30px;
  right: 8%;
  transform: rotate(15deg);
}

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid rgba(43, 38, 32, 0.08);
  padding: 40px 32px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-primary-dark);
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-muted);
  margin: 0;
  width: 100%;
  text-align: center;
  order: 3;
}

@media (min-width: 640px) {
  .footer-copyright {
    width: auto;
    text-align: right;
    order: 0;
  }
}

/* ============ Scroll reveal ============ */
/* Visible by default so content shows with JS disabled or before it runs;
   script.js adds .reveal-pending only to below-the-fold elements. */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
  }

  .reveal {
    transition: none;
  }

  .floaty {
    animation: none;
  }

  .cta {
    transition: none;
  }

  .phone-yuzu-button.is-playing .phone-yuzu {
    animation: none;
  }
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .header-inner {
    padding: 14px 24px;
  }

  .hero {
    padding: 72px 24px 64px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .feature,
  .feature-yuzu-inner {
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 44px;
  }

  .feature-text h2 {
    font-size: 34px;
  }
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 48px 24px 64px;
    gap: 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  .cta-group {
    align-items: center;
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 18px;
  }

  /* Keep only the phone mockup on the old narrow sizing rule.
     The two feature collages receive their own independent sizes below. */
  .phone-frame {
    width: min(292px, 82vw);
  }

  .feature,
  .feature-yuzu-inner {
    flex-direction: column;
    text-align: center;
    padding: 64px 24px;
    gap: 38px;
  }

  .feature-reverse {
    flex-direction: column;
  }

  /* The desktop flex-basis values (460px / 340px) create large empty
     vertical gaps after the layout becomes a column. Reset them here. */
  .feature-text,
  .feature-visual {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  /* Text always precedes its image on mobile, regardless of the
     alternating desktop source order. */
  .feature-text {
    order: 1;
    max-width: 100%;
  }

  .feature-visual {
    order: 2;
    min-height: 0;
  }

  /* Keep every checkmark and its sentence together on one row.
     Long sentences may wrap naturally, but remain aligned beside ✓. */
  .feature-points {
    align-items: center;
  }

  .feature-points li {
    width: fit-content;
    max-width: 100%;
    text-align: left;
  }

  /* Larger mobile presentation for the Add Day cards. */
  .add-day-collage {
    width: min(100%, 430px);
    max-width: 430px;
  }

  /* Root cause of both the "off-center" look and the "didn't get bigger"
     look: .analytics-stack itself was already centered (equal left/right
     margins, confirmed via computed styles) — the box was never the
     problem. The real cause is that .analytics-shot-back sits at
     left: 0 while .analytics-shot-front sits at right: 25% (base rule
     below). That asymmetry permanently reserves 25% of the box's own
     width as empty space on the right, so the two visible photos only
     ever occupy the left 75% of a "centered" box — reading as shifted
     left, and capping how much bigger the photos could look no matter
     how wide the box itself got.

     Fix: widen each shot to 70% (was 60%) for a real size increase, and
     shift .analytics-shot-back/-front by an equal +7.5% so the visible
     pair is centered within the box while preserving their relative
     offset (and therefore the overlap) exactly. Desktop's base rule
     (left: 0 / right: 25% / width: 60%) is untouched. */
  .analytics-stack {
    width: 100%;
    max-width: 470px;
    transform: translateY(-18px);
    /* .analytics-shot-front sits inset from the container's bottom edge
       (bottom: 25%), which reserves empty box space below the visible
       content. Pulling that unused space back out here (rather than
       resizing the container) avoids touching any shot's size/overlap. */
    margin-bottom: -130px;
  }

  .analytics-shot {
    width: 70%;
  }

  .analytics-shot-back {
    left: 7.5%;
  }

  .analytics-shot-front {
    right: 7.5%;
  }

  .benefits {
    grid-template-columns: 1fr;
    padding: 24px 24px 72px;
  }

  .benefit-card {
    text-align: center;
  }

  .final-cta {
    padding: 80px 24px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .final-cta-leaf {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero h1,
  .feature-text h2 {
    font-size: 34px;
  }

  .feature,
  .feature-yuzu-inner {
    padding-left: 18px;
    padding-right: 18px;
    gap: 34px;
  }

  .phone-frame {
    width: min(260px, 78vw);
  }

  .add-day-collage {
    width: min(100%, 400px);
    max-width: 400px;
  }

  /* width/max-width intentionally not re-overridden here: the
     min(88vw, 430px) rule from the @media (max-width: 800px) block
     above already scales down correctly for smaller phones too. */
  .analytics-stack {
    margin-bottom: -110px;
  }
}

