/* Wellome · shared base: tokens, fonts, header, footer, WhatsApp bar */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anek Malayalam"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/anek-malayalam-400-malayalam.woff2") format("woff2"); unicode-range: U+0307, U+0323, U+0964-0965, U+0D02-0D7F, U+1CDA, U+1CF2, U+200C-200D, U+20B9, U+25CC; }

:root {
  --green: #013023;
  --green-2: #0b3d2e;
  --orange: #fbb040;
  --orange-ink: #9a6412;
  --cream: #f6e7c7;
  --cream-2: #fbf3e2;
  --mist: #a8c5b5;
  --white: #ffffff;
  --ink: #013023;
  --ink-soft: #2e4a3f;
  --font: "Poppins", "Human Sans", system-ui, -apple-system, sans-serif;
  --font-ml: "Anek Malayalam", "Poppins", sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 18px;
  --sw: 3.2;
  --top-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--green); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream-2); color: var(--ink);
  font-family: var(--font); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--green); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin: 0 0 14px; color: var(--orange-ink); }
.sec-green .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 58ch; margin-bottom: 1.4em; }
.note { font-size: .92rem; color: var(--ink-soft); max-width: 60ch; }
.said { font-weight: 500; }
.mal { font-family: var(--font-ml); font-size: clamp(1.15rem, 2.2vw, 1.6rem); }

/* line art */
.ln { fill: none; stroke: var(--green); stroke-width: var(--sw); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ln.accent { stroke: var(--orange); }
.dot { fill: var(--green); }
.dot.accent { fill: var(--orange); }
.sec-green .ln { stroke: var(--white); }
.sec-green .ln.accent { stroke: var(--orange); }
.sec-green .dot { fill: var(--white); }

/* sections */
.sec-green { background: var(--green); color: var(--white); }
.sec-green h1, .sec-green h2, .sec-green h3 { color: var(--white); }
.sec-green p { color: var(--mist); }
.sec-green .lead, .sec-green .said { color: var(--white); }
.sec-cream { background: var(--cream-2); color: var(--ink); }
.sec-cream p { color: var(--ink-soft); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .18s ease, filter .18s ease, background-color .18s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-wa { background: var(--orange); color: var(--green); }
.btn-wa .wa-ic { width: 20px; height: 20px; fill: var(--green); }
.btn-lg { padding: 15px 30px; font-size: 1.08rem; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.text-link { display: inline-block; margin-left: 16px; color: var(--ink); font-weight: 500; text-underline-offset: 4px; }
.disclose { font-size: .82rem; line-height: 1.45; max-width: 48ch; margin: 10px 0 0; }
.sec-green .disclose { color: var(--mist); }

/* ---------- motion (only when html.js: motion welcome, JS present) ---------- */
main { position: relative; }
.thread {
  position: absolute; z-index: 5; pointer-events: none;
  left: max(16px, calc((100% - var(--wrap)) / 2 - 28px));
  width: 3px; height: 0; border-radius: 2px; background: var(--orange);
}
@media (max-width: 900px) { .thread { display: none; } }

html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }

html.js .draw-in .ln { vector-effect: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .draw-in.in .ln { animation: drawIn .9s ease-out forwards; animation-delay: calc(var(--i, 0) * 110ms); }
html.js .draw-in .dot { opacity: 0; transition: opacity .4s ease .7s; }
html.js .draw-in.in .dot { opacity: 1; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: var(--green); color: var(--white); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand-link { display: block; margin-right: auto; }
.logo { height: 26px; width: auto; }
.logo-dark { display: none; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--mist); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; }
.nav a:hover, .nav a:focus-visible { color: var(--white); }
.btn-top { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
@media (max-width: 900px) {
  .nav { display: none; }
}
@media (max-width: 560px) {
  .btn-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* hidden visually, still the link's name */
  .btn-top { position: relative; }
  .btn-top { padding: 8px 12px; }
  .btn-top .wa-ic { width: 22px; height: 22px; }
}

/* WhatsApp bar (shows once the hero button has scrolled away) */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  background: var(--green);
  box-shadow: 0 -12px 24px rgba(1, 48, 35, .18);
}
.cta-bar[hidden] { display: none; }
.cta-bar .disclose { margin: 8px auto 0; color: var(--mist); }
body.bar-on .foot { padding-bottom: calc(40px + 118px); }
@media (min-width: 900px) {
  .cta-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; }
  .cta-bar .disclose { margin: 0; text-align: left; max-width: 44ch; font-size: .78rem; }
  body.bar-on .foot { padding-bottom: calc(40px + 72px); }
}

/* footer */
.foot { background: var(--green); color: var(--mist); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; }
.foot .logo { height: 24px; margin-bottom: 14px; }
.foot-tag { color: var(--white); font-weight: 500; }
.foot-ml { font-family: var(--font-ml); color: var(--orange); font-size: 1.1rem; }
.foot-h { color: var(--white); font-weight: 600; margin-bottom: 10px; }
.foot a { display: block; color: var(--mist); text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot-small { font-size: .82rem; line-height: 1.5; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* FAQ */
details { border-top: 1px solid rgba(1, 48, 35, .15); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid rgba(1, 48, 35, .15); }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--orange-ink); font-weight: 500; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; max-width: 62ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
