/* =========================================================
   Bluum — design system
   ========================================================= */
:root {
  /* palette — warm botanical */
  --green-900: #0f2e23;
  --green-800: #164634;
  --green-700: #1f6b4f;
  --green-500: #2f9c74;
  --green-300: #8fd3b6;
  --green-100: #e4f2ea;

  --clay-600: #c4623d;
  --clay-400: #e08a5f;
  --clay-200: #f4d4c2;

  --cream: #f7f3ec;
  --sand: #efe7d9;
  --ink: #1b2620;
  --ink-soft: #4a5a52;
  --white: #ffffff;

  --bg: var(--cream);
  --shadow-sm: 0 1px 2px rgba(15, 46, 35, .06), 0 4px 14px rgba(15, 46, 35, .06);
  --shadow-md: 0 12px 40px rgba(15, 46, 35, .12);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 48px);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.container--narrow { max-width: 760px; }

.visually-hidden, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto; clip: auto;
  background: var(--green-900); color: var(--white);
  padding: 10px 16px; border-radius: 10px; z-index: 999;
}

/* =========================================================
   buttons
   ========================================================= */
.btn {
  --pad-y: 11px; --pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }

.btn--solid { background: var(--green-800); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: rgba(15,46,35,.22); }
.btn--ghost:hover { border-color: var(--green-800); background: rgba(15,46,35,.04); }
.btn--text { background: transparent; color: var(--green-800); padding-inline: 6px; }
.btn--text:hover { color: var(--clay-600); }
.btn--lg { --pad-y: 15px; --pad-x: 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* =========================================================
   nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(15,46,35,.1); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--green-900); }
.brand__mark { color: var(--green-700); display: inline-flex; }
.brand__word { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }

.nav__links { display: flex; gap: 28px; margin-inline: auto; }
.nav__links a { font-weight: 500; font-size: .95rem; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--clay-600); transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; gap: 10px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gut) 20px; }
.nav__mobile a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid rgba(15,46,35,.08); }
.nav__mobile .btn { margin-top: 12px; }

/* =========================================================
   hero
   ========================================================= */
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--clay-600); margin-bottom: 18px;
}
.eyebrow--light { color: var(--green-300); }

.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 96px); position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -.025em;
}
.hero__accent { display: block; color: var(--green-700); font-style: italic; font-weight: 400; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 36ch; margin-top: 22px; }
.hero__cta { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust { list-style: none; padding: 0; display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero__trust li { font-size: .9rem; color: var(--ink-soft); }
.hero__trust strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--green-900); font-weight: 600; }

/* hero visual — animated bloom */
.hero__visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.bloom {
  position: relative; width: min(82%, 380px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, var(--green-100), var(--sand));
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(47,156,116,.18), var(--shadow-md);
  display: grid; place-items: center;
  animation: float 7s var(--ease) infinite;
}
.petal {
  position: absolute; width: 46%; height: 46%;
  background: linear-gradient(160deg, var(--green-500), var(--green-700));
  border-radius: 0 60% 0 60%; opacity: .9;
  transform-origin: bottom right;
}
.petal.p1 { transform: rotate(0deg)   translate(-6%, -6%); }
.petal.p2 { transform: rotate(72deg)  translate(-6%, -6%); background: linear-gradient(160deg, var(--green-300), var(--green-500)); }
.petal.p3 { transform: rotate(144deg) translate(-6%, -6%); background: linear-gradient(160deg, var(--clay-400), var(--clay-600)); }
.petal.p4 { transform: rotate(216deg) translate(-6%, -6%); background: linear-gradient(160deg, var(--green-500), var(--green-800)); }
.petal.p5 { transform: rotate(288deg) translate(-6%, -6%); background: linear-gradient(160deg, var(--green-300), var(--green-700)); }
.core { position: absolute; width: 22%; height: 22%; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 6px rgba(247,243,236,.5); z-index: 2; }

.hero__card {
  position: absolute; background: var(--white); border-radius: 14px; padding: 12px 16px;
  font-size: .88rem; font-weight: 600; color: var(--green-900); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
}
.hero__card .muted { color: var(--ink-soft); font-weight: 500; }
.hero__card--a { top: 12%; left: -4%; animation: float 6s var(--ease) infinite; }
.hero__card--b { bottom: 14%; right: -6%; flex-direction: column; align-items: flex-start; gap: 2px; animation: float 8s var(--ease) infinite reverse; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }

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

/* =========================================================
   marquee
   ========================================================= */
.marquee { background: var(--green-900); color: var(--green-100); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: scroll 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; opacity: .85; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   sections
   ========================================================= */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tint { background: var(--sand); }
.section--dark { background: var(--green-900); color: var(--green-100); }
.section--dark h2, .section--dark h3 { color: var(--cream); }

.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.section--dark .section__sub { color: var(--green-300); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: var(--maxw); display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: end; }
.section__head--split .section__sub { margin-top: 0; }

/* =========================================================
   bento (approach)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento__card {
  background: var(--white); border: 1px solid rgba(15,46,35,.08);
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento__card--lg { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: var(--cream); }
.bento__card--lg h3 { color: var(--cream); font-size: 1.8rem; }
.bento__card--lg p { color: var(--green-300); }
.bento__card--wide { grid-column: span 2; }
.bento__num { font-family: var(--font-display); font-size: 1rem; color: var(--clay-600); font-weight: 600; }
.bento__card--lg .bento__num { color: var(--green-300); }
.bento__card h3 { font-size: 1.3rem; }
.bento__card p { color: var(--ink-soft); }
.bento__card--lg p { color: var(--green-300); }

/* =========================================================
   pillars
   ========================================================= */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid rgba(15,46,35,.08); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--green-100); margin-bottom: 16px;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: .96rem; }

/* =========================================================
   steps
   ========================================================= */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid rgba(15,46,35,.12); }
.step__no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-800); color: var(--cream); font-family: var(--font-display);
  font-weight: 600; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   stories
   ========================================================= */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story {
  background: color-mix(in oklab, var(--green-800) 60%, var(--green-900));
  border: 1px solid rgba(143,211,182,.18);
  border-radius: var(--radius-lg); padding: 30px;
}
.story__stars { color: var(--clay-400); letter-spacing: 3px; margin-bottom: 14px; }
.story blockquote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.4; color: var(--cream); }
.story figcaption { margin-top: 18px; font-size: .9rem; color: var(--green-300); }
.story figcaption strong { color: var(--cream); }

/* =========================================================
   plans
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: var(--white); border: 1px solid rgba(15,46,35,.1);
  border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.plan--featured {
  background: linear-gradient(170deg, var(--green-800), var(--green-900)); color: var(--cream);
  position: relative; box-shadow: var(--shadow-md); transform: translateY(-8px);
}
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--clay-600); color: var(--white); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill);
}
.plan__name { font-size: 1.4rem; }
.plan--featured .plan__name { color: var(--cream); }
.plan__price { font-family: var(--font-display); font-size: 1rem; color: var(--ink-soft); }
.plan__price span { font-size: 2.6rem; font-weight: 600; color: var(--green-900); }
.plan--featured .plan__price, .plan--featured .plan__price span { color: var(--cream); }
.plan__desc { color: var(--ink-soft); font-size: .95rem; }
.plan--featured .plan__desc { color: var(--green-300); }
.plan__feats { list-style: none; padding: 0; display: grid; gap: 10px; margin: 6px 0 18px; }
.plan__feats li { padding-left: 26px; position: relative; font-size: .95rem; }
.plan__feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-500); font-weight: 700;
}
.plan--featured .plan__feats li::before { color: var(--green-300); }
.plan .btn { margin-top: auto; }

/* =========================================================
   faq
   ========================================================= */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white); border: 1px solid rgba(15,46,35,.1);
  border-radius: var(--radius); padding: 4px 22px;
}
.faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--green-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--clay-600);
  transition: transform .25s var(--ease); line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--ink-soft); padding-bottom: 18px; max-width: 60ch; }

/* =========================================================
   final cta
   ========================================================= */
.cta { padding: clamp(56px, 9vw, 120px) 0; background: var(--green-100); }
.cta__inner { text-align: center; max-width: 680px; margin-inline: auto; }
.cta__title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--green-900); }
.cta__sub { color: var(--ink-soft); font-size: 1.1rem; margin-top: 18px; }
.cta__form { display: flex; gap: 10px; margin-top: 32px; justify-content: center; flex-wrap: wrap; }
.cta__form input {
  flex: 1 1 280px; max-width: 360px; padding: 15px 20px; font-family: var(--font-body); font-size: 1rem;
  border: 1.5px solid rgba(15,46,35,.2); border-radius: var(--radius-pill); background: var(--white); color: var(--ink);
}
.cta__form input:focus-visible { outline: 3px solid var(--green-300); outline-offset: 1px; border-color: var(--green-700); }
.cta__note { margin-top: 16px; font-size: .92rem; min-height: 1.2em; color: var(--green-700); font-weight: 600; }

/* =========================================================
   footer
   ========================================================= */
.footer { background: var(--green-900); color: var(--green-100); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(143,211,182,.16); }
.footer__brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer__brand .brand__mark { color: var(--green-300); }
.footer__brand p { color: var(--green-300); max-width: 28ch; }
.footer__col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-300); margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: var(--green-100); font-size: .95rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .85rem; color: var(--green-300); flex-wrap: wrap; }
.footer__contact { color: var(--green-300); font-size: .9rem; margin-top: 10px; }
.footer__contact a { color: var(--cream); text-decoration: underline; }

/* =========================================================
   form privacy microcopy
   ========================================================= */
.cta__fineprint { margin-top: 14px; font-size: .82rem; color: var(--ink-soft); }
.cta__fineprint a { color: var(--green-700); text-decoration: underline; }

/* =========================================================
   cookie consent
   ========================================================= */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin-inline: auto;
  background: var(--green-900); color: var(--green-100);
  border: 1px solid rgba(143,211,182,.22); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap;
}
.cookie p { font-size: .9rem; margin: 0; flex: 1 1 280px; }
.cookie a { color: var(--green-300); text-decoration: underline; }
.cookie__actions { display: flex; gap: 8px; }

/* =========================================================
   legal pages
   ========================================================= */
.simple-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.simple-nav .back { color: var(--ink-soft); font-weight: 500; }
.simple-nav .back:hover { color: var(--ink); }
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.legal__head { max-width: 760px; margin: 0 auto clamp(24px, 4vw, 44px); }
.legal__head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal__updated { color: var(--ink-soft); margin-top: 12px; font-size: .92rem; }
.legal__body { max-width: 760px; margin: 0 auto; }
.legal__body h2 { font-family: var(--font-display); font-size: 1.4rem; margin: 34px 0 10px; }
.legal__body h3 { font-size: 1.08rem; margin: 20px 0 6px; }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__body ul { padding-left: 1.2em; margin: 10px 0; display: grid; gap: 6px; }
.legal__body a { color: var(--green-700); text-decoration: underline; }
.legal__note { background: var(--green-100); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; }
.placeholder { background: #fff3cd; color: #664d03; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* =========================================================
   scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--lg { grid-column: span 2; grid-row: span 1; }
  .bento__card--wide { grid-column: span 2; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stories { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .section__head--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: none; }
  .nav__mobile.is-open { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin-inline: auto; aspect-ratio: 4 / 3; }
  .hero__card--a { left: 0; }
  .hero__card--b { right: 0; }
}

@media (max-width: 520px) {
  .bento, .pillars, .steps { grid-template-columns: 1fr; }
  .bento__card--lg, .bento__card--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
