:root {
  --maroon: #8c2f39;
  --maroon-dark: #6f222b;
  --saffron: #f2a93b;
  --teal: #1f7a6e;
  --cream: #fff8ec;
  --ink: #222;
  --muted: #5b5b5b;
  --line: #ece4d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 30, 10, 0.10);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 "Nunito", "Noto Sans Sinhala", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
[lang="si"], .si { font-family: "Noto Sans Sinhala", "Nunito", sans-serif; }
h1, h2, h3, .display { font-family: "Fredoka", "Noto Sans Sinhala", sans-serif; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4.4vw, 40px); color: var(--maroon); }
h3 { font-size: 21px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
section[id] { scroll-margin-top: 72px; }
.eyebrow { font: 600 14px "Fredoka", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 17px "Nunito", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-ghost { background: #fff; color: var(--maroon); border-color: var(--maroon); }
.btn-saffron { background: var(--saffron); color: #3a2400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--maroon); font: 700 21px "Fredoka", sans-serif; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav .btn { padding: 9px 18px; font-size: 15px; color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--cream); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { font-size: clamp(36px, 6vw, 58px); color: var(--maroon); }
.hero h1 .si { display: block; font-size: 0.62em; color: var(--ink); margin-top: 12px; font-weight: 700; }
.hero .lead { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 8px; font-weight: 600; }
.ticks li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 10px; }
.hero-art { position: relative; height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }
.hero-art img { position: absolute; width: 62%; border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.hero-art .a { left: 0; top: 30px; transform: rotate(-6deg); }
.hero-art .b { right: 0; top: 0; transform: rotate(5deg); }
.bubble { position: absolute; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-family: "Noto Sans Sinhala", sans-serif; font-weight: 700; box-shadow: var(--shadow); }
.bubble.one { width: 92px; height: 92px; left: 40%; bottom: 0; border: 5px solid var(--saffron); color: var(--saffron); font-size: 48px; padding-bottom: 8px; }
@media (max-width: 480px) { .hero-art { height: 340px; } }

/* Why */
.cards { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.card p { color: var(--muted); margin: 8px 0 0; }

/* Product */
.product { background: #fffdf8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-grid { display: grid; gap: 36px; margin-top: 36px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .15s ease; }
.gallery a:hover { transform: scale(1.02); }
.gallery figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.buy-box { border: 2px solid var(--maroon); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.buy-box h3 { font-size: 26px; color: var(--maroon); }
.buy-box .si { font-size: 20px; font-weight: 700; margin-top: 4px; }
.price { font: 700 44px "Fredoka", sans-serif; margin: 18px 0 2px; }
.price small { font: 600 15px "Nunito", sans-serif; color: var(--muted); }
.buy-box ul { padding-left: 20px; margin: 16px 0 22px; }
.buy-box li { margin-bottom: 6px; }
.buy-box .btn { width: 100%; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }

/* Steps */
.steps { display: grid; gap: 18px; margin-top: 36px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 26px; border-radius: var(--radius); background: var(--cream); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--saffron); color: #fff; font: 700 20px "Fredoka", sans-serif; margin-bottom: 12px; }
.step p { margin: 6px 0 0; color: var(--muted); }

/* Coming soon */
.soon .card { position: relative; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); color: var(--maroon); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* Schools */
.schools { background: var(--teal); color: #fff; }
.schools h2 { color: #fff; }
.schools .lead { color: #e2f2ef; }
.schools .wrap { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .schools .wrap { grid-template-columns: 1.3fr 0.7fr; } }
.schools ul { padding-left: 20px; }
.licence { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; text-align: center; }
.licence .price { color: var(--teal); }

/* FAQ */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--maroon); font: 700 24px "Fredoka", sans-serif; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { background: #2a1a1c; color: #e9dcdc; padding: 40px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
.site-footer a { color: #fff; }

/* Policies page */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 72px; }
.doc h1 { font-size: 40px; color: var(--maroon); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 38px 0 8px; }
.doc p, .doc li { color: #3d3d3d; }
