/* ============================================================
   LOVA — Wellness, Simplified.
   Design system: soft, warm, premium, private, African-rooted.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Warm neutrals */
  --cream:      #FBF5EF;
  --cream-2:    #F6ECE3;
  --cream-3:    #F1E2D6;
  --paper:      #FFFCFA;
  --ink:        #2A2024;   /* warm near-black text */
  --ink-soft:   #4A3D43;
  --muted:      #7B6A70;
  --muted-2:    #9A8A8F;
  --line:       #E9D9CE;
  --line-2:     #EFE3DA;

  /* Brand softs */
  --blush:      #F6D5CE;
  --peach:      #F8CBA8;
  --coral:      #EFA188;
  --coral-deep: #E07E63;
  --lavender:   #DAD0EC;
  --lavender-2: #C6B8E2;
  --rose:       #F3C2CB;

  /* Deep accents */
  --plum:       #5B2740;
  --plum-soft:  #7A3556;
  --berry:      #8A2E4D;
  --wine:       #4A1E33;

  /* CTA */
  --btn:        #211A1D;
  --btn-hover:  #100B0D;

  /* Effects */
  --r-xs: 10px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;
  --pill: 999px;

  --shadow-sm: 0 2px 10px rgba(91,39,64,.06);
  --shadow:    0 14px 40px -18px rgba(91,39,64,.22);
  --shadow-lg: 0 40px 90px -40px rgba(74,30,51,.40);
  --shadow-card: 0 18px 44px -26px rgba(91,39,64,.30);

  --grad-rose:   linear-gradient(135deg, #FBE3DC 0%, #F8CBA8 48%, #DAD0EC 100%);
  --grad-warm:   linear-gradient(135deg, #F8CBA8 0%, #EFA188 100%);
  --grad-soft:   linear-gradient(160deg, #FDF1EB 0%, #F6E2EC 100%);
  --grad-plum:   linear-gradient(150deg, #5B2740 0%, #8A2E4D 100%);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

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

/* ---------- African texture (subtle) ---------- */
/* faint mudcloth-inspired diamond/dash motif, used very low opacity */
.tex {
  position: relative;
}
.tex::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%235B2740' stroke-width='1.1' opacity='0.5'%3E%3Cpath d='M60 8 L72 20 L60 32 L48 20 Z'/%3E%3Cpath d='M0 68 L12 80 L0 92 M120 68 L108 80 L120 92'/%3E%3Cpath d='M30 50 l8 0 M82 50 l8 0 M30 70 l8 0 M82 70 l8 0'/%3E%3Ccircle cx='60' cy='80' r='2.4'/%3E%3Cpath d='M16 16 l6 6 M104 16 l-6 6 M16 104 l6 -6 M104 104 l-6 -6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: .05;
  pointer-events: none;
}
.tex > * { position: relative; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.display {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 400; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 400; }
.h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.h4 { font-size: 1.28rem; }
.serif-it { font-style: italic; }
em, .em { font-style: italic; color: var(--plum); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--coral); border-radius: 2px;
}
.eyebrow.solo::before { display: none; }

.lead { font-size: clamp(1.12rem, 1.7vw, 1.4rem); color: var(--ink-soft); line-height: 1.5; }
.body { color: var(--muted); }
.body-ink { color: var(--ink-soft); }
.measure { max-width: 60ch; }
.measure-sm { max-width: 48ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: var(--pill);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: var(--btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(33,26,29,.7); }
.btn-dark:hover { background: var(--btn-hover); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(33,26,29,.8); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--berry); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.04rem; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--plum); }
.btn-link svg { width: 17px; height: 17px; transition: transform .25s; }
.btn-link:hover svg { transform: translateX(4px); }

/* App store badges */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--btn); color: #fff;
  padding: 10px 18px; border-radius: 14px;
  transition: transform .25s, background .2s;
}
.store-badge:hover { transform: translateY(-2px); background: var(--btn-hover); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge .sb-top { font-size: .6rem; opacity: .8; letter-spacing: .04em; line-height: 1.1; white-space: nowrap; }
.store-badge .sb-main { font-size: 1.04rem; font-weight: 600; line-height: 1.1; font-family: var(--font-display); white-space: nowrap; }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 9px 16px; border-radius: var(--pill);
  font-size: .9rem; font-weight: 500;
}
.chip-soft { background: var(--cream-2); border-color: transparent; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--plum);
  background: rgba(91,39,64,.07); padding: 5px 12px; border-radius: var(--pill);
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .3s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--blush); }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad-rose); color: var(--plum);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3, .card .h4 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Numbered / accent index */
.idx { font-family: var(--font-display); font-size: 1.1rem; color: var(--coral-deep); font-style: italic; }

/* ---------- Section header ---------- */
.shead { max-width: 760px; }
.shead.center { margin-inline: auto; }
.shead .eyebrow { margin-bottom: 18px; }
.shead p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Soft blobs ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; pointer-events: none; z-index: 0; }

/* ---------- Backgrounds ---------- */
.bg-cream { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-paper { background: var(--paper); }
.bg-soft { background: var(--grad-soft); }
.bg-plum { background: var(--grad-dark); color: #fff; }
.bg-plum h1, .bg-plum h2, .bg-plum h3 { color: #fff; }
.bg-plum .body, .bg-plum p { color: rgba(255,255,255,.78); }
.bg-plum .eyebrow { color: var(--peach); }
.bg-plum .eyebrow::before { background: var(--coral); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding: 16px var(--gutter) 0;
  transition: padding .3s;
}
.site-header .wrap { padding-inline: 0; }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  padding: 0 14px 0 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 38px -28px rgba(91,39,64,.45);
  backdrop-filter: blur(18px) saturate(1.5);
}
.site-header.scrolled { padding-top: 10px; }
.site-header.scrolled .nav {
  background: rgba(255,255,255,.72);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 44px -26px rgba(91,39,64,.5);
}
.brand { display: flex; align-items: center; gap: 9px; justify-self: start; }
.brand .logo-mark {
  width: 48px; height: 48px; display: grid; place-items: center;
}
.brand .logo-mark img { width: 48px; height: 48px; object-fit: contain; display: block; }
.brand .wordmark { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2px; justify-self: center; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--pill);
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--plum); background: rgba(255,255,255,.55); }
.nav-links a.active { color: var(--plum); }
.nav-links a.active::after {
  content: ""; display: block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--coral-deep); position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%);
}
.nav-cta { display: flex; align-items: center; gap: 12px; justify-self: end; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn svg { width: 24px; height: 24px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(42,32,36,.4); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--cream); padding: 26px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-links { display: flex; flex-direction: column; gap: 2px; }
.drawer-links a { font-family: var(--font-display); font-size: 1.5rem; padding: 11px 0; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.drawer-links a.active { color: var(--plum); }
.drawer .nav-cta { margin-top: 24px; flex-direction: column; align-items: stretch; }
.drawer .btn { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--wine); color: rgba(255,255,255,.72); padding-block: clamp(56px, 7vw, 88px) 32px; position: relative; overflow: hidden; }
.site-footer .blob { opacity: .22; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; position: relative; }
.footer-brand .wordmark { font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--peach); margin: 12px 0 14px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; line-height: 1.6; }
.footer-col h5 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; font-size: .95rem; color: rgba(255,255,255,.72); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-news { grid-column: 1 / -1; margin-top: 8px; }
.news-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.news-card h4 { color: #fff; }
.news-card p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 6px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 14px 20px; border-radius: var(--pill); font-family: inherit; font-size: .95rem; min-width: 240px; }
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form input:focus { outline: none; border-color: var(--peach); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-bottom .disclaimer { max-width: 64ch; font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.55; }
.footer-bottom .copy { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  width: 280px; aspect-ratio: 280 / 580;
  background: #14100F; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone-screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream); position: relative; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #14100F; border-radius: 999px; z-index: 5; }
.app { height: 100%; display: flex; flex-direction: column; font-size: 12px; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 4px; font-size: 11px; font-weight: 600; color: var(--ink); }
.app-status .dots { display: flex; gap: 3px; align-items: center; }
.app-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); display: block; opacity: .6; }
.app-body { flex: 1; overflow: hidden; padding: 8px 16px 16px; }
.app-h { font-family: var(--font-display); font-size: 19px; line-height: 1.1; color: var(--ink); }
.app-sub { font-size: 11px; color: var(--muted); }
.app-tabbar { display: flex; justify-content: space-around; padding: 12px 10px 18px; border-top: 1px solid var(--line-2); background: var(--paper); }
.app-tabbar i { width: 22px; height: 22px; border-radius: 7px; background: var(--cream-3); display: block; }
.app-tabbar i.on { background: var(--grad-warm); }

/* Cycle ring */
.cycle-ring { width: 150px; height: 150px; margin: 14px auto; position: relative; }
.cycle-ring svg { transform: rotate(-90deg); }
.cycle-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.cycle-center .big { font-family: var(--font-display); font-size: 30px; color: var(--plum); line-height: 1; }
.cycle-center .small { font-size: 9.5px; color: var(--muted); letter-spacing: .04em; }

.mini-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 13px; }
.mini-row { display: flex; align-items: center; gap: 9px; }
.mini-dot { width: 28px; height: 28px; border-radius: 9px; background: var(--grad-rose); flex: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
  .reveal.d4 { transition-delay: .32s; }
  .reveal.d5 { transition-delay: .40s; }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
  .float { animation: floaty 7s ease-in-out infinite; }
  .float-2 { animation: floaty 9s ease-in-out infinite; }
}

/* ---------- Hero scaffolding ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 70px); position: relative; overflow: hidden; }

/* ---------- Lists ---------- */
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.ticks li::before {
  content: ""; flex: none; margin-top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--grad-warm) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.pills-wrap { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Placeholder image ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(91,39,64,.05) 0 10px, transparent 10px 20px),
    var(--grad-soft);
  border: 1px solid var(--line-2);
  display: grid; place-items: center; min-height: 240px;
}
.ph span { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .76rem; letter-spacing: .04em; color: var(--plum-soft); background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: var(--pill); }

/* ---------- Disclaimer / note ---------- */
.note {
  border-left: 3px solid var(--coral); background: var(--cream-2);
  border-radius: 0 var(--r-md) var(--r-md) 0; padding: 24px 28px;
}
.note .h4 { color: var(--plum); margin-bottom: 8px; }
.note p { color: var(--muted); font-size: .96rem; }

/* ---------- Stat / metric ---------- */
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem,4vw,3.4rem); color: var(--plum); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-cta .btn:not(.menu-btn) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; align-items: flex-start; }
  .news-form input { min-width: 0; flex: 1; }
  .hide-sm { display: none; }
}

/* ============================================================
   EXTRA ACCENT TOKENS (both themes) — for app mockups
   ============================================================ */
:root {
  --mint: #4F9E76; --mint-bg: #DCEFE2;
  --sky: #6E92CE; --sky-bg: #DEE7F7;
  --sun: #E8A92E; --sun-bg: #FBEFD0;
  --badge-dark: #221B1E;
  --grad-dark: linear-gradient(165deg, #5D2841 0%, #3B1525 100%);
}

/* ============================================================
   BRIGHT THEME (Tweak: calmer-but-brighter palette)
   ============================================================ */
[data-theme="bright"] {
  --cream: #FCF1EC; --cream-2: #FBE7DD; --cream-3: #F6D7C9; --paper: #FFFFFF;
  --ink: #3E2F2A; --ink-soft: #5C4A43; --muted: #8C746C; --muted-2: #AC968E;
  --line: #F3DDD1; --line-2: #F8E8DF;
  --blush: #FBD2C5; --peach: #FBB68A; --coral: #F59B72; --coral-deep: #EE7553;
  --lavender: #DBCFF4; --lavender-2: #B6A2E2; --rose: #F8BEC7;
  --plum: #D2553F; --plum-soft: #DC6A4F; --berry: #E84F39; --wine: #7E2A2C;
  --btn: #EE7553; --btn-hover: #E2613B;
  --grad-rose: linear-gradient(135deg, #FBE0D6 0%, #FBB68A 48%, #DBCFF4 100%);
  --grad-warm: linear-gradient(135deg, #FBB68A 0%, #EE7553 100%);
  --grad-soft: linear-gradient(160deg, #FEF0EA 0%, #FCE3EC 100%);
  --grad-plum: linear-gradient(150deg, #E84F39 0%, #F5945F 100%);
  --shadow-card: 0 18px 44px -26px rgba(232,79,57,.32);
}
[data-theme="bright"] .btn-dark { background: var(--grad-warm); color: #fff; box-shadow: 0 12px 26px -12px rgba(238,117,83,.6); }
[data-theme="bright"] .btn-dark:hover { background: linear-gradient(135deg,#FAAC7C 0%,#E2613B 100%); }
[data-theme="bright"] .store-badge { background: var(--badge-dark); }
[data-theme="bright"] { --grad-dark: linear-gradient(165deg, #8A2E3A 0%, #5A1F28 100%); }
html { transition: none; }
[data-theme] body, [data-theme] .card, [data-theme] .site-header { transition: background-color .4s ease, border-color .4s ease, color .4s ease; }

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle { display: inline-flex; align-items: center; background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--pill); padding: 3px; }
.lang-toggle button { font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: 6px 12px; border-radius: var(--pill); color: var(--muted); transition: background .2s, color .2s; }
.lang-toggle button.on { background: var(--paper); color: var(--plum); box-shadow: var(--shadow-sm); }
.drawer .lang-toggle { align-self: flex-start; margin-top: 22px; }

/* ============================================================
   KISWAHILI BRAND BAND
   ============================================================ */
.kiband { display: grid; gap: 0; }
.kiline { display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.kiline:last-child { border-bottom: none; }
.kiline .ksw { font-family: var(--font-display); font-size: clamp(1.2rem, 2.1vw, 1.6rem); color: var(--ink); line-height: 1.15; flex: 1; }
.kiline .ken { font-size: .92rem; color: var(--muted); font-style: italic; min-width: 12ch; text-align: right; }
.kiline .kix { font-family: var(--font-display); font-style: italic; color: var(--coral-deep); font-size: 1.1rem; min-width: 4ch; }
@media (max-width: 620px) { .kiline { flex-wrap: wrap; gap: 6px; } .kiline .ken { text-align: left; min-width: 0; } }

/* ============================================================
   REALISTIC APP MOCKUPS (ax-)
   ============================================================ */
.ax { height: 100%; display: flex; flex-direction: column; }
.ax-body { flex: 1; overflow: hidden; padding: 6px 13px 12px; display: flex; flex-direction: column; gap: 8px; }
.ax-top { display: flex; align-items: center; justify-content: space-between; }
.ax-top .mo { font-family: var(--font-display); font-size: 15px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ax-top .cal { width: 22px; height: 22px; border-radius: 6px; background: var(--cream-2); display: grid; place-items: center; color: var(--plum); font-size: 11px; }
.ax-title { font-family: var(--font-display); font-size: 15px; text-align: center; color: var(--ink); font-weight: 600; }
.ax-seg { display: flex; background: #fff; border-radius: var(--pill); padding: 4px; box-shadow: var(--shadow-sm); }
.ax-seg span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 600; padding: 8px 4px; border-radius: var(--pill); color: var(--ink-soft); }
.ax-seg span.on { background: var(--grad-warm); color: #fff; }
.ax-tabs { display: flex; background: #fff; border-radius: var(--pill); padding: 4px; box-shadow: var(--shadow-sm); }
.ax-tabs span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 600; padding: 7px 4px; border-radius: var(--pill); color: var(--ink-soft); }
.ax-tabs span.on { background: var(--grad-warm); color: #fff; }
.ax-stats { display: flex; gap: 8px; justify-content: center; }
.ax-stat { background: #fff; border-radius: 13px; padding: 8px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.ax-stat .v { color: var(--berry); font-weight: 700; font-size: 13px; white-space: nowrap; }
.ax-stat .l { font-size: 8.5px; color: var(--muted); }
.ax-fetus { width: 92px; height: 92px; margin: 2px auto; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F2A88E, #D9694B); }
.ax-week { text-align: center; }
.ax-week .cw { font-size: 10px; color: var(--muted); }
.ax-week .big { font-family: var(--font-display); color: var(--berry); font-size: 29px; line-height: 1; font-weight: 600; }
.ax-week .sub { font-size: 9px; color: var(--muted); }
.ax-cta { display: block; text-align: center; background: var(--grad-warm); color: #3a2a25; font-weight: 700; font-size: 11px; padding: 11px; border-radius: var(--pill); }
.ax-h { font-family: var(--font-display); font-size: 13px; color: var(--ink); font-weight: 600; }
.ax-insight { display: flex; gap: 9px; align-items: center; background: #fff; border-radius: 12px; padding: 9px 11px; box-shadow: var(--shadow-sm); }
.ax-insight .ic { width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center; }
.ax-insight .ic svg { width: 16px; height: 16px; }
.ax-insight .t { font-size: 8px; color: var(--muted); }
.ax-insight .d { font-size: 10.5px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.ax-daterow { display: flex; gap: 4px; }
.ax-day { flex: 1; text-align: center; background: #fff; border: 1.5px solid var(--lavender-2); border-radius: 13px; padding: 7px 0 5px; }
.ax-day.sel { background: var(--mint-bg); border-color: var(--mint); }
.ax-day.off { border-color: var(--line); }
.ax-day .drop { width: 12px; height: 14px; margin: 0 auto 4px; }
.ax-day .dn { font-size: 9px; color: var(--ink-soft); font-weight: 600; }
.ax-day.off .dn { color: var(--muted-2); }
.ax-ovul { text-align: center; }
.ax-ovul .od { font-family: var(--font-display); color: var(--berry); font-size: 16px; font-weight: 600; }
.ax-ovul .sm { font-size: 8.5px; color: var(--muted); }
.ax-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ax-q { background: #fff; border-radius: 12px; padding: 10px 8px; box-shadow: var(--shadow-sm); text-align: center; }
.ax-q .qi { width: 26px; height: 26px; border-radius: 8px; margin: 0 auto 5px; display: grid; place-items: center; }
.ax-q .qi svg { width: 15px; height: 15px; }
.ax-q .qn { font-size: 10px; font-weight: 700; color: var(--ink); }
.ax-q .qd { font-size: 7.5px; color: var(--muted); margin-top: 1px; }
.ax-post { background: #fff; border-radius: 12px; padding: 10px 11px; box-shadow: var(--shadow-sm); }
.ax-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.ax-av { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-rose); flex: none; }
.ax-tg { font-size: 8px; color: var(--plum); background: rgba(210,85,63,.1); padding: 2px 7px; border-radius: var(--pill); }
.ax-post p { font-size: 9.5px; color: var(--ink-soft); line-height: 1.45; }
.ax-meta { display: flex; gap: 10px; margin-top: 7px; font-size: 8px; color: var(--muted-2); border-top: 1px solid var(--line-2); padding-top: 6px; }
.ax-banner { background: var(--mint); color: #fff; border-radius: 12px; padding: 10px 11px; display: flex; gap: 9px; align-items: center; }
.ax-banner .bt { font-size: 10px; font-weight: 700; line-height: 1.15; }
.ax-banner .bs { font-size: 8px; opacity: .9; line-height: 1.2; margin-top: 2px; }
.ax-badge { font-size: 7px; font-weight: 700; padding: 3px 7px; border-radius: var(--pill); letter-spacing: .04em; }
.ax-badge.pend { background: var(--sun-bg); color: #B07A1E; }
.ax-badge.ans { background: var(--mint-bg); color: var(--mint); }
.ax-qmark { width: 24px; height: 24px; border-radius: 50%; background: var(--coral-deep); color: #fff; display: grid; place-items: center; flex: none; font-size: 12px; }
.ax-poll { background: #fff; border-radius: 12px; padding: 10px 11px; box-shadow: var(--shadow-sm); }
.ax-opt { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 6px; font-size: 9.5px; color: var(--ink); }
.ax-opt.sel { border-color: var(--berry); color: var(--berry); font-weight: 700; }
.ax-opt .vt { font-size: 8px; color: var(--muted); }
.ax-fab { display: block; text-align: center; background: var(--grad-warm); color: #fff; font-weight: 600; font-size: 10px; padding: 10px; border-radius: var(--pill); }

/* ---- Learn: question list cards ---- */
.qcard {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-md); padding: 18px 22px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.qcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--blush); }
.qcard .qtag { flex: none; width: 92px; text-align: center; padding: 6px 0; }
.qcard .qtext { flex: 1; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.qcard .qarrow { flex: none; color: var(--coral-deep); display: grid; place-items: center; transition: transform .3s; }
.qcard .qarrow svg { width: 18px; height: 18px; }
.qcard:hover .qarrow { transform: translateX(4px); }
@media (max-width: 520px) {
  .qcard { flex-wrap: wrap; gap: 10px; }
  .qcard .qtag { width: auto; padding: 5px 12px; }
  .qcard .qarrow { display: none; }
}

/* ---- Tweak: texture off / calm motion ---- */
html.no-tex .tex::before { display: none; }
html.calm .float, html.calm .float-2 { animation: none !important; }
html.calm .reveal { transition: none !important; }

/* ============================================================
   CLOSING CTA PANEL (contained, separated from footer)
   ============================================================ */
.cta-band { padding-block: clamp(52px, 7vw, 96px); }
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad-plum);
  color: #fff;
  padding: clamp(40px, 5.5vw, 72px) clamp(26px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 40px 80px -42px rgba(74,30,51,.55);
}
.cta-panel > *:not(.blob) { position: relative; z-index: 1; }
.cta-panel .eyebrow { color: var(--peach); justify-content: center; }
.cta-panel .eyebrow::before { background: var(--coral); }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.82); margin-inline: auto; }
.cta-panel .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.cta-panel .stores { justify-content: center; }
.cta-panel .btn-light { background: #fff; color: var(--wine); }
.cta-panel .btn-light:hover { background: var(--cream); }
.cta-panel .btn-link { color: var(--peach); }
