/* ============================================================
   MeNote.Ai / Landing page
   Palette: green #0E9F6E · mint #E9F7F1 · ink #17251F
            sand #F6F4ED · yellow #FFC857 · coral #FF6B4A
   ============================================================ */

:root {
  --green: #0E9F6E;
  --green-dark: #0B8459;
  --green-deep: #096A48;
  --mint: #E9F7F1;
  --ink: #17251F;
  --body: #52625B;
  --muted: #9aa5a0;
  --paper: #FDFDFB;
  --sand: #F6F4ED;
  --line: #E7E5DD;
  --yellow: #FFC857;
  --coral: #FF6B4A;
  --card: #FFFFFF;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 37, 31, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(23, 37, 31, 0.16);
  --shadow-lg: 0 4px 12px rgba(23, 37, 31, 0.06), 0 22px 48px rgba(23, 37, 31, 0.12);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-hand: "Caveat", cursive;
  --font-brand: "Manrope", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001s !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  font-size: 16px;
  padding: 14px 26px;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(14, 159, 110, 0.55);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(14, 159, 110, 0.6); }
.btn--primary:active { transform: translateY(0); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { justify-content: center; width: 100%; }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 13px 25px;
}
.btn--ghost:hover { border-color: var(--muted); background: var(--sand); transform: translateY(-1px); }
.btn--ghost.btn--sm { padding: 9px 19px; }
.wa-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Illustrations ---------- */
.illo { display: block; height: auto; }
.illo--blend { mix-blend-mode: multiply; }

/* ---------- Nav (header from dist_public_html) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(253, 253, 251, 0.93); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand__dot { color: var(--green); }
.brand--footer { font-size: 18px; }
.navlinks { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.navlinks a {
  color: var(--body);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.navlinks a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-menu { display: none; }
.mobile-menu .mlink {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--sand);
}
.mobile-menu .mcta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mobile-menu .btn { width: 100%; justify-content: center; font-size: 16px; }
@media (max-width: 1000px) {
  .navlinks { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav__inner { height: 64px; }
  .brand { font-size: 19px; }
  .mobile-menu.open { display: block; padding: 6px 0 20px; animation: menuDrop 0.24s ease both; }
}
@keyframes menuDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; position: relative; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow--center { text-align: center; }
.hero__title { font-size: clamp(42px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__sub { font-size: 18px; max-width: 46ch; margin: 22px 0 30px; }
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__scribble {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: rotate(-3deg);
}
.hero__scribble svg { width: 44px; height: 20px; color: var(--green); }
.hero__cohort {
  display: flex; align-items: center; gap: 9px;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--body);
}
.hero__cohort strong { color: var(--ink); }
.hero__cohort-dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.4);
  animation: cohortPulse 2s ease-out infinite;
}
@keyframes cohortPulse { 0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(14, 159, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0); } }
.hero__stats { display: flex; gap: 44px; margin-top: 32px; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats dt { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); }
.hero__stats dd { font-size: 13.5px; }

/* hero visual + doodles */
.hero__visual { position: relative; display: flex; justify-content: center; padding: 26px 0; }
.doodle { position: absolute; color: var(--ink); }
.doodle--spark { width: 26px; height: 26px; color: var(--green); animation: twinkle 3s ease-in-out infinite; }
.doodle--tl { top: 0; left: 6%; }
.doodle--br { bottom: 24px; right: 4%; animation-delay: 1.4s; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 50% { opacity: 0.4; transform: scale(0.8) rotate(20deg); } }
.doodle--hi {
  top: 10%;
  right: 1%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  padding: 7px 14px;
  transform: rotate(8deg);
  box-shadow: var(--shadow-md);
  animation: bob 4s ease-in-out infinite;
  z-index: 4;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- WhatsApp chat mock (from dist_public_html) ---------- */
.phone {
  width: 340px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 4px;
  position: relative;
  z-index: 3;
}
.wa { border-radius: 22px; overflow: hidden; background: #EFE7DE; }
.wa-top { display: flex; align-items: center; gap: 9px; background: #008069; color: #fff; padding: 11px 13px; }
.wa-back { flex-shrink: 0; opacity: 0.95; display: flex; }
.wa-av { width: 36px; height: 36px; border-radius: 99px; overflow: hidden; background: #fff; flex-shrink: 0; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.5); }
.wa-av img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; display: block; }
.wa-meta { flex: 1; min-width: 0; }
.wa-name { font-weight: 600; font-size: 14.5px; line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-status { font-size: 11.5px; color: rgba(255,255,255,0.82); line-height: 1.3; min-height: 15px; }
.wa-ic { opacity: 0.95; flex-shrink: 0; display: flex; }
.wa-chat {
  position: relative;
  height: 348px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px 12px 8px;
  background: #EFE7DE;
}
.wa-chat::before { content: ""; position: absolute; inset: 0; background: url("assets/chat-pattern.svg"); background-size: 250px 250px; opacity: 0.05; pointer-events: none; }
.wa-bub {
  position: relative;
  max-width: 83%;
  padding: 6px 9px 6px;
  border-radius: 9px;
  font-size: 13.5px;
  line-height: 1.42;
  color: #111b21;
  box-shadow: 0 1px 0.6px rgba(11, 20, 26, 0.13);
  z-index: 1;
}
.wa-bub.them { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-bub.me { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.wa-bub.them::before { content: ""; position: absolute; top: 0; left: -7px; width: 0; height: 0; border-style: solid; border-width: 0 8px 9px 0; border-color: transparent #fff transparent transparent; }
.wa-bub.me::before { content: ""; position: absolute; top: 0; right: -7px; width: 0; height: 0; border-style: solid; border-width: 0 0 9px 8px; border-color: transparent transparent transparent #D9FDD3; }
.wa-meta-row { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -1px 10px; }
.wa-time { font-size: 10px; color: #667781; line-height: 1; white-space: nowrap; }
.wa-tick { color: #53bdeb; display: inline-flex; }
.wa-voice { display: flex; align-items: center; gap: 9px; min-width: 176px; padding: 2px 2px 2px 0; }
.wa-voice .play { width: 14px; height: 14px; color: #54656f; flex-shrink: 0; }
.wa-voice .wave { display: flex; align-items: center; gap: 2.5px; height: 24px; flex: 1; }
.wa-voice .wave i { width: 2.5px; border-radius: 2px; background: #9ab4a8; display: block; }
.wa-bub.me .wa-voice .wave i { background: #7fbf9a; }
.wa-voice .vdur { font-size: 10.5px; color: #667781; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.wa-rec { display: inline-flex; align-items: center; gap: 7px; color: #54656f; font-size: 13px; }
.wa-rec .rdot { width: 8px; height: 8px; border-radius: 99px; background: var(--coral); animation: recPulse 1s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.wa-optcard {
  align-self: flex-start;
  max-width: 84%;
  min-width: 208px;
  background: #fff;
  border-radius: 9px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 0.6px rgba(11, 20, 26, 0.13);
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-top: -3px;
}
.wa-opt { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; color: #027eb5; font-size: 13.5px; font-weight: 500; border-top: 1px solid #eceff1; transition: background 0.15s; }
.wa-optcard .wa-opt:first-child { border-top: none; }
.wa-opt.pick { background: rgba(2, 126, 181, 0.1); }
.wa-opt svg { width: 15px; height: 15px; flex-shrink: 0; }
.wa-inputbar { display: flex; align-items: center; gap: 7px; padding: 7px 9px 9px; background: #EFE7DE; }
.wa-input { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 22px; padding: 8px 11px; font-size: 13px; box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.1); }
.wa-ic2 { flex-shrink: 0; color: #8696a0; display: flex; }
.wa-send { width: 42px; height: 42px; border-radius: 99px; background: #008069; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.wa-bub-anim { animation: bubIn 0.32s cubic-bezier(0.34, 1.4, 0.4, 1) both; }
@keyframes bubIn { from { transform: translateY(8px) scale(0.97); opacity: 0.3; } to { transform: none; opacity: 1; } }
.hero-type { color: #111b21; font-size: 13px; white-space: nowrap; overflow: hidden; flex: 1; min-width: 0; }
.hero-type:empty::before { content: "Message"; color: #8696a0; }
.caret { display: none; width: 2px; height: 15px; background: #008069; margin-left: 1px; border-radius: 2px; }
.caret.on { display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wa-typing { align-self: flex-start; background: #fff; border-radius: 9px; border-top-left-radius: 2px; padding: 9px 12px; box-shadow: 0 1px 0.6px rgba(11, 20, 26, 0.13); position: relative; z-index: 1; }
.wa-typing::before { content: ""; position: absolute; top: 0; left: -7px; width: 0; height: 0; border-style: solid; border-width: 0 8px 9px 0; border-color: transparent #fff transparent transparent; }
.tdots { display: inline-flex; gap: 4px; align-items: center; }
.tdots i { width: 6px; height: 6px; border-radius: 99px; background: #9aa6ac; animation: tbob 1s ease-in-out infinite; }
.tdots i:nth-child(2) { animation-delay: 0.16s; }
.tdots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes tbob { 0%, 100% { transform: translateY(0); opacity: 0.45; } 50% { transform: translateY(-3px); opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--band { background: var(--sand); }
.section__title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  max-width: 24ch;
  margin: 0 auto;
}
.section__title em { font-style: normal; color: var(--green); }
.section__title--left { text-align: left; margin: 0; }
.section__sub { text-align: center; max-width: 54ch; margin: 16px auto 0; font-size: 16.5px; }
.section__sub--left { text-align: left; margin-left: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; margin-top: 56px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--science { grid-template-columns: repeat(6, 1fr); }
.cards--science .card--stat { grid-column: span 2; }
.cards--science .card--insight { grid-column: span 3; }
.swipe-hint {
  display: none;
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--green-deep);
  margin: 30px 4px -38px;
  transform: rotate(-1deg);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; }
.card__stat { font-size: 30px; color: var(--green); display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px !important; }
.card__stat small { font-size: 14px; color: var(--ink); font-weight: 600; }
.card__stat--coral { color: var(--coral); }
.card__src {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sand);
  font-size: 12px !important;
  font-style: italic;
  color: var(--muted);
}

/* equal-height science cards with pinned citation footers */
.cards--science .card { display: flex; flex-direction: column; }
.cards--science .card__src { margin-top: auto; }
.cards--science .loop__list { flex: 1; justify-content: center; }

.card__emoji { display: block; font-size: 34px; line-height: 1.2; margin-bottom: 14px; }

/* animated card illustrations */
.card__anim { width: 100%; max-width: 220px; height: 96px; display: block; margin-bottom: 16px; }
.mem-x { animation: memFade 2.7s ease-in-out infinite; }
@keyframes memFade { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }
.ping { animation: pingPop 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pingPop {
  0% { transform: scale(0.3); opacity: 0; }
  28% { transform: scale(1); opacity: 1; }
  62% { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}
.plane { animation: planeFloat 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes planeFloat { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(6px, -7px) rotate(4deg); } }
.trail { stroke-dasharray: 4 8; animation: trailDash 1.5s linear infinite; }
@keyframes trailDash { to { stroke-dashoffset: -24; } }

/* chart */
.chart { width: 100%; height: auto; margin-top: 18px; }
.chart__line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-visible .chart__line { animation: draw 1.8s ease forwards 0.3s; }
.is-visible .chart__line--green { animation-delay: 0.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart__legend { display: flex; gap: 22px; margin-top: 10px; font-size: 12.5px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--coral { background: var(--coral); }
.dot--green { background: var(--green); }

/* loop card */
.loop__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.loop__list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.loop__num {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: var(--c, var(--yellow));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Split (brain intro) ---------- */
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; margin-bottom: 8px; }
.split__illo { width: 100%; max-width: 300px; justify-self: end; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 60px;
}
.step { text-align: center; padding: 0 8px; }
.step__illo { width: auto; max-width: 100%; height: 185px; object-fit: contain; margin: 0 auto; display: block; }
.step h3 { font-size: 18px; margin: 18px 0 8px; }
.step h3 small { font-weight: 600; font-size: 14px; color: var(--body); white-space: nowrap; }
.step__num {
  width: 26px; height: 26px;
  background: var(--green); color: #fff;
  border-radius: 50%;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: -4px;
  margin-right: 10px;
}
.step p { font-size: 14.5px; max-width: 30ch; margin: 0 auto; }
.steps__arrow { color: var(--green); align-self: center; margin-top: 60px; }
.steps__arrow svg { width: 100%; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.why__illo { width: 100%; max-width: 460px; margin: 0 auto; }
.featlist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 32px; }
.featlist li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.featlist li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.featlist__icon {
  width: 40px; height: 40px; flex: none;
  background: var(--mint); border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-deep);
}
.featlist__icon svg { width: 21px; height: 21px; }
.featlist strong { display: block; font-family: var(--font-display); font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.featlist div { font-size: 13.5px; }

/* ---------- Coming up / roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.roadcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.roadcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.roadcard__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.roadcard h3 { font-size: 17.5px; margin-bottom: 8px; }
.roadcard p { font-size: 14.5px; }
.roadcard__logos { display: flex; align-items: center; gap: 9px; margin-top: 18px; }
.roadcard__logos svg { width: 26px; height: 26px; }
.roadcard__more { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------- Privacy strip ---------- */
#privacy { padding: 80px 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: box-shadow 0.25s ease;
}
.faq__item:hover { box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 10px; height: 10px; flex: none;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: -4px;
}
.faq__item[open] .faq__chev { transform: rotate(225deg); margin-top: 4px; }
.faq__item p { padding: 0 0 20px; font-size: 14.5px; max-width: 60ch; }

/* ---------- Final CTA ---------- */
.cta { background: var(--mint); padding: 96px 0; }
.cta__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.cta__illo { width: 100%; max-width: 300px; justify-self: center; }
.cta__copy h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
.cta__copy > p { font-size: 17px; margin: 16px 0 28px; }
.cta__form { display: flex; gap: 12px; max-width: 520px; }
.cta__form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
.cta__form input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.14); }
.cta__form input.err { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.2); }
.signup-msg {
  margin-top: 13px;
  font-size: 14.5px;
  font-weight: 600;
  min-height: 20px;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
}
.signup-msg.ok { color: var(--green-deep); }
.signup-msg.bad { color: #b3801d; }
.cta__note { font-size: 13px; margin-top: 14px; }
.cta__note a { color: var(--green-deep); font-weight: 600; text-decoration: none; }
.cta__note a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 36px 0; }
.footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; margin: 0 auto; }
.footer__links a { color: var(--body); text-decoration: none; font-size: 13.5px; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { font-size: 12.5px; color: var(--muted); }

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 90px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 14px 34px -8px rgba(23, 37, 31, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, background 0.2s ease;
  white-space: nowrap;
  max-width: calc(100vw - 32px);
}
.float-cta.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.float-cta:hover { background: #0f1b16; transform: translate(-50%, -3px); }
.float-cta .wa-icon { width: 19px; height: 19px; color: #3EE6A8; }
.float-cta__dot {
  width: 8px; height: 8px; flex: none;
  border-radius: 50%;
  background: #3EE6A8;
  animation: cohortPulse 2s ease-out infinite;
}
.float-cta__label { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) {
  .float-cta { bottom: 14px; font-size: 13.5px; padding: 12px 18px; }
}

/* ============================================================
   Onboarding modal (from dist_public_html, re-themed green)
   ============================================================ */
.ob-scrim {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(18, 24, 21, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.ob-scrim.open { opacity: 1; pointer-events: auto; }
.ob {
  width: 100%; max-width: 480px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.4, 1);
  position: relative;
}
.ob-scrim.open .ob { transform: none; }
.ob-prog { height: 4px; background: var(--sand); }
.ob-prog span { display: block; height: 100%; width: 33%; background: linear-gradient(96deg, #0E9F6E, #3EC98F); border-radius: 0 4px 4px 0; transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.ob-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  border: none; background: var(--sand); color: var(--body);
  border-radius: 10px; font-size: 20px; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: background 0.15s, color 0.15s;
  z-index: 2;
}
.ob-close:hover { background: var(--line); color: var(--ink); }
.ob-inner { padding: 34px 32px 26px; }
.ob-step-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); font-family: var(--font-display); }
.ob-panel { display: none; animation: obIn 0.32s ease both; }
.ob-panel.active { display: block; }
@keyframes obIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.ob h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 10px 0 6px; line-height: 1.18; }
.ob .sub { color: var(--body); font-size: 15px; margin-bottom: 22px; }
.ob-field { margin-bottom: 22px; }
.ob-note {
  background: var(--mint);
  border: 1px solid rgba(14, 159, 110, 0.18);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--body);
}
.ob-note strong { color: var(--green-deep); display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 13px; }
.ob-field > label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 11px; font-family: var(--font-display); }
.ob-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ob-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.14); }
.ob-input::placeholder { color: var(--muted); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button, .chips-ob button {
  font-family: var(--font-body);
  font-weight: 600; font-size: 14px;
  color: var(--body);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.14s;
}
.seg button:hover, .chips-ob button:hover { border-color: var(--muted); color: var(--ink); }
.seg button.sel, .chips-ob button.sel { background: var(--mint); border-color: var(--green); color: var(--green-deep); }
.chips-ob { display: flex; gap: 9px; flex-wrap: wrap; }
.chips-ob button { display: inline-flex; align-items: center; gap: 7px; }
.chips-ob button .tick {
  width: 15px; height: 15px; border-radius: 99px;
  border: 1.6px solid currentColor;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 9px;
  opacity: 0.4;
  transition: opacity 0.14s;
}
.chips-ob button.sel .tick { opacity: 1; background: var(--green); border-color: var(--green); color: #fff; }
.ob-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px 30px; }
.ob-back { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--body); background: none; border: none; cursor: pointer; padding: 10px 4px; visibility: hidden; }
.ob-back:hover { color: var(--ink); }
.ob-next { margin-left: auto; }
.ob-next:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.ob-done { text-align: center; padding: 8px 0 4px; }
.ob-done .ill { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: block; }
.ob-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  border: none; cursor: pointer;
  margin-top: 6px;
  transition: transform 0.18s, box-shadow 0.25s, background 0.2s;
  text-decoration: none;
}
.ob-wa:hover { background: #1eb858; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
@media (max-width: 520px) {
  .ob-inner { padding: 30px 22px 22px; }
  .ob-foot { padding: 0 22px 26px; }
  .ob h3 { font-size: 21px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .cards--science { grid-template-columns: 1fr 1fr; }
  .cards--science .card--stat, .cards--science .card--insight { grid-column: auto; }
  .why, .faq { grid-template-columns: 1fr; gap: 40px; }
  .why__illo { max-width: 420px; }
  .split { grid-template-columns: 1fr; }
  .split__illo { justify-self: start; max-width: 260px; }
}

@media (max-width: 840px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__stats { gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps__arrow { transform: rotate(90deg); width: 44px; margin: 4px auto; }
  .step { margin-bottom: 24px; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .cta__illo { max-width: 220px; }
  .cta__form { margin: 0 auto; }
  .signup-msg { justify-content: center; }

  /* science cards → swipeable carousel */
  .swipe-hint { display: block; }
  .cards--science {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden; /* horizontal swipe only: overflow-x:auto would otherwise make Y scrollable too */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    gap: 14px;
    margin: 48px -24px 0;
    padding: 4px 24px 18px;
    scrollbar-width: none;
  }
  .cards--science::-webkit-scrollbar { display: none; }
  .cards--science .card {
    flex: 0 0 82%;
    max-width: 360px;
    scroll-snap-align: center;
  }
  .roadmap { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
  .cards--3, .featlist { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .hero__stats dt { font-size: 22px; }
  .cta__form { flex-direction: column; }
  .cta__form .btn { justify-content: center; }
  .doodle--hi { right: 2%; top: 4%; }
}
