/*
 * Laxmee site. One visual language with the app: forest green ground, pale-mint paper sections
 * for contrast, Manrope display over Inter text, and the lotus's gold dot as the recurring mark.
 * Layout: a 1200px editorial grid; sections are open bands, not cards.
 */
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/manrope-600.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope-700.woff2) format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope-800.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format('woff2'); }

:root {
  /* Brand (the app's tokens) */
  --forest: #0B110E;
  --forest-2: #101A14;
  --deep: #14231B;
  --emerald: #006B45;
  --emerald-2: #0B7A52;
  --mint: #42C99A;
  --sage: #A2D4B9;
  --pale: #D9EDE1;
  --gold: #F5B82E;
  --ink: #E8EFEA;
  --ink-2: #9BAAA1;
  --hair: rgba(232, 239, 234, 0.09);
  /* Paper sections */
  --paper: #F4F7F2;
  --paper-ink: #15251D;
  --paper-ink-2: #55635A;
  --paper-hair: rgba(21, 37, 29, 0.10);

  --display: Manrope, "Segoe UI", system-ui, sans-serif;
  --text: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 28px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--forest); padding: 8px 14px; border-radius: 999px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage);
}
/* The lotus's gold dot: the site's one recurring mark. */
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--mint); color: #03140C; }
.btn-primary:hover { background: #5ad3a8; }
.btn-ghost { color: var(--ink); border: 1px solid rgba(232, 239, 234, 0.22); }
.btn-ghost:hover { border-color: var(--sage); }
.btn svg { width: 18px; height: 18px; }
.paper .btn-ghost { color: var(--paper-ink); border-color: var(--paper-hair); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 17, 14, 0.86); border-bottom-color: var(--hair); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { height: 30px; width: auto; }
.brand .word { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-2); font: 500 15px/1 var(--text); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 42px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; border-top: 1px solid var(--hair); background: rgba(11, 17, 14, 0.97); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 20px; }
  .mobile-menu a:not(.btn) { display: block; padding: 14px 0; font: 600 20px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--hair); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 112px); }
.hero::before { /* soft emerald light behind the device */
  content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 122, 82, 0.34), rgba(11, 122, 82, 0) 72%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 .soft { color: var(--sage); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-note { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.hero-art { position: relative; display: flex; justify-content: center; padding-block: 12px 0; }
/* The wide leaves rise from the bottom-right corner of the hero, behind the phone. */
.hero-leaves { position: absolute; right: 0; bottom: 0; width: min(62vw, 1040px); height: auto; opacity: 0.55; pointer-events: none; }
.hero-grid { z-index: 1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-leaves { width: 130vw; right: -15vw; opacity: 0.45; }
  .hero-art { margin-top: 12px; }
}

/* ---------- Bands (sections) ---------- */
.band { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .lede, .paper p.body { color: var(--paper-ink-2); }
.paper .eyebrow { color: var(--emerald); }
.deep { background: var(--deep); }
.rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* Brand introduction */
.intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-copy { display: flex; flex-direction: column; gap: 24px; }
.intro-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--paper-hair); }
.intro-facts div { padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.intro-facts div + div { padding-left: 24px; border-left: 1px solid var(--paper-hair); }
.intro-facts strong { font: 800 22px/1.2 var(--display); letter-spacing: -0.01em; }
.intro-facts span { color: var(--paper-ink-2); font-size: 15px; }
.intro-art { justify-self: end; width: min(400px, 100%); }
.intro-art img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; }
  .intro-art { justify-self: center; width: min(240px, 70vw); order: -1; }
  .intro-facts { grid-template-columns: 1fr; }
  .intro-facts div, .intro-facts div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--paper-hair); }
}

/* Product showcase */
.showcase-head { display: flex; flex-direction: column; gap: 18px; max-width: 46em; margin-bottom: clamp(48px, 7vw, 96px); }
/* Three columns: phone | the growing plant | words, alternating sides. */
#features .wrap { position: relative; }
.feature { --node: clamp(140px, 17vw, 240px); position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--node) minmax(0, 1fr); column-gap: clamp(20px, 3.5vw, 56px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 136px); }
.feature .feature-art { order: 1; }
.feature .node { order: 2; }
.feature .feature-copy { order: 3; }
.feature:nth-of-type(even) .feature-art { order: 3; }
.feature:nth-of-type(even) .feature-copy { order: 1; justify-self: end; }

/* The plant: a drawn stem (stalk.js) joining four growth stages from the app's art. */
.stem { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.stem path { fill: none; stroke: #0A6243; stroke-linecap: round; }
.node { width: var(--node); justify-self: center; }
.node img { width: 100%; height: auto; transform-origin: 50% 62%; }
/* Only when stalk.js runs and motion is welcome: stages wait for the stem, then unfurl. */
.stalk-live .node img { opacity: 0; transform: scale(0.86) rotate(-4deg); transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
.stalk-live .node.grown img { opacity: 1; transform: none; }
.stalk-live .feature:nth-of-type(even) .node img { transform: scale(0.86) rotate(4deg); }
.stalk-live .feature:nth-of-type(even) .node.grown img { transform: none; }
.feature-copy { display: flex; flex-direction: column; gap: 18px; max-width: 30em; }
.feature-copy .num { font: 700 14px/1 var(--display); color: var(--gold); letter-spacing: 0.08em; }
.feature-copy p { color: var(--ink-2); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.ticks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 16px; color: var(--ink); }
.ticks li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--mint); flex: none; }
.feature-art { display: flex; justify-content: center; position: relative; }
.feature-art::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(66, 201, 154, 0.14), transparent 70%); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; row-gap: 32px; }
  .feature .feature-art, .feature:nth-of-type(even) .feature-art { order: 0; }
  .feature .feature-copy, .feature:nth-of-type(even) .feature-copy { order: 1; justify-self: start; }
  .node, .stem { display: none; }
}

/* Privacy band */
.privacy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.privacy-art img { width: min(460px, 100%); height: auto; margin-inline: auto; }
.privacy-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: 36px; }
.privacy-list h3 { font-size: 19px; margin-bottom: 6px; }
.privacy-list p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .privacy { grid-template-columns: 1fr; }
  .privacy-art img { width: min(300px, 80vw); }
  .privacy-list { grid-template-columns: 1fr; }
}

/* Philosophy */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--hair); }
.principles article { padding: 32px 32px 0 0; display: flex; flex-direction: column; gap: 12px; }
.principles article + article { padding-left: 32px; border-left: 1px solid var(--hair); }
.principles p { color: var(--ink-2); }
.principles .big { font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 860px) {
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
}

/* How it works */
.steps { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 14px; counter-increment: step; position: relative; }
/* Each step's illustration sits above its number. */
.steps .art { order: -1; height: 190px; display: flex; align-items: flex-end; margin-bottom: 8px; }
.steps .art img { max-height: 190px; width: auto; max-width: 100%; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--emerald); color: #fff;
  font: 800 18px/1 var(--display);
}
.steps li::after { /* the line joining the steps */
  content: ""; position: absolute; top: 234px; left: 60px; right: calc(-1 * clamp(24px, 4vw, 56px) + 16px); height: 1px; background: var(--paper-hair);
}
.steps li:last-child::after { display: none; }
.steps h3 { color: var(--paper-ink); }
.steps p { color: var(--paper-ink-2); font-size: 16px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 40px 64px; }
  .steps .art { height: 160px; }
  .steps .art img { max-height: 160px; }
  .steps li::before { position: absolute; left: 0; top: 182px; }
  .steps li::after { top: 234px; bottom: 6px; left: 22px; right: auto; width: 1px; height: auto; }
}

/* Final CTA */
.cta {
  position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, #0A3A28 0%, #0D4F36 55%, #106142 100%);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 32px;
}
.cta .leaf { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 62%; object-fit: cover; object-position: right center; opacity: 0.95; pointer-events: none; }
.cta-copy { position: relative; display: flex; flex-direction: column; gap: 20px; }
.cta-copy p { color: #CFE3D8; max-width: 30em; }
.cta-copy .btn-primary { background: var(--gold); color: #2B1E04; }
.cta-copy .btn-primary:hover { background: #ffc94d; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-copy .btn-ghost { border-color: rgba(255, 255, 255, 0.3); }
@media (max-width: 760px) {
  .cta { grid-template-columns: 1fr; }
  .cta .leaf { opacity: 0.35; max-width: none; width: 100%; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq-head { display: flex; flex-direction: column; gap: 18px; align-self: start; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 700 clamp(18px, 1.6vw, 21px)/1.3 var(--display); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .chev { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; flex: none; transition: transform .2s, background-color .2s; }
.faq-list summary .chev svg { width: 16px; height: 16px; color: var(--sage); }
.faq-list details[open] summary .chev { transform: rotate(45deg); background: var(--deep); }
.faq-list .answer { padding: 0 48px 26px 0; color: var(--ink-2); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-list .answer { padding-right: 0; } }

/* Footer */
.site-footer { border-top: 1px solid var(--hair); padding-block: 56px 40px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.6fr)); gap: 40px; }
.foot p { color: var(--ink-2); font-size: 15px; max-width: 26em; margin-top: 16px; }
.foot h2 { font: 600 12px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 13px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- Phone (the app, rebuilt from its design system) ---------- */
.phone {
  --pw: 300px;
  position: relative; width: var(--pw); max-width: 100%; aspect-ratio: 300 / 620; flex: none;
  border-radius: 46px; padding: 9px; background: #050806;
  box-shadow: 0 0 0 1.5px #26332C inset, 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone.lg { --pw: 330px; }
.screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden; color: #E6EDE8;
  background:
    radial-gradient(70% 40% at 12% 6%, rgba(60, 194, 140, 0.12), transparent 70%),
    radial-gradient(60% 35% at 95% 32%, rgba(245, 184, 46, 0.06), transparent 70%),
    #0B110E;
  font-family: var(--text); font-size: 11px; line-height: 1.35;
  display: flex; flex-direction: column; container-type: inline-size;
}
.sbar { display: flex; justify-content: space-between; padding: 12px 22px 4px; font: 600 10px/1 var(--text); color: #E6EDE8; }
.sbar i { display: inline-block; width: 16px; height: 8px; border-radius: 2px; border: 1px solid #9BA89F; position: relative; }
.sbar i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: #E6EDE8; border-radius: 1px; }
.scr { flex: 1; padding: 6px 14px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.shead { display: flex; align-items: center; justify-content: space-between; }
.shead b { font: 800 19px/1.1 var(--display); letter-spacing: -0.02em; }
.shead small { display: block; color: #9BA89F; font-size: 9.5px; margin-top: 3px; }
.ibtns { display: flex; gap: 6px; }
.ib { width: 30px; height: 30px; border-radius: 50%; background: rgba(22, 32, 27, 0.7); border: 1px solid rgba(255, 255, 255, 0.07); display: grid; place-items: center; position: relative; }
.ib svg { width: 14px; height: 14px; color: #E6EDE8; }
.ib.dot::after { content: ""; position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.glass { background: rgba(22, 32, 27, 0.62); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 18px; }
.amt { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt .r { opacity: 0.55; margin-right: 1px; }
.muted { color: #9BA89F; }
.chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; font: 600 8.5px/1.4 var(--text); white-space: nowrap; }
.chip.good { background: #11281E; color: #5BD3A2; }
.chip.warn { background: #2B2213; color: #F0B95A; }
.chip.plain { background: #18221D; color: #9BA89F; }
.balance { position: relative; overflow: hidden; border-radius: 18px; padding: 14px; min-height: 124px; background: linear-gradient(135deg, #0A3A28 0%, #0D4F36 55%, #106142 100%); display: flex; flex-direction: column; gap: 8px; }
.balance img { position: absolute; right: 0; top: 0; height: 100%; width: 64%; object-fit: cover; object-position: right center; }
.balance .in { position: relative; max-width: 66%; display: flex; flex-direction: column; gap: 3px; }
.balance .lbl { color: #9FC7B3; font-size: 9px; }
.balance .accts { position: relative; display: flex; gap: 14px; }
.balance .accts span { display: block; color: #9FC7B3; font-size: 8.5px; }
.balance .upd { position: relative; align-self: flex-start; font-size: 8px; color: #CFE3D8; background: rgba(255, 255, 255, 0.08); padding: 3px 7px; border-radius: 999px; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { padding: 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile .t { color: #9BA89F; font-size: 9px; }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
.secrow { display: flex; justify-content: space-between; align-items: baseline; }
.secrow b { font: 800 13px/1 var(--display); }
.tabbar { margin: auto 10px 12px; height: 46px; border-radius: 26px; background: rgba(18, 26, 22, 0.94); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; align-items: center; padding: 0 4px; flex: none; }
.tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 600 7.5px/1 var(--text); color: #78857C; padding: 5px 0; border-radius: 18px; }
.tabbar span svg { width: 13px; height: 13px; }
.tabbar span.on { color: #5BD3A2; background: #11281E; }
.tabbar .add { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #3CC28C; color: #03140C; margin: 0 4px; padding: 0; justify-content: center; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(22, 32, 27, 0.62); border: 1px solid rgba(255, 255, 255, 0.07); }
.seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: 999px; font-size: 9px; font-weight: 600; color: #9BA89F; }
.seg span.on { background: #11281E; color: #5BD3A2; }
.daypill { display: flex; justify-content: space-between; padding: 6px 12px; border-radius: 999px; background: #121A16; border: 1px solid rgba(255, 255, 255, 0.07); font-size: 9.5px; font-weight: 600; color: #9BA89F; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.row + .row { border-top: 1px solid #222E28; }
.row .who { flex: 1; min-width: 0; }
.row .who b { display: block; font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .who span { display: block; font-size: 8.5px; color: #9BA89F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .val { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.row .val .amt { font-size: 11px; }
.row .val small { font-size: 8px; color: #78857C; }
.tl { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.tl svg { width: 14px; height: 14px; }
.t-green { color: #4CC38A; background: #12291F; } .t-gold { color: #F4C35A; background: #2B2313; } .t-red { color: #F28A84; background: #311B19; }
.t-blue { color: #7FB0EE; background: #14233A; } .t-violet { color: #B898E8; background: #241C35; } .t-teal { color: #4FC7B6; background: #0F2A27; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 62px; padding: 0 4px; }
.bars span { flex: 1; border-radius: 6px; background: #2A3A32; min-height: 4px; }
.bars span.today { background: var(--gold); }
.barlbl { display: flex; gap: 8px; padding: 4px 4px 0; }
.barlbl span { flex: 1; text-align: center; font-size: 8px; color: #78857C; }
.barlbl span.today { color: var(--gold); font-weight: 600; }
.ringrow { display: flex; align-items: center; gap: 9px; padding: 8px 0; }
.ringrow + .ringrow { border-top: 1px solid #222E28; }
.goalcard { padding: 10px; display: flex; gap: 10px; align-items: center; }
.goalcard .gc { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.strip { padding: 6px 10px; border-radius: 0 0 17px 17px; font-size: 8.5px; line-height: 1.35; }
.strip.ok { background: #11281E; color: #5BD3A2; }
.strip.slow { background: #2B2213; color: #F0B95A; }
.goalwrap { display: flex; flex-direction: column; overflow: hidden; }

/* Phone screens are illustrations; their text is decorative for screen readers. */
.phone [aria-hidden="true"] { user-select: none; }

/* ---------- Simple pages (privacy, terms) ---------- */
.doc { max-width: 760px; padding-block: 56px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin: 16px 0 12px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.doc .note { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: #2B2213; color: #F0B95A; font-size: 15px; }
.doc a { color: var(--mint); }

/* ---------- Motion: one calm entrance, the app's easing, never a bounce ---------- */
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: fade-in .6s ease both; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .14s; }
  .hero-copy > :nth-child(3) { animation-delay: .26s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .hero-copy > :nth-child(5) { animation-delay: .46s; }
  .hero-art .phone { animation: phone-in 1s cubic-bezier(.2, .8, .2, 1) .22s both; }
  .hero-leaves { animation: leaves-in 1.4s cubic-bezier(.2, .8, .2, 1) .1s both; transform-origin: 100% 100%; }
  /* Inside the phone the screen builds up like the app: card, tiles, then the charts. */
  .hero .balance { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .62s both; }
  .hero .secrow { animation: fade-in .6s ease .74s both; }
  .hero .bento > :nth-child(1) { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .8s both; }
  .hero .bento > :nth-child(2) { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .88s both; }
  .hero .bento > :nth-child(3) { animation: rise .7s cubic-bezier(.2, .8, .2, 1) .96s both; }
  .hero svg.draw { animation: draw 1s cubic-bezier(.2, .8, .2, 1) 1.1s both; }
  .hero .flow { animation: flow 1.1s cubic-bezier(.2, .8, .2, 1) 1.15s both; }

  /* FAQ: rises in as it comes into view (site.js marks only what starts off screen). */
  .reveal-wait { opacity: 0; transform: translateY(16px); }
  .reveal-wait.revealed { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(44px) scale(.97); } }
@keyframes leaves-in { from { opacity: 0; transform: translateY(60px) rotate(-3deg); } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes flow { from { stroke-dasharray: 0 100; } }

/* The plant brings each phone to life (stalk.js adds .alive when the stem reaches a feature,
   or when the phone scrolls into view where there is no stem). Waits a beat for the leaves. */
.stalk-live .feature .bars span { transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.stalk-live .feature .rows .row,
.stalk-live .feature .ringrow,
.stalk-live .feature .strip { transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.stalk-live .feature .meter { transition: stroke-dasharray 1.1s cubic-bezier(.2, .8, .2, 1) .3s; }
.stalk-live .feature .fill { transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .35s; }
.stalk-init .feature *, .stalk-init .node img { transition: none !important; }
.stalk-live .feature:not(.alive) .bars span { transform: scaleY(0.04); }
.stalk-live .feature:not(.alive) .rows .row,
.stalk-live .feature:not(.alive) .ringrow,
.stalk-live .feature:not(.alive) .strip { opacity: 0; transform: translateY(10px); }
.stalk-live .feature:not(.alive) .meter { stroke-dasharray: 0 100; }
.stalk-live .feature:not(.alive) .fill { transform: translateY(34px); }
.stalk-live .feature.alive .bars span:nth-child(1) { transition-delay: .30s; }
.stalk-live .feature.alive .bars span:nth-child(2) { transition-delay: .36s; }
.stalk-live .feature.alive .bars span:nth-child(3) { transition-delay: .42s; }
.stalk-live .feature.alive .bars span:nth-child(4) { transition-delay: .48s; }
.stalk-live .feature.alive .bars span:nth-child(5) { transition-delay: .54s; }
.stalk-live .feature.alive .bars span:nth-child(6) { transition-delay: .60s; }
.stalk-live .feature.alive .bars span:nth-child(7) { transition-delay: .66s; }
.stalk-live .feature.alive .row:nth-child(1), .stalk-live .feature.alive .ringrow:nth-child(1) { transition-delay: .45s; }
.stalk-live .feature.alive .row:nth-child(2), .stalk-live .feature.alive .ringrow:nth-child(2) { transition-delay: .55s; }
.stalk-live .feature.alive .row:nth-child(3), .stalk-live .feature.alive .ringrow:nth-child(3) { transition-delay: .65s; }
.stalk-live .feature.alive .goalwrap:nth-of-type(3) .strip { transition-delay: 1.1s; }
.stalk-live .feature.alive .goalwrap:nth-of-type(4) .strip { transition-delay: 1.25s; }

/* FAQ answers open and close smoothly (site.js animates the height). */
.faq-list .answer { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
