/* =========================================================
   Vaidya Manager | Landing page
   ========================================================= */

:root {
  --bg: #faf8f3;
  --bg-2: #f2eee5;
  --surface: #ffffff;
  --ink: #1c2a22;
  --ink-2: #4a544c;
  --muted: #717a70;
  --line: #e5e0d4;

  --brand: #2a5b40;
  --brand-600: #214a34;
  --brand-700: #1a3d2b;
  --copper: #9a7a45;
  --peach: #e3cfa3;
  --peach-50: #f7f1e4;
  --leaf: #8aa58a;
  --herb: #4d6b52;
  --herb-50: #eaefe6;
  --dark: #17291f;
  --dark-2: #203628;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Nirmala UI", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 32, 27, .05), 0 4px 14px -6px rgba(19, 32, 27, .08);
  --shadow-md: 0 2px 4px rgba(19, 32, 27, .04), 0 18px 40px -16px rgba(19, 32, 27, .18);
  --shadow-lg: 0 4px 10px rgba(19, 32, 27, .05), 0 40px 80px -30px rgba(19, 32, 27, .35);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--peach); color: var(--brand-700); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

.ico {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3a7052 0%, var(--brand) 45%, var(--brand-600) 100%);
  box-shadow: 0 10px 24px -10px rgba(42, 91, 64, .7), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(42, 91, 64, .8), inset 0 1px 0 rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.7); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; border-color: #c9d2e1; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost .ico, .btn-ghost:hover .ico { transform: none; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn-light { background: var(--bg); color: var(--brand-700); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
.btn-outline-light .ico, .btn-outline-light:hover .ico { transform: none; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.play-dot {
  display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px;
  border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 0 rgba(42, 91, 64,.45); animation: pulse 2.4s infinite;
}
.play-dot .ico { width: 13px; height: 13px; margin-left: 2px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 91, 64,.45); }
  70% { box-shadow: 0 0 0 12px rgba(42, 91, 64,0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 91, 64,0); }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.sec-head h2, .problems-head h2, .faq-head h2 {
  margin-top: 14px;
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -.02em; font-variation-settings: "opsz" 144;
}
.sec-head p, .problems-head p, .faq-head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
h2 em, h1 em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--copper), var(--brand) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.sec-head.light h2 { color: #fff; }
.sec-head.light h2 em { background: linear-gradient(100deg, #ece0c2, var(--peach)); -webkit-background-clip: text; background-clip: text; }
.sec-head.light p { color: rgba(255,255,255,.68); }
.sec-head.light .eyebrow { color: var(--peach); }

.section { padding-block: clamp(76px, 10vw, 124px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--herb); }
.pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--herb); opacity: .5; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

.chip {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; background: var(--peach-50); color: var(--brand);
}
.chip.green { background: var(--herb-50); color: var(--herb); }

.av {
  display: grid; place-items: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 11px; font-weight: 800; color: #fff;
}
.av.c1 { background: linear-gradient(135deg, #00b07c, #214a34); }
.av.c2 { background: linear-gradient(135deg, #7cc275, #4d6b52); }
.av.c3 { background: linear-gradient(135deg, #d4bb85, #9a7a45); }
.av.c4 { background: linear-gradient(135deg, #9a7bb0, #5e4a7a); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

.js .hero-in { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .loaded .hero-in { opacity: 1; transform: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--peach), var(--copper), var(--brand));
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s, box-shadow .4s;
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: var(--nav-h); transition: height .4s var(--ease); }
.nav.scrolled { background: rgba(245, 248, 253, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(19,32,27,.25); }
.nav.scrolled .nav-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 36px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-mark.sm { width: 20px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--brand); }
.brand-text b span { color: var(--ink); font-weight: 500; }
.brand-text small { margin-top: 4px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand.light .brand-text b { color: var(--peach); }
.brand.light .brand-text b span { color: #fff; }
.brand.light .brand-text small { color: rgba(255,255,255,.5); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(42, 91, 64,.06); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); transform: translateX(-50%); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.link-login { font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: color .25s; }
.link-login:hover { color: var(--brand); }

.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--nav-h) + 12px) 20px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(245, 248, 253, .97); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 28px; font-weight: 500; letter-spacing: -.01em;
  opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu nav a:hover { color: var(--brand); }
.mobile-menu-cta { display: grid; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu-cta { opacity: 1; transform: none; }
.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.menu-open, html.scroll-lock { overflow: hidden; }
@media (min-width: 1041px) { .mobile-menu { display: none; } }
.mobile-menu nav a:nth-child(1) { transition-delay: .05s; }
.mobile-menu nav a:nth-child(2) { transition-delay: .09s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .13s; }
.mobile-menu nav a:nth-child(4) { transition-delay: .17s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .21s; }
.mobile-menu nav a:nth-child(6) { transition-delay: .25s; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .link-login { display: none; }
  .brand-text small { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { gap: 12px; }
  .nav-cta .btn { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 40px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle, #ece0c2, transparent 70%); }
.blob.b2 { width: 460px; height: 460px; top: 240px; left: -200px; background: radial-gradient(circle, #c3ecd9, transparent 70%); animation-delay: -6s; }
.blob.b3 { width: 380px; height: 380px; bottom: 0; right: 30%; background: radial-gradient(circle, #d6f2e6, transparent 70%); animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(.96); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(42, 91, 64,.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }

.hero-title {
  margin-top: 22px;
  font-family: var(--font-serif); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.03em;
}
.hero-title .line { display: block; overflow: hidden; padding: .02em .12em .1em 0; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .loaded .hero-title .line > span { transform: none; }

.hero-sub { margin-top: 22px; max-width: 560px; font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { color: var(--herb); stroke-width: 2.6; width: 16px; height: 16px; }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed #d3dbe8; max-width: 460px; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--bg); margin-left: -10px; background: var(--bg-2); }
.avatars img:first-child { margin-left: 0; }
.stars { display: flex; gap: 2px; color: #b8975c; }
.stars .ico { width: 15px; height: 15px; }
.hero-proof small { font-size: 13.5px; color: var(--ink-2); }

/* Product mock */
.hero-visual { position: relative; padding: 24px 24px 40px 32px; }
.px { transition: translate .6s var(--ease); will-change: translate; }

.mock-window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid rgba(42, 91, 64,.12);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
}
.mw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1ede4; border-bottom: 1px solid var(--line); }
.mw-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #d9e0ea; }
.mw-bar > i:nth-child(1) { background: #f0a58e; }
.mw-bar > i:nth-child(2) { background: #f1cf8c; }
.mw-bar > i:nth-child(3) { background: #b5cf95; }
.mw-url { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto; flex: 1; max-width: 240px; padding: 4px 10px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 600; }
.mw-url .ico { width: 11px; height: 11px; color: var(--herb); }

.mw-body { display: flex; }
.mw-side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; background: #fbf9f4; border-right: 1px solid var(--line); }
.mw-side .brand-mark { margin-bottom: 8px; }
.mw-side span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #a3adbb; }
.mw-side span .ico { width: 16px; height: 16px; }
.mw-side span.on { background: var(--peach-50); color: var(--brand); box-shadow: inset 0 0 0 1px rgba(42, 91, 64,.12); }

.mw-main { flex: 1; min-width: 0; padding: 16px; display: grid; gap: 12px; background: linear-gradient(180deg, #fff, #fcfbf7); }
.mw-head { display: flex; align-items: center; justify-content: space-between; }
.mw-head small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.mw-head strong { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.mw-bell { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--peach-50); color: var(--brand); }
.mw-bell .ico { width: 15px; height: 15px; animation: ring 4s ease-in-out infinite; transform-origin: 50% 10%; }
.mw-bell i { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #e0603f; border: 1.5px solid #fff; }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 90% { transform: rotate(-12deg); } 92% { transform: rotate(9deg); } 94% { transform: rotate(-6deg); } 96% { transform: rotate(3deg); } }

.mw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.kpi span { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: inline-block; margin-top: 2px; font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.kpi em { margin-left: 6px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--muted); }
.kpi em.up, .up { color: var(--herb); }

.mw-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; }
.mw-card { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mw-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: 11.5px; }
.mw-card-h em { font-style: normal; color: var(--copper); font-size: 10.5px; }
.appts li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line); }
.appts li:first-child { border-top: 0; }
.appts .av { width: 26px; height: 26px; font-size: 9.5px; }
.appts div { flex: 1; min-width: 0; line-height: 1.25; }
.appts b { display: block; font-size: 11.5px; }
.appts small { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.appts time { font-size: 10.5px; font-weight: 700; color: var(--brand); background: var(--peach-50); padding: 2px 7px; border-radius: 6px; }

.mw-chart { display: flex; flex-direction: column; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 96px; padding-top: 6px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #f1e7cf, #e3cfa3); transform-origin: bottom; }
.bars i.hl { background: linear-gradient(180deg, #3a7052, var(--brand)); }
.js .bars i { transform: scaleY(0); }
.js .loaded .bars i { animation: grow 1.1s var(--ease) forwards; }
.bars i:nth-child(1) { animation-delay: .7s !important; }
.bars i:nth-child(2) { animation-delay: .78s !important; }
.bars i:nth-child(3) { animation-delay: .86s !important; }
.bars i:nth-child(4) { animation-delay: .94s !important; }
.bars i:nth-child(5) { animation-delay: 1.02s !important; }
.bars i:nth-child(6) { animation-delay: 1.1s !important; }
.bars i:nth-child(7) { animation-delay: 1.18s !important; }
@keyframes grow { to { transform: scaleY(1); } }
.chart-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.chart-foot b { font-family: var(--font-serif); font-size: 15px; }
.chart-foot span { font-size: 10.5px; font-weight: 800; }

/* Floating cards */
.fc-wrap, .phone-wrap { position: absolute; z-index: 2; }
.fc-sms { top: 4%; left: -6%; }
.fc-diet { bottom: 18%; left: -10%; }
.phone-wrap { right: -6%; bottom: -10%; }

.float-card {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 11px;
  border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border: 1px solid rgba(42, 91, 64,.1); box-shadow: var(--shadow-md);
  font-size: 12px; line-height: 1.3; white-space: nowrap;
}
.float-card b { display: block; font-size: 12.5px; }
.float-card small { color: var(--muted); font-size: 11px; }
.fc-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; }
.fc-ico .ico { width: 17px; height: 17px; }
.fc-ico.green { background: var(--herb-50); color: var(--herb); }
.fc-ico.peach { background: var(--peach-50); color: var(--brand); }
.tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--herb); color: #fff; margin-left: 4px; }
.tick .ico { width: 12px; height: 12px; stroke-width: 3; }

.bob { animation: bob 6s ease-in-out infinite; }
.bob.b2 { animation-delay: -2s; animation-duration: 7s; }
.bob.b3 { animation-delay: -4s; animation-duration: 8s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.phone {
  width: 168px; padding: 8px; border-radius: 28px;
  background: #0f1c17; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #26352f;
}
.ph-notch { width: 54px; height: 14px; margin: 2px auto 6px; border-radius: 10px; background: #000; }
.ph-screen { padding: 12px 10px 10px; border-radius: 20px; background: #fcfbf7; font-size: 10.5px; }
.ph-head { margin-bottom: 8px; }
.ph-head small { display: block; color: var(--copper); font-weight: 800; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ph-head b { font-family: var(--font-serif); font-size: 14px; }
.rx-item { padding: 7px 8px; margin-bottom: 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); line-height: 1.3; }
.rx-item b { display: block; font-size: 11px; }
.rx-item small { color: var(--muted); font-size: 9.5px; }
.rx-item.pk { background: var(--herb-50); border-color: #cfe6cb; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 4px; padding: 7px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 10.5px; }
.ph-btn .ico { width: 11px; height: 11px; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px; padding: 26px 8px; border-radius: 24px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: var(--shadow-md); backdrop-filter: blur(10px);
}
.stat { text-align: center; padding: 4px 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; color: var(--brand); line-height: 1.1; }
.stat small { font-size: 14px; color: var(--ink-2); font-weight: 600; }

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; padding: 22px 4px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 10px; text-align: center; }
  .stars { justify-content: center; }
  .hero-visual { padding: 16px 6px 36px; }
  .mw-side, .mw-chart { display: none; }
  .mw-grid { grid-template-columns: 1fr; }
  .mw-main { padding: 12px; }
  .kpi { padding: 8px; }
  .kpi b { font-size: 18px; }
  .kpi em { display: none; }
  .mw-url { max-width: 170px; }
  .fc-sms { top: -2%; left: -1%; }
  .fc-diet { display: none; }
  .phone { width: 128px; padding: 6px; border-radius: 22px; }
  .ph-screen { border-radius: 16px; padding: 9px 7px 7px; }
  .rx-item:nth-child(3) { display: none; }
  .phone-wrap { right: -2%; bottom: -6%; }
  .float-card { padding: 8px 10px 8px 8px; gap: 8px; }
  .float-card b { font-size: 11.5px; }
  .fc-ico { width: 28px; height: 28px; border-radius: 9px; }
}

/* =========================================================
   TRUSTED MARQUEE
   ========================================================= */
.trusted { padding: 40px 0 10px; }
.trusted-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-inline: 16px; }
.marquee {
  margin-top: 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 14px; padding-right: 40px;
  font-family: var(--font-serif); font-size: 20px; font-weight: 500; color: #8a95a5; white-space: nowrap;
  transition: color .3s;
}
.marquee-track span:hover { color: var(--brand); }
.marquee-track span::before { content: ""; width: 9px; height: 11px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--peach); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   WHO
   ========================================================= */
.who { padding-top: clamp(64px, 8vw, 96px); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #ddd6c6; }
.who-card.featured { background: linear-gradient(160deg, #fff 0%, var(--peach-50) 100%); border-color: #ece0c2; }
.who-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--peach-50); color: var(--brand); margin-bottom: 20px; transition: transform .5s var(--ease); }
.who-card:hover .who-ico { transform: rotate(-8deg) scale(1.06); }
.who-card.featured .who-ico { background: var(--brand); color: #fff; }
.who-ico .ico { width: 24px; height: 24px; }
.who-card h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.who-card h3 small { font-family: var(--font-sans); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; background: var(--herb-50); color: var(--herb); }
.who-card p { margin-top: 10px; color: var(--ink-2); flex: 1; }
.who-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; font-size: 14.5px; color: var(--brand); }
.who-link b { font-size: 17px; }
.who-link .ico { transition: transform .35s var(--ease); }
.who-link:hover .ico { transform: translateX(4px); }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* =========================================================
   PROBLEMS
   ========================================================= */
.problems { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.problems-inner { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.problems-head { position: sticky; top: 110px; }
.problems-head .btn { margin-top: 28px; }
.q-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: q; }
.q {
  display: flex; gap: 14px; padding: 22px 22px 22px 18px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.q:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #ddd6c6; }
.q-n { font-family: var(--font-serif); font-style: italic; font-size: 26px; font-weight: 500; line-height: 1; color: var(--peach); min-width: 34px; transition: color .3s; }
.q:hover .q-n { color: var(--copper); }
.q h3 { font-size: 15.5px; font-weight: 700; line-height: 1.4; letter-spacing: -.005em; }
.q p { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--herb); font-weight: 600; line-height: 1.45; }
.q p .ico { margin-top: 2px; width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 1040px) {
  .problems-inner { grid-template-columns: 1fr; gap: 40px; }
  .problems-head { position: static; text-align: center; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 680px) { .q-list { grid-template-columns: 1fr; } }

/* =========================================================
   FEATURES / BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.b-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 26px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.b-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(227, 207, 163,.28), transparent 60%);
}
.b-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ddd6c6; }
.b-card:hover::before { opacity: 1; }
.span-2 { grid-column: span 2; }
.b-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--peach-50); color: var(--brand); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.b-ico .ico { width: 22px; height: 22px; }
.b-card:hover .b-ico { transform: translateY(-2px) rotate(-6deg); background: var(--brand); color: #fff; }
.b-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.b-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.b-visual { margin-top: auto; padding-top: 22px; }

.b-dash { background: linear-gradient(150deg, #fff 30%, var(--peach-50)); }
.dash-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-pills span { padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.dash-pills span b { font-family: var(--font-serif); font-size: 17px; color: var(--brand); margin-right: 4px; }
.b-dash:hover .dash-pills span:nth-child(1) { transform: translateY(-4px); }
.b-dash:hover .dash-pills span:nth-child(2) { transform: translateY(-4px); transition-delay: .05s; }
.b-dash:hover .dash-pills span:nth-child(3) { transform: translateY(-4px); transition-delay: .1s; }

.b-alert { background: linear-gradient(150deg, #fff 30%, var(--herb-50)); }
.b-alert .b-ico { background: var(--herb-50); color: var(--herb); }
.b-alert:hover .b-ico { background: var(--herb); color: #fff; }
.b-alert p b { color: var(--herb); }
.sms-stack { display: grid; gap: 8px; }
.sms-stack span {
  justify-self: start; max-width: 92%; padding: 9px 13px; border-radius: 14px 14px 14px 4px;
  background: #fff; border: 1px solid #d3e8cf; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.js .sms-stack span { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .in .sms-stack span { opacity: 1; transform: none; }
.js .in .sms-stack span:nth-child(1) { transition-delay: .5s; }
.js .in .sms-stack span:nth-child(2) { transition-delay: 1s; }

.b-android { background: linear-gradient(140deg, var(--dark-2), var(--brand-700)); border-color: transparent; color: #fff; }
.b-android p { color: rgba(255,255,255,.72); }
.b-android .b-ico { background: rgba(255,255,255,.1); color: var(--peach); }
.b-android:hover .b-ico { background: var(--peach); color: var(--brand-700); }
.b-android::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(227, 207, 163,.18), transparent 60%); }
.sync-line { display: flex; align-items: center; gap: 10px; }
.sync-line .dev { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--peach); }
.sync-line .wire { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); }
.sync-line .wire i { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 12px var(--peach); animation: travel 2.4s var(--ease-in-out) infinite; }
.sync-line .wire:nth-of-type(4) i { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

@media (max-width: 1040px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .b-card { padding: 22px; }
}

/* =========================================================
   SHOWCASE (dark)
   ========================================================= */
.showcase {
  position: relative; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(179,125,0,.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(97,177,90,.22), transparent 60%),
    var(--dark);
}
.tabs { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border-radius: 16px; text-align: left;
  color: rgba(255,255,255,.62); border: 1px solid transparent;
  transition: background-color .35s, color .35s, border-color .35s;
}
.tab > .ico { width: 22px; height: 22px; flex-shrink: 0; transition: color .3s, transform .5s var(--ease); }
.tab span { display: flex; flex-direction: column; line-height: 1.3; }
.tab b { font-size: 15.5px; font-weight: 700; }
.tab small { font-size: 13px; opacity: .75; }
.tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.tab[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.tab[aria-selected="true"] > .ico { color: var(--peach); transform: scale(1.1); }
.tab-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--peach), var(--copper)); transform: scaleX(0); transform-origin: 0 50%; }
.tab[aria-selected="true"] .tab-bar { transform: scaleX(1); }
.tabs.autoplay .tab[aria-selected="true"] .tab-bar { animation: tabprogress var(--tab-dur, 6s) linear forwards; }
.tabs.paused .tab[aria-selected="true"] .tab-bar { animation-play-state: paused; }
@keyframes tabprogress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.panel { display: grid; gap: 22px; }
.panel[hidden] { display: none; }
.js .panel { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .panel.active { opacity: 1; transform: none; }

.viz {
  position: relative; display: grid; place-items: center; min-height: 380px; padding: 40px 24px;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
}
.viz::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
}
.vcard {
  position: relative; width: 100%; max-width: 440px; padding: 18px;
  border-radius: 20px; background: #fcfbf7; color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
  font-size: 13px;
}
.vcard-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vcard-h > div { flex: 1; min-width: 0; line-height: 1.3; }
.vcard-h b { display: block; font-size: 14.5px; }
.vcard-h small { color: var(--muted); font-size: 12px; }
.vchip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
  animation: bob 6s ease-in-out infinite;
}
.vchip .ico { color: var(--herb); }
.vchip b { font-family: var(--font-serif); font-size: 17px; color: var(--herb); }
.vchip.c-a { right: 6%; bottom: 8%; }
.vchip.c-b { right: 6%; top: 9%; }

/* Upload panel */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.th { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.th em { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: 10px; font-weight: 700; background: rgba(255,255,255,.88); color: var(--ink-2); }
.th.t1 { background: radial-gradient(circle at 40% 45%, #b5664a 0 14%, transparent 15%), radial-gradient(circle at 62% 60%, #c27a5c 0 10%, transparent 11%), linear-gradient(135deg, #e7b996, #d9a07e); }
.th.t2 { background: radial-gradient(circle at 45% 48%, #c98a6c 0 10%, transparent 11%), radial-gradient(circle at 62% 60%, #d29a7c 0 6%, transparent 7%), linear-gradient(135deg, #ecc3a3, #dfab8a); }
.th.t3 { background: radial-gradient(circle at 48% 50%, #ddb093 0 5%, transparent 6%), linear-gradient(135deg, #f0caa9, #e4b493); }
.th.doc { background: #fff; border: 1px solid var(--line); color: var(--copper); }
.th.doc .ico { width: 26px; height: 26px; margin-top: -14px; }
.th.uploading { background: var(--peach-50); border: 1.5px dashed var(--peach); }
.ring { width: 34px; height: 34px; margin-top: -14px; border-radius: 50%; background: conic-gradient(var(--brand) var(--deg, 0deg), #e1e7ef 0); -webkit-mask: radial-gradient(circle, transparent 11px, #000 12px); mask: radial-gradient(circle, transparent 11px, #000 12px); }
.panel.active .ring { animation: fillring 2.6s var(--ease-in-out) infinite; }
@property --deg { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes fillring { 0% { --deg: 0deg; } 80%, 100% { --deg: 360deg; } }

/* Alerts panel */
.msgs { display: grid; gap: 10px; }
.msg { justify-self: start; max-width: 88%; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: #f1ede3; font-size: 13px; line-height: 1.45; }
.msg.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--herb); color: #fff; }
.js .panel .msg { opacity: 0; transform: translateY(10px); }
.js .panel.active .msg { animation: msgin .6s var(--ease) forwards; }
.js .panel.active .msg:nth-child(1) { animation-delay: .25s; }
.js .panel.active .msg:nth-child(2) { animation-delay: .9s; }
.js .panel.active .msg:nth-child(3) { animation-delay: 1.6s; }
@keyframes msgin { to { opacity: 1; transform: none; } }

/* Rx panel */
.rx-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.rx-top div { flex: 1; line-height: 1.3; }
.rx-top b { display: block; font-size: 15px; }
.rx-top small { color: var(--muted); font-size: 12px; }
.rx-top time { font-size: 12px; font-weight: 700; color: var(--muted); }
.rx-sym { font-family: var(--font-serif); font-size: 34px; font-weight: 600; color: var(--brand); line-height: 1; }
.rx-table { width: 100%; border-collapse: collapse; }
.rx-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); vertical-align: top; }
.rx-table td:first-child { width: 52%; color: var(--ink); }
.rx-table td b { display: block; font-size: 13px; }
.rx-table td small { color: var(--copper); font-size: 11.5px; }
.pk-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--herb-50); }
.pk-strip b { display: block; font-size: 13px; color: var(--herb); }
.pk-strip small { color: var(--ink-2); font-size: 11.5px; }
.pk-dots { display: flex; gap: 4px; }
.pk-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d3e6cf; }
.pk-dots i.d { background: var(--herb); }
.pk-dots i.now { background: var(--copper); box-shadow: 0 0 0 0 rgba(179,125,0,.5); animation: pulse 2s infinite; }

/* Growth panel */
.growth-body { display: flex; align-items: center; gap: 20px; }
.donut {
  --a: 46; --b: 32;
  position: relative; flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%;
  background: conic-gradient(var(--brand) 0 calc(var(--a) * 1%), var(--peach) 0 calc((var(--a) + var(--b)) * 1%), #8aa58a 0);
}
.donut::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: #fcfbf7; }
.donut span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.donut b { font-family: var(--font-serif); font-size: 20px; }
.donut small { font-size: 10.5px; color: var(--muted); }
.panel.active .donut { animation: donutin 1s var(--ease) both; }
@keyframes donutin { from { transform: rotate(-120deg) scale(.7); opacity: 0; } }
.legend { display: grid; gap: 10px; font-size: 12.5px; color: var(--ink-2); flex: 1; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend li b { margin-left: auto; color: var(--ink); }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend .l1 { background: var(--brand); }
.legend .l2 { background: var(--peach); }
.legend .l3 { background: #8aa58a; }
.ie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ie > div { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ie small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.ie b { font-family: var(--font-serif); font-size: 17px; }
.ie b.pos { color: var(--herb); }
.meter { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: #e9e4d8; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--herb); transform-origin: 0 50%; }
.meter.exp i { background: var(--copper); }
.panel.active .meter i { animation: meter 1.2s var(--ease) .3s both; }
@keyframes meter { from { transform: scaleX(0); } }

/* Diet panel */
.lang-pills { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: #f1ede3; }
.lang-pills span { padding: 3px 7px; border-radius: 7px; font-size: 11px; font-weight: 700; color: var(--muted); transition: background-color .3s, color .3s; }
.lang-pills span.on { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.diet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diet-cols > div { padding: 12px; border-radius: 12px; }
.pathya { background: var(--herb-50); }
.apathya { background: #fbe9e2; }
.diet-cols h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; }
.diet-cols h4 .ico { width: 14px; height: 14px; stroke-width: 3; }
.pathya h4 { color: var(--herb); }
.apathya h4 { color: #b34a2c; }
.diet-cols li { padding: 4px 0; font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed rgba(0,0,0,.07); }
.diet-cols li:first-child { border-top: 0; }
.diet-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.diet-foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.diet-foot .ico { color: var(--copper); }

.panel-copy h3 { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.panel-copy p { margin-top: 8px; max-width: 640px; color: rgba(255,255,255,.7); }

@media (max-width: 1040px) {
  .tabs { grid-template-columns: 1fr; }
  .tab-list {
    flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; margin-inline: -24px; padding-inline: 24px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; width: auto; padding: 12px 16px; scroll-snap-align: start; border-color: rgba(255,255,255,.08); }
  .tab small { display: none; }
  .tab-bar { left: 16px; right: 16px; }
}
@media (max-width: 640px) {
  .tab-list { margin-inline: -16px; padding-inline: 16px; }
  .viz { min-height: 0; padding: 28px 14px 56px; }
  .vcard { padding: 14px; }
  .vchip.c-a, .vchip.c-b { right: 50%; transform: translateX(50%); }
  .vchip.c-a { bottom: 12px; }
  .vchip.c-b { top: auto; bottom: 12px; }
  .vchip { animation: none; }
  .growth-body { gap: 14px; }
  .donut { width: 96px; height: 96px; }
  .donut::after { inset: 14px; }
  .diet-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   STEPS
   ========================================================= */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--peach) 0 8px, transparent 8px 16px);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .3s;
}
.steps.drawn::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px;
  border-radius: 50%; background: linear-gradient(135deg, #3a7052, var(--brand-600)); color: #fff;
  font-family: var(--font-serif); font-size: 24px; font-weight: 600;
  box-shadow: 0 0 0 8px var(--bg), 0 14px 30px -10px rgba(42, 91, 64,.6);
}
.step h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 320px; margin-inline: auto; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin-inline: auto; }
  .steps::before { top: 28px; bottom: 28px; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--peach) 0 8px, transparent 8px 16px); transform: scaleY(0); transform-origin: 50% 0; }
  .steps.drawn::before { transform: scaleY(1); }
  .step { background: var(--bg); padding: 4px 8px 8px; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.reviews { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-card {
  display: flex; flex-direction: column; margin: 0; padding: 26px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.t-card blockquote { margin: 0 0 20px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.t-card blockquote::before { content: "“"; display: block; height: 28px; font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--peach); }
.t-card.short blockquote { font-family: var(--font-serif); font-size: 20px; line-height: 1.4; letter-spacing: -.01em; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.t-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-2); flex-shrink: 0; }
.t-card figcaption span { line-height: 1.35; }
.t-card figcaption b { display: block; font-size: 14.5px; }
.t-card figcaption small { color: var(--muted); font-size: 12.5px; }

.t-feature { grid-row: span 2; justify-content: center; background: linear-gradient(150deg, var(--brand), var(--brand-700)); border-color: transparent; color: #fff; }
.t-feature figcaption { margin-top: 8px; }
.t-feature blockquote { color: #fff; font-family: var(--font-serif); font-size: 21px; line-height: 1.4; }
.t-feature blockquote::before { display: none; }
.t-big { font-family: var(--font-serif); font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--peach); margin-bottom: 10px; }
.t-feature figcaption { border-top-color: rgba(255,255,255,.18); }
.t-feature figcaption small { color: rgba(255,255,255,.65); }

@media (max-width: 1040px) { .t-grid { grid-template-columns: repeat(2, 1fr); } .t-card:last-child { grid-column: span 2; } }
@media (max-width: 640px) {
  .t-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none;
  }
  .t-grid::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 86%; scroll-snap-align: center; }
  .t-feature { justify-content: flex-start; }
}

/* =========================================================
   PRICING
   ========================================================= */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px;
  border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.recommended { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(42, 91, 64,.45); background: linear-gradient(180deg, #fff 55%, var(--peach-50)); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(42, 91, 64,.8);
}
.plan-chip { align-self: flex-start; padding: 3px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; background: var(--peach-50); color: var(--brand); }
.plan-chip.ipd { background: var(--herb-50); color: var(--herb); }
.plan h3 { margin-top: 14px; font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.plan-for { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 2px; margin-top: 20px; }
.price .cur { font-size: 22px; font-weight: 700; color: var(--ink-2); align-self: flex-start; margin-top: 8px; }
.price b { font-family: var(--font-serif); font-size: 50px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { margin-left: 4px; color: var(--muted); font-weight: 600; }
.gst { display: block; margin: 6px 0 22px; color: var(--muted); font-size: 13px; }
.feat-list { display: grid; gap: 11px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.feat-list li { display: flex; gap: 10px; line-height: 1.45; }
.feat-list .ico { margin-top: 2px; width: 17px; height: 17px; color: var(--herb); stroke-width: 2.6; }
.feat-list li.muted { color: var(--muted); font-size: 13.5px; }
.feat-list li.muted .ico { color: #a9b3c0; }
.feat-list b { color: var(--ink); }

.beds { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; padding: 4px; border-radius: 14px; background: var(--bg-2); }
.beds button { position: relative; z-index: 1; padding: 8px 0; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .3s; }
.beds button[aria-checked="true"] { color: var(--brand-700); }
.beds-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4);
  border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm);
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--ease);
}
.plan-ipd .price { margin-top: 18px; }

.assurances { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 40px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.assurances li { display: inline-flex; align-items: center; gap: 8px; }
.assurances .ico { color: var(--herb); stroke-width: 2.6; }

@media (max-width: 1040px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 28px; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head a { color: var(--brand); font-weight: 700; border-bottom: 1px solid rgba(42, 91, 64,.3); }
.accordion { display: grid; gap: 10px; }
.acc-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease); }
.acc-item.open { border-color: #ddd6c6; box-shadow: var(--shadow-sm); }
.acc-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.4; }
.acc-ico { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--bg-2); color: var(--brand); transition: transform .45s var(--ease), background-color .3s, color .3s; }
.acc-ico .ico { width: 16px; height: 16px; }
.acc-item.open .acc-ico { transform: rotate(45deg); background: var(--brand); color: #fff; }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 22px 22px; color: var(--ink-2); max-width: 680px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }
.acc-item.open .acc-a p { opacity: 1; transform: none; transition-delay: .1s; }
.acc-a a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1040px) {
  .faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .faq-head { position: static; text-align: center; }
}
@media (max-width: 560px) { .acc-q { padding: 18px; font-size: 15px; } .acc-a p { padding: 0 18px 18px; } }

/* =========================================================
   CTA
   ========================================================= */
.cta-band { padding-bottom: clamp(40px, 6vw, 72px); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 32px; color: #fff;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(227, 207, 163,.35), transparent 60%),
    radial-gradient(500px 300px at 100% 100%, rgba(97,177,90,.35), transparent 60%),
    linear-gradient(140deg, var(--brand), var(--brand-700) 60%, var(--dark));
}
.cta-leaf { position: absolute; z-index: -1; width: 340px; height: 400px; right: -80px; top: -60px; opacity: .14; animation: sway 12s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } }
.cta-box h2 { max-width: 760px; margin-inline: auto; font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.02em; }
.cta-box h2 em { background: linear-gradient(100deg, #ece0c2, var(--peach)); -webkit-background-clip: text; background-clip: text; }
.cta-box p { max-width: 560px; margin: 18px auto 0; font-size: 17.5px; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; } .cta-box { border-radius: 24px; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-top: clamp(56px, 8vw, 96px); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c-card {
  display: block; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
a.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ddd6c6; }
.c-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--peach-50); color: var(--brand); transition: transform .5s var(--ease); }
a.c-card:hover .c-ico { transform: rotate(-10deg) scale(1.08); }
.c-card h3 { font-size: 18px; font-weight: 700; }
.c-card p { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: clamp(56px, 8vw, 96px); padding-top: 64px; background: var(--dark); color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.f-brand p { margin-top: 18px; max-width: 340px; font-size: 14.5px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background-color .3s, transform .4s var(--ease), color .3s; }
.socials a:hover { background: var(--peach); color: var(--brand-700); transform: translateY(-3px); }
.socials .ico { width: 17px; height: 17px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 { margin-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.f-col a { font-size: 14.5px; transition: color .25s, transform .3s var(--ease); width: fit-content; }
.f-col a:hover { color: var(--peach); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) { .footer { padding-bottom: 84px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   FLOATING UI
   ========================================================= */
.m-cta { display: none; }
@media (max-width: 767px) {
  .m-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245,248,253,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .m-cta.show { transform: none; }
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 89; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, visibility .4s, transform .5s var(--ease), background-color .3s;
}
.to-top .ico { transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
@media (max-width: 767px) { .to-top { right: 16px; bottom: 84px; width: 44px; height: 44px; } }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 24, 18, .78); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.modal-box { position: relative; width: min(980px, 100%); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -20px rgba(0,0,0,.7); opacity: 0; transform: scale(.94) translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.modal.open .modal-backdrop { opacity: 1; }
.modal.open .modal-box { opacity: 1; transform: none; }
.video-frame, .video-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .4s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none; }
}

/* ============ VSL HERO ============ */
.vsl-hero { position: relative; padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden; text-align: center; }
.vsl-hero .hero-copy { max-width: 860px; margin-inline: auto; }
.vsl-hero .hero-title { margin-inline: auto; }
.vsl-hero .hero-sub { margin-inline: auto; max-width: 640px; }
.vsl-video { position: relative; max-width: 920px; margin: 36px auto 0; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, var(--dark-2), var(--dark)); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.06);
  display: grid; place-items: center; color: var(--bg); cursor: pointer; }
.vsl-video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 80%, rgba(154,122,69,.35), transparent 70%); }
.vsl-play { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--copper); display: grid; place-items: center;
  box-shadow: 0 0 0 14px rgba(154,122,69,.22), 0 20px 50px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.vsl-play .ico { width: 34px; height: 34px; color: #fff; margin-left: 5px; }
.vsl-video:hover .vsl-play { transform: scale(1.07); }
.vsl-video-cap { position: absolute; bottom: 18px; left: 0; right: 0; font-size: .95rem; opacity: .85; }
.vsl-video-cap b { color: var(--peach); }
.vsl-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vsl-cta small { color: var(--muted); }

/* ============ BOOKING FORM ============ */
.book { background: var(--bg-2); }
.book-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; gap: 28px; } }
.book-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.book-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.book-points .ico { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.book-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .book-form { grid-template-columns: 1fr; padding: 22px; } }
.book-form .full { grid-column: 1 / -1; }
.book-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.book-form input, .book-form select { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.book-form input:focus, .book-form select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.book-form .err { color: #a63a2e; font-size: .8rem; font-weight: 500; min-height: 0; }
.book-form button[disabled] { opacity: .6; pointer-events: none; }
.book-status { grid-column: 1 / -1; font-size: .92rem; margin: 0; }
.book-status.bad { color: #a63a2e; }
.book-done { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; text-align: center; box-shadow: var(--shadow-md); }
.book-done .ico { width: 48px; height: 48px; color: var(--brand); }
.book-done h3 { font-family: var(--font-serif); font-size: 1.6rem; margin: 12px 0 8px; }

/* ============ FEATURE EXPLORER ============ */
.fx-search { position: relative; max-width: 520px; margin: 0 auto 32px; }
.fx-search input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px 12px 44px; }
.fx-search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.fx-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.fx-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) { .fx-layout { grid-template-columns: minmax(0,1fr); gap: 20px; } }
.fx-rail { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 820px) { .fx-rail { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; } }
.fx-cat { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.fx-cat:hover { background: var(--herb-50); }
.fx-cat:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; }
.fx-cat .ic { width: 1.5rem; text-align: center; flex: none; }
.fx-cat .n { margin-left: auto; font-size: .78rem; color: var(--muted); background: var(--herb-50); border-radius: 999px; padding: 0 8px; }
.fx-cat[aria-pressed="true"] { background: var(--brand); color: #fff; }
.fx-cat[aria-pressed="true"] .n { background: transparent; color: inherit; opacity: .85; }
@media (max-width: 820px) { .fx-cat { border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; font-size: .9rem; } .fx-cat .n { display: none; } }
.fx-panel { display: flex; flex-direction: column; gap: 30px; min-width: 0; scroll-margin-top: calc(var(--nav-h) + 12px); }
.fx-mod { display: flex; flex-direction: column; gap: 14px; }
.fx-mh { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.fx-mh .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fx-eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.fx-pill { font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 2px 10px; background: var(--peach-50); color: var(--ink); }
.fx-mh h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--brand-700); margin: 0; }
.fx-panel .intro { color: var(--muted); max-width: 62ch; margin: 0; }
.fx-table { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fx-thead, .fx-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.6fr); gap: 18px; padding: 12px 18px; text-align: left; }
.fx-thead { background: var(--bg-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-block: 9px; }
.fx-row { border-top: 1px solid var(--line); }
.fx-row .fname { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; line-height: 1.35; color: var(--ink); }
.fx-row .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--herb-50); color: var(--brand); display: grid; place-items: center; font-size: .72rem; font-weight: 700; margin-top: 1px; }
.fx-row .fname small { display: block; font-weight: 600; font-size: .74rem; color: var(--copper); margin-top: 2px; }
.fx-row .benefit { color: var(--ink-2); font-size: .95rem; margin: 0; }
.fx-row.hl { background: var(--peach-50); }
@media (max-width: 620px) { .fx-thead { display: none; } .fx-thead, .fx-row { grid-template-columns: minmax(0,1fr); gap: 4px; } .fx-row .benefit { padding-left: 30px; } }
.fx-panel mark { background: var(--peach); color: inherit; border-radius: 3px; padding: 0 1px; }
.fx-empty { background: var(--surface); border: 1px dashed var(--line); border-radius: 16px; padding: 22px; color: var(--muted); }
.fx-cta { background: var(--brand); color: #fff; border-radius: 18px; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.fx-cta p { font-size: 1.05rem; margin: 0; max-width: 44ch; }
.fx-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 14px; color: var(--muted); font-size: .92rem; }
.fx-stats b { font-family: var(--font-serif); font-size: 1.4rem; color: var(--brand); font-weight: 500; margin-right: 4px; }
.book-head { text-align: left; margin: 0; max-width: none; } .book-head .eyebrow { justify-content: flex-start; }
