:root {
  --green: #0D6A52;
  --green-deep: #08513F;
  --leaf: #50A07A;
  --orange: #F67C2E;
  --orange-ink: #BD480B;
  --mango: #F7B33D;
  --sky: #5BB2E8;
  --cream: #FFF8EB;
  --cream-2: #FFEFD6;
  --ink: #23302B;
  --muted: #5B6B64;
  --line: #EADFCB;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(35, 48, 43, .05), 0 8px 24px rgba(35, 48, 43, .07);
  --ml: "Noto Sans Malayalam", "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }
.ml { font-family: var(--ml); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 235, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--green); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font: 600 15px/1 "Poppins", sans-serif; text-decoration: none;
  background: var(--green); color: #fff; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: 14px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: var(--ink); color: #fff; text-decoration: none; min-width: 190px;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.2; }
.store strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.store[aria-disabled="true"] { opacity: .92; cursor: default; }
.soon { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Hero */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-logo { width: min(340px, 80%); margin: 0 0 8px -6px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.15; margin: 8px 0 14px; letter-spacing: -.01em; color: var(--green-deep); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }
.hero-art { position: relative; }
.hero-art img { border-radius: 32px; box-shadow: 0 30px 60px -20px rgba(13, 106, 82, .35); aspect-ratio: 1042 / 1100; object-fit: cover; width: 100%; }
.hero-art .chip {
  position: absolute; left: -18px; bottom: 28px;
  background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.35; max-width: 230px;
}
.chip b { display: block; font-family: var(--ml); font-size: 18px; color: var(--orange-ink); }
@media (max-width: 880px) {
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art .chip { left: 12px; bottom: 12px; }
}

/* Sections */
section { padding: 80px 0; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--orange-ink); margin: 0 0 10px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 14px; color: var(--green-deep); letter-spacing: -.01em; }
h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.3; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 40px; }

/* Meaning */
.meaning { background: var(--green); color: #fff; text-align: center; }
.meaning h2, .meaning .eyebrow { color: #fff; }
.meaning .eyebrow { opacity: .8; }
.sides { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin: 28px 0 24px; }
.side { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 20px 28px; min-width: 210px; }
.side .word { font-family: var(--ml); font-size: 32px; font-weight: 600; line-height: 1.3; }
.side .tr { font-size: 15px; opacity: .85; }
.sides .heart { font-size: 26px; color: var(--mango); }
.meaning p { max-width: 38em; margin: 0 auto; font-size: 18px; opacity: .95; }

/* Activities */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.activity { border-radius: var(--radius); padding: 22px 22px 26px; background: var(--s); border: 1px solid var(--e); }
.activity .art { height: 170px; margin-bottom: 14px; }
.activity .art img { width: 100%; height: 100%; object-fit: contain; }
.activity .ml-name { font-family: var(--ml); color: var(--a); font-weight: 600; font-size: 16px; margin: 0 0 2px; }
.activity h3 { color: var(--a); }
.activity p { margin: 0; color: var(--ink); font-size: 15.5px; }

/* Principles */
.principles { background: var(--cream-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: var(--cream); color: var(--green); }
.card .ico svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Parents / privacy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks b { display: block; }
.ticks span { color: var(--muted); font-size: 15.5px; }

.privacy-panel { background: var(--card); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); border-top: 6px solid var(--sky); }
.privacy-panel .big { font-size: 22px; font-weight: 600; color: var(--green-deep); margin: 0 0 18px; line-height: 1.35; }

/* FAQ */
.faq details { background: var(--card); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta { text-align: center; }
.cta .box { background: linear-gradient(135deg, #FFE7C7, #FFF3DE 60%, #E4F3EA); border-radius: 32px; padding: 56px 24px; }
.cta .stores { justify-content: center; }

/* Footer */
.site-footer { padding: 40px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); }

/* Legal / long-form pages */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); color: var(--green-deep); margin: 0 0 6px; line-height: 1.2; }
.doc .meta { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { background: var(--card); border-left: 5px solid var(--leaf); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15.5px; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--cream-2); font-weight: 600; }
.doc tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td { border: 0; padding: 4px 14px; } .doc tr { padding: 10px 0; border-bottom: 1px solid var(--line); } .doc td:first-child { font-weight: 600; padding-top: 8px; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
