/* ============================================================
   TULIAR — Botanical wellness platform
   Design system: botanical journal at dawn, Tuliar brand
   ============================================================ */

:root {
  /* --- Brand colors (Tuliar logo) --- */
  --forest-green: #1e3e2c;
  --teal-blue: #265b68;
  --sun-orange: #eca04a;
  --sun-orange-soft: #f3c489;

  /* --- Botanical surface stack (Adaline) --- */
  --cream-paper: #fbfdf6;
  --botanical-ink: #0a1d08;
  --bark-brown: #31200b;
  --warm-loam: #4a3212;
  --forest-floor: #203b14;
  --sage-mist: #eff2e8;
  --lichen: #e0e5d5;
  --moss-veil: #d7e8b5;
  --eucalyptus: #c5ccb6;
  --onyx: #000000;

  /* --- Warm app palette (matched to Tuliar app designs) --- */
  --peach: #fbe6d2;
  --peach-soft: #fdf1e6;
  --warm-cream: #fdf7f0;

  /* --- Semantic --- */
  --bg: var(--warm-cream);
  --ink: #2b2f2b;
  --ink-soft: #8a8f88;
  --heading: #18211a;
  --primary: var(--forest-green);
  --primary-hover: #142a1d;
  --accent: var(--sun-orange);
  --border-ink: rgba(30, 40, 30, 0.08);
  --card-shadow: 0 16px 40px -22px rgba(40, 45, 40, 0.28);

  /* --- Type --- */
  --font-head: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --font-mono: 'Fragment Mono', ui-monospace, Menlo, monospace;

  /* --- Layout --- */
  --max: 1200px;
  --radius: 20px;
  --radius-sm: 10px;
  --radius-img: 16px;
  --shadow-subtle: rgba(30, 62, 44, 0.08) 0px 1px 0px 1px;
  --shadow-card: 0 18px 50px -28px rgba(20, 42, 23, 0.45);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--warm-cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, .head { font-family: var(--font-head); color: var(--heading); letter-spacing: -0.02em; line-height: 1.08; }

/* --- Utilities --- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.micro {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-green);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest-green);
  background: var(--peach);
  border-radius: 9999px;
  padding: 6px 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun-orange); }

.section { padding: 96px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center {
  margin-left: auto; margin-right: auto; text-align: center;
  background: rgba(253, 247, 240, 0.60);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 26px;
  padding: 30px 40px 34px;
  box-shadow: 0 26px 64px -36px rgba(20,30,20,.45);
}
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; margin: 18px 0 16px; }
.section-head p { color: #14210d; font-size: 19px; }

.lead { font-size: 21px; color: #14210d; font-weight: 500; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border-radius: var(--radius); padding: 14px 26px;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--forest-green); color: var(--cream-paper); }
.btn-primary:hover { background: var(--forest-floor); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-accent { background: var(--sun-orange); color: #3a2706; }
.btn-accent:hover { background: #e08f34; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border-ink); color: var(--forest-green); background: transparent; }
.btn-ghost:hover { border-color: var(--forest-green); background: var(--sage-mist); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 17px; height: 17px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, background .35s ease, backdrop-filter .35s ease;
}
/* header stays transparent (part of the video); dark-green chips make the logo + links pop */
.nav.scrolled { background: transparent; border-color: transparent; }
.nav .brand {
  background: var(--cream-paper); padding: 6px 15px 6px 12px; border-radius: 20px; border: none;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,.4);
}
.nav-links {
  background: var(--forest-green); padding: 11px 22px; border-radius: 20px; border: none;
}
.nav .brand-img { filter: none; }
.nav .brand .wm-text { color: var(--forest-green); }
.nav-toggle { border: none; background: var(--forest-green); }
.nav-toggle svg path { stroke: #fbfdf6; }
.nav-cta .btn-ghost { background: var(--forest-green); border-color: transparent; color: #fbfdf6; }
.nav-cta .btn-ghost:hover { background: var(--forest-floor); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 23px; color: var(--forest-green); letter-spacing: -0.01em; }
.brand .logo-mark { width: 34px; height: 34px; flex: none; }
/* real logo image (drop assets/img/tuliar-logo.png to activate; falls back to SVG lockup) */
.brand-img { height: 40px; width: auto; display: block; }
.footer .brand-img { height: 46px; }
.brand-fallback { display: flex; align-items: center; gap: 11px; }
.wm-text { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: 0; }
.wm-text i { font-style: normal; color: var(--teal-blue); }
.nav-links { display: flex; gap: 28px; margin-left: 14px; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fbfdf6; text-shadow: 0 1px 8px rgba(0,0,0,.5); transition: color .2s; }
.nav-links a:hover { color: var(--sun-orange); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 86px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253,247,240,.34) 0%, rgba(253,247,240,.52) 55%, var(--warm-cream) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 26px 0 22px;
}
.hero h1 .accent { color: var(--forest-green); font-style: italic; font-family: var(--font-body); font-weight: 500; }
.hero p.lead { max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: #14210d; }

/* trust strip */
.trust { margin-top: 70px; text-align: center; position: relative; z-index: 2; }
.trust .micro { display: block; margin-bottom: 20px; opacity: .85; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; }
.trust-row span { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--forest-green); opacity: .55; }

/* ============================================================
   AUDIENCE SPLIT (client / therapist)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  position: relative;
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid var(--border-ink);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.split-card.client { background: linear-gradient(160deg, var(--peach-soft), var(--peach)); box-shadow: var(--card-shadow); }
.split-card.therapist { background: linear-gradient(160deg, #21413a, var(--forest-green)); }
.split-card.therapist, .split-card.therapist h3, .split-card.therapist li, .split-card.therapist p { color: var(--cream-paper); }
.split-card .tagpill {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 9999px; display: inline-block; margin-bottom: 18px;
}
.split-card.client .tagpill { background: #fff; color: var(--forest-green); }
.split-card.therapist .tagpill { background: rgba(236,160,74,.22); color: var(--sun-orange-soft); }
.split-card h3 { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.split-card .desc { font-size: 17px; margin-bottom: 22px; opacity: .9; }
.split-list { display: grid; gap: 11px; margin-bottom: 28px; }
.split-list li { display: flex; gap: 11px; font-size: 16px; align-items: flex-start; }
.split-list li svg { flex: none; width: 19px; height: 19px; margin-top: 3px; }
.split-card.client .split-list svg { color: var(--forest-green); }
.split-card.therapist .split-list svg { color: var(--sun-orange); }

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: #ffffff;
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--card-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.feat:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -22px rgba(40,45,40,.34); }
.feat-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--peach); color: var(--forest-green);
}
.feat-ico svg { width: 24px; height: 24px; }
.feat h4 { font-size: 20px; font-weight: 600; margin-bottom: 9px; }
.feat p { font-size: 16px; color: var(--ink-soft); }

/* ============================================================
   THREE REALS (tagline pillars)
   ============================================================ */
.reals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.real {
  position: relative; text-align: center; padding: 40px 30px 36px;
  background: #fff; border-radius: 24px; border: 1px solid var(--border-ink);
  box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.real:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -24px rgba(40,45,40,.34); }
.real::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.real .rico {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 18px;
  display: grid; place-items: center; background: var(--peach); color: var(--forest-green);
}
.real .rico svg { width: 30px; height: 30px; }
.real .rword { font-family: var(--font-head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-orange); font-weight: 700; margin-bottom: 6px; }
.real h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.real p { color: var(--ink-soft); font-size: 16px; }
.tagline-strip { text-align: center; margin-bottom: 44px; }
.tagline-strip .tg-big {
  font-family: var(--font-body); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 3vw, 32px); color: var(--forest-green); line-height: 1.4;
}
.tagline-strip .tg-big b { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--heading); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.band { background: var(--peach-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.74); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid var(--border-ink); border-radius: 20px;
  padding: 32px 28px 28px; box-shadow: var(--card-shadow);
}
.step .num {
  font-family: var(--font-mono); font-size: 13px; color: var(--forest-green);
  letter-spacing: .1em; margin-bottom: 12px;
}
.step h4 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--sun-orange), var(--teal-blue)); border-radius: 9999px;
}

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */
.quote-band { background: var(--forest-green); color: var(--cream-paper); }
.quote-band .wrap { text-align: center; max-width: 880px; }
.quote-band blockquote {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35; font-weight: 500;
}
.quote-band .qmark { font-size: 64px; color: var(--sun-orange); line-height: .4; font-family: var(--font-body); }
.quote-band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--sun-orange-soft); text-transform: uppercase; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: #ffffff; border: 1px solid var(--border-ink);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow);
}
.testi .stars { color: var(--sun-orange); margin-bottom: 14px; font-size: 15px; letter-spacing: 2px; }
.testi p { font-family: var(--font-body); font-style: italic; font-size: 17px; margin-bottom: 18px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .av { width: 42px; height: 42px; border-radius: 50%; background: var(--peach); color: var(--forest-green); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.testi .who b { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--heading); display: block; }
.testi .who span { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  background: #ffffff; border: 1px solid var(--border-ink);
  border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
}
.price.featured { background: linear-gradient(165deg, #21413a, var(--forest-green)); color: var(--cream-paper); border-color: transparent; }
.price.featured h4, .price.featured .amt { color: var(--cream-paper); }
.price .plan { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-green); margin-bottom: 16px; }
.price.featured .plan { color: var(--sun-orange-soft); }
.price .amt { font-family: var(--font-head); font-size: 42px; font-weight: 700; color: var(--forest-green); letter-spacing: -0.02em; }
.price .amt span { font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.price.featured .amt span { color: var(--eucalyptus); }
.price .pdesc { font-size: 15px; color: var(--ink-soft); margin: 10px 0 24px; }
.price.featured .pdesc { color: var(--eucalyptus); }
.price ul { display: grid; gap: 12px; margin-bottom: 28px; }
.price li { display: flex; gap: 10px; font-size: 15.5px; align-items: flex-start; }
.price li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--sun-orange); }
.price .btn { margin-top: auto; }
.price-badge { position: absolute; }
.price-wrap { position: relative; }
.featured-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sun-orange); color: #3a2706; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 9999px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq {
  background: #ffffff; border: 1px solid var(--border-ink);
  border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--card-shadow);
}
.faq[open] { border-color: var(--peach); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--forest-green);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 22px; height: 22px; position: relative; transition: transform .25s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--forest-green); border-radius: 2px; }
.faq summary .pm::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq summary .pm::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: opacity .25s; }
.faq[open] summary .pm::after { opacity: 0; }
.faq .ans { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16.5px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: 28px; padding: 64px 48px; text-align: center;
  background: linear-gradient(150deg, var(--forest-green) 0%, #21413a 60%, var(--teal-blue) 130%);
  color: var(--cream-paper); overflow: hidden;
}
.cta-card h2 { color: var(--cream-paper); font-size: clamp(30px, 4.2vw, 48px); font-weight: 600; margin-bottom: 16px; }
.cta-card p { max-width: 540px; margin: 0 auto 30px; color: var(--eucalyptus); font-size: 19px; }
.cta-card .hero-actions { margin-top: 0; }
.cta-sun { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(236,160,74,.45), transparent 70%); top: -60px; right: -40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-green); color: var(--eucalyptus); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand {
  display: inline-flex; color: var(--forest-green); margin-bottom: 18px;
  background: var(--cream-paper); padding: 9px 16px; border-radius: 16px;
  box-shadow: 0 10px 26px -14px rgba(0,0,0,.55);
}
.footer .brand .wm-text { color: var(--forest-green); }
.footer-about { font-size: 16px; max-width: 300px; color: var(--eucalyptus); }
.footer h5 { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-orange-soft); margin-bottom: 18px; }
.footer-col a { display: block; font-family: var(--font-head); font-size: 15px; padding: 6px 0; color: var(--eucalyptus); transition: color .2s; }
.footer-col a:hover { color: var(--cream-paper); }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--eucalyptus); }
.crisis-note { background: rgba(236,160,74,.14); border: 1px solid rgba(236,160,74,.3); border-radius: 12px; padding: 14px 18px; margin-top: 30px; font-size: 14px; color: var(--sun-orange-soft); font-family: var(--font-head); }

/* ============================================================
   APP PREVIEW (client.html / therapist.html)
   ============================================================ */
.page-hero { padding: 70px 0 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-video { z-index: 0; }
.page-hero .hero-fade { z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 600; margin: 20px 0 18px; }
.page-hero p { max-width: 600px; margin: 0 auto; }

.mock {
  background: var(--cream-paper); border: 1px solid var(--border-ink);
  border-radius: 22px; box-shadow: var(--shadow-card); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border-ink); background: var(--sage-mist); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--eucalyptus); }
.mock-bar .dot.o { background: var(--sun-orange); }
.mock-bar .url { margin-left: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

/* dashboard layout */
.dash { display: grid; grid-template-columns: 220px 1fr; min-height: 520px; }
.dash-side { background: var(--forest-green); color: var(--eucalyptus); padding: 24px 18px; }
.dash-side .brand { color: var(--cream-paper); font-size: 19px; margin-bottom: 28px; }
.dash-nav { display: grid; gap: 4px; }
.dash-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-family: var(--font-head); font-size: 14.5px; color: var(--eucalyptus); transition: background .2s, color .2s; }
.dash-nav a svg { width: 18px; height: 18px; }
.dash-nav a.active, .dash-nav a:hover { background: rgba(255,255,255,.1); color: var(--cream-paper); }
.dash-main { padding: 28px 30px; background: var(--cream-paper); }
.dash-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dash-h h3 { font-size: 23px; font-weight: 600; }
.dash-h .greet { font-size: 13px; color: var(--ink-soft); font-family: var(--font-mono); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stat { border: 1px solid var(--border-ink); border-radius: 14px; padding: 18px; background: var(--peach-soft); }
.stat .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--forest-green); }
.stat .v { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--forest-green); margin-top: 6px; }
.stat .d { font-size: 12.5px; color: var(--ink-soft); }

.appt { border: 1px solid var(--border-ink); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.appt .when { width: 58px; text-align: center; flex: none; }
.appt .when b { display: block; font-family: var(--font-head); font-size: 19px; color: var(--forest-green); }
.appt .when span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.appt .info { flex: 1; }
.appt .info b { font-family: var(--font-head); font-size: 15.5px; color: var(--forest-green); display: block; }
.appt .info span { font-size: 13.5px; color: var(--ink-soft); }
.appt .badge { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 9999px; background: var(--moss-veil); color: var(--forest-floor); }
.appt .badge.live { background: var(--sun-orange); color: #3a2706; }

.section-title { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--forest-green); text-transform: uppercase; letter-spacing: .05em; margin: 26px 0 14px; }

/* mood / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 12px; padding: 7px 14px; border-radius: 9999px; border: 1px solid var(--border-ink); color: var(--ink-soft); background: var(--cream-paper); }
.chip.on { background: var(--moss-veil); color: var(--forest-floor); border-color: transparent; }

/* persona / detail cols on app pages */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cols-2.rev > :first-child { order: 2; }
.feature-line { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.feature-line .fi { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--peach); color: var(--forest-green); }
.feature-line .fi svg { width: 21px; height: 21px; }
.feature-line h4 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.feature-line p { font-size: 16px; color: var(--ink-soft); }

/* ============================================================
   HERO — dawn water (clean gradient fallback + optional video)
   ============================================================ */
.hero.river { padding-top: 96px; }

/* optional real video background — covers fallback when a source loads */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-video.ready { opacity: 1; }

/* layered calm-water gradient fallback */
.dawn-water { position: absolute; inset: 0; overflow: hidden; }
.dawn-water .base {
  position: absolute; inset: 0;
  background:
    linear-gradient(165deg,
      #fef9f3 0%,
      #fdeede 32%,
      #fbe6d2 60%,
      #f7ddc6 100%);
}
/* soft drifting light blooms = mist + sun, blurred so edges never look hard */
.dawn-water .bloom {
  position: absolute; border-radius: 50%;
  filter: blur(60px); will-change: transform, opacity;
}
.dawn-water .sun {
  width: 520px; height: 520px; top: -180px; right: -60px;
  background: radial-gradient(circle, rgba(247,205,150,.85), rgba(247,205,150,0) 68%);
  animation: bloomDrift 24s ease-in-out infinite;
}
.dawn-water .mist1 {
  width: 600px; height: 320px; left: -120px; top: 36%;
  background: radial-gradient(circle, rgba(251,253,246,.75), rgba(251,253,246,0) 70%);
  animation: bloomDrift 30s ease-in-out infinite reverse;
}
.dawn-water .mist2 {
  width: 520px; height: 280px; right: 8%; bottom: -40px;
  background: radial-gradient(circle, rgba(236,160,74,.18), rgba(236,160,74,0) 70%);
  animation: bloomDrift 36s ease-in-out -8s infinite;
}
@keyframes bloomDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .85; }
  50% { transform: translate3d(40px, 18px, 0) scale(1.08); opacity: 1; }
}
/* gentle horizontal water reflections near the lower third */
.dawn-water .reflections {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.22) 50%, rgba(255,255,255,0));
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 13px);
          mask-image: repeating-linear-gradient(180deg, #000 0 2px, transparent 2px 13px);
  opacity: .5;
  animation: reflShift 11s ease-in-out infinite;
}
@keyframes reflShift {
  0%, 100% { transform: translateX(-12px); opacity: .4; }
  50% { transform: translateX(12px); opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .dawn-water .bloom, .dawn-water .reflections { animation: none; }
}

/* ============================================================
   PHONE APP MOCKUPS (mirrors the Tuliar Figma screens)
   ============================================================ */
.phone-showcase { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; align-items: flex-start; }
.phone {
  width: 338px; flex: none; background: #10180f; border-radius: 46px; padding: 11px;
  box-shadow: 0 50px 90px -34px rgba(25,35,25,.55); position: relative;
}
.phone-screen {
  border-radius: 36px; overflow: hidden; height: 720px; position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(172deg, #fef4ea 0%, #fde9d7 55%, #fbe1cb 100%);
}
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #10180f; border-radius: 0 0 16px 16px; z-index: 8; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px 4px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: #1a1a1a; }
.app-status .sig { display: inline-flex; gap: 5px; align-items: center; }
.app-status .sig svg { width: 16px; height: 11px; }
.app-scroll { flex: 1; overflow: hidden; padding: 8px 18px 90px; }

/* app header variants */
.app-greet { padding: 8px 4px 4px; display: flex; justify-content: space-between; align-items: flex-start; }
.app-greet h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: #16201a; line-height: 1.15; letter-spacing: -0.02em; }
.app-greet .menu { width: 26px; height: 20px; display: grid; gap: 4px; margin-top: 8px; }
.app-greet .menu i { height: 2.5px; background: #16201a; border-radius: 2px; display: block; }
.app-greet .menu i:nth-child(2) { width: 70%; margin-left: auto; }

.app-brandbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 2px; }
.app-brandbar .wm { display: flex; align-items: center; gap: 7px; }
.app-brandbar .wm .lm { width: 30px; height: 30px; }
.app-brandbar .wm .nm { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--forest-green); }
.app-brandbar .wm .tg { font-family: var(--font-body); font-size: 8.5px; color: #8a8f88; display: block; margin-top: -2px; }
.app-brandbar .ic { display: flex; align-items: center; gap: 12px; }
.app-brandbar .ic .bell { width: 22px; height: 22px; color: #2b2f2b; }
.app-brandbar .ic .me { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; }

.app-h2 { display: flex; justify-content: space-between; align-items: center; margin: 20px 2px 12px; }
.app-h2 b { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #16201a; }
.app-h2 .arr { width: 18px; height: 18px; color: #16201a; }

/* session carousel */
.sess-row { display: flex; gap: 12px; overflow: hidden; }
.sess-card { flex: none; width: 148px; background: #fff; border-radius: 18px; padding: 9px; box-shadow: var(--card-shadow); text-align: center; }
.sess-card .ph { height: 116px; border-radius: 13px; overflow: hidden; margin-bottom: 9px; }
.sess-card b { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #16201a; }
.sess-card .cond { font-size: 12.5px; color: #9aa09a; font-family: var(--font-head); margin: 1px 0 7px; }
.sess-card .when { font-size: 12px; color: #2b2f2b; font-family: var(--font-head); font-weight: 600; margin-bottom: 9px; }
.sess-btn { display: block; width: 100%; background: var(--forest-green); color: #fff; border-radius: 12px; padding: 9px 0; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; }

/* portrait placeholder */
.portrait { width: 100%; height: 100%; background: linear-gradient(160deg, #b9c7a8, #93a886); display: grid; place-items: end center; }
.portrait svg { width: 76%; height: 86%; color: #6f8466; }

/* chart card */
.app-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--card-shadow); margin-top: 16px; }
.app-card h6 { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: #16201a; margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 150px; }
.bars i { flex: 1; border-radius: 20px; display: block; }
.bars i.dash { border: 1.5px dashed #c9bfe0; background: transparent !important; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; }
.legend span { font-family: var(--font-head); font-size: 10.5px; color: #6b706a; display: inline-flex; align-items: center; gap: 5px; }
.legend span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #ccc); }

/* green stat pills */
.pill-row { display: flex; gap: 11px; }
.pill { flex: 1; background: var(--forest-green); color: #fff; border-radius: 13px; padding: 12px 10px; text-align: center; }
.pill b { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.pill span { font-size: 11px; opacity: .85; font-family: var(--font-head); }

/* appointment row */
.app-appt { background: #fff; border-radius: 16px; padding: 13px; box-shadow: var(--card-shadow); margin-bottom: 10px; }
.app-appt .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-appt .top b { font-family: var(--font-head); font-size: 13.5px; color: #16201a; }
.app-appt .top span { font-size: 11.5px; color: #9aa09a; font-family: var(--font-head); }
.app-appt .top svg { width: 18px; height: 18px; color: #2b2f2b; }
.app-appt .body { display: flex; gap: 11px; align-items: center; }
.app-appt .body .pic { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex: none; }
.app-appt .body .nm b { display: block; font-family: var(--font-head); font-size: 14px; color: #16201a; }
.app-appt .body .nm span { font-size: 12px; color: #9aa09a; font-family: var(--font-head); }

/* message list */
.app-msg { background: #fff; border-radius: 16px; padding: 13px; box-shadow: var(--card-shadow); margin-bottom: 10px; }
.app-msg .mh { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.app-msg .mh .av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; }
.app-msg .mh b { font-family: var(--font-head); font-size: 13.5px; color: #16201a; flex: 1; }
.app-msg .mh .t { font-family: var(--font-head); font-size: 11px; color: #9aa09a; }
.app-msg .mb { display: flex; align-items: center; gap: 10px; }
.app-msg .mb p { font-family: var(--font-head); font-size: 12.5px; color: #3a3f3a; line-height: 1.4; flex: 1; }
.app-msg .mb .cnt { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--forest-green); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 12px; font-weight: 600; }

/* transaction row */
.app-txn { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 13px; box-shadow: var(--card-shadow); }
.app-txn .ti { width: 40px; height: 40px; border-radius: 11px; background: #eadcff; flex: none; }
.app-txn b { font-family: var(--font-head); font-size: 14px; color: #16201a; flex: 1; }
.app-txn .amt { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #2e8b57; }

/* bottom tab bar */
.tabbar { position: absolute; bottom: 0; left: 0; right: 0; height: 76px; background: #fff; display: flex; justify-content: space-around; align-items: center; padding: 0 8px 6px; box-shadow: 0 -8px 24px -16px rgba(0,0,0,.2); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-head); font-size: 9.5px; font-weight: 600; color: #a2a8a1; }
.tab svg { width: 21px; height: 21px; }
.tab.active { color: var(--sun-orange); }
.tab.center { gap: 0; }
.tab.center .c { width: 56px; height: 56px; border-radius: 50%; background: var(--forest-green); display: grid; place-items: center; margin-top: -36px; box-shadow: 0 12px 22px -8px rgba(30,62,44,.6); }
.tab.center .c svg { width: 25px; height: 25px; color: #fff; }

/* paste-a-screenshot phone (gallery) */
.screen-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #9aa89a; padding: 22px; }
.screen-empty svg { width: 42px; height: 42px; opacity: .5; }
.screen-empty b { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #5a6b58; }
.screen-empty span { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: #9aa89a; }
.screen-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 2; }
.screen-cap { text-align: center; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-top: 16px; }

/* side drawer screen */
.app-drawer { flex: 1; display: flex; min-height: 0; }
.app-drawer .panel { width: 78%; background: #fff; display: flex; flex-direction: column; box-shadow: 10px 0 34px rgba(20,30,20,.14); }
.app-drawer .scrim { flex: 1; background: linear-gradient(120deg, rgba(20,30,20,.04), rgba(20,30,20,.16)); }
.drawer-prof { text-align: center; padding: 22px 20px 20px; border-bottom: 1px solid rgba(0,0,0,.06); }
.drawer-prof .av { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; }
.drawer-prof b { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #16201a; display: block; }
.drawer-prof span { font-family: var(--font-head); font-size: 12px; color: #9aa09a; }
.drawer-nav { padding: 4px 0; flex: 1; overflow: hidden; }
.drawer-nav a { display: block; padding: 14px 24px; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: #2b2f2b; border-bottom: 1px solid rgba(0,0,0,.05); }
.drawer-nav a.logout { color: var(--sun-orange); font-style: italic; border-bottom: none; margin-top: 4px; }

@media (max-width: 400px) {
  .phone { width: 300px; }
  .phone-screen { height: 640px; }
}

/* ============================================================
   ANIMATION
   ============================================================ */
/* words stay solid — no fade-in/out (kept .in for the heading underline flourish) */
.reveal { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   FORMS (contact)
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.form-card {
  background: rgba(255,255,255,0.74); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid var(--border-ink); border-radius: 24px; padding: 34px; box-shadow: var(--card-shadow);
}
.info-card {
  background: linear-gradient(160deg, #21413a, var(--forest-green)); color: var(--cream-paper);
  border-radius: 24px; padding: 34px; box-shadow: var(--card-shadow);
}
.info-card h3 { color: var(--cream-paper); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.info-card > p { color: var(--eucalyptus); font-size: 16px; margin-bottom: 24px; }
.info-line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.info-line .ii { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(236,160,74,.2); color: var(--sun-orange); display: grid; place-items: center; }
.info-line .ii svg { width: 20px; height: 20px; }
.info-line b { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--cream-paper); display: block; }
.info-line span { font-size: 14px; color: var(--eucalyptus); }
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: rgba(255,255,255,.85); border: 1px solid var(--border-ink); border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--forest-green); box-shadow: 0 0 0 3px rgba(30,62,44,.12); }
.field textarea { min-height: 132px; resize: vertical; }
.form-note { font-family: var(--font-head); font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* legal / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose-card {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid var(--border-ink); border-radius: 20px; padding: 30px 34px; box-shadow: var(--card-shadow);
  margin-bottom: 18px;
}
.prose-card h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.prose-card h3 .pi { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--peach); color: var(--forest-green); display: grid; place-items: center; }
.prose-card h3 .pi svg { width: 21px; height: 21px; }
.prose-card p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 10px; }
.prose-card ul.ticks { display: grid; gap: 9px; margin-top: 6px; }
.prose-card ul.ticks li { display: flex; gap: 10px; font-size: 16px; color: var(--ink); align-items: flex-start; }
.prose-card ul.ticks li svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--forest-green); }
.crisis-card { background: linear-gradient(160deg, #5a3a12, var(--bark-brown)); color: var(--sun-orange-soft); border: none; }
.crisis-card h3, .crisis-card p, .crisis-card li { color: #fde7cf; }
.crisis-card h3 .pi { background: rgba(236,160,74,.22); color: var(--sun-orange); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   APP DOWNLOAD — store badges (paste real badge art later)
   ============================================================ */
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge { display: inline-flex; border-radius: 12px; transition: transform .18s ease, box-shadow .2s ease; }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); }
.store-badge img.real { height: 56px; width: auto; display: block; border-radius: 12px; }
.badge-fb {
  display: inline-flex; align-items: center; gap: 11px;
  background: #0f140e; color: #fff; border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 10px 18px; min-width: 168px;
}
.badge-fb svg { width: 26px; height: 26px; flex: none; }
.badge-fb .bt { display: flex; flex-direction: column; line-height: 1; }
.badge-fb .bt small { font-family: var(--font-head); font-size: 10px; letter-spacing: .02em; opacity: .82; margin-bottom: 3px; }
.badge-fb .bt b { font-family: var(--font-head); font-size: 18px; font-weight: 600; }

/* download band */
.download-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 52px 48px;
  background: linear-gradient(150deg, var(--forest-green) 0%, #21413a 58%, var(--teal-blue) 135%);
  color: var(--cream-paper);
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.download-card .cta-sun { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(236,160,74,.4), transparent 70%); top: -70px; left: -40px; }
.download-card h2 { color: var(--cream-paper); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; margin-bottom: 14px; }
.download-card p { color: var(--eucalyptus); font-size: 18px; max-width: 460px; margin-bottom: 26px; }
.download-card .store-badges { position: relative; z-index: 2; }
.qr-slot {
  width: 168px; height: 168px; border-radius: 18px; background: #fff; flex: none;
  display: grid; place-items: center; text-align: center; padding: 16px;
  position: relative; z-index: 2;
}
.qr-slot .qr-fb { color: #6b706a; }
.qr-slot .qr-fb svg { width: 54px; height: 54px; opacity: .5; margin-bottom: 8px; }
.qr-slot .qr-fb span { display: block; font-family: var(--font-mono); font-size: 10px; line-height: 1.5; }
.qr-slot img.real { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.qr-cap { font-family: var(--font-head); font-size: 12px; color: var(--eucalyptus); text-align: center; margin-top: 10px; position: relative; z-index: 2; }
.qr-wrap { display: flex; flex-direction: column; }

@media (max-width: 860px) {
  .download-card { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; }
  .download-card .store-badges { justify-content: center; }
  .download-card .cta-sun { left: 50%; transform: translateX(-50%); }
  .qr-wrap { align-items: center; }
}

/* ============================================================
   SITE-WIDE VIDEO BACKGROUND (whole site sits on top of it)
   ============================================================ */
html { background: var(--warm-cream); }
body { background: transparent; }

.site-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--warm-cream); }
.site-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); filter: saturate(1.22) contrast(1.08) brightness(1.03);  /* full, vivid HD */
  opacity: 0; transition: opacity 1.4s ease;
}
.site-video.ready { opacity: 1; }
/* near-invisible veil — video plays at full strength; text legibility comes from local halos + frosted cards */
.site-veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(155% 145% at 50% 28%, transparent 66%, rgba(8,18,8,.14) 100%),
    linear-gradient(180deg, rgba(253,247,240,.03) 0%, rgba(253,247,240,.06) 60%, rgba(253,247,240,.13) 100%);
}
/* keep text legible over live footage without muting the video — local halos do the work */
.hero h1, .hero .lead, .hero .hero-note,
.page-hero h1, .page-hero .lead {
  text-shadow: 0 1px 2px rgba(253,247,240,.95), 0 1px 10px rgba(253,247,240,.85), 0 2px 22px rgba(253,247,240,.55);
}

/* frosted, translucent surfaces so the background shows through subtly */
.feat, .testi, .faq, .real, .price {
  background-color: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}
.split-card.client {
  background: linear-gradient(160deg, rgba(253,241,230,.72), rgba(251,230,210,.72));
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}
.band {
  background-color: rgba(253, 240, 228, 0.46);
  backdrop-filter: blur(9px) saturate(1.05);
  -webkit-backdrop-filter: blur(9px) saturate(1.05);
}

/* --- 3D scenes: scroll crossfade + parallax + tilt --- */
.site-video { will-change: transform, opacity; }
.site-video.scene-2 { transition: none; }          /* scroll-driven, no lag */
.hero-inner { will-change: transform, opacity; }
.tilt-3d { transform-style: preserve-3d; will-change: transform; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tilt-3d > * { transform: translateZ(0); }
/* depth float for floating layers */
.scene-depth { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .site-video { filter: saturate(1.22) contrast(1.08) brightness(1.03); }
  .tilt-3d { transition: none; }
  .marquee-track { animation: none; }
  .eyebrow::before { animation: none; }
}

/* ============================================================
   BLOG / RESOURCES
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; text-align: left;
  background: rgba(255,255,255,0.76); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid var(--border-ink); border-radius: 22px; overflow: hidden; box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 62px -28px rgba(20,30,20,.42); }
.post-thumb { height: 168px; display: grid; place-items: center; position: relative; }
.post-thumb svg { width: 54px; height: 54px; color: rgba(255,255,255,.92); }
.post-thumb.t1 { background: linear-gradient(150deg, #21413a, var(--forest-green)); }
.post-thumb.t2 { background: linear-gradient(150deg, var(--teal-blue), #1e3e2c); }
.post-thumb.t3 { background: linear-gradient(150deg, #b9762a, var(--sun-orange)); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-blue); margin-bottom: 10px; }
.post-card h3 { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.post-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.post-more { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--forest-green); display: inline-flex; align-items: center; gap: 6px; }
.post-more svg { width: 15px; height: 15px; transition: transform .2s; }
.post-card:hover .post-more svg { transform: translateX(4px); }

/* article page */
.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 32px; }
.article-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; margin: 16px 0 14px; }
.article-meta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: #2f3a2c; }
.article-body {
  background: rgba(255,255,255,0.80); backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid var(--border-ink); border-radius: 24px; padding: 40px 44px; box-shadow: var(--card-shadow);
}
.article-body > p:first-child { font-size: 19px; color: #2a3624; }
.article-body h2 { font-size: 25px; font-weight: 600; margin: 32px 0 12px; }
.article-body h3 { font-size: 20px; font-weight: 600; margin: 24px 0 8px; }
.article-body p { color: #33402c; font-size: 17.5px; line-height: 1.8; margin-bottom: 16px; }
.article-body ul { margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.article-body ul li { display: flex; gap: 11px; font-size: 17px; color: #33402c; line-height: 1.6; }
.article-body ul li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--sun-orange); flex: none; }
.article-body strong { color: var(--heading); font-weight: 700; }
.article-callout { background: var(--moss-veil); border-radius: 16px; padding: 22px 24px; margin: 26px 0; font-family: var(--font-body); font-style: italic; color: var(--forest-floor); font-size: 17px; }
.article-cta { text-align: center; margin-top: 34px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } .article-body { padding: 28px 24px; } }

/* ============================================================
   MODERN ACCENTS — stats, marquee, gradient text, micro-interactions
   ============================================================ */
.grad-text {
  background: linear-gradient(115deg, var(--forest-green), var(--teal-blue) 60%, var(--sun-orange));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* animated stat counters in a frosted panel */
.stats-panel {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid var(--border-ink); border-radius: 28px; padding: 40px 36px; box-shadow: var(--card-shadow);
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 16%; height: 68%; width: 1px; background: var(--border-ink); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(120deg, var(--forest-green), var(--teal-blue) 72%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 760px) { .stats-row { grid-template-columns: 1fr 1fr; gap: 30px 16px; } .stat-item:not(:last-child)::after { display: none; } }

/* auto-scrolling app-screen marquee */
.screen-marquee { overflow: hidden; padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marqueeScroll 46s linear infinite; }
.screen-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.phone.mini { width: 232px; flex: none; border-radius: 34px; padding: 8px; box-shadow: 0 36px 70px -38px rgba(20,30,20,.55); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.phone.mini .phone-screen { height: 486px; border-radius: 28px; }
.phone.mini .phone-notch { width: 90px; height: 20px; top: 8px; }
.phone.mini:hover { transform: translateY(-10px) scale(1.03); }

/* button shine micro-interaction */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn > * { position: relative; z-index: 1; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(130%); }

/* animated eyebrow dot pulse */
.eyebrow::before { animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(236,160,74,.5); } 50% { box-shadow: 0 0 0 5px rgba(236,160,74,0); } }

/* section heading underline flourish (grows in when the heading reveals) */
.section-head.center h2 { position: relative; display: inline-block; }
.section-head.center h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -14px;
  width: 0; height: 3px; border-radius: 9999px; background: linear-gradient(90deg, var(--sun-orange), var(--teal-blue));
  transition: width .9s cubic-bezier(.2,.7,.2,1) .2s; }
.section-head.center.in h2::after { width: 64px; }

/* scroll-swapping hero phone */
.hero-phone { display: flex; justify-content: center; margin-top: 44px; perspective: 1200px; }
.hero-phone .phone { width: 238px; }
.hero-phone .phone-screen { height: 498px; }
.hp-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform .6s ease; transform: scale(1.04); }
.hp-layer.on { opacity: 1; transform: scale(1); }

/* testimonial slider */
.testi-slider { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.testi-slide { min-width: 100%; display: flex; justify-content: center; padding: 8px; box-sizing: border-box; }
.testi-slide .testi { max-width: 700px; width: 100%; }
.testi-slide .testi p { font-size: 20px; }
.testi-dots { display: flex; gap: 9px; justify-content: center; margin-top: 28px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--eucalyptus); border: none; cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.testi-dot.on { width: 28px; border-radius: 9999px; background: var(--forest-green); }

/* smooth animated FAQ accordion */
.faq-q { width: 100%; background: none; cursor: pointer; text-align: left; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--forest-green); }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; transition: transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--teal-blue); border-radius: 2px; }
.faq-q .pm::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: opacity .25s; }
.faq.open .faq-q .pm { transform: rotate(180deg); }
.faq.open .faq-q .pm::after { opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1); }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner .ans { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16.5px; }
.faq.open { border-color: var(--peach); }

/* reusable frosted glass panel for text columns over the video */
.glass {
  background: rgba(253, 247, 240, 0.62);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 26px;
  padding: 38px 36px 32px;
  box-shadow: 0 26px 64px -36px rgba(20,30,20,.45);
}

/* hero glass card — floats the message over the busy video; light glass + dark words */
.hero-card {
  background: rgba(253, 247, 240, 0.62);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 30px;
  padding: 46px 48px 42px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 36px 80px -34px rgba(20,30,20,.5);
}
.hero-card .eyebrow { background: var(--peach); color: var(--forest-green); }
.hero-card h1 { color: var(--heading); text-shadow: none; }
.hero-card h1 .accent { color: var(--forest-green); }
.hero-card .lead { color: #14210d; text-shadow: none; margin-bottom: 30px; }
.hero-card .hero-actions { justify-content: center; }
.hero-card .hero-note { color: #2f3a2c; text-shadow: none; }
@media (max-width: 600px) { .hero-card { padding: 34px 24px 30px; border-radius: 24px; } }

/* floating WhatsApp support button (injected by JS, all pages) */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.5);
  animation: waPulse 2.6s ease-out infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes waPulse {
  0% { box-shadow: 0 16px 32px -12px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 16px 32px -12px rgba(0,0,0,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 16px 32px -12px rgba(0,0,0,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 720px) { .wa-float { bottom: 94px; width: 54px; height: 54px; } } /* sit above the app bar */
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* sticky mobile "Get the app" bar (injected by JS, mobile only) */
.app-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; gap: 12px;
  background: rgba(15, 22, 14, 0.92); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 10px 12px 10px 14px;
  box-shadow: 0 22px 46px -18px rgba(0,0,0,.55);
  transform: translateY(140%); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.app-bar.up { transform: translateY(0); }
.app-bar .ab-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--forest-green); display: grid; place-items: center; flex: none; }
.app-bar .ab-ico svg { width: 22px; height: 22px; color: #fff; }
.app-bar .ab-t { flex: 1; min-width: 0; }
.app-bar .ab-t b { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; }
.app-bar .ab-t span { font-family: var(--font-head); font-size: 11.5px; color: #cfd8c8; }
.app-bar .ab-btn { background: var(--sun-orange); color: #3a2706; font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 11px 16px; border-radius: 12px; flex: none; white-space: nowrap; }
@media (max-width: 720px) { .app-bar { display: flex; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .feat-grid, .steps, .testi-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cols-2 { grid-template-columns: 1fr; gap: 32px; }
  .cols-2.rev > :first-child { order: 0; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }
  .nav-toggle { place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-ink); }
  .split, .feat-grid, .steps, .testi-grid, .price-grid, .stat-row { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-card { padding: 44px 24px; }
}

/* mobile menu */
.mobile-menu { display: none; position: fixed; inset: 74px 0 0; background: var(--warm-cream); z-index: 49; padding: 28px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--forest-green); padding: 14px 0; border-bottom: 1px solid var(--border-ink); }
.mobile-menu .btn { margin-top: 24px; }
