/*
Theme Name: Lalu Web
Theme URI: https://lalufamily.com
Description: Lalu marketing site v2 — warm editorial design with calculators. Ported pixel-perfectly from the design handoff (design_handoff_lalu_website).
Version: 2.0.0
Author: Lalu
Text Domain: lalu-web
*/

/* ============================================================
   PART 1 — design tokens + chrome + home (port of web2-styles.css)
   ============================================================ */
/* Lalu website v2 — redesigned marketing site.
   Warm editorial, calm motion (reveals, floats, marquees). Nunito + brand coral/green. */

:root {
  --ink: #1F211C;
  --navy: #13293E;
  --muted: #6E7076;
  --faint: #9C9D9B;
  --line: #ECE9E3;
  --line-soft: #F4F1EC;

  --coral: #FF8C67;
  --cta: #F2603A;
  --cycle: #FF805D;
  --green: #8DC922;
  --green-deep: #5E7A2E;
  --lime: #BBE07D;
  --purple: #9080E5;
  --purple-deep: #5F50B5;
  --teal: #5BB48E;
  --amber: #E08A12;

  --paper: #FFFFFF;
  --cream: #FDF8EA;
  --prom: #F6FBEE;
  --peach: #FAF3F1;
  --tang: #FFF1E9;
  --lilac: #F4F3F9;
  --mint: #F1F6F4;

  /* Disc tints (testimonial + trust-row avatars, author discs). Deepened from the old
     pastels so the cream/skin tones inside the two-tone marks still read on them. */
  --disc-coral: #FFC0AD;
  --disc-green: #B4DB6C;
  --disc-lilac: #D0C9F3;
  --disc-teal: #A9D8C3;
  --disc-amber: #F3C882;
  --disc-peach: #FFC0A7;

  --sh-sm: 0 1px 2px rgba(31,33,28,0.04), 0 10px 24px rgba(31,33,28,0.06);
  --sh-md: 0 2px 6px rgba(31,33,28,0.05), 0 24px 52px rgba(31,33,28,0.10);
  --sh-lg: 0 4px 10px rgba(31,33,28,0.05), 0 34px 80px rgba(31,33,28,0.14);
  --sh-phone: 0 30px 70px rgba(31,33,28,0.20), 0 8px 22px rgba(31,33,28,0.12);

  --maxw: 1180px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22,.61,.24,1);
  --spring: cubic-bezier(.34,1.45,.5,1);

  --font: 'Nunito', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(242,96,58,0.45); outline-offset: 2px; border-radius: 6px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- reveal-on-scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv--l { transform: translateX(-28px); }
.rv--r { transform: translateX(28px); }
.rv--pop { transform: translateY(16px) scale(.96); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border: none; border-radius: var(--r-pill);
  font-weight: 800; font-size: 16px; white-space: nowrap;
  transition: transform .22s var(--spring), box-shadow .22s var(--ease), background .16s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 10px 24px rgba(242,96,58,0.30); }
.btn--cta:hover { box-shadow: 0 16px 32px rgba(242,96,58,0.40); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(141,201,34,0.32); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #D9D5CE, 0 8px 20px rgba(31,33,28,0.07); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 17px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep);
}

/* ---------- nav ---------- */
.nv { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.86); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line-soft); }
.nv-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 22px; color: var(--ink); letter-spacing: -0.03em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #FF8C67; box-shadow: 0 6px 14px rgba(255,140,103,0.38); }
.nv-links { display: flex; align-items: center; gap: 6px; }
.nv-links > a, .nv-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 15px; border: none; background: transparent;
  border-radius: var(--r-pill); font-weight: 700; font-size: 15.5px; color: var(--muted); transition: color .14s, background .14s;
}
.nv-links > a:hover, .nv-dd-btn:hover { color: var(--ink); background: var(--line-soft); }
.nv-links > a.on, .nv-dd-btn.on { color: var(--ink); }
.nv-right { display: flex; align-items: center; gap: 12px; }

.nv-dd { position: relative; }
.nv-dd-btn svg { transition: transform .22s var(--ease); }
.nv-dd.open .nv-dd-btn svg { transform: rotate(180deg); }
.nv-dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px;
  background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--sh-lg); border: 1px solid var(--line-soft);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-8px) scale(.97); transform-origin: top center;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nv-dd.open .nv-dd-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.nv-dd-item { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 15px; transition: background .14s; }
.nv-dd-item:hover { background: var(--line-soft); }
.nv-dd-item .di-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.nv-dd-item .di-t { font-weight: 800; font-size: 15px; color: var(--ink); line-height: 1.2; }
.nv-dd-item .di-s { font-weight: 600; font-size: 12.5px; color: var(--faint); margin-top: 1px; }
.nv-dd-all { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 6px 4px 2px; padding: 11px; border-top: 1px solid var(--line-soft); font-weight: 800; font-size: 14px; color: var(--cta); }
.nv-burger { display: none; }
.nv-mobile { display: none; }
.nv-mobile.open { display: block; background: #fff; border-top: 1px solid var(--line-soft); padding: 10px 28px 22px; }
.nv-mobile a { display: block; padding: 12px 4px; font-weight: 800; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nv-mobile .sub { padding-left: 18px; font-weight: 700; color: var(--muted); font-size: 15.5px; }

/* ---------- store badges ---------- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 20px 0 18px;
  border-radius: 14px; background: #14110F; color: #fff; transition: transform .22s var(--spring), box-shadow .22s var(--ease);
  box-shadow: 0 8px 20px rgba(20,17,15,0.22);
}
.badge:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20,17,15,0.3); }
.badge:active { transform: translateY(0) scale(.97); }
.badge small { display: block; font-size: 10.5px; font-weight: 600; opacity: .82; letter-spacing: 0.02em; line-height: 1.1; }
.badge strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.18; margin-top: 1px; }

/* ---------- hero ---------- */
.hero2 { position: relative; overflow: hidden; }
.hero2-bg { position: absolute; inset: 0; pointer-events: none; }
.blob2 { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blobDrift 22s ease-in-out infinite alternate; }
.blob2.b { animation-duration: 26s; animation-delay: -8s; }
@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -26px) scale(1.08); }
  100% { transform: translate(-30px, 22px) scale(.96); }
}
.hero2-inner { position: relative; text-align: center; padding: 74px 0 0; }
.h2-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 9px 9px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font-weight: 800; font-size: 14px; color: var(--ink);
  transition: transform .22s var(--spring), box-shadow .22s var(--ease);
}
.h2-pill:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.h2-pill .np { padding: 4px 11px; border-radius: var(--r-pill); background: var(--tang); color: var(--cta); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.h2-pill .go { display: inline-flex; align-items: center; gap: 4px; color: var(--cta); }
.h2-title { font-size: clamp(2.9rem, 6vw, 4.9rem); font-weight: 900; color: var(--navy); margin: 26px auto 0; max-width: 900px; line-height: 1.04; }
.rotator { display: inline-grid; text-align: left; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(0.55em); transition: opacity .5s var(--ease), transform .55s var(--ease); }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-0.45em); }
.h2-lead { font-size: 1.3rem; color: var(--muted); margin: 24px auto 0; max-width: 620px; }
.h2-cta { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.h2-trust { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px; display: grid; place-items: center; font-size: 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.avatars span:first-child { margin-left: 0; }
.stars { color: #FFB020; }
.trust-text { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.trust-text b { color: var(--ink); font-weight: 800; }

/* hero collage */
.collage { position: relative; height: 470px; margin-top: 48px; }
.collage-in { position: absolute; left: 50%; transform: translateX(-50%); width: 1120px; max-width: none; height: 100%; }
.col-ph { position: absolute; }
.floaty { animation: floaty 6s ease-in-out infinite alternate; }
@keyframes floaty { from { transform: translateY(-6px); } to { transform: translateY(7px); } }
.fchip {
  position: absolute; z-index: 8; background: #fff; border-radius: 18px; box-shadow: var(--sh-md);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,0.6);
}
.fchip .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.fchip .fc-t { font-weight: 800; font-size: 13.5px; color: var(--ink); line-height: 1.15; white-space: nowrap; }
.fchip .fc-s { font-weight: 600; font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 130px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 88%); z-index: 9; pointer-events: none; }
.flutter { animation: flutter 4.5s ease-in-out infinite; display: inline-block; }
@keyframes flutter { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }

/* phone frame */
.phone { position: relative; border-radius: 44px; background: #15161A; padding: 10px; box-shadow: var(--sh-phone); flex-shrink: 0; }
.phone-screen { position: relative; border-radius: 34px; overflow: hidden; background: #fff; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 7%; max-height: 26px; background: #15161A; border-radius: 12px; z-index: 9; }

/* ---------- marquee ---------- */
.mq { overflow: hidden; position: relative; padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.mq-track { display: flex; width: max-content; animation: mqScroll var(--mq-t, 46s) linear infinite; }
.mq:hover .mq-track, .tmq:hover .mq-track { animation-play-state: paused; }
@keyframes mqScroll { to { transform: translateX(-50%); } }
.mq-group { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.mq-chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: var(--r-pill); font-weight: 750; font-size: 14.5px; color: var(--muted); background: var(--line-soft); white-space: nowrap; }
.mq-chip .dotc { width: 7px; height: 7px; border-radius: 4px; }
.mq-fade::before, .mq-fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none; }
.mq-fade::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.mq-fade::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

/* testimonial marquee */
.tmq { overflow: hidden; position: relative; }
.tmq + .tmq { margin-top: 18px; }
.tmq .mq-group { gap: 18px; padding-right: 18px; align-items: stretch; }
.tmq.rev .mq-track { animation-direction: reverse; }
.t-card2 { width: 380px; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--sh-sm); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; white-space: normal; flex-shrink: 0; }
.t-card2 .tq { font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.55; flex: 1; }
.t-person { display: flex; align-items: center; gap: 11px; }
.t-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.t-name { font-weight: 800; font-size: 14px; color: var(--ink); }
.t-meta { font-weight: 600; font-size: 12.5px; color: var(--faint); }
.tmq-fade::before, .tmq-fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.tmq-fade::before { left: 0; background: linear-gradient(90deg, var(--cream), rgba(253,248,234,0)); }
.tmq-fade::after { right: 0; background: linear-gradient(270deg, var(--cream), rgba(253,248,234,0)); }

/* ---------- sections ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.s-cream { background: var(--cream); }
.s-prom { background: var(--prom); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 900; color: var(--navy); margin: 16px 0 0; }
.section-sub { font-size: 1.18rem; color: var(--muted); margin: 16px 0 0; }

/* stats */
.stats2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat2 { text-align: center; padding: 10px; }
.stat2 b { display: block; font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-weight: 900; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat2 span { font-size: 14.5px; font-weight: 700; color: var(--muted); }
.stat2 .accent { color: var(--cta); }

/* ---------- mode panels ---------- */
.mpanel { border-radius: 34px; padding: 56px 60px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; overflow: hidden; position: relative; }
.mpanel + .mpanel { margin-top: 28px; }
.mpanel.flip .mp-text { order: 2; }
.mp-art { display: grid; place-items: center; position: relative; min-height: 430px; }
.mode-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 800; font-size: 14px; background: #fff; box-shadow: var(--sh-sm); }
.mp-h { font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 900; color: var(--navy); margin: 20px 0 0; }
.mp-p { font-size: 1.15rem; color: var(--muted); margin: 16px 0 0; max-width: 460px; }
.feat-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 650; font-size: 16px; color: var(--ink); }
.feat-list .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; background: #fff; box-shadow: var(--sh-sm); }
.mode-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 28px; font-weight: 800; font-size: 16px; transition: gap .2s var(--ease); }
.mode-link:hover { gap: 11px; }
.mp-ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(31,33,28,0.10); animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- tools promo ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px 24px 24px;
  box-shadow: var(--sh-sm); display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .24s var(--spring), box-shadow .24s var(--ease), border-color .24s;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.tool-card .tc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.tool-card h3 { font-size: 1.22rem; font-weight: 850; color: var(--navy); margin: 18px 0 0; }
.tool-card p { font-size: .98rem; color: var(--muted); margin: 9px 0 0; flex: 1; }
.tool-card .tc-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 800; font-size: 14.5px; transition: gap .2s var(--ease); }
.tool-card:hover .tc-go { gap: 11px; }
.tc-mini { height: 64px; margin-top: 18px; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-sm); transition: transform .24s var(--spring), box-shadow .24s var(--ease); position: relative; overflow: hidden; }
.b-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.b-card .b-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.b-card h3 { font-size: 1.3rem; font-weight: 850; color: var(--navy); margin: 20px 0 0; }
.b-card p { font-size: 1.01rem; color: var(--muted); margin: 10px 0 0; }
.b-card.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 0; }
.b-card.wide .bw-body { padding: 36px 34px; }
.b-card.wide .bw-art { align-self: stretch; display: grid; place-items: center; padding: 30px 28px 0; min-height: 300px; overflow: hidden; }

/* ---------- trust band ---------- */
.trust2 { background: linear-gradient(140deg, var(--prom), var(--mint)); border-radius: 34px; padding: 58px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.trust-point { display: flex; gap: 16px; align-items: flex-start; }
.trust-point + .trust-point { margin-top: 22px; }
.trust-point .tp-ic { width: 50px; height: 50px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--sh-sm); font-size: 24px; }
.trust-point h4 { font-size: 1.18rem; font-weight: 800; color: var(--navy); }
.trust-point p { font-size: 1.02rem; color: var(--muted); margin-top: 5px; }
.doc-card { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--sh-md); text-align: center; }
.doc-ring { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--prom); font-size: 46px; position: relative; }
.doc-ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(141,201,34,0.5); animation: spinSlow 40s linear infinite; }
.doc-card h3 { font-size: 1.4rem; font-weight: 900; color: var(--navy); margin-top: 20px; }
.doc-card p { color: var(--muted); margin-top: 8px; }
.doc-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--prom); color: var(--green-deep); font-weight: 800; font-size: 14px; }

/* ---------- article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .24s var(--spring), box-shadow .24s var(--ease); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.article-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; font-size: 72px; overflow: hidden; }
.article-thumb > span:last-child, .article-thumb > .ph-disc { transition: transform .4s var(--ease); }
.article-card:hover .article-thumb > span:last-child, .article-card:hover .article-thumb > .ph-disc { transform: scale(1.12) rotate(-4deg); }
.article-thumb .tag { position: absolute; top: 14px; left: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--r-pill); font-weight: 800; font-size: 12.5px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.article-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.26rem; font-weight: 800; color: var(--navy); }
.article-card p { font-size: 1rem; color: var(--muted); margin-top: 10px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--faint); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.article-ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--sh-sm); }
.faq-q { width: 100%; border: none; background: transparent; text-align: left; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 1.12rem; color: var(--navy); font-family: inherit; }
.faq-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; flex-shrink: 0; transition: transform .28s var(--spring), background .2s; color: var(--cta); }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--cta); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.ctaband2 { position: relative; overflow: hidden; border-radius: 36px; padding: 72px 64px; text-align: center; background: linear-gradient(135deg, var(--coral) 0%, var(--cta) 58%, #E24F8B 135%); color: #fff; }
.ctaband2 h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 900; color: #fff; }
.ctaband2 p { font-size: 1.2rem; opacity: .93; margin: 16px auto 0; max-width: 540px; }
.ctaband2 .store-badges { justify-content: center; margin-top: 32px; }
.ctaband2 .badge { background: #fff; color: var(--ink); box-shadow: 0 10px 26px rgba(0,0,0,0.16); }
.cta-rings { position: absolute; inset: 0; opacity: .15; pointer-events: none; }
.cta-fly { position: absolute; opacity: .3; animation: flutter 5s ease-in-out infinite; }

/* ---------- footer ---------- */
.footer { background: var(--cream); border-top: 1px solid var(--line); padding: 76px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); margin-top: 16px; max-width: 280px; font-size: 15px; }
.footer-col h5 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); font-weight: 600; font-size: 15.5px; padding: 6px 0; transition: color .14s, transform .18s var(--ease); }
.footer-col a:hover { color: var(--ink); transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom span { color: var(--faint); font-size: 14px; font-weight: 600; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); color: var(--muted); transition: transform .22s var(--spring), color .14s; }
.footer-social a:hover { color: var(--ink); transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .nv-links { display: none; }
  .nv-burger { display: inline-grid; }
  .h2-title { font-size: clamp(2.5rem, 8vw, 3.6rem); }
  .collage { height: 420px; }
  .mpanel, .mpanel.flip { grid-template-columns: 1fr; padding: 40px 34px; gap: 30px; }
  .mpanel.flip .mp-text { order: 0; }
  .mp-art { min-height: 400px; }
  .bento, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .b-card.wide { grid-column: span 2; }
  .trust2 { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .stats2 { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .bento, .article-grid, .tools-grid { grid-template-columns: 1fr; }
  .b-card.wide { grid-column: span 1; grid-template-columns: 1fr; }
  .ctaband2 { padding: 48px 26px; }
  .trust2 { padding: 30px 24px; }
  .mpanel, .mpanel.flip { padding: 32px 22px; }
  .collage { height: 360px; }
  .t-card2 { width: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .h2-lead { font-size: 1.16rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .mq-track, .floaty, .flutter, .blob2, .mp-ring, .doc-ring::after, .cta-fly { animation: none !important; }
  .btn, .badge, .tool-card, .b-card, .article-card, .footer-social a { transition: none; }
}

/* ---------- print / capture safety ---------- */
@media print {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cres-in, .cstrip .cd { animation: none !important; opacity: 1 !important; transform: none !important; }
  .mq-track, .floaty, .flutter, .blob2, .mp-ring, .doc-ring::after, .cta-fly { animation: none !important; }
  .nv { position: static; }
}

/* Frozen rendering clock (capture/export iframes): zero-duration jumps every
   keyframe animation to its end state; fill modes keep it there. */
.frames-frozen *, .frames-frozen *::before, .frames-frozen *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition: none !important;
}

/* ============================================================
   PART 2 — blog, article, calculators (port of web2-pages.css)
   ============================================================ */
/* Lalu website v2 — page-specific styles: blog, article, calculators. */

/* ============ BLOG ============ */
.bhero { position: relative; overflow: hidden; padding: 68px 0 44px;
  background: radial-gradient(900px 420px at 82% -20%, var(--lilac), transparent 60%),
              radial-gradient(700px 380px at 0% 0%, var(--prom), transparent 55%), #fff; }
.bhero h1 { font-size: clamp(2.5rem, 4.4vw, 3.8rem); font-weight: 900; color: var(--navy); }
.bhero p { font-size: 1.22rem; color: var(--muted); margin-top: 16px; max-width: 560px; }
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.cat-chip { border: 1.5px solid var(--line); background: #fff; height: 42px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 750; font-size: 14.5px; color: var(--muted); transition: all .18s var(--ease); }
.cat-chip:hover { border-color: #D9D5CE; color: var(--ink); transform: translateY(-1px); }
.cat-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.featured2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform .24s var(--spring), box-shadow .24s var(--ease); }
.featured2:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.featured2 .f-art { min-height: 340px; display: grid; place-items: center; font-size: 120px; position: relative; overflow: hidden; }
.featured2 .f-art > span:last-child, .featured2 .f-art > .ph-disc { transition: transform .5s var(--ease); }
.featured2:hover .f-art > span:last-child, .featured2:hover .f-art > .ph-disc { transform: scale(1.1) rotate(-5deg); }
.featured2 .f-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured2 .f-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 900; color: var(--navy); margin: 16px 0 0; }
.featured2 .f-body p { font-size: 1.12rem; color: var(--muted); margin: 14px 0 0; }

.blog-tools { margin-top: 64px; border-radius: 26px; background: var(--prom); padding: 30px 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.blog-tools .bt-copy { flex: 1; min-width: 240px; }
.blog-tools h3 { font-size: 1.35rem; font-weight: 850; color: var(--navy); }
.blog-tools p { color: var(--muted); margin-top: 6px; font-size: 1.02rem; }
.blog-tools .bt-links { display: flex; gap: 10px; flex-wrap: wrap; }
.bt-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-sm); font-weight: 800; font-size: 14.5px; color: var(--ink); transition: transform .22s var(--spring), box-shadow .22s; }
.bt-pill:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

/* ============ ARTICLE ============ */
.post-hero { padding: 34px 0 8px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--faint); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink); }
.post-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.post-title { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 900; color: var(--navy); margin: 18px 0 0; }
.post-dek { font-size: 1.3rem; color: var(--muted); margin: 18px 0 0; line-height: 1.5; }
.post-byline { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; }
.post-byline .article-ava { width: 46px; height: 46px; font-size: 22px; }
.post-byline .by-name { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.post-byline .by-meta { font-size: 13.5px; font-weight: 600; color: var(--faint); }
.post-figure { max-width: 1000px; margin: 40px auto; padding: 0 28px; }
.post-figure .pf-inner { aspect-ratio: 16 / 8.2; border-radius: 28px; display: grid; place-items: center; font-size: 150px; box-shadow: var(--sh-sm); }
.post-body { font-size: 1.16rem; line-height: 1.75; color: #34362F; }
.post-body > * + * { margin-top: 24px; }
.post-body h2 { font-size: 1.7rem; font-weight: 900; color: var(--navy); margin-top: 44px; }
.post-body h3 { font-size: 1.32rem; font-weight: 800; color: var(--navy); margin-top: 32px; }
.post-body strong { font-weight: 800; color: var(--ink); }
.post-body ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.post-body ul li { display: flex; gap: 12px; align-items: flex-start; }
.post-body ul li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--prom); flex-shrink: 0; margin-top: 3px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E7A2E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.pullquote { border-left: 4px solid var(--cta); padding: 6px 0 6px 26px; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.4; letter-spacing: -0.01em; }
.callout { background: var(--prom); border-radius: 22px; padding: 26px 28px; display: flex; gap: 16px; }
.callout .co-ic { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; box-shadow: var(--sh-sm); }
.callout h4 { font-size: 1.1rem; font-weight: 800; color: var(--green-deep); }
.callout p { font-size: 1.04rem; color: #3F5236; margin-top: 6px; }
.medical-note { display: flex; gap: 12px; align-items: center; background: var(--lilac); border-radius: 16px; padding: 16px 20px; font-size: 14.5px; font-weight: 600; color: #5B5470; margin-top: 40px; }
.author-card { display: flex; gap: 18px; align-items: center; background: var(--cream); border-radius: 24px; padding: 26px; margin-top: 44px; }
.author-card .ac-ava { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; flex-shrink: 0; }
.author-card h4 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.author-card .ac-role { font-size: 14px; font-weight: 700; color: var(--cta); margin-top: 2px; }
.author-card p { font-size: 1rem; color: var(--muted); margin-top: 8px; }
.share-row { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.share-row span { font-weight: 800; font-size: 14px; color: var(--faint); }
.share-row a { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: transform .22s var(--spring), color .14s, border-color .14s; }
.share-row a:hover { color: var(--ink); border-color: #D9D5CE; transform: translateY(-2px); }

/* calculator cross-link inside article */
.post-toolcard { margin-top: 44px; border-radius: 24px; padding: 26px 28px; display: flex; align-items: center; gap: 18px; background: linear-gradient(120deg, var(--lilac), #FBFAFF); border: 1px solid #E8E4F6; }
.post-toolcard .ptc-ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: var(--sh-sm); display: grid; place-items: center; flex-shrink: 0; }
.post-toolcard h4 { font-size: 1.16rem; font-weight: 850; color: var(--navy); }
.post-toolcard p { color: var(--muted); font-size: 1rem; margin-top: 4px; }

/* ============ CALCULATORS ============ */
.chero { position: relative; overflow: hidden; padding: 44px 0 200px; }
.chero .breadcrumb { margin-bottom: 22px; }
.chero h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 900; color: var(--navy); max-width: 760px; }
.chero .c-intro { font-size: 1.16rem; color: var(--muted); margin-top: 18px; max-width: 720px; line-height: 1.65; }
.chero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: blobDrift 24s ease-in-out infinite alternate; }

.ccard-wrap { margin-top: -160px; position: relative; z-index: 5; }
.ccard { background: #fff; border-radius: 30px; box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); overflow: hidden; display: grid; grid-template-columns: 0.92fr 1.08fr; }
.ccard .cc-inputs { padding: 36px 36px 40px; border-right: 1px solid var(--line-soft); }
.ccard .cc-results { padding: 36px 38px 40px; background: linear-gradient(180deg, #FFFEFB, #FFF); position: relative; }
.cc-label { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

/* tabs */
.ctabs { display: flex; background: var(--line-soft); border-radius: var(--r-pill); padding: 4px; position: relative; margin-bottom: 26px; }
.ctabs button { flex: 1; position: relative; z-index: 2; border: none; background: transparent; height: 42px; border-radius: var(--r-pill); font-weight: 800; font-size: 14.5px; color: var(--muted); transition: color .2s; padding: 0 10px; }
.ctabs button.on { color: #fff; }
.ctabs .ct-thumb { position: absolute; top: 4px; bottom: 4px; border-radius: var(--r-pill); background: var(--cta); box-shadow: 0 6px 14px rgba(242,96,58,0.3); transition: left .28s var(--spring), width .28s var(--spring); z-index: 1; }

/* fields */
.cfield { margin-top: 22px; }
.cfield:first-child { margin-top: 0; }
.cfield label { display: block; font-weight: 800; font-size: 15px; color: var(--navy); margin-bottom: 9px; }
.cfield .hint { font-weight: 600; font-size: 13px; color: var(--faint); margin-top: 8px; }
.cdate { position: relative; }
.cdate input[type="date"] {
  width: 100%; height: 56px; border: 1.5px solid var(--line); border-radius: 16px; padding: 0 18px;
  font-family: inherit; font-weight: 800; font-size: 16.5px; color: var(--navy); background: #fff;
  transition: border-color .16s, box-shadow .16s; -webkit-appearance: none; appearance: none;
}
.cdate input[type="date"]:hover { border-color: #D9D5CE; }
.cdate input[type="date"]:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(242,96,58,0.12); }
.cdate .cal-ic { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--faint); display: grid; }

.cstep { display: flex; align-items: center; gap: 12px; }
.cstep button {
  width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  display: grid; place-items: center; transition: transform .18s var(--spring), border-color .14s, background .14s;
}
.cstep button:hover { border-color: #D9D5CE; background: var(--line-soft); }
.cstep button:active { transform: scale(.92); }
.cstep button:disabled { opacity: .35; cursor: default; }
.cstep .cs-val { flex: 1; text-align: center; font-weight: 900; font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.cstep .cs-val small { display: block; font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .04em; }

.cnum input {
  width: 100%; height: 56px; border: 1.5px solid var(--line); border-radius: 16px; padding: 0 76px 0 18px;
  font-family: inherit; font-weight: 800; font-size: 16.5px; color: var(--navy);
  transition: border-color .16s, box-shadow .16s; -webkit-appearance: none; appearance: none;
}
.cnum { position: relative; }
.cnum .unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 13px; color: var(--faint); }
.cnum input:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(242,96,58,0.12); }
.cnum input::-webkit-outer-spin-button, .cnum input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cnum input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.cslider { width: 100%; margin-top: 14px; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 6px; background: var(--line-soft); outline: none; }
.cslider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 7px solid var(--cta); box-shadow: 0 4px 10px rgba(242,96,58,0.35); cursor: pointer; transition: transform .18s var(--spring); }
.cslider::-webkit-slider-thumb:hover { transform: scale(1.12); }
.cslider::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 7px solid var(--cta); box-shadow: 0 4px 10px rgba(242,96,58,0.35); cursor: pointer; }

.cwarn { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; background: #FEF7E9; border-radius: 14px; padding: 13px 16px; font-weight: 650; font-size: 14px; color: #8A6116; }

/* results */
.cres-in { animation: resIn .6s var(--ease) both; }
@keyframes resIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cres-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.cres-big { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 900; color: var(--navy); margin-top: 10px; letter-spacing: -0.02em; line-height: 1.1; }
.cres-sub { font-weight: 650; font-size: 15px; color: var(--muted); margin-top: 8px; }
.cres-chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.cchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 800; font-size: 13.5px; }

.cbar { height: 14px; border-radius: 8px; background: var(--line-soft); overflow: hidden; position: relative; }
.cbar > i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--lime), var(--green)); width: 0; transition: width 1s var(--ease); }
.cbar-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 12.5px; color: var(--faint); margin-top: 7px; }

/* trimester timeline */
.ctl { display: flex; gap: 5px; margin-top: 10px; }
.ctl .seg { flex: 1; position: relative; height: 46px; border-radius: 12px; background: var(--line-soft); overflow: hidden; }
.ctl .seg > i { position: absolute; inset: 0; width: 0; transition: width .9s var(--ease); }
.ctl .seg span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: var(--muted); z-index: 2; }
.ctl .seg.done span, .ctl .seg.now span { color: #fff; }

/* milestone rows */
.cmiles { margin-top: 22px; display: flex; flex-direction: column; }
.cmile { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.cmile:last-child { border-bottom: none; }
.cmile .cm-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.cmile .cm-t { flex: 1; font-weight: 750; font-size: 14.5px; color: var(--navy); }
.cmile .cm-t small { display: block; font-weight: 600; font-size: 12px; color: var(--faint); }
.cmile .cm-d { font-weight: 700; font-size: 13.5px; color: var(--muted); white-space: nowrap; }

/* cycle strip (ovulation) */
.cstrip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cstrip .cd { width: 34px; height: 40px; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: var(--line-soft); color: var(--muted); font-weight: 750; font-size: 12.5px; position: relative; opacity: 0; transform: scale(.7); animation: dotIn .4s var(--ease) forwards; animation-delay: calc(var(--i) * 22ms); }
.cstrip .cd small { font-size: 8.5px; font-weight: 700; opacity: .75; letter-spacing: .02em; }
@keyframes dotIn { to { opacity: 1; transform: none; } }
.clegend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.clegend span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--muted); }
.clegend i { width: 12px; height: 12px; border-radius: 4px; }

/* upcoming cycles table */
.ctable { width: 100%; border-collapse: collapse; margin-top: 12px; }
.ctable th { text-align: left; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1.5px solid var(--line-soft); }
.ctable td { padding: 12px 10px; font-weight: 700; font-size: 14.5px; color: var(--navy); border-bottom: 1px solid var(--line-soft); }
.ctable tr:last-child td { border-bottom: none; }
.ctable .soft { color: var(--muted); font-weight: 650; }
.ctable tr.hl td { background: var(--prom); }
.ctable tr.hl td:first-child { border-radius: 12px 0 0 12px; }
.ctable tr.hl td:last-child { border-radius: 0 12px 12px 0; }

/* weeks ruler */
.cruler { margin-top: 18px; }
.cruler .cr-track { position: relative; height: 12px; border-radius: 8px; background: var(--line-soft); }
.cruler .cr-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(90deg, var(--lime), var(--green)); transition: width .7s var(--ease); }
.cruler .cr-thumb { position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 7px solid var(--green); box-shadow: 0 4px 10px rgba(141,201,34,0.4); transform: translate(-50%, -50%); transition: left .7s var(--ease); }
.cruler .cr-marks { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 700; font-size: 11.5px; color: var(--faint); }

/* hcg bars */
.hcg-viz { display: flex; align-items: flex-end; gap: 26px; height: 150px; padding: 0 8px; margin-top: 18px; }
.hcg-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.hcg-bar i { display: block; width: 100%; max-width: 110px; border-radius: 12px 12px 6px 6px; transition: height .8s var(--ease); }
.hcg-bar b { font-weight: 900; font-size: 15px; color: var(--navy); font-variant-numeric: tabular-nums; }
.hcg-bar span { font-weight: 700; font-size: 12px; color: var(--faint); }

/* status pill */
.cstatus { margin-top: 18px; border-radius: 16px; padding: 15px 17px; display: flex; gap: 11px; align-items: flex-start; font-weight: 650; font-size: 14.5px; line-height: 1.5; }
.cstatus .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }

/* prose + faq sections on calc pages */
.csection { padding: 76px 0 0; }
.csection h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; color: var(--navy); }
.cprose { max-width: 780px; }
.cprose p { font-size: 1.1rem; line-height: 1.75; color: #34362F; margin-top: 18px; }
.cprose p strong { font-weight: 800; color: var(--ink); }

.cdisclaimer { max-width: 780px; display: flex; gap: 12px; align-items: flex-start; background: var(--lilac); border-radius: 18px; padding: 18px 22px; font-size: 14.5px; font-weight: 600; color: #5B5470; margin: 48px auto 0; }

/* related calc cards */
.crel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crel-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; align-items: center; gap: 15px; box-shadow: var(--sh-sm); transition: transform .22s var(--spring), box-shadow .22s var(--ease); }
.crel-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.crel-card .rc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.crel-card h4 { font-size: 1.05rem; font-weight: 850; color: var(--navy); line-height: 1.2; }
.crel-card p { font-size: .9rem; color: var(--muted); margin-top: 3px; }

/* app banner */
.abanner { border-radius: 30px; overflow: hidden; position: relative; background: linear-gradient(120deg, #80BA1A, #A6D554); color: #fff; padding: 46px 52px; display: flex; align-items: center; gap: 30px; box-shadow: 0 24px 60px rgba(128,186,26,0.3); }
.abanner.coral { background: linear-gradient(120deg, var(--coral), #FF9F80); box-shadow: 0 24px 60px rgba(255,140,103,0.3); }
.abanner .ab-fly { position: absolute; right: -30px; top: -46px; opacity: .18; }
.abanner .ab-copy { flex: 1; position: relative; }
.abanner h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 900; color: #fff; }
.abanner p { font-size: 1.1rem; opacity: .95; margin-top: 8px; }
.abanner .ab-rating { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 700; font-size: 14px; }
.abanner .ab-cta { position: relative; display: flex; flex-direction: column; gap: 10px; }
.abanner .badge { background: rgba(19,41,62,0.92); }

/* calc hub */
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hub-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .24s var(--spring), box-shadow .24s var(--ease); }
.hub-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.hub-card .hc-top { display: flex; align-items: center; gap: 16px; }
.hub-card .hc-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; }
.hub-card h3 { font-size: 1.42rem; font-weight: 900; color: var(--navy); }
.hub-card .hc-tagline { font-weight: 700; font-size: 13.5px; margin-top: 3px; }
.hub-card p { font-size: 1.02rem; color: var(--muted); margin-top: 16px; flex: 1; }
.hub-card .tc-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 800; font-size: 15px; transition: gap .2s var(--ease); }
.hub-card:hover .tc-go { gap: 11px; }
.hub-note { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 36px; font-weight: 650; font-size: 14.5px; color: var(--muted); text-align: center; }

/* mini visuals inside tool/hub cards */
.mini-ring { width: 54px; height: 54px; }
.mini-dots { display: flex; gap: 4px; }
.mini-dots i { width: 9px; height: 14px; border-radius: 5px; }
.mini-ruler { width: 100%; padding: 0 10px; }
.mini-curve { width: 100%; height: 46px; }

/* responsive */
@media (max-width: 900px) {
  .ccard { grid-template-columns: 1fr; }
  .ccard .cc-inputs { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .featured2 { grid-template-columns: 1fr; }
  .featured2 .f-art { min-height: 240px; }
  .featured2 .f-body { padding: 30px; }
  .crel { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .abanner { flex-direction: column; align-items: flex-start; padding: 34px 30px; }
  .chero { padding-bottom: 180px; }
}
@media (max-width: 620px) {
  .ccard .cc-inputs, .ccard .cc-results { padding: 26px 22px 30px; }
  .cstrip .cd { width: 30px; height: 37px; }
  .post-figure .pf-inner { font-size: 90px; }
  .blog-tools { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .cstrip .cd { animation: none; opacity: 1; transform: none; }
  .cres-in { animation: none; }
  .cbar > i, .ctl .seg > i, .cruler .cr-fill, .cruler .cr-thumb, .hcg-bar i { transition: none; }
  .chero-blob { animation: none; }
}

/* ============================================================
   PART 3 — WordPress integration (not in the handoff)
   ============================================================ */

/* Gutenberg wraps section children in .wp-block-group__inner-container;
   display:contents keeps the design's grid/flex parents working. */
.lalu-home .wp-block-group__inner-container { display: contents; }
/* Zero-specificity group reset: the design's own class rules (.mpanel + .mpanel etc.)
   must keep winning. Do NOT reset h/p/ul margins here — the design CSS already resets
   them globally and re-applies exact margins via classes; a later same-specificity
   reset silently zeroes all of those (the "paddings off" bug). */
:where(.lalu-home .wp-block-group) { margin-block: 0; }

/* WP admin bar offset for the sticky nav */
body.admin-bar .nv { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nv { top: 46px; } }

/* Mobile burger button */
.nv-burger { width: 44px; padding: 0; }
@media (max-width: 980px) { .nv-burger { display: inline-grid; } }

/* Blog: client-side category filtering */
.article-grid .article-card.cat-hide { display: none; }
.featured2.cat-hide { display: none; }

/* Screen-reader text */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Anchor offset below sticky nav */
[id] { scroll-margin-top: 90px; }

/* Post body (WP article content) inherits the handoff .post-body styles;
   map default WP blocks onto them. */
.post-body > figure { margin: 24px 0 0; }
.post-body img { border-radius: 18px; }
.post-body .lic { border-radius: 0; } /* [lalu_ic] marks/produce inside content keep their corners */
.post-body blockquote { border-left: 4px solid var(--cta); padding: 6px 0 6px 26px; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.4; letter-spacing: -0.01em; margin: 24px 0 0; }
.post-body ol { padding-left: 22px; }

/* Empty-state butterfly inside calculator results */
.cempty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; text-align: center; gap: 14px; }
.cempty p { font-weight: 700; color: var(--muted); max-width: 260px; }

/* Rotator words are stacked spans (JS toggles .on/.out) */
.rotator { min-width: 1px; }

/* Authored-content utilities: canonical Gutenberg blocks cannot carry inline
   styles, so the Home block content uses these classes instead. */
.lalu-home .d-06 { --d: .06s; } .lalu-home .d-08 { --d: .08s; } .lalu-home .d-1 { --d: .1s; }
.lalu-home .d-12 { --d: .12s; } .lalu-home .d-16 { --d: .16s; } .lalu-home .d-24 { --d: .24s; } .lalu-home .d-3 { --d: .3s; }
.lalu-home .bg-peach { background: var(--peach); } .lalu-home .bg-prom { background: var(--prom); } .lalu-home .bg-tang { background: var(--tang); }
.lalu-home .pt-84 { padding-top: 84px; } .lalu-home .ovh { overflow: hidden; } .lalu-home .posrel { position: relative; }
.lalu-home .mt-14 { margin-top: 14px; } .lalu-home .trust2-title { margin: 14px 0 30px; }
.lalu-home .c-cycle { color: var(--cycle); }
.lalu-home .cta-note { margin-top: 18px; font-weight: 700; font-size: 14.5px; opacity: 0.92; }

/* Editable-content sections: avatar palette + no-JS fallbacks. */
.lalu-home .av-1 { background: var(--disc-coral); } .lalu-home .av-2 { background: var(--disc-green); }
.lalu-home .av-3 { background: var(--disc-lilac); } .lalu-home .av-4 { background: var(--disc-teal); }
.lalu-home .av-5 { background: var(--disc-amber); } .lalu-home .av-6 { background: var(--disc-peach); }
.lalu-home .t-ava { margin: 0; }
.lalu-home .t-card2 .tq { margin: 0; }
.lalu-home .t-name, .lalu-home .t-meta { margin: 0; }
/* Before JS builds the marquee, rows render as a static horizontal strip. */
.lalu-home .t-row { display: flex; gap: 18px; overflow: hidden; }
.lalu-home .t-row + .t-row, .lalu-home .tmq + .tmq { margin-top: 18px; }
.lalu-home ul.mq-list { list-style: none; display: flex; gap: 12px; padding: 0; margin: 0; overflow: hidden; white-space: nowrap; }
.lalu-home ul.mq-list li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: var(--r-pill); font-weight: 750; font-size: 14.5px; color: var(--muted); background: var(--line-soft); white-space: nowrap; }

/* ======================= icons (emoji replacement) ======================= */
/* lalu_ic('marks'|'produce') emits <img class="lic"> (full-colour, never tinted);
   lalu_ic('glyphs') wraps an inline <svg fill="currentColor"> in <span class="lalu-glyph">
   (tinted by the inline color); lalu_icon() emits a bare line <svg>. The global img rule
   (max-width:100%; display:block) must not shrink or stack these. */
.lic { display: inline-block; width: auto; max-width: none; flex-shrink: 0; vertical-align: middle; border-radius: 0; }
.lalu-glyph { display: inline-grid; place-items: center; line-height: 0; flex-shrink: 0; vertical-align: top; }
.lalu-glyph svg { width: 100%; height: 100%; display: block; }

/* Icon wells (.b-ic 54px, .tp-ic 50px, .fc-ic 40px) are already grid-centred by their own
   rules above (.b-card .b-ic / .trust-point .tp-ic / .fchip .fc-ic), so a 34 / 32 / 26px
   <img class="lic"> or <svg> sits centred with no extra rule. */
/* Notice rows: the leading alert/info line icon never squashes against long copy. */
.cwarn > svg, .cdisclaimer > svg, .medical-note > svg, .hub-note > svg { flex-shrink: 0; }

/* Author discs (.article-ava 30px / 46px in the byline, .ac-ava 70px): the reviewer mark
   is 66% of the disc. !important beats the helper's inline width/height on a glyph span. */
.article-ava > .lic, .article-ava > .lalu-glyph, .article-ava > svg,
.ac-ava > .lic, .ac-ava > .lalu-glyph, .ac-ava > svg { width: 66% !important; height: 66% !important; }

/* Category placeholder art (no featured image): a white disc, last child of the
   .article-thumb / .f-art / .pf-inner grid tile, holding the category mark at 68%.
   The percent height resolves against the grid area, so the disc scales with the tile. */
.ph-disc { height: 62%; max-height: 176px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.ph-disc > * { width: 68% !important; height: 68% !important; }

/* ======================= mascot ======================= */
/* Sized by height, no plate, no shadow, no breathing — see lalu_mascot(). */
.mascot { display: block; width: auto; max-width: none; pointer-events: none; user-select: none; }
.hero-mascot { position: absolute; left: -4%; top: 128px; z-index: 1; }
.mascot--journal { flex-shrink: 0; margin-bottom: -6px; }
/* Doctor-reviewed card: the emoji-in-a-disc becomes the clinical pose, bare. */
.doc-ring { width: auto; height: 150px; background: transparent; font-size: 0; color: transparent; display: block;
  background-image: url("assets/mascot/clipboard_explain_doctor.png"); background-repeat: no-repeat; background-position: center bottom; background-size: auto 150px; }
.doc-ring::after { display: none; }
/* Empty archive / 404 */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 24px 0 8px; color: var(--muted); font-weight: 700; font-size: 1.05rem; }
.empty-state .mascot { margin: 0 auto 18px; }
@media (max-width: 1320px) { .hero-mascot { display: none; } }
@media (max-width: 620px) { .mascot--journal { display: none; } .doc-ring { height: 120px; background-size: auto 120px; } }
