/* ==========================================================================
   GrowDat marketing site
   Tokens from the app design system (GrowDatApp/DesignSystem, sampled from
   the live Flutter app). Mood: grow-tent at night. Mint on deep teal,
   hairline borders, no card shadows, quiet motion.
   ========================================================================== */

/* Self-hosted fonts: no request to Google, so no visitor IP leaves for a third party.
   Inter (OFL) as one variable file per subset; Material Symbols Rounded (Apache 2.0)
   cut down to the icons the site uses. Adding an icon means regenerating this file
   with the new name in &icon_names= (see assets/fonts/LICENSES.txt). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 300 700;
  font-display: block;
  src: url('../assets/fonts/material-symbols-rounded.woff2') format('woff2');
}

:root {
  /* Brand */
  --gd-primary: #00DF82;
  --gd-primary-light: #59E1B3;
  --gd-on-primary: #021A1A;

  /* Surfaces */
  --gd-bg: #021A1A;
  --gd-surface: #082626;
  --gd-surface-raised: #113D3D;
  --gd-surface-selected: #144040;
  --gd-surface-inset: #0F3232;
  --gd-overlay: rgba(0, 0, 0, 0.4);

  /* Text */
  --gd-text: #FFFFFF;
  --gd-text-secondary: #B3C2BE;
  --gd-text-disabled: #3E5454;

  /* Lines */
  --gd-border: #113D3D;
  --gd-divider: #113D3D;

  /* States */
  --gd-error: #FF5252;
  --gd-info: #448AFF;

  /* Plant stages (seedling cyan, vegetation mint, flower orange, harvest magenta) */
  --gd-stage-seedling: #00D4F0;
  --gd-stage-veg: #00DF82;
  --gd-stage-flower: #FF7700;
  --gd-stage-harvest: #DB12FF;

  /* Milestones (harvest, grow finished) */
  --gd-milestone-bg: #13192C;
  --gd-milestone-disc: #451761;
  --gd-milestone-border: #7A1C9E;

  /* Type */
  --gd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --gd-tracking-body: 0.03em;

  /* Radius */
  --gd-radius-sm: 8px;
  --gd-radius-md: 12px;
  --gd-radius-lg: 16px;
  --gd-radius-xl: 20px;
  --gd-radius-pill: 999px;

  /* Elevation (cards have none; only floating UI uses this) */
  --gd-shadow-raised: 0 8px 24px rgba(0, 0, 0, 0.45);
  --gd-glow-primary: 0 0 0 2px rgba(0, 223, 130, 0.35);

  /* Motion */
  --gd-dur-fast: 120ms;
  --gd-dur: 160ms;
  --gd-dur-slow: 240ms;
  --gd-ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  /* Layout */
  --container: 1120px;
  --gutter: 24px;
}

/* ---- Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--gd-bg);
  color: var(--gd-text);
  font: 400 16px/1.5 var(--gd-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gd-primary);
  color: var(--gd-on-primary);
  padding: 10px 16px;
  border-radius: 0 0 var(--gd-radius-sm) 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--gd-glow-primary);
  border-radius: var(--gd-radius-sm);
}

::selection { background: rgba(0, 223, 130, 0.3); }

/* Material Symbols */
.gd-icon {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  user-select: none;
}
.gd-icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ---- Reveal animations (gated on .js so no-JS users see everything) --- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms var(--gd-ease-out),
    transform 600ms var(--gd-ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Buttons & badges -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 16px/1 var(--gd-font);
  letter-spacing: var(--gd-tracking-body);
  border: none;
  border-radius: var(--gd-radius-pill);
  padding: 14px 24px;
  cursor: pointer;
  transition:
    background-color var(--gd-dur) var(--gd-ease-out),
    color var(--gd-dur) var(--gd-ease-out),
    transform var(--gd-dur-fast) var(--gd-ease-out);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gd-primary);
  color: var(--gd-on-primary);
}
.btn-primary:hover { background: var(--gd-primary-light); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-md);
  color: var(--gd-text);
  transition:
    border-color var(--gd-dur) var(--gd-ease-out),
    background-color var(--gd-dur) var(--gd-ease-out),
    transform var(--gd-dur-fast) var(--gd-ease-out);
}
.store-badge:hover {
  border-color: var(--gd-primary);
  background: var(--gd-surface-raised);
}
.store-badge:active { transform: scale(0.97); }

.store-badge-text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.store-badge-text small { font-size: 11px; color: var(--gd-text-secondary); }
.store-badge-text strong { font-size: 16px; font-weight: 700; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--gd-dur-slow) var(--gd-ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--gd-border); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gd-text-secondary);
  transition: color var(--gd-dur) var(--gd-ease-out);
}
.site-nav a:hover { color: var(--gd-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand + .header-actions { margin-left: auto; }

.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gd-text-secondary);
  transition: border-color var(--gd-dur) var(--gd-ease-out), color var(--gd-dur) var(--gd-ease-out);
}
.lang-switch:hover { border-color: var(--gd-primary); color: var(--gd-primary); }

/* Language suggestion toast (shown by JS for visitors whose browser prefers the other language) */
.lang-hint {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px 10px 16px;
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-xl);
  box-shadow: var(--gd-shadow-raised);
  font-size: 14px;
  color: var(--gd-text-secondary);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--gd-dur-slow) var(--gd-ease-out), transform var(--gd-dur-slow) var(--gd-ease-out);
}
.lang-hint[hidden] { display: none; }
.lang-hint.is-visible { opacity: 1; transform: none; }
.lang-hint p { margin: 0; }
.lang-hint a {
  font-weight: 700;
  color: var(--gd-primary);
  white-space: nowrap;
}
.lang-hint a:hover { color: var(--gd-primary-light); }
.lang-hint-close {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--gd-text-disabled);
  cursor: pointer;
  transition: color var(--gd-dur) var(--gd-ease-out);
}
.lang-hint-close:hover { color: var(--gd-text); }
.lang-hint-close .gd-icon { font-size: 18px; }

/* ---- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding: 96px 0 120px;
}

/* Full-bleed hero shot: plant left, phone right, copy over the dark stone */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
/* Scrim: guarantees copy contrast on the left, fades the shot into the page */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 26, 26, 0.55) 0%, transparent 22%, transparent 78%, var(--gd-bg) 100%),
    linear-gradient(90deg, rgba(2, 26, 26, 0.92) 0%, rgba(2, 26, 26, 0.66) 36%, rgba(2, 26, 26, 0.18) 60%, rgba(2, 26, 26, 0.05) 100%);
}

.hero-inner { width: 100%; }

.hero-copy { max-width: 620px; }

.hero-title {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: clamp(56px, 8.5vw, 104px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
/* App lockup inside the h1: icon + keyword line, set like a store listing */
.hero-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--gd-tracking-body);
  text-transform: none;
  color: var(--gd-text-secondary);
}
.hero-kicker img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--gd-surface-raised);
}

/* Where a feature lives in the app, set as the app's own selected chip */
.app-path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: var(--gd-radius-md);
  background: var(--gd-surface-selected);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--gd-tracking-body);
  color: var(--gd-text);
}
.app-path .gd-icon { font-size: 18px; color: var(--gd-primary); font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.app-path .app-path-sep { font-size: 16px; color: var(--gd-text-secondary); font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.app-path-dim { color: var(--gd-text-secondary); }
.accent-dot { color: var(--gd-primary); }

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gd-text-secondary);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gd-text-disabled);
}

/* ---- Sections (shared) ------------------------------------------------- */

.section { padding: 96px 0; }

.section-title:first-child { margin-top: 0; }
.section-title {
  margin-top: 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 22ch;
}

.section-sub {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--gd-text-secondary);
  line-height: 1.6;
}

/* Cards: app recipe. #082626 fill, 1px #113D3D hairline, 20px radius, no shadow */
.card {
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-xl);
}

/* ---- Lifecycle: the app's stage overview bar ---------------------------- */

.stages { margin-top: 56px; }

.stagebar {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* weights show relative stage length (seedling short, flower long), never days */
.stagebar-seg {
  flex: var(--w, 1) 1 0;
  min-width: 10px;
  height: 10px;
  border-radius: var(--gd-radius-pill);
  background: var(--gd-surface-raised);
  overflow: hidden;
}
.stagebar-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--stage);
  transform-origin: left;
}
.js .stagebar-fill {
  transform: scaleX(var(--seg-p, 0));
  transition: transform 120ms linear;
}
.stagebar-end {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gd-milestone-disc);
  color: var(--gd-stage-harvest);
  box-shadow: inset 0 0 0 1px var(--gd-milestone-border);
  transition: opacity var(--gd-dur-slow) var(--gd-ease-out), box-shadow var(--gd-dur-slow) var(--gd-ease-out);
}
.stagebar-end .gd-icon { font-size: 18px; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.js .stagebar-end { opacity: 0.35; }
.js .stages.is-complete .stagebar-end {
  opacity: 1;
  box-shadow: inset 0 0 0 1px var(--gd-stage-harvest), 0 0 0 6px rgba(219, 18, 255, 0.12);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.stage-col--seedling { --stage: var(--gd-stage-seedling); }
.stage-col--veg { --stage: var(--gd-stage-veg); }
.stage-col--flower { --stage: var(--gd-stage-flower); }
.stage-col--harvest { --stage: var(--gd-stage-harvest); }
.stage-col--harvest .stage-label { color: #E562FF; } /* magenta lifted for text contrast */

/* the app's stage icon disc: tinted fill + 1px ring in the stage color */
.stage-disc {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gd-surface-raised);
  background: color-mix(in srgb, var(--stage) 18%, var(--gd-bg));
  box-shadow: inset 0 0 0 1px var(--stage);
}
.stage-disc .gd-icon { font-size: 24px; color: var(--stage); font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }

.stage-label {
  font-size: 19px;
  font-weight: 700;
  color: var(--stage);
  letter-spacing: var(--gd-tracking-body);
}
.stage-col p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gd-text-secondary);
}
.stage-metric {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gd-text-disabled);
  letter-spacing: 0.03em;
}

/* ---- Features: story with real app screens ------------------------------- */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  margin-top: 56px;
}

/* room after the last chapter so the phone stays centered while the final screen is shown */
.story-steps { display: flex; flex-direction: column; padding-bottom: 14vh; }

/* tall chapters give every screen its own stretch of scrolling before the next one fades in */
.story-step {
  min-height: 62vh;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--gd-border);
  cursor: pointer;
  transition: opacity var(--gd-dur-slow) var(--gd-ease-out);
}
.story-step:first-child { border-top: none; padding-top: 0; }
.js .story-step { opacity: 0.38; }
.js .story-step.is-active { opacity: 1; }
.story-step .app-path { align-self: flex-start; }
.story-step h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.story-step p {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gd-text-secondary);
}

/* desktop: one phone stays in view and cross-fades to the active chapter's screen */
/* clip, not hidden: the glow below must not widen the page, and the phone must stay sticky */
.features { overflow-x: clip; }
/* centered in the viewport below the 64px header */
.story-sticky { position: sticky; top: max(84px, calc(50vh - 350px)); }
/* the glow rides along with the sticky phone (sticky is a stacking context, so -1 stays behind it) */
.story-sticky::before {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: -1;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 223, 130, 0.09) 0%, transparent 65%);
  pointer-events: none;
}
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.story-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gd-surface-raised);
  transition: background-color var(--gd-dur-slow) var(--gd-ease-out), transform var(--gd-dur-slow) var(--gd-ease-out);
}
.story-dots i.is-active { background: var(--gd-primary); transform: scale(1.15); }

.phone {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 50px;
  background: #0B1414;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 30px 80px rgba(0, 0, 0, 0.55);
}
.phone-screen {
  position: relative;
  aspect-ratio: 923 / 2000;
  border-radius: 42px;
  background: var(--gd-bg);
  overflow: hidden;
}
.phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-stage .phone-screen img { opacity: 0; transition: opacity 500ms var(--gd-ease-out); }
.story-stage .phone-screen img.is-active { opacity: 1; }

/* mobile: each chapter carries its own screen */
.story-inline { display: none; }

/* Photo overlay chips (community reports) */

/* Photo overlay chips (community reports) */
.app-report-chips {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.media-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  height: 28px;
  padding: 0 10px 0 8px;
  background: var(--gd-overlay);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--gd-radius-md);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--gd-tracking-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media-chip .gd-icon { font-size: 17px; flex: none; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.media-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---- VPD tool: the app's calculator ---------------------------------------- */

.tool { background: var(--gd-surface); border-block: 1px solid var(--gd-border); }

.tool-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.vpd-phases { margin-top: 28px; letter-spacing: var(--gd-tracking-body); }
.vpd-phases h3 { font-size: 15px; font-weight: 700; }
.vpd-phases ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 420px;
}
.vpd-phases li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.vpd-phases li .gd-icon { font-size: 22px; color: var(--stage); font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.vpd-phases .range { margin-left: auto; color: var(--gd-text-secondary); font-variant-numeric: tabular-nums; }
.vpd-note {
  margin-top: 16px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gd-text-secondary);
}

.vpd-card {
  background: var(--gd-bg);
  padding: 28px;
  letter-spacing: var(--gd-tracking-body);
}

.vpd-readout { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vpd-value {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.vpd-unit { align-self: flex-end; margin-bottom: 4px; font-size: 20px; font-weight: 600; color: var(--gd-text-secondary); }
.vpd-zone {
  --z: var(--gd-stage-veg);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1.5px solid var(--z);
  border-radius: var(--gd-radius-pill);
  background: rgba(0, 0, 0, 0.12);
  background: color-mix(in srgb, var(--z) 14%, transparent);
  color: var(--z);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--gd-dur-slow) var(--gd-ease-out), border-color var(--gd-dur-slow) var(--gd-ease-out), background-color var(--gd-dur-slow) var(--gd-ease-out);
}
.vpd-zone .gd-icon { font-size: 22px; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.vpd-zone.zone-seedling { --z: var(--gd-stage-seedling); }
.vpd-zone.zone-veg { --z: var(--gd-stage-veg); }
.vpd-zone.zone-flower { --z: var(--gd-stage-flower); }
.vpd-zone.zone-low,
.vpd-zone.zone-high { --z: var(--gd-error); }

.vpd-band { position: relative; margin-top: 28px; height: 12px; }
.vpd-band-track {
  height: 100%;
  border-radius: var(--gd-radius-pill);
  background: linear-gradient(90deg, #FF5252 0%, #FF5252 8%, #00D4F0 28%, #00DF82 50%, #FF7700 72%, #FF5252 92%, #FF5252 100%);
}
.vpd-band-needle {
  position: absolute;
  top: -7px;
  left: 60%;
  width: 4px;
  height: 26px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gd-text);
  box-shadow: 0 0 0 3px rgba(2, 26, 26, 0.75);
  transition: left var(--gd-dur-slow) var(--gd-ease-out);
}

.vpd-controls {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.vpd-control { display: flex; flex-direction: column; gap: 14px; }
.vpd-control-row { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.vpd-control-row > .gd-icon { font-size: 22px; color: var(--gd-primary); font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.vpd-control-row label { flex: 1; font-size: 16px; font-weight: 500; color: var(--gd-text-secondary); }
.vpd-control-row output { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Leaf temperature: app-style checkbox that reveals a third slider */
.vpd-leaf { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.vpd-leaf-field { display: flex; flex-direction: column; gap: 10px; }
.vpd-leaf-field[hidden] { display: none; }

/* App text field (AppTextFormField): filled surface, hairline, mint ring on focus */
.app-field { display: flex; flex-direction: column; gap: 6px; max-width: 260px; }
.app-field-label { font-size: 14px; color: var(--gd-text-secondary); }
.app-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-md);
  transition: border-color var(--gd-dur) var(--gd-ease-out), box-shadow var(--gd-dur) var(--gd-ease-out);
}
.app-field-wrap:focus-within { border-color: var(--gd-primary); box-shadow: inset 0 0 0 1px var(--gd-primary); }
.app-field-wrap .gd-icon { font-size: 20px; color: var(--gd-text-secondary); font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }
.app-field-wrap input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--gd-text);
  font: 600 16px/1.43 var(--gd-font);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
/* the wrap shows focus; the global :focus-visible ring would draw a second box inside */
.app-field-wrap input:focus,
.app-field-wrap input:focus-visible { outline: none; box-shadow: none; border-radius: 0; }
.app-field-wrap input::-webkit-outer-spin-button,
.app-field-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.app-field-suffix { font-size: 15px; color: var(--gd-text-secondary); }
.app-check {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}
.app-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.app-check-box {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--gd-text-secondary);
  border-radius: 6px;
  transition: background-color var(--gd-dur) var(--gd-ease-out), border-color var(--gd-dur) var(--gd-ease-out);
}
.app-check-box .gd-icon { font-size: 18px; color: var(--gd-on-primary); opacity: 0; font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 24; }
.app-check input:checked + .app-check-box { background: var(--gd-primary); border-color: var(--gd-primary); }
.app-check input:checked + .app-check-box .gd-icon { opacity: 1; }
.app-check input:focus-visible + .app-check-box { box-shadow: var(--gd-glow-primary); }
.vpd-hint { font-size: 13px; line-height: 1.55; color: var(--gd-text-secondary); }
.vpd-hint strong { color: var(--gd-text); font-weight: 600; }

.unit-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius-pill);
  background: var(--gd-surface);
}
.unit-toggle button {
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border: none;
  border-radius: var(--gd-radius-pill);
  background: transparent;
  color: var(--gd-text-secondary);
  font: 700 14px/1 var(--gd-font);
  cursor: pointer;
  transition: background-color var(--gd-dur) var(--gd-ease-out), color var(--gd-dur) var(--gd-ease-out);
}
.unit-toggle button:hover { color: var(--gd-text); }
.unit-toggle button.is-active { background: var(--gd-primary); color: var(--gd-on-primary); }

/* Sliders: mint filled track like the app (JS sets --fill) */
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--gd-radius-pill);
  background: linear-gradient(90deg, var(--gd-primary) 0 var(--fill, 50%), var(--gd-surface-raised) var(--fill, 50%) 100%);
  outline: none;
  cursor: pointer;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gd-primary);
  border: none;
  transition: background-color var(--gd-dur) var(--gd-ease-out), transform var(--gd-dur-fast) var(--gd-ease-out);
}
input[type='range']::-webkit-slider-thumb:hover { background: var(--gd-primary-light); }
input[type='range']:active::-webkit-slider-thumb { transform: scale(0.97); }
input[type='range']::-moz-range-track { height: 8px; border-radius: var(--gd-radius-pill); background: var(--gd-surface-raised); }
input[type='range']::-moz-range-progress { height: 8px; border-radius: var(--gd-radius-pill); background: var(--gd-primary); }
input[type='range']::-moz-range-thumb { width: 26px; height: 26px; border: none; border-radius: 50%; background: var(--gd-primary); }
input[type='range']:focus-visible { box-shadow: var(--gd-glow-primary); }

/* ---- Community: reports and posts, app style -------------------------------- */

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: center;
  margin-top: 44px;
}
/* the glow behind the phones is wider than a phone screen; keep it from causing sideways scroll */
.community { overflow: hidden; }

/* two real screens, staggered: profile with public reports behind, report details in front */
.community-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0 56px;
}
.community-phones::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 223, 130, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.community-phone { position: relative; flex: none; width: 250px; margin: 0; }
.community-phone--back { margin-top: 56px; opacity: 0.85; }
.community-phone--front { margin-left: -56px; z-index: 1; }

.community-types {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  letter-spacing: var(--gd-tracking-body);
}
.community-types li { display: flex; align-items: flex-start; gap: 14px; }
.community-types li > .gd-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gd-surface-raised);
  color: var(--gd-primary);
  font-size: 22px;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.community-types strong { display: block; font-size: 16px; font-weight: 700; }
.community-types span:not(.gd-icon) { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--gd-text-secondary); }

.feed {
  margin-top: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.feed::-webkit-scrollbar { display: none; }
.feed.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.feed.is-dragging .feed-card { pointer-events: none; }

.feed-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.feed-card {
  width: 320px;
  flex: none;
  scroll-snap-align: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  letter-spacing: var(--gd-tracking-body);
  transition: border-color var(--gd-dur-slow) var(--gd-ease-out);
}
.feed-card:hover { border-color: rgba(0, 223, 130, 0.35); }

.feed-report {
  position: relative;
  aspect-ratio: 0.82;
  border-radius: var(--gd-radius-lg);
  background: var(--gd-bg);
  overflow: hidden;
}
.feed-report img.feed-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-report-views { position: absolute; top: 10px; right: 10px; }
.feed-report-author { position: absolute; left: 10px; bottom: 12px; }

.post-head { display: flex; align-items: center; gap: 10px; }
.post-user { flex: 1; min-width: 0; font-size: 15px; }
.post-time { flex: none; font-size: 13px; color: var(--gd-text-secondary); }
.post-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.post-body { flex: 1; font-size: 14px; line-height: 1.6; color: var(--gd-text-secondary); }
.post-cat {
  align-self: flex-start;
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--gd-radius-md);
  background: var(--gd-surface-selected);
  font-size: 13px;
  font-weight: 600;
}

.avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gd-surface-raised);
  color: var(--gd-primary);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.social { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--gd-radius-pill);
  box-shadow: inset 0 0 0 1px var(--gd-text-disabled);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.app-pill .gd-icon { font-size: 18px; }
.app-pill .icon-down { color: var(--gd-text-secondary); }

.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color var(--gd-dur) var(--gd-ease-out), transform var(--gd-dur-fast) var(--gd-ease-out);
}
.vote-btn .gd-icon { color: var(--gd-primary); }
.vote-btn:hover { color: var(--gd-primary); }
.vote-btn:active { transform: scale(0.94); }
.vote-btn.is-voted { color: var(--gd-primary); font-weight: 700; }
.vote-btn.is-voted .gd-icon { font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24; }

.social-more {
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--gd-text-disabled);
  color: var(--gd-text-secondary);
}
.social-more .gd-icon { font-size: 18px; }

/* ---- Reviews: testimonial stage ---------------------------------------------- */

.reviews {
  background: var(--gd-surface);
  border-block: 1px solid var(--gd-border);
}

.reviews-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-right: 40px;
  border-right: 1px solid var(--gd-border);
}
.reviews-score {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.star-row { display: inline-flex; gap: 2px; }
.star-row .gd-icon { font-size: 20px; color: var(--gd-primary); }
.reviews-caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--gd-text-disabled);
}
/* links to the source, so every quote can be checked in the store */
.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gd-primary);
}
.reviews-link .gd-icon { font-size: 17px; transition: transform var(--gd-dur) var(--gd-ease-out); }
.reviews-link:hover .gd-icon { transform: translate(2px, -2px); }
.reviews-note {
  margin: 8px 0 0;
  max-width: 30ch;
  font-size: 12px;
  line-height: 1.55;
  color: var(--gd-text-disabled);
}

.reviews-stage { position: relative; }

.quote-mark {
  position: absolute;
  top: -56px;
  left: -20px;
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 223, 130, 0.1);
  pointer-events: none;
  user-select: none;
}

.quote-deck { display: grid; }

.review-quote {
  grid-area: 1 / 1;
  margin: 0;
}
.review-quote p {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.review-quote footer {
  margin-top: 20px;
  font-size: 14px;
}
.review-quote footer strong { font-weight: 700; }
.review-quote footer span { color: var(--gd-text-disabled); }
.review-quote footer span::before { content: ' · '; }

/* JS stacks the quotes and cross-fades; without JS they simply list */
.js .review-quote {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--gd-ease-out), transform 400ms var(--gd-ease-out);
  pointer-events: none;
  visibility: hidden;
}
.js .review-quote.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}

.reviews-controls {
  display: none;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.js .reviews-controls { display: flex; }

.quote-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--gd-border);
  border-radius: 50%;
  color: var(--gd-text-secondary);
  cursor: pointer;
  transition:
    border-color var(--gd-dur) var(--gd-ease-out),
    color var(--gd-dur) var(--gd-ease-out),
    transform var(--gd-dur-fast) var(--gd-ease-out);
}
.quote-btn:hover { border-color: var(--gd-primary); color: var(--gd-primary); }
.quote-btn:active { transform: scale(0.97); }
.quote-btn .gd-icon { font-size: 18px; }

.quote-dots { display: flex; gap: 8px; }
.quote-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gd-surface-raised);
  cursor: pointer;
  transition: background-color var(--gd-dur) var(--gd-ease-out), transform var(--gd-dur) var(--gd-ease-out);
}
.quote-dot:hover { transform: scale(1.3); }
.quote-dot.is-active { background: var(--gd-primary); }

/* ---- Download: full-bleed band, same slate as the hero, the plant now in bloom ---- */

.download {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(80vh, 760px);
  padding-block: 120px;
}

.download-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.download-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* mirrors the hero scrim: copy contrast left, soft fade into the page top and bottom */
.download-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--gd-bg) 0%, transparent 24%, transparent 76%, var(--gd-bg) 100%),
    linear-gradient(90deg, rgba(2, 26, 26, 0.88) 0%, rgba(2, 26, 26, 0.6) 36%, rgba(2, 26, 26, 0.12) 60%, rgba(2, 26, 26, 0) 100%);
}

.download-inner { width: 100%; }
.download-inner .section-sub { max-width: 560px; }

.premium {
  max-width: 520px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gd-border);
  letter-spacing: var(--gd-tracking-body);
}
.premium-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}
/* the app's Premium pill: mint fill with a soft mint glow */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 12px 0 8px;
  border-radius: var(--gd-radius-pill);
  background: var(--gd-primary);
  color: var(--gd-on-primary);
  box-shadow: 0 4px 18px rgba(0, 223, 130, 0.35);
  font-size: 13px;
  font-weight: 700;
}
.premium-badge .gd-icon { font-size: 17px; font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.premium-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.premium-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--gd-text-secondary); }
.premium-list .gd-icon { flex: none; margin-top: 1px; font-size: 18px; color: var(--gd-primary); font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24; }
.premium-price { margin-top: 14px; font-size: 13px; color: var(--gd-text-secondary); }

.download-title {
  max-width: 11ch;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

/* ---- Footer ---------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--gd-border);
  padding: 48px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }

.footer-nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gd-text-secondary);
  transition: color var(--gd-dur) var(--gd-ease-out);
}
.footer-nav a:hover { color: var(--gd-text); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}
.footer-social a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gd-text-secondary);
  transition: color var(--gd-dur) var(--gd-ease-out);
}
.footer-social a:hover { color: var(--gd-primary); }

.footer-disclaimer {
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gd-text-disabled);
  max-width: 72ch;
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gd-text-disabled);
}

/* ---- Reduced motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .stagebar-fill { transform: scaleX(1); transition: none; }
  .js .stagebar-end { opacity: 1; }
  .js .review-quote { transition: none; }
  .story-step,
  .story-stage .phone-screen img { transition: none; }
  .lang-hint { transition: none; }
  .vpd-band-needle { transition: none; }
}

/* ---- Responsive -------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tool-inner { gap: 40px; }
  .reviews-inner { grid-template-columns: 1fr; gap: 40px; }
  .reviews-rating {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    padding-right: 0;
    border-right: none;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gd-border);
  }
  .reviews-score { font-size: 56px; }
  .reviews-caption { flex-basis: 100%; }
  .reviews-caption br { display: none; }
  .reviews-note { flex-basis: 100%; max-width: 60ch; margin-top: 0; }
}

/* mid-width: shorter hero + shifted crops so the phones clear the copy */
@media (min-width: 821px) and (max-width: 1180px) {
  .hero { min-height: 0; padding: 72px 0 96px; }
  .hero-bg img { object-position: 86% center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(2, 26, 26, 0.55) 0%, transparent 22%, transparent 78%, var(--gd-bg) 100%),
      linear-gradient(90deg, rgba(2, 26, 26, 0.94) 0%, rgba(2, 26, 26, 0.75) 42%, rgba(2, 26, 26, 0.28) 68%, rgba(2, 26, 26, 0.08) 100%);
  }
  .hero-copy { max-width: 540px; }

  /* keep the copy clear of the plant at mid widths */
  .premium, .download-inner .section-sub { max-width: 440px; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }

  .hero { min-height: 78vh; padding: 64px 0 88px; }
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
  /* narrow viewport: crop toward the phone, darken more for copy contrast */
  .hero-bg img { object-position: 66% center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(2, 26, 26, 0.6) 0%, rgba(2, 26, 26, 0.35) 30%, rgba(2, 26, 26, 0.45) 75%, var(--gd-bg) 100%),
      linear-gradient(90deg, rgba(2, 26, 26, 0.85) 0%, rgba(2, 26, 26, 0.55) 50%, rgba(2, 26, 26, 0.35) 100%);
  }

  /* narrow: crop onto the plant, darken more so the copy stays readable over it */
  .download { min-height: 0; padding-block: 96px; }
  .download-bg img { object-position: 88% center; }
  .download-bg::after {
    background:
      linear-gradient(180deg, var(--gd-bg) 0%, rgba(2, 26, 26, 0.45) 26%, rgba(2, 26, 26, 0.55) 76%, var(--gd-bg) 100%),
      linear-gradient(90deg, rgba(2, 26, 26, 0.82) 0%, rgba(2, 26, 26, 0.55) 55%, rgba(2, 26, 26, 0.3) 100%);
  }

  .tool-inner { grid-template-columns: 1fr; }

  .community-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .story { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .story-steps { padding-bottom: 0; }
  .story-stage { display: none; }
  .story-step { min-height: 0; padding: 40px 0; cursor: default; }
  .js .story-step { opacity: 1; }
  .story-inline { display: block; margin-top: 12px; }
  .story-inline .phone { max-width: 260px; }

  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 560px) {
  /* one readable screen instead of two tiny ones */
  .community-phone--back { display: none; }
  .community-phone--front { width: 260px; margin-left: 0; }
  .hero-kicker { font-size: 15px; gap: 12px; }
  .hero-kicker img { width: 40px; height: 40px; border-radius: 10px; }

  .stage-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }

  .feed-card { width: 290px; }
  .quote-mark { font-size: 120px; top: -36px; left: -8px; }

  .vpd-card { padding: 22px 18px; }
  .vpd-value { font-size: 46px; }
  .vpd-zone { margin-left: 0; width: 100%; justify-content: center; }

  .cta-row .store-badge { flex: 1; justify-content: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}
