/* ============ Theme ============ */
:root{
  --bg:#f4fff6;
  --bg-soft:#e5f7e8;
  --panel:#ffffff;
  --paper:#ffffff;
  --ink:#133821;
  --muted:#4d7756;
  --brand:#3fa466;
  --brand-2:#77d58d;
  --brand-3:#bdf3cf;
  --accent:#77d58d;
  --border:rgba(19,56,33,.18);
  --ring:rgba(63,180,102,.28);
  --grad:
    radial-gradient(1200px 600px at 0% 0%, rgba(191,243,207,.6), transparent 60%),
    radial-gradient(1200px 700px at 100% 20%, rgba(119,213,141,.45), transparent 60%);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color:var(--ink);
  background:
    linear-gradient(180deg, #f4fff6 0%, #ecfbe9 45%, #e1f5e2 100%),
    var(--grad);
  line-height:1.65;
}
a{color:var(--brand)}
img{max-width:100%;display:block}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.container{max-width:1000px;margin:0 auto;padding:0 20px}

/* Top notice */
.notice{
  width:100%;
  background:linear-gradient(90deg,var(--brand-2),var(--brand-3));
  color:#0f2914;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:.78rem;
  padding:.55rem .75rem;
  text-align:center;
  border-bottom:1px solid var(--border);
}

/* ============ Header / Nav ============ */
header.site{
  backdrop-filter: blur(12px);
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.9);
  box-shadow:0 8px 24px rgba(19,56,33,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:64px;
}
.brand{
  display:flex; align-items:center; gap:.6rem; font-weight:800;
  letter-spacing:.2px; color:var(--ink); text-decoration:none;
}
.brand-badge{
  width:28px;height:28px;border-radius:8px;
  background:conic-gradient(from 180deg at 50% 50%, var(--brand-2), var(--brand), var(--brand-3), var(--brand-2));
  box-shadow:0 0 0 4px rgba(191,243,207,.6), inset 0 0 0 1px rgba(255,255,255,.9);
}
.nav a{color:var(--muted); text-decoration:none; margin-left:18px; font-weight:600}
.nav a:hover{color:var(--brand)}

/* Header as Hero (for other pages) */
header{
  background:transparent;
  padding:56px 0 24px;
  text-align:center;
  position:relative;
}
h1{
  font-size:clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem);
  line-height:1.18; margin:.8rem 0 1rem;
  color:var(--ink);
}
h1:not(.hero h1){
  font-size:clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
  margin-bottom:12px;
  letter-spacing:.2px;
}
.hero-sub, .sub{
  color:var(--muted);
  max-width:760px;
  margin:0 auto;
}

/* Nav (for other pages) */
nav{
  background:rgba(255,255,255,.9);
  border-bottom:1px solid var(--border);
  box-shadow:0 8px 24px rgba(19,56,33,.08);
  backdrop-filter:blur(12px);
  position:sticky; top:0; z-index:50;
}
.nav-inner{
  display:flex; align-items:center; justify-content:center;
  gap:16px; height:60px;
}
nav a{
  color:var(--muted);
  text-decoration:none;
  padding:10px 14px;
  border-radius:10px;
  transition:background .25s, color .25s, transform .06s;
  font-weight:700;
}
nav a:hover{color:var(--brand); background:rgba(63,164,102,.08)}
nav a:active{transform:translateY(1px)}

/* ============ Hero ============ */
.hero{
  padding:48px 0 12px;
  position:relative;
}
.hero-grid{
  display:grid; gap:28px;
  grid-template-columns: 1.2fr .9fr;
  align-items:center;
}
@media (max-width: 960px){ .hero-grid{grid-template-columns:1fr} }
.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.92));
  border:1px solid var(--border);
  border-radius:20px;
  padding:28px;
  box-shadow:0 18px 30px rgba(19,56,33,.12);
}
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.85rem; color:var(--ink); font-weight:800;
  background:rgba(119,213,141,.2);
  border:1px solid rgba(63,164,102,.25);
  padding:.35rem .65rem; border-radius:999px;
}
.lede{color:var(--muted); font-size:1.05rem}
.pill{
  display:inline-flex; align-items:center; gap:.45rem; margin-top:.75rem;
  font-size:.86rem; color:var(--brand);
  border:1px dashed var(--border); border-radius:999px; padding:.35rem .6rem;
  background:rgba(61,164,102,.08);
}
.cta{display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.2rem}
.btn{
  appearance:none; border:none; cursor:pointer; text-decoration:none;
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  font-weight:800; letter-spacing:.2px;
  padding:.95rem 1.15rem; border-radius:12px;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  color:#0f2914; background:linear-gradient(90deg,var(--brand),var(--brand-2));
  box-shadow:0 10px 22px rgba(63,164,102,.25);
}
.btn-primary:hover{filter:saturate(110%)}
.btn-ghost{
  color:var(--brand); background:rgba(63,164,102,.08);
  border:1px solid var(--border);
}

.hero-media{
  border:1px solid var(--border);
  background: radial-gradient(600px 200px at 60% -10%, rgba(191,243,207,.8), transparent 60%), var(--paper);
  border-radius:22px; padding:16px;
  box-shadow:0 18px 30px rgba(19,56,33,.12);
}
.cover{
  width:100%; aspect-ratio: 7/9; object-fit:cover;
  border-radius:14px; border:1px solid var(--border);
  background:var(--bg-soft);
}
.author{
  display:flex; align-items:center; gap:.9rem; margin-top:.85rem;
}
.author img{width:54px;height:54px;border-radius:50%;border:2px solid rgba(255,255,255,.35)}

/* ============ Sections ============ */
main{padding:16px 0 64px}
main:not(.hero ~ main){margin:36px 0 44px}
.section{margin-top:28px; margin-bottom:26px}
.section h2, .section h3{margin:.2rem 0 .7rem}
.section h2{color:var(--ink); margin-bottom:10px; font-size:1.4rem}
.section h3{color:var(--brand); margin-bottom:8px; margin-top:14px; font-size:1.1rem}
.section p{
  color:var(--ink);
  line-height:1.8;
  margin-bottom:12px;
  text-align:left;
}
.section ul{margin:10px 0 10px 22px; color:var(--muted)}
.section li{margin-bottom:8px}
.grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(12,1fr);
}
@media (max-width: 960px){ .grid{grid-template-columns:1fr} }
.card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:16px; padding:18px;
  box-shadow:0 10px 22px rgba(19,56,33,.08);
}
.card:not(.hero-card):not(.hero-media){
  border-radius:18px;
  padding:28px 26px;
  box-shadow:0 18px 30px rgba(19,56,33,.1);
}
.col-4{grid-column: span 4}
.col-6{grid-column: span 6}
.col-7{grid-column: span 7}
.col-5{grid-column: span 5}
.col-12{grid-column: span 12}

.muted{color:var(--muted)}
.row{display:flex;align-items:flex-start;gap:.7rem}
.icon{width:24px;height:24px;flex:0 0 24px;color:var(--brand)}
.check{display:flex;gap:.55rem;align-items:flex-start;margin:.35rem 0}
.check svg{width:22px;height:22px;color:var(--brand)}

/* "How it helps" duo */
.duo{display:grid;gap:18px;grid-template-columns:1fr 1fr}
@media (max-width: 960px){.duo{grid-template-columns:1fr}}

/* Side panel */
.side{
  background:linear-gradient(180deg, rgba(255,255,255,1), rgba(229,247,232,.9));
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow:0 12px 26px rgba(19,56,33,.08);
}

/* Grid layouts for other pages */
.grid:not(.hero-grid):not(.foot-grid):not(.footer-grid){
  display:grid;
  gap:18px;
  grid-template-columns: 1.3fr .7fr;
}
@media (max-width: 900px){
  .grid:not(.hero-grid):not(.foot-grid):not(.footer-grid){
    grid-template-columns:1fr;
  }
}

/* FAQ */
details{
  background:var(--paper); border:1px solid var(--border);
  border-radius:12px; padding:12px 14px; margin:10px 0;
}
summary{cursor:pointer; font-weight:800; color:var(--ink)}
details[open]{box-shadow:0 8px 18px rgba(19,56,33,.08)}
details p{margin:.45rem 0 0; color:var(--muted)}

/* CTA band */
.cta-band{
  border:1px solid var(--border); border-radius:18px; padding:18px;
  background:
    radial-gradient(500px 120px at 10% -10%, rgba(191,243,207,.8), transparent 60%),
    radial-gradient(600px 160px at 100% 0%, rgba(119,213,141,.45), transparent 60%),
    rgba(255,255,255,.85);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px;
}

/* Badge */
.badge{
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.78rem; color:var(--brand);
  border:1px dashed var(--border); border-radius:999px; padding:.25rem .55rem;
  background:rgba(63,164,102,.08);
}
.badge:not(.pill){
  font-size:.82rem;
  padding:.35rem .6rem;
  font-weight:700;
}

/* Tick (for about page) */
.tick{
  display:flex;
  gap:.55rem;
  align-items:flex-start;
  margin:.35rem 0;
  color:var(--muted);
}
.tick:before{
  content:"✓";
  color:var(--brand);
  font-weight:900;
  margin-top:2px;
}

/* Notice/Warning boxes */
.notice:not(.top-notice){
  background:#e9f9ed;
  border:1px solid var(--border);
  color:var(--ink);
  padding:16px;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 10px 22px rgba(19,56,33,.08);
}
.warning{
  background:#e9f9ed;
  border:1px solid var(--border);
  color:var(--ink);
  padding:16px;
  border-radius:12px;
  margin:18px 0;
  box-shadow:0 10px 22px rgba(19,56,33,.08);
}

/* Band (for contact page) */
.band{
  background:#e9f9ed;
  border:1px solid var(--border);
  color:var(--ink);
  padding:18px;
  border-radius:12px;
  box-shadow:0 10px 24px rgba(19,56,33,.08);
}
.band h3{margin-bottom:6px}

/* Contact form */
.form-group{margin-bottom:16px}
label{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:var(--ink);
}
input, textarea{
  width:100%;
  padding:12px;
  border:2px solid rgba(19,56,33,.18);
  border-radius:10px;
  font-size:16px;
  background:rgba(255,255,255,.95);
  color:var(--ink);
  transition:border-color .25s, box-shadow .25s;
}
input:focus, textarea:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 4px var(--ring);
}
textarea{height:130px; resize:vertical}

.submit-btn{
  background:linear-gradient(90deg, var(--brand), var(--accent));
  color:#0f2914;
  padding:12px 26px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-size:16px;
  font-weight:800;
  box-shadow:0 10px 22px rgba(63,164,102,.2);
  transition:filter .2s, transform .06s;
}
.submit-btn:hover{filter:saturate(110%)}
.submit-btn:active{transform:translateY(1px)}

/* FAQ block (for contact page) */
.faq{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:12px;
  padding:18px;
  margin-top:26px;
  box-shadow:0 10px 22px rgba(19,56,33,.08);
}
.faq h3{margin-bottom:10px}

/* Info section */
.info p{margin-bottom:10px}
.accent{color:var(--brand); font-weight:800}
a.inline{color:var(--brand); text-decoration:none}
a.inline:hover{text-decoration:underline}

/* Footer */
footer{
  border-top:1px solid var(--border);
  background:linear-gradient(180deg, #eaf7ec, #dff1e3);
  padding:30px 0 36px; margin-top:40px;
  color:var(--ink);
  text-align:left;
}
.foot-grid{
  display:grid; gap:18px; grid-template-columns: 2fr 2fr 3fr;
}
.footer-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1.2fr 1fr 1.6fr;
}
@media (max-width: 960px){
  .foot-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .footer-grid{grid-template-columns:1fr}
}
.footer-links a{
  display:inline-block; margin:.25rem .75rem .25rem 0; color:var(--brand); text-decoration:none; font-weight:600
}
.footer-links a:hover{text-decoration:underline}
.links a{
  color:var(--brand);
  text-decoration:none;
  margin-right:12px;
  display:inline-block;
  margin-top:6px;
  font-weight:700;
}
.links a:hover{text-decoration:underline}
small, .disclosures{color:var(--muted); font-size:.88rem}

/* Utility */
.sr{position:absolute!important; height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

/* Responsive */
@media (max-width:768px){
  .card{padding:22px 18px}
  header{padding:44px 0 18px}
}

