/* Plant Pulse — marketing site design system.
   Direction: smooth river stones, calm indoor spaces, premium wellness
   products. Calm motion, large photography, generous whitespace.
   Avoid generic SaaS gradients, neon green, cartoon leaves, dense
   dashboards, heavy glassmorphism. See docs/design-system.md. */

:root {
  /* Neutrals — warm, paper-like, not clinical white */
  --color-cream-50: #FCFCF9;
  --color-cream-100: #F6F4EE;
  --color-cream-200: #EFECE3;
  --color-stone-300: #E2DDD0;
  --color-stone-400: #C9C3B0;
  --color-stone-600: #7D7765;
  --color-charcoal-700: #3A3833;
  --color-charcoal-800: #26241F;
  --color-charcoal-900: #1A1814;

  /* Brand */
  --color-sage-400: #9AA88E;
  --color-sage-500: #7F8E73;
  --color-green-600: #2D5A3D;
  --color-green-700: #234A31;
  --color-green-100: #E4EDE3;
  --color-green-50: #F1F6EF;
  --color-orange-500: #E8823E;
  --color-orange-600: #C9652A;
  --color-orange-100: #FBE9DA;
  --color-sky-600: #3F6E8C;
  --color-sky-100: #E2EDF3;

  /* Semantic */
  --color-bg: var(--color-cream-50);
  --color-surface: #FFFFFF;
  --color-surface-muted: var(--color-cream-100);
  --color-text: var(--color-charcoal-800);
  --color-text-secondary: #4A4740;
  --color-text-muted: var(--color-stone-600);
  --color-border: var(--color-stone-300);
  --color-primary: var(--color-green-600);
  --color-primary-hover: var(--color-green-700);
  --color-accent: var(--color-orange-500);
  --color-accent-hover: var(--color-orange-600);
  --color-success: var(--color-green-600);
  --color-success-bg: var(--color-green-100);
  --color-warning: #A2541F;
  --color-warning-bg: var(--color-orange-100);
  --color-info: var(--color-sky-600);
  --color-info-bg: var(--color-sky-100);
  --color-error: #B3402C;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 36px; --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 24, 20, 0.04), 0 1px 3px rgba(26, 24, 20, 0.03);
  --shadow-md: 0 6px 20px rgba(26, 24, 20, 0.07), 0 1px 3px rgba(26, 24, 20, 0.04);
  --shadow-lg: 0 24px 60px rgba(26, 24, 20, 0.12), 0 4px 12px rgba(26, 24, 20, 0.05);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur: 600ms;
  --dur-slow: 1100ms;

  --container: 1180px;
  --nav-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #15140F;
    --color-surface: #1E1C16;
    --color-surface-muted: #1A1914;
    --color-text: #F1EFE7;
    --color-text-secondary: #D3CFC1;
    --color-text-muted: #A39C88;
    --color-border: #322F25;
    --color-primary: #8DBB97;
    --color-primary-hover: #A4CBAC;
    --color-green-100: #22302A;
    --color-green-50: #1A231C;
    --color-orange-100: #3A2A1C;
    --color-success: #8DBB97;
    --color-success-bg: #22302A;
    --color-warning: #F0A86E;
    --color-warning-bg: #3A2A1C;
    --color-info: #8FB8D3;
    --color-info-bg: #1E2A33;
    --color-charcoal-900: #F1EFE7;
  }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-optical-sizing: auto; }
p { margin: 0; }
::selection { background: var(--color-green-100); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
@media (max-width: 640px) { .container { padding: 0 var(--space-4); } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--color-text); color: var(--color-bg); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary);
}

.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2.4s var(--ease-soft) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 14px 26px; border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-green-600); color: #fff; }
.btn-primary:hover { background: var(--color-green-700); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: #1A1814; }
.btn-accent:hover { background: #EF9152; box-shadow: 0 10px 30px rgba(232, 130, 62, .35); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-surface); }
.btn-ghost svg { transition: transform var(--dur-fast) var(--ease); }
.btn-ghost:hover svg { transform: translateY(2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease), transform 400ms var(--ease);
}
.nav.is-scrolled { border-color: var(--color-border); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-primary); }
.nav__brand img { height: 28px; width: auto; }
.nav__mark { width: 26px; height: 26px; color: var(--color-sage-500); }
.nav__brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--color-text); letter-spacing: -0.01em; }
.nav__links { display: flex; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--color-text-secondary); transition: color 150ms; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav__links a:hover, .nav__links a.is-current { color: var(--color-text); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: var(--space-2); color: var(--color-text); }
.nav__mobile { list-style: none; margin: 0; padding: var(--space-2) var(--space-5) var(--space-5); display: grid; gap: var(--space-1); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a { display: block; padding: 10px 0; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--color-border); }
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vh, 104px) 0 var(--space-8); }
.hero::before {
  content: ""; position: absolute; inset: -10% 0 auto; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, var(--color-green-50) 0%, transparent 70%);
}
.hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { padding: 7px 14px 7px 12px; border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-border); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--color-text-secondary); box-shadow: var(--shadow-sm); }
.hero__title {
  margin-top: var(--space-5);
  font-size: clamp(2.9rem, 8.2vw, 6.4rem); font-weight: 400; letter-spacing: -0.035em; line-height: 0.98;
  color: var(--color-charcoal-900); max-width: 12ch;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .w > span { display: inline-block; will-change: transform; }
.hero__title em { font-style: italic; color: var(--color-primary); }
.hero__subtitle { margin-top: var(--space-5); font-size: clamp(17px, 1.6vw, 19.5px); color: var(--color-text-secondary); max-width: 50ch; }
.hero__actions { margin-top: var(--space-6); display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }

.hero__stage { margin-top: clamp(40px, 7vh, 72px); padding: 0 var(--space-4); }
.hero__media {
  position: relative; margin: 0 auto; max-width: 1400px;
  aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden;
  background: #cfc9b8 url("media/hero-poster.webp") center / cover no-repeat;
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 0%;
}
@media (max-width: 700px) { .hero__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 18, 12, .28)); pointer-events: none; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(252, 252, 249, .9); color: #26241F;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(26, 24, 20, .14);
  font-size: 14px; line-height: 1.25; max-width: 300px;
}
.chip__label { display: block; font-size: 11.5px; color: #7D7765; font-weight: 500; }
.chip__value { display: block; font-weight: 600; }
.chip__icon, .chip__leaf { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.chip__icon svg, .chip__leaf svg { width: 19px; height: 19px; }
.chip__icon--water { background: #E2EDF3; color: #3F6E8C; }
.chip__icon--sun { background: #FBE9DA; color: #C9652A; }
.chip__leaf { background: #E4EDE3; color: #2D5A3D; }
.chip--a { left: 5%; top: 12%; }
.chip--b { left: 9%; top: 31%; }
.chip--c { right: 5%; bottom: 9%; }
@media (max-width: 700px) {
  .chip { font-size: 13px; padding: 9px 14px 9px 9px; }
  .chip__icon, .chip__leaf { width: 30px; height: 30px; }
  .chip--a { left: 4%; top: 5%; }
  .chip--b { display: none; }
  .chip--c { right: 4%; left: 4%; bottom: 5%; max-width: none; }
}

.media-toggle {
  position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(20, 18, 12, .35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: .7; transition: opacity var(--dur-fast);
}
.media-toggle:hover, .media-toggle:focus-visible { opacity: 1; }
.media-toggle .i-play { display: none; }
.media-toggle.is-paused .i-play { display: block; }
.media-toggle.is-paused .i-pause { display: none; }

.hero__facts { list-style: none; margin: var(--space-7) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.hero__facts li { display: flex; align-items: baseline; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.hero__facts strong { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--color-primary); }
.hero__facts span { font-size: 14px; color: var(--color-text-secondary); line-height: 1.4; }
@media (max-width: 760px) { .hero__facts { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Statement (scroll-lit words) ---------- */
.statement { padding: clamp(80px, 16vh, 180px) 0; }
.statement__text {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.22; max-width: 26ch; margin: 0 auto; text-align: center;
  color: var(--color-text);
}
.js .statement__text .sw { opacity: .16; transition: opacity 120ms linear; }
.js .statement__text .sw.is-lit { opacity: 1; }

/* ---------- Section shell ---------- */
.section { padding: clamp(72px, 12vh, 128px) 0; }
.section--tight { padding-top: var(--space-8); }
.section-muted { background: var(--color-surface-muted); }
.section__head { max-width: 720px; margin: 0 auto var(--space-8); text-align: center; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-top: var(--space-3); color: var(--color-charcoal-900); }
.section__subtitle { margin: var(--space-4) auto 0; color: var(--color-text-secondary); font-size: 17.5px; max-width: 56ch; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .hero [data-fade] { opacity: 0; transform: translateY(14px); }

/* ---------- Story (sticky how-it-works) ---------- */
.story__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__stage { position: sticky; top: calc(var(--nav-h) + 32px); height: min(76vh, 680px); display: flex; flex-direction: column; gap: var(--space-4); }
.story__frame { position: relative; flex: 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface-muted); border: 1px solid var(--color-border); }
.scene { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity 800ms var(--ease), transform 1200ms var(--ease); }
.scene.is-active { opacity: 1; transform: none; }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene--phone { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, var(--color-green-100), var(--color-surface-muted) 70%); }
.story__progress { display: flex; gap: 8px; justify-content: center; }
.story__progress span { height: 4px; width: 28px; border-radius: 4px; background: var(--color-border); transition: background 400ms, width 400ms var(--ease); }
.story__progress span.is-on { background: var(--color-primary); width: 48px; }

.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: var(--space-6) 0; opacity: .28; transition: opacity 600ms var(--ease); }
.story__step.is-active { opacity: 1; }
.story__step:first-child { min-height: 56vh; justify-content: flex-start; padding-top: 12vh; }
.story__step:last-child { min-height: 64vh; }
.story__num { font-family: var(--font-display); font-size: 15px; color: var(--color-primary); letter-spacing: .04em; }
.story__step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: var(--space-3); color: var(--color-charcoal-900); }
.story__step p { margin-top: var(--space-4); font-size: 17.5px; color: var(--color-text-secondary); max-width: 42ch; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__stage { top: 0; height: calc(52vh + var(--nav-h) + 20px); z-index: 2; padding: calc(var(--nav-h) + 8px) 0 12px; background: var(--color-bg); }
  .story__frame { border-radius: var(--radius-lg); }
  .story__steps { position: relative; z-index: 1; }
  .story__step, .story__step:first-child, .story__step:last-child { min-height: 0; justify-content: flex-start; padding: 24vh 0 var(--space-6); }
  .story__step:first-child { padding-top: var(--space-5); }
  .story__step:last-child { padding-bottom: 16vh; }
}

/* ---------- Phone mockup (real app IA) ---------- */
.phone {
  position: relative; width: min(290px, 70%); aspect-ratio: 9 / 19; border-radius: 46px; padding: 10px;
  background: #1A1814; box-shadow: 0 40px 80px rgba(26, 24, 20, .25), inset 0 0 0 1.5px #3a3833;
}
@media (max-width: 900px) { .phone { width: auto; height: 92%; } }
.phone__island { position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; background: #000; border-radius: 20px; transform: translateX(-50%); z-index: 2; }
.phone__screen {
  position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #FCFCF9; color: #26241F;
  padding: 50px 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; line-height: 1.35;
}
.app-top { position: absolute; top: 18px; left: 30px; font-weight: 600; font-size: 12px; }
.app-title { font-family: var(--font-display); font-size: 21px; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 4px; }
.app-muted { color: #7D7765; }
.center { text-align: center; }
.app-card { background: #fff; border: 1px solid #ECE8DE; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 8px rgba(26,24,20,.04); }
.app-card--soft { background: #F1F6EF; border-color: transparent; gap: 3px; }
.app-card b { font-weight: 600; }
.scan { position: relative; height: 150px; display: grid; place-items: center; margin: 4px 0; }
.scan__ring { position: absolute; width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid #9AA88E; opacity: 0; animation: ring 3s var(--ease-soft) infinite; }
.scan__ring:nth-child(2) { animation-delay: 1s; }
.scan__ring:nth-child(3) { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.scan__core { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #2D5A3D; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(45,90,61,.35); }
.scan__core svg { width: 24px; height: 24px; }
.found { flex-direction: row; align-items: center; gap: 10px; }
.found__pebble { width: 30px; height: 38px; border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; background: linear-gradient(160deg, #A6B39A, #7F8E73); box-shadow: inset 0 -6px 0 #2A2925; flex-shrink: 0; }
.found__text { flex: 1; display: flex; flex-direction: column; }
.found__text small { color: #7D7765; font-size: 11px; }
.found__btn { background: #2D5A3D; color: #fff; font-weight: 600; font-size: 12px; padding: 6px 14px; border-radius: 999px; }
.scene.is-active .found { animation: pop-in 700ms var(--ease) 900ms both; }
.scene.is-active .app-card--soft { animation: pop-in 700ms var(--ease) 1300ms both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.plant__row { display: flex; align-items: center; gap: 10px; }
.plant__avatar { width: 34px; height: 34px; border-radius: 12px; flex-shrink: 0; background: radial-gradient(circle at 35% 35%, #A9C49A, #4F7A52); }
.plant__avatar--fig { background: radial-gradient(circle at 35% 35%, #8FAE7E, #2F5A3A); }
.plant__avatar--olive { background: radial-gradient(circle at 35% 35%, #C6CCA6, #7C8B5E); }
.plant__avatar--snake { background: radial-gradient(circle at 35% 35%, #B5C68A, #536B3B); }
.plant__meta { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.plant__meta small { color: #7D7765; font-size: 11px; }
.plant__why { color: #4A4740; font-size: 11.5px; }
.plant--warn { border-color: #F3D4BA; }
.status { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.status--ok { background: #E4EDE3; color: #2D5A3D; }
.status--warn { background: #FBE9DA; color: #A2541F; }
.status--info { background: #E2EDF3; color: #3F6E8C; }
.meter { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px; font-size: 11px; color: #7D7765; }
.meter__track { height: 6px; border-radius: 6px; background: #EFECE3; overflow: hidden; }
.meter__fill { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: #5E8F69; transform-origin: left; }
.meter__fill--sun { background: #E8A26E; }
.scene.is-active .meter__fill { animation: grow 1400ms var(--ease) 500ms both; }
.scene.is-active .plant { animation: pop-in 700ms var(--ease) both; }
.scene.is-active .plant + .plant { animation-delay: 200ms; }
@keyframes grow { from { transform: scaleX(0); } }
.app-tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid #ECE8DE; font-size: 10px; color: #9A9384; }
.app-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.app-tabs i { width: 18px; height: 18px; border-radius: 6px; background: #E5E1D6; }
.app-tabs .is-on { color: #2D5A3D; font-weight: 600; }
.app-tabs .is-on i { background: #2D5A3D; }

/* ---------- Insights ---------- */
.insights__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 900px) { .insights__grid { grid-template-columns: 1fr; } }
.media-frame { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: #d9d3c2; min-height: 360px; box-shadow: var(--shadow-md); }
.media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-frame__tag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(252,252,249,.92); color: #26241F; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); }
.media-frame__tag .pulse-dot { background: #3F6E8C; }

.chart-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: var(--space-4); box-shadow: var(--shadow-sm); }
.chart-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); flex-wrap: wrap; }
.chart-card__title { font-family: var(--font-display); font-size: 1.6rem; margin-top: 2px; }
.seg { display: inline-flex; background: var(--color-surface-muted); border-radius: 999px; padding: 3px; font-size: 12px; color: var(--color-text-muted); }
.seg span { padding: 5px 11px; border-radius: 999px; }
.seg .is-on { background: var(--color-surface); color: var(--color-text); font-weight: 600; box-shadow: var(--shadow-sm); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart__band { fill: var(--color-green-50); }
.chart__band-label { fill: var(--color-primary); font-size: 12px; font-weight: 600; font-family: var(--font-body); }
.chart__grid line { stroke: var(--color-border); stroke-dasharray: 2 5; }
.chart__line { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart__forecast { fill: none; stroke: var(--color-primary); stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.chart__drops circle { fill: var(--color-info-bg); }
.chart__drops path { fill: var(--color-info); }
.chart__now { fill: var(--color-surface); stroke: var(--color-primary); stroke-width: 3; }
.chart__axis { fill: var(--color-text-muted); font-size: 12px; font-family: var(--font-body); }
.chart__axis--end { text-anchor: end; }
.insight { display: flex; gap: var(--space-3); align-items: flex-start; background: var(--color-surface-muted); border-radius: var(--radius-md); padding: var(--space-4); }
.insight p { font-size: 15px; color: var(--color-text-secondary); }
.insight b { color: var(--color-text); font-weight: 600; }
.insight__icon { width: 34px; height: 34px; border-radius: 11px; background: var(--color-info-bg); color: var(--color-info); display: grid; place-items: center; flex-shrink: 0; }
.insight__icon svg { width: 18px; height: 18px; }
.chart-card__note { font-size: 12.5px; color: var(--color-text-muted); }

/* ---------- Bento (what it measures) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.tile { position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: var(--space-2); transition: box-shadow 400ms var(--ease), transform 400ms var(--ease); }
.tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile h3 { font-size: 1.5rem; margin-top: var(--space-3); }
.tile p { color: var(--color-text-secondary); font-size: 15px; max-width: 40ch; }
.tile--moisture { grid-column: span 4; }
.tile--light { grid-column: span 2; }
.tile--climate { grid-column: span 3; }
.tile--battery { grid-column: span 3; }
@media (max-width: 900px) { .tile--moisture, .tile--light, .tile--climate, .tile--battery { grid-column: span 6; } }
.tile__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--color-green-100); color: var(--color-primary); display: grid; place-items: center; }
.tile__icon svg { width: 22px; height: 22px; }
.tile__icon--sun { background: var(--color-warning-bg); color: var(--color-accent); }

.scale { margin-top: auto; padding-top: var(--space-6); }
.scale__track { position: relative; height: 12px; border-radius: 12px; background: linear-gradient(90deg, #E9C9A6, #DCE6D4 35%, #C9DCC7 55%, #BCD3E0); }
.scale__fill { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: inherit; background: transparent; }
.scale__knob { position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--color-surface); border: 3px solid var(--color-primary); box-shadow: var(--shadow-md); transition: left 1600ms var(--ease); }
.tile.is-visible .scale__knob { left: 52%; }
.scale__labels { display: flex; justify-content: space-between; margin-top: var(--space-3); font-size: 12.5px; color: var(--color-text-muted); }
.scale__labels span:nth-child(2) { color: var(--color-primary); font-weight: 600; }

.sunarc { margin-top: auto; padding-top: var(--space-4); width: 100%; height: auto; overflow: visible; }
.sunarc__path { fill: none; stroke: var(--color-border); stroke-width: 2; stroke-dasharray: 3 6; }
.sunarc__lit { fill: none; stroke: var(--color-accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 315; stroke-dashoffset: 315; transition: stroke-dashoffset 2200ms var(--ease); }
.sunarc__sun { fill: var(--color-accent); filter: drop-shadow(0 0 8px rgba(232,130,62,.6)); }
.tile.is-visible .sunarc__lit { stroke-dashoffset: 110; }

.readouts { margin-top: auto; padding-top: var(--space-5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.readouts > div { border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.readout { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.readouts small { color: var(--color-text-muted); font-size: 13px; }

.sleep { margin-top: auto; padding-top: var(--space-6); display: flex; align-items: flex-end; gap: 6px; height: 72px; }
.sleep span { flex: 1; height: 6px; border-radius: 4px; background: var(--color-green-100); }
.sleep span:nth-child(4n+1) { height: 100%; background: var(--color-primary); opacity: .85; }
.tile.is-visible .sleep span:nth-child(4n+1) { animation: blip 2.4s var(--ease-soft) infinite; }
.sleep span:nth-child(5) { animation-delay: .6s !important; }
.sleep span:nth-child(9) { animation-delay: 1.2s !important; }
@keyframes blip { 0%, 100% { transform: scaleY(.25); transform-origin: bottom; } 20% { transform: scaleY(1); } 45% { transform: scaleY(.25); } }

.mini-features { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-5); }
.mini-features li { border-top: 1px solid var(--color-border); padding-top: var(--space-4); display: flex; flex-direction: column; gap: 6px; }
.mini-features b { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-features span { font-size: 14px; color: var(--color-text-secondary); }
@media (max-width: 1000px) { .mini-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mini-features { grid-template-columns: 1fr; } }
.pill { display: inline-block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--color-orange-100); color: var(--color-warning); border-radius: var(--radius-full); padding: 3px 9px; }

/* ---------- Hardware ---------- */
.hardware { background: linear-gradient(180deg, var(--color-bg), #F1E9E2 40%, var(--color-bg)); }
@media (prefers-color-scheme: dark) { .hardware { background: linear-gradient(180deg, var(--color-bg), #1F1B17 40%, var(--color-bg)); } }
.hardware__stage { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; align-items: center; gap: var(--space-6); }
.hardware__product { grid-column: 2; position: relative; aspect-ratio: 834 / 1112; border-radius: var(--radius-xl); overflow: hidden; background: #E8DED6 url("media/orbit-poster.webp") center / cover; box-shadow: var(--shadow-lg); }
.hardware__product video { width: 100%; height: 100%; object-fit: cover; }
.callouts { display: contents; list-style: none; }
.callout { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4) 0; border-top: 1px solid var(--color-border); max-width: 280px; }
.callout b { font-weight: 600; font-size: 15.5px; }
.callout span { color: var(--color-text-secondary); font-size: 14.5px; }
.callout--1 { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; align-self: start; margin-top: 12%; }
.callout--2 { grid-column: 3; grid-row: 1; align-self: start; margin-top: 18%; }
.callout--3 { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; align-self: end; margin-bottom: 30%; }
.callout--4 { grid-column: 3; grid-row: 1; align-self: end; margin-bottom: 12%; }
.hardware__product { grid-row: 1; }
@media (max-width: 900px) {
  .hardware__stage { grid-template-columns: 1fr 1fr; }
  .hardware__product { grid-column: 1 / -1; max-width: 380px; width: 100%; justify-self: center; }
  .callouts { display: contents; }
  .callout, .callout--1, .callout--2, .callout--3, .callout--4 { grid-column: auto; grid-row: auto; text-align: left; justify-self: stretch; margin: 0; max-width: none; }
}
@media (max-width: 520px) { .hardware__stage { grid-template-columns: 1fr; } }

.inside { margin-top: clamp(64px, 10vh, 120px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .inside { grid-template-columns: 1fr; } }
.inside__img { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.inside__img > div { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.inside__img img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.inside__img figcaption { margin-top: var(--space-3); font-size: 12.5px; color: var(--color-text-muted); }
.inside__title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: var(--space-3); }
.inside__text > p { margin-top: var(--space-4); color: var(--color-text-secondary); font-size: 16.5px; max-width: 52ch; }
.inside__text a { color: var(--color-primary); text-underline-offset: 3px; }
.specs { margin: var(--space-6) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
.specs div { padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.specs dt { font-size: 12.5px; color: var(--color-text-muted); }
.specs dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; }

/* ---------- Whole home ---------- */
.home { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #26241F; isolation: isolate; }
.home__media { position: absolute; inset: 0; z-index: -1; background: #E9E2D6 url("media/home-poster.webp") center / cover; }
.home__media video { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.home__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,244,236,.92) 0%, rgba(248,244,236,.55) 34%, transparent 60%); }
.home__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); padding-top: var(--space-9); padding-bottom: var(--space-8); }
.home__copy { max-width: 440px; }
.home__copy .eyebrow { color: #2D5A3D; }
.home__copy .section__title { color: #1A1814; }
.home__copy p { margin-top: var(--space-4); color: #4A4740; font-size: 17px; }
.home__list { width: min(360px, 100%); background: rgba(252,252,249,.94); border-radius: var(--radius-lg); padding: var(--space-2); box-shadow: var(--shadow-lg); }
.home__row { display: flex; align-items: center; gap: var(--space-3); padding: 12px; border-radius: 14px; font-size: 14px; }
.home__row + .home__row { border-top: 1px solid #ECE8DE; }
.home__row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.home__row small { color: #7D7765; font-size: 12px; }
.home__row .status { font-size: 11.5px; }
@media (max-width: 800px) {
  .home { min-height: auto; display: block; }
  .home__media { position: relative; height: 56vw; min-height: 260px; }
  .home__media video { height: 100%; }
  .home__media::after { display: none; }
  .home__inner { flex-direction: column; align-items: stretch; padding-top: var(--space-6); padding-bottom: var(--space-8); color: var(--color-text); }
  .home__copy .section__title { color: var(--color-charcoal-900); }
  .home__copy .eyebrow { color: var(--color-primary); }
  .home__copy p { color: var(--color-text-secondary); }
  .home__list { width: 100%; box-shadow: var(--shadow-md); border: 1px solid #ECE8DE; }
}

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--color-surface-muted); }
.trust-item__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); display: grid; place-items: center; color: var(--color-primary); margin-bottom: var(--space-5); }
.trust-item h3 { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
.trust-item p { margin-top: var(--space-2); color: var(--color-text-secondary); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-6); align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.pricing__img { margin: 0; border-radius: var(--radius-xl); overflow: hidden; min-height: 320px; }
.pricing__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease); }
.pricing__img:hover img { transform: scale(1.03); }
.pricing-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pricing-card__price { font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: -0.03em; margin-top: var(--space-3); line-height: 1; }
.pricing-card__price span { font-size: 16px; font-family: var(--font-body); color: var(--color-text-muted); font-weight: 500; letter-spacing: 0; }
.pricing-card__list { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-3); }
.pricing-card__list li { display: flex; gap: var(--space-3); align-items: center; font-size: 15px; color: var(--color-text-secondary); }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--color-green-100); flex-shrink: 0; position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--color-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pricing-card .btn { margin-top: auto; }
.pricing-note { margin-top: var(--space-4); font-size: 13px; color: var(--color-text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary { list-style: none; cursor: pointer; padding: var(--space-5) 0; font-size: 17.5px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0; transition: transform 400ms var(--ease), background 300ms; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--color-surface-muted); }
.faq-item__a { padding: 0 var(--space-8) var(--space-5) 0; color: var(--color-text-secondary); font-size: 15.5px; }
.faq-item[open] .faq-item__a { animation: faq-in 500ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Waitlist ---------- */
.waitlist { position: relative; overflow: hidden; background: #234A31; border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 72px); color: #fff; }
.waitlist__glow { position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(154,168,142,.45), transparent 65%); pointer-events: none; animation: drift 14s var(--ease-soft) infinite alternate; }
@keyframes drift { to { transform: translate(-120px, 80px) scale(1.15); } }
.waitlist__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .waitlist__inner { grid-template-columns: 1fr; gap: var(--space-6); } }
.waitlist__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: #fff; }
.waitlist__subtitle { margin-top: var(--space-4); color: rgba(255,255,255,0.85); font-size: 17px; max-width: 40ch; }
.form-grid { display: grid; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: var(--space-2); color: rgba(255,255,255,0.92); }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 15px; font-family: var(--font-body);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.field input:hover, .field select:hover { border-color: rgba(255,255,255,0.4); }
.field input::placeholder { color: rgba(255,255,255,0.55); }
.field input:focus, .field select:focus { outline: 2px solid rgba(255,255,255,0.7); outline-offset: 1px; background: rgba(255,255,255,0.12); }
.field select option { color: #1A1814; }
.checkbox-row { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: rgba(255,255,255,0.88); }
.checkbox-row input { accent-color: var(--color-accent); width: 16px; height: 16px; }
.waitlist .btn-accent { margin-top: var(--space-2); }
.form-success { display: none; text-align: center; padding: var(--space-6) 0; }
.form-success.is-visible { display: block; animation: pop-in 700ms var(--ease); }
.form-success h3 { color: #fff; font-size: 1.6rem; }
.form-success p { color: rgba(255,255,255,0.85); margin-top: 8px; font-size: 15px; }
.form-success__icon { width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: 50%; background: rgba(255,255,255,0.15); display: grid; place-items: center; }

/* ---------- Footer ---------- */
.footer { padding: var(--space-8) 0 var(--space-6); border-top: 1px solid var(--color-border); }
.footer__top { display: flex; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.footer__brand { max-width: 300px; }
.footer__brand p { margin-top: 12px; color: var(--color-text-muted); font-size: 14px; }
.footer__cols { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.footer__col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.footer__col a { display: block; font-size: 14.5px; color: var(--color-text-secondary); text-decoration: none; margin-bottom: var(--space-2); }
.footer__col a:hover { color: var(--color-primary); }
.footer__bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 13px; color: var(--color-text-muted); }

/* ---------- Legal pages ---------- */
.legal { padding: var(--space-8) 0; max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 2.6rem; }
.legal .updated { color: var(--color-text-muted); font-size: 14px; margin-top: var(--space-2); }
.legal h2 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; margin-top: var(--space-7); letter-spacing: 0; }
.legal p, .legal li { color: var(--color-text-secondary); font-size: 15.5px; margin-top: var(--space-3); }
.legal .notice { background: var(--color-orange-100); border-radius: var(--radius-md); padding: var(--space-5); margin-top: var(--space-6); font-size: 14px; color: var(--color-text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero [data-fade] { opacity: 1; transform: none; }
  .js .statement__text .sw { opacity: 1; }
  .scale__knob { left: 52%; }
  .sunarc__lit { stroke-dashoffset: 110; }
}
