/* Ceri388 — Safe / Calm / Educational
   green #1E7A46 · white · charcoal #2B2F33 · soft yellow #F5D76E */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;color:#223028;background:#FDFEFD;line-height:1.75;font-size:16px}
img,svg{max-width:100%;height:auto;display:block}
a{color:#1E7A46;text-decoration:none}
a:hover{text-decoration:underline}
ul,ol{list-style:none}
.ce-wrap{max-width:1100px;margin:0 auto;padding:0 22px}
.ce-narrow{max-width:800px}
p{margin:0 0 14px}

/* header */
.ce-head{background:#fff;border-bottom:1px solid #D7E8DC;position:sticky;top:0;z-index:50}
.ce-logo{display:flex;align-items:center;gap:10px;color:#223028}
.ce-logo:hover{text-decoration:none}
.ce-logo-word{font-size:25px;font-weight:800}
.ce-logo-word span{color:#1E7A46}
.ce-age{font-size:12px;font-weight:700;letter-spacing:.08em;color:#7A5B12;background:#F5D76E;padding:6px 14px;border-radius:999px;white-space:nowrap}
.ce-navbtn,.ce-navtog{display:none}
.ce-menubar{background:#fff;border-top:1px solid #EDF5EF}
.ce-menubar-in{max-width:1100px;margin:0 auto;padding:8px 22px;display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
.ce-pill{display:block;font-size:13.5px;color:#2B2F33;padding:7px 16px;border-radius:999px;background:#F3FAF5}
.ce-pill:hover{text-decoration:none;background:#E4F3E9}
.ce-pill.active{background:#1E7A46;color:#fff}

/* hero */
.ce-hero{background:linear-gradient(180deg,#FFFFFF 0%,#F0F9F3 100%);border-bottom:1px solid #D7E8DC}
.ce-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;padding-top:50px;align-items:center}
.ce-hero-kicker{font-size:13px;font-weight:700;letter-spacing:.06em;color:#2F7A52;margin-bottom:12px}
.ce-hero h1{font-size:40px;line-height:1.25;margin-bottom:16px;color:#173A26}
.ce-hero-lead{font-size:17px;color:#41544A;margin-bottom:22px}
.ce-hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.ce-btn{display:inline-block;background:#1E7A46;color:#fff;padding:13px 28px;border-radius:999px;font-weight:600;font-size:15px;box-shadow:0 4px 14px rgba(30,122,70,.25)}
.ce-btn:hover{text-decoration:none;background:#176539}
.ce-btn-o{background:#fff;color:#1E7A46;border:2px solid #1E7A46;box-shadow:none}
.ce-btn-o:hover{background:#F0F9F3}
.ce-hero-card{background:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(23,58,38,.10);padding:26px 28px;border:1px solid #E7F3EB}
.ce-hero-card-h{font-size:16px;color:#1E7A46;margin-bottom:14px}
.ce-steps li{display:flex;gap:14px;align-items:flex-start;padding:11px 0;border-top:1px dashed #DCEBE1;font-size:15px}
.ce-steps li:first-child{border-top:none}
.ce-step-n{flex:none;width:30px;height:30px;border-radius:50%;background:#1E7A46;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.ce-steps small{color:#435A4E}
.ce-hero-img{margin-top:30px;margin-bottom:36px;border-radius:24px;box-shadow:0 12px 34px rgba(23,58,38,.12)}
.ce-ageband{background:#F5D76E;color:#4A3A08;font-size:14.5px}
.ce-ageband .ce-wrap{padding-top:12px;padding-bottom:12px}
.ce-ageband strong{background:#4A3A08;color:#F5D76E;border-radius:8px;padding:2px 10px;margin-right:10px;font-size:14px}

/* sections */
.ce-sec{padding:46px 0;background:#fff}
.ce-sec.soft{background:#F3FAF5}
.ce-sec-h{font-size:26px;color:#173A26;margin-bottom:16px}
.ce-sec-body{max-width:880px}
.ce-sec-body h3,.ce-art-body h3{font-size:19px;margin:20px 0 8px;color:#1E7A46}
.ce-sec-body ul.md,.ce-sec-body ol.md,.ce-art-body ul.md,.ce-art-body ol.md{margin:0 0 14px;padding-left:0}
.ce-sec-body ul.md li,.ce-art-body ul.md li{position:relative;padding-left:28px;margin-bottom:8px}
.ce-sec-body ul.md li::before,.ce-art-body ul.md li::before{content:"✓";position:absolute;left:2px;color:#1E7A46;font-weight:700}
.ce-sec-body ol.md,.ce-art-body ol.md{counter-reset:ceol}
.ce-sec-body ol.md li,.ce-art-body ol.md li{position:relative;padding-left:36px;margin-bottom:8px;counter-increment:ceol}
.ce-sec-body ol.md li::before,.ce-art-body ol.md li::before{content:counter(ceol);position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:#E4F3E9;color:#1E7A46;font-size:12.5px;font-weight:700;display:flex;align-items:center;justify-content:center}

/* tables */
.tbl-wrap{overflow-x:auto;margin:16px 0}
table{border-collapse:collapse;width:100%;min-width:500px;background:#fff;font-size:14.5px;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(23,58,38,.06)}
thead th{background:#1E7A46;color:#fff;text-align:left;padding:11px 15px}
tbody td{padding:11px 15px;border-bottom:1px solid #EAF4ED}
tbody tr:last-child td{border-bottom:none}

/* figures */
.fig{margin:24px 0;background:#fff;border-radius:16px;padding:18px;box-shadow:0 4px 16px rgba(23,58,38,.07)}
.fig figcaption{font-size:13px;color:#435A4E;margin-top:10px;text-align:center}

/* article */
.ce-main{padding:32px 0 10px}
.ce-crumb{font-size:12.5px;margin-bottom:16px}
.ce-crumb ol{display:flex;flex-wrap:wrap;gap:6px;color:#435A4E}
.ce-crumb li+li::before{content:"›";margin-right:6px;color:#1E7A46}
.ce-art{background:#fff;border-radius:20px;padding:34px 38px;box-shadow:0 6px 22px rgba(23,58,38,.08)}
.ce-art-h1{font-size:33px;line-height:1.3;margin-bottom:14px;color:#173A26}
.ce-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#435A4E;background:#F3FAF5;border-radius:999px;padding:9px 18px;margin-bottom:24px;display:inline-flex}
.toc{background:#F3FAF5;border-radius:14px;padding:18px 22px;margin-bottom:28px}
.toc-title{font-size:14px;color:#1E7A46;font-weight:700;margin-bottom:6px}
.toc ol{counter-reset:cetoc}
.toc ol li{counter-increment:cetoc;padding:4px 0 4px 32px;position:relative;font-size:14.5px}
.toc ol li::before{content:counter(cetoc);position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;background:#1E7A46;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ce-art-body{font-size:16.5px}
.ce-art-body h2{font-size:24px;margin:30px 0 12px;color:#173A26}
blockquote.md{border-left:4px solid #F5D76E;background:#FEFAEB;border-radius:0 12px 12px 0;padding:13px 18px;margin:14px 0}
.ce-artfaq{margin-top:26px}
.ce-artfaq h2,.ce-faqsec h2{font-size:24px;color:#173A26;margin-bottom:12px}
.ce-faqitem{background:#F7FCF8;border:1px solid #DCEBE1;border-radius:14px;margin-bottom:10px;overflow:hidden}
.ce-faqitem summary{cursor:pointer;padding:13px 20px;font-weight:600;font-size:15.5px;color:#173A26;list-style:none}
.ce-faqitem summary::-webkit-details-marker{display:none}
.ce-faqitem summary::after{content:"+";float:right;color:#1E7A46;font-size:20px;font-weight:700}
.ce-faqitem[open] summary::after{content:"–"}
.ce-fanswer{padding:0 20px 13px;font-size:15px}
.ce-faqsec{margin-top:26px}

/* related */
.related{background:#F3FAF5;border-radius:14px;padding:20px 22px;margin-top:30px}
.related-title{font-size:14px;color:#1E7A46;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.related ul li{padding:7px 0;border-top:1px solid #DCEBE1;font-size:15px}

/* hub & index cards */
.ce-hubhead{padding:6px 0 20px}
.ce-hubhead h1{font-size:35px;color:#173A26;margin-bottom:12px}
.ce-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
.ce-card{display:flex;flex-direction:column;gap:6px;background:#fff;border-radius:16px;padding:20px;border:1px solid #E3F0E7;box-shadow:0 3px 10px rgba(23,58,38,.05)}
.ce-card:hover{text-decoration:none;box-shadow:0 8px 22px rgba(23,58,38,.12);transform:translateY(-2px)}
.ce-card-k{font-size:11.5px;letter-spacing:.14em;color:#2F7A52;font-weight:700;text-transform:uppercase}
.ce-card-t{font-size:17px;font-weight:600;color:#173A26;line-height:1.4}
.ce-card-d{font-size:12.5px;color:#5C6E63}
.ce-plsec{margin-bottom:24px}
.ce-plsec h2{font-size:22px;color:#173A26;margin-bottom:10px}

/* 404 */
.e404{text-align:center;padding:70px 22px}
.e404-code{font-size:84px;color:#F5D76E;font-weight:800;line-height:1;text-shadow:0 2px 0 #D9BC3F}
.e404-h1{font-size:30px;margin:6px 0 14px;color:#173A26}
.e404-p{max-width:520px;margin:0 auto 22px}
.e404-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.p404 .ce-hero,.p404 .ce-ageband,.p404 .ce-sec{display:none}

/* footer */
.ce-foot{margin-top:56px;background:#fff;border-top:4px solid #1E7A46}
.ce-fgrid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:36px 22px 8px}
.ce-fh{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:#1E7A46;margin-bottom:10px}
.ce-fcol ul li{padding:5px 0;font-size:14px}
.ce-band{background:#1E7A46;color:#E8F6EC;margin-top:18px}
.ce-band>div{padding:18px 22px 26px}
.ce-band-t{font-size:17px !important;font-weight:700;color:#fff !important}
.ce-band p{font-size:12.5px;color:#BFE3CC;margin-bottom:7px}

/* responsive */
@media (max-width:960px){
 .ce-hero-grid{grid-template-columns:1fr;gap:24px}
 .ce-cards{grid-template-columns:1fr 1fr}
 .ce-fgrid{grid-template-columns:1fr 1fr}
 .ce-hero h1{font-size:33px}
}
@media (max-width:768px){
 .ce-navbtn{display:flex;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;border:1.5px solid #1E7A46;border-radius:10px;cursor:pointer;background:#fff}
 .ce-navbtn span{display:block;width:20px;height:2.5px;background:#1E7A46;margin:0 auto;border-radius:2px}
 .ce-menubar{display:none;border-top:none}
 .ce-navtog:checked ~ .ce-menubar{display:block}
 .ce-menubar-in{flex-direction:column;gap:4px;padding:10px 18px 14px;justify-content:flex-start}
 .ce-pill{background:#F3FAF5;border-radius:10px}
 .ce-age{display:none}
 .ce-art{padding:24px 20px}
 .ce-cards{grid-template-columns:1fr}
 .ce-fgrid{grid-template-columns:1fr}
 .ce-hero h1{font-size:29px}
 .ce-art-h1{font-size:26px}
 .ce-hubhead h1{font-size:28px}
 .ce-helpbtns{margin-top:14px}
 .ce-helpgrid{display:grid;gap:8px}
}
@media (max-width:420px){
 .ce-hero h1{font-size:25px}
 .ce-hero-lead{font-size:15.5px}
 .ce-btn{padding:12px 20px;font-size:14px}
 .ce-art-h1{font-size:23px}
}
