/* Mr. Boarding marketing site — brand tokens from logo/mrboarding/brand-sheet.html */
:root{
  --ink:#17322B; --green:#1E4D40; --brass:#C99035; --brass-bright:#E0AC48;
  --cream:#F6EFDD; --moss:#6C7A72; --paper:#FFFFFF; --mist:#EFF2EF;
  --max:1120px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Gemunu Libre',system-ui,-apple-system,Segoe UI,sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:12px;font-size:18px;font-weight:600;
  text-decoration:none;border:2px solid transparent;cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease;
}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--brass);color:var(--ink)}
.btn-primary:hover{box-shadow:0 6px 18px rgba(201,144,53,.35)}
.btn-outline{background:transparent;color:var(--paper);border-color:rgba(255,255,255,.55)}
.btn-outline:hover{border-color:var(--paper)}
.btn-ghost{background:var(--paper);color:var(--ink);border-color:var(--mist)}
.btn-ghost:hover{border-color:var(--moss)}
.btn-block{width:100%}

/* Header */
header.site{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--mist);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;max-width:var(--max);margin:0 auto}
.nav .logo img{width:150px}
.nav-links{display:none;gap:28px;font-size:17px;font-weight:500}
.nav-cta{display:none}
.nav-toggle{
  background:none;border:none;font-size:26px;line-height:1;cursor:pointer;color:var(--ink);
  padding:4px 8px;
}

/* Language switch */
.lang-switch{
  display:flex;gap:2px;background:var(--mist);border-radius:999px;padding:3px;
  margin-left:auto;
}
.nav .lang-switch{margin-left:16px;margin-right:4px}
.lang-btn{
  border:none;background:transparent;color:var(--moss);
  font-family:inherit;font-size:14px;font-weight:700;letter-spacing:.5px;
  padding:6px 13px;border-radius:999px;cursor:pointer;
}
.lang-btn.active{background:var(--brass);color:var(--ink)}
.lang-switch-mobile{margin:14px 20px 0}

.mobile-menu{display:none;flex-direction:column;gap:2px;background:var(--paper);border-top:1px solid var(--mist)}
.mobile-menu.open{display:flex}
.mobile-menu a{padding:16px 20px;font-size:18px;border-bottom:1px solid var(--mist);text-decoration:none}
.mobile-menu .btn{margin:16px 20px}

@media (min-width:820px){
  .nav-links{display:flex}
  .nav-cta{display:inline-flex}
  .nav-toggle{display:none}
  .mobile-menu{display:none !important}
}
@media (max-width:819px){
  .nav .lang-switch{display:none}
}

/* Hero */
.hero{
  background:linear-gradient(180deg,var(--ink) 0%, var(--green) 100%);
  color:var(--paper);
  padding:64px 0 72px;
}
.hero .container{display:flex;flex-direction:column;gap:28px}
.badge{
  align-self:flex-start;
  background:rgba(224,172,72,.16);color:var(--brass-bright);
  border:1px solid rgba(224,172,72,.4);
  font-size:14px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
  padding:6px 14px;border-radius:999px;
}
.hero h1{font-size:38px;font-weight:800;line-height:1.12;max-width:14ch}
.hero h1 .accent{color:var(--brass-bright)}
.hero p.lead{font-size:19px;color:rgba(255,255,255,.82);max-width:52ch}
.hero .cta-row{display:flex;flex-wrap:wrap;gap:14px}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:12px}
.hero-stats .stat b{display:block;font-size:26px;font-weight:800;color:var(--brass-bright)}
.hero-stats .stat span{font-size:14px;color:rgba(255,255,255,.7)}

@media (min-width:900px){
  .hero .container{flex-direction:row;align-items:center}
  .hero .hero-copy{flex:1}
  .hero h1{font-size:48px}
}

/* Sections */
section{padding:64px 0}
.section-head{max-width:640px;margin:0 auto 40px;text-align:center}
.eyebrow{
  color:var(--brass);font-weight:700;letter-spacing:2px;text-transform:uppercase;font-size:14px;
}
.section-head h2{font-size:30px;font-weight:800;margin-top:8px;line-height:1.2}
.section-head p{color:var(--moss);font-size:18px;margin-top:10px}
.bg-mist{background:var(--mist)}

/* Feature grid */
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:1fr}
@media (min-width:720px){.grid-3{grid-template-columns:repeat(3,1fr)}}
@media (min-width:720px){.grid-2{grid-template-columns:repeat(2,1fr)}}

.card{
  background:var(--paper);border-radius:16px;padding:28px;
  box-shadow:0 1px 3px rgba(28,43,51,.08);
  border:1px solid var(--mist);
}
.card .icon{
  width:48px;height:48px;border-radius:12px;background:var(--mist);
  display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px;
}
.card h3{font-size:21px;font-weight:700;margin-bottom:8px}
.card p{color:var(--moss);font-size:16px}

/* Steps */
.steps{counter-reset:step}
.step{position:relative;padding-left:52px}
.step::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:0;top:0;
  width:36px;height:36px;border-radius:50%;
  background:var(--ink);color:var(--brass-bright);font-weight:800;font-size:17px;
  display:flex;align-items:center;justify-content:center;
}

/* Trust bar */
.trust-bar{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.trust-pill{
  display:flex;align-items:center;gap:8px;
  background:var(--paper);border:1px solid var(--mist);border-radius:999px;
  padding:10px 18px;font-size:15px;font-weight:600;color:var(--ink);
}
.trust-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--green)}
.trust-pill.soon{color:var(--moss)}
.trust-pill.soon .dot{background:var(--moss)}

/* Offer / CTA panel */
.offer{
  background:var(--ink);color:var(--paper);border-radius:24px;
  padding:44px 28px;display:flex;flex-direction:column;gap:22px;
}
.offer h2{font-size:28px;font-weight:800}
.offer p{color:rgba(255,255,255,.78);font-size:17px;max-width:60ch}
.offer ul{list-style:none;display:grid;gap:10px}
.offer ul li{display:flex;gap:10px;align-items:flex-start;font-size:16px;color:rgba(255,255,255,.9)}
.offer ul li::before{content:"✓";color:var(--brass-bright);font-weight:800}
@media (min-width:820px){
  .offer{flex-direction:row;align-items:center;justify-content:space-between;padding:52px 48px}
  .offer .offer-copy{flex:1}
  .offer .offer-actions{display:flex;flex-direction:column;gap:12px;min-width:240px}
}

/* Audience split (students/parents) */
.audience{
  display:grid;gap:20px;
}
@media (min-width:820px){.audience{grid-template-columns:1fr 1fr}}
.audience .card{display:flex;flex-direction:column;gap:14px}
.audience .card ul{list-style:none;display:grid;gap:8px}
.audience .card ul li{display:flex;gap:8px;font-size:15px;color:var(--ink)}
.audience .card ul li::before{content:"•";color:var(--brass);font-weight:800}

/* Waitlist form */
.waitlist{display:flex;flex-direction:column;gap:12px;max-width:420px}
.waitlist input{
  padding:14px 16px;border-radius:10px;border:1px solid var(--mist);
  font-size:16px;font-family:inherit;background:var(--paper);
}
.waitlist input:focus{outline:2px solid var(--brass);outline-offset:1px}
.form-note{font-size:13px;color:var(--moss)}

/* Footer */
footer.site{background:var(--ink);color:rgba(255,255,255,.75);padding:48px 0 28px}
footer.site .logo img{width:150px;margin-bottom:14px}
footer.site .cols{display:grid;gap:32px;margin-bottom:36px}
@media (min-width:720px){footer.site .cols{grid-template-columns:2fr 1fr 1fr}}
footer.site h4{color:var(--paper);font-size:15px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:14px}
footer.site ul{list-style:none;display:grid;gap:10px;font-size:15px}
footer.site a{text-decoration:none}
footer.site a:hover{color:var(--brass-bright)}
.foot-bottom{
  border-top:1px solid rgba(255,255,255,.12);padding-top:20px;
  display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;font-size:14px;color:rgba(255,255,255,.55);
}

/* WhatsApp float button */
.wa-float{
  position:fixed;right:18px;bottom:18px;z-index:60;
  width:58px;height:58px;border-radius:50%;background:var(--green);
  display:flex;align-items:center;justify-content:center;color:#fff;
  box-shadow:0 6px 18px rgba(30,77,64,.4);text-decoration:none;font-size:26px;
}

/* Sinhala: Gemunu Libre carries headlines/brand; body copy falls back to
   Noto Sans Sinhala for readability, per brand-sheet.html typography rules. */
html[lang="si"] body{font-family:'Noto Sans Sinhala','Gemunu Libre',system-ui,sans-serif}
html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3,
html[lang="si"] .btn,
html[lang="si"] .badge,
html[lang="si"] .eyebrow,
html[lang="si"] .lang-btn{font-family:'Gemunu Libre','Noto Sans Sinhala',system-ui,sans-serif}
