/* ── Reset & Base ─────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,sans-serif;font-size:1rem;line-height:1.7;color:#1a2332;background:#fafbfc}
img,svg{display:block;max-width:100%;height:auto}
a{color:#0e7c6b;text-decoration:none;transition:color .15s}
a:hover{color:#0a5c50}
a:focus-visible{outline:2px solid #2ec4b6;outline-offset:2px;border-radius:2px}
ul,ol{list-style:none}
table{border-collapse:collapse;width:100%}
button{cursor:pointer;font:inherit;border:none;background:none}

/* ── Layout ──────────────────────────────────────────── */
.container{max-width:1080px;margin:0 auto;padding:0 1.25rem}
.page-content{padding:2.5rem 0 3.5rem}

/* ── Header ──────────────────────────────────────────── */
.site-header{background:#fff;border-bottom:1px solid #e4e8ed;position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:3.5rem}
.logo{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.05rem;color:#0b3d59}
.logo:hover{color:#0e7c6b}
.logo svg{flex-shrink:0}
.logo-text{white-space:nowrap}
.nav-list{display:flex;gap:1.5rem}
.nav-list a{font-size:.9rem;font-weight:500;color:#3b4a5c;padding:.25rem 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.nav-list a:hover,.nav-list a.active{color:#0e7c6b;border-bottom-color:#2ec4b6}
.menu-toggle{display:none;width:2rem;height:2rem;position:relative}
.menu-icon,.menu-icon::before,.menu-icon::after{display:block;width:1.25rem;height:2px;background:#1a2332;border-radius:1px;position:absolute;left:50%;transform:translateX(-50%);transition:transform .2s,opacity .2s}
.menu-icon{top:50%;transform:translate(-50%,-50%)}
.menu-icon::before{content:"";top:-6px}
.menu-icon::after{content:"";top:6px}
.menu-toggle[aria-expanded="true"] .menu-icon{background:transparent}
.menu-toggle[aria-expanded="true"] .menu-icon::before{top:0;transform:translateX(-50%) rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-icon::after{top:0;transform:translateX(-50%) rotate(-45deg)}

/* ── Hero ────────────────────────────────────────────── */
.hero{background:linear-gradient(135deg,#0b3d59 0%,#0e5a7e 100%);color:#fff;padding:3rem 0 2.5rem;text-align:center}
.hero h1{font-size:1.75rem;font-weight:800;line-height:1.3;margin-bottom:.75rem}
.hero .tagline{font-size:1.05rem;opacity:.88;max-width:600px;margin:0 auto .5rem}
.hero-disclaimer{font-size:.82rem;opacity:.65;max-width:560px;margin:1rem auto 0;line-height:1.5}

/* ── Section Titles ──────────────────────────────────── */
.section-title{font-size:1.35rem;font-weight:700;color:#0b3d59;margin-bottom:1.25rem;padding-bottom:.5rem;border-bottom:2px solid #e4e8ed}
.section-intro{color:#506070;margin-bottom:1.5rem;max-width:700px}

/* ── Card Grid ───────────────────────────────────────── */
.card-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.card{background:#fff;border:1px solid #e4e8ed;border-radius:8px;padding:1.25rem 1.35rem;transition:box-shadow .15s,border-color .15s}
.card:hover{border-color:#c2d1dc;box-shadow:0 2px 12px rgba(11,61,89,.06)}
.card-category{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#2ec4b6;margin-bottom:.4rem}
.card h3{font-size:1.05rem;font-weight:700;color:#0b3d59;margin-bottom:.45rem;line-height:1.35}
.card h3 a{color:inherit}
.card h3 a:hover{color:#0e7c6b}
.card p{font-size:.88rem;color:#506070;line-height:1.55}
.card-meta{font-size:.78rem;color:#8494a5;margin-top:.6rem;display:flex;gap:.75rem;flex-wrap:wrap}

/* ── Data Card (in-article) ──────────────────────────── */
.data-card{background:#f4f7fa;border:1px solid #dfe5ec;border-radius:8px;padding:1.15rem 1.25rem;margin:1.5rem 0;overflow-x:auto}
.data-card-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#0e7c6b;margin-bottom:.75rem}
.data-card table{font-size:.88rem}
.data-card th{text-align:left;font-weight:600;color:#0b3d59;padding:.45rem .65rem;border-bottom:2px solid #d1dbe4;white-space:nowrap}
.data-card td{padding:.4rem .65rem;border-bottom:1px solid #e8edf2;color:#3b4a5c}
.data-card-note{font-size:.78rem;color:#8494a5;margin-top:.6rem;font-style:italic}

/* ── Callout Box ─────────────────────────────────────── */
.callout-box{background:linear-gradient(135deg,#f0faf8 0%,#eef6fa 100%);border-left:3px solid #2ec4b6;border-radius:0 8px 8px 0;padding:1rem 1.25rem;margin:1.5rem 0;font-size:.92rem}
.callout-box p{margin-bottom:.5rem}
.callout-box p:last-child{margin-bottom:0}
.callout-warning{background:linear-gradient(135deg,#fef8f0 0%,#fdf5ec 100%);border-left-color:#e6a347}
.callout-warning ul{list-style:disc;padding-left:1.25rem;margin-top:.4rem}
.callout-warning li{margin-bottom:.3rem;font-size:.88rem;color:#5a4a30}

/* ── Breadcrumbs ─────────────────────────────────────── */
.breadcrumbs{padding:.75rem 0;font-size:.82rem;color:#8494a5}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center}
.breadcrumbs li::after{content:"›";margin-left:.4rem;color:#b8c4d0}
.breadcrumbs li:last-child::after{display:none}
.breadcrumbs a{color:#506070}
.breadcrumbs a:hover{color:#0e7c6b}

/* ── Article Layout ──────────────────────────────────── */
.article-header{margin-bottom:2rem}
.article-header h1{font-size:1.65rem;font-weight:800;color:#0b3d59;line-height:1.3;margin-bottom:.6rem}
.article-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.82rem;color:#8494a5;margin-bottom:1rem}
.article-meta a{color:#506070}
.article-meta a:hover{color:#0e7c6b}

.toc{background:#f4f7fa;border:1px solid #e4e8ed;border-radius:8px;padding:1rem 1.25rem;margin-bottom:2rem}
.toc-title{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#0b3d59;margin-bottom:.5rem}
.toc ol{list-style:decimal;padding-left:1.1rem}
.toc li{margin-bottom:.3rem}
.toc a{font-size:.88rem;color:#3b4a5c}
.toc a:hover{color:#0e7c6b}

.key-takeaways{background:linear-gradient(135deg,#0b3d59 0%,#0e5a7e 100%);color:#fff;border-radius:8px;padding:1.25rem 1.5rem;margin-bottom:2rem}
.key-takeaways h2{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.65rem;color:#2ec4b6}
.key-takeaways ul{list-style:disc;padding-left:1.15rem}
.key-takeaways li{margin-bottom:.4rem;font-size:.9rem;line-height:1.5;opacity:.92}

.article-body h2{font-size:1.2rem;font-weight:700;color:#0b3d59;margin:2rem 0 .75rem;padding-top:.5rem}
.article-body h3{font-size:1.05rem;font-weight:600;color:#1a2332;margin:1.5rem 0 .5rem}
.article-body p{margin-bottom:1rem;color:#2c3e50}
.article-body ul,.article-body ol{margin-bottom:1rem;padding-left:1.25rem}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body li{margin-bottom:.35rem;color:#2c3e50;line-height:1.6}
.article-body strong{font-weight:600;color:#1a2332}

.references{background:#f9fafb;border:1px solid #e4e8ed;border-radius:8px;padding:1.15rem 1.25rem;margin-top:2.5rem}
.references h2{font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#0b3d59;margin-bottom:.65rem}
.references ol{list-style:decimal;padding-left:1.1rem}
.references li{margin-bottom:.35rem;font-size:.86rem;color:#506070}

.related-insights{margin-top:2.5rem;padding-top:1.5rem;border-top:2px solid #e4e8ed}
.related-insights h2{font-size:1rem;font-weight:700;color:#0b3d59;margin-bottom:1rem}

/* ── Start-Here / Feature Blocks ─────────────────────── */
.start-here{background:#fff;border:1px solid #e4e8ed;border-radius:8px;padding:1.5rem;margin:2rem 0}
.start-here h2{font-size:1.1rem;font-weight:700;color:#0b3d59;margin-bottom:1rem}
.start-links{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.start-link{display:flex;align-items:center;gap:.6rem;padding:.7rem .9rem;background:#f4f7fa;border-radius:6px;font-size:.9rem;font-weight:500;color:#0b3d59;border:1px solid #e4e8ed;transition:border-color .15s,background .15s}
.start-link:hover{background:#eef3f8;border-color:#c2d1dc;color:#0e7c6b}
.start-link svg{flex-shrink:0}

/* ── Responsible Play Callout ────────────────────────── */
.rp-callout{background:linear-gradient(135deg,#0b3d59 0%,#124e6e 100%);color:#fff;border-radius:8px;padding:1.5rem;margin:2rem 0;text-align:center}
.rp-callout h2{font-size:1.1rem;font-weight:700;margin-bottom:.5rem;color:#2ec4b6}
.rp-callout p{font-size:.9rem;opacity:.88;max-width:550px;margin:0 auto .75rem}
.rp-callout a{display:inline-block;padding:.5rem 1.25rem;background:#2ec4b6;color:#0b3d59;font-weight:600;font-size:.88rem;border-radius:5px;transition:background .15s}
.rp-callout a:hover{background:#28b0a3}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section{margin:2.5rem 0}
.faq-item{border:1px solid #e4e8ed;border-radius:8px;margin-bottom:.6rem;overflow:hidden}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.15rem;font-size:.92rem;font-weight:600;color:#0b3d59;text-align:left;background:#fff;transition:background .15s}
.faq-question:hover{background:#f8f9fb}
.faq-question:focus-visible{outline:2px solid #2ec4b6;outline-offset:-2px}
.faq-icon{width:1rem;height:1rem;flex-shrink:0;margin-left:.5rem;transition:transform .2s}
.faq-item.open .faq-icon{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-answer-inner{padding:0 1.15rem 1rem;font-size:.88rem;color:#3b4a5c;line-height:1.6}

/* ── Updated Module ──────────────────────────────────── */
.updated-module{text-align:center;padding:1.25rem 0;font-size:.82rem;color:#8494a5;border-top:1px solid #e4e8ed;margin-top:2rem}

/* ── Authors ─────────────────────────────────────────── */
.author-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.author-card{background:#fff;border:1px solid #e4e8ed;border-radius:8px;padding:1.5rem}
.author-card h3{font-size:1.1rem;font-weight:700;color:#0b3d59;margin-bottom:.15rem}
.author-card .role{font-size:.82rem;color:#2ec4b6;font-weight:600;margin-bottom:.65rem}
.author-card p{font-size:.88rem;color:#506070;line-height:1.6}
.author-card .expertise{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.75rem}
.author-card .expertise span{font-size:.72rem;font-weight:600;background:#f0faf8;color:#0e7c6b;padding:.2rem .55rem;border-radius:3px}

.author-profile{max-width:720px}
.author-profile h1{font-size:1.5rem;font-weight:800;color:#0b3d59;margin-bottom:.15rem}
.author-profile .role{font-size:.9rem;color:#2ec4b6;font-weight:600;margin-bottom:1rem}
.author-profile .bio{font-size:.95rem;color:#2c3e50;line-height:1.7;margin-bottom:1.5rem}

/* ── Contact Form ────────────────────────────────────── */
.contact-form{max-width:560px}
.form-group{margin-bottom:1.15rem}
.form-group label{display:block;font-size:.85rem;font-weight:600;color:#0b3d59;margin-bottom:.3rem}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.6rem .8rem;border:1px solid #d1dbe4;border-radius:5px;font-size:.9rem;color:#1a2332;background:#fff;transition:border-color .15s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#2ec4b6;box-shadow:0 0 0 3px rgba(46,196,182,.12)}
.form-group textarea{min-height:120px;resize:vertical}
.hp-field{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden;pointer-events:none;tab-index:-1}
.btn-submit{display:inline-block;padding:.65rem 1.5rem;background:#0b3d59;color:#fff;font-weight:600;font-size:.9rem;border-radius:5px;border:none;cursor:pointer;transition:background .15s}
.btn-submit:hover{background:#0e5a7e}
.btn-submit:focus-visible{outline:2px solid #2ec4b6;outline-offset:2px}
.form-success{background:#f0faf8;border:1px solid #a8e6cf;border-radius:8px;padding:1rem 1.25rem;color:#0e7c6b;font-weight:500;font-size:.92rem}
.form-error{background:#fef0ef;border:1px solid #f5c6c2;border-radius:8px;padding:1rem 1.25rem;color:#a63d32;font-weight:500;font-size:.92rem}

/* ── Insights Filter ─────────────────────────────────── */
.filter-bar{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:1.5rem;align-items:center}
.filter-bar input{flex:1;min-width:200px;padding:.55rem .8rem;border:1px solid #d1dbe4;border-radius:5px;font-size:.88rem}
.filter-bar input:focus{outline:none;border-color:#2ec4b6;box-shadow:0 0 0 3px rgba(46,196,182,.12)}
.filter-btn{padding:.45rem .85rem;font-size:.8rem;font-weight:600;border:1px solid #d1dbe4;border-radius:5px;color:#506070;background:#fff;transition:all .15s}
.filter-btn:hover,.filter-btn.active{background:#0e7c6b;color:#fff;border-color:#0e7c6b}
.filter-btn:focus-visible{outline:2px solid #2ec4b6;outline-offset:2px}
.no-results{text-align:center;padding:2rem;color:#8494a5;font-size:.92rem}

/* ── Legal Pages ─────────────────────────────────────── */
.legal-content h2{font-size:1.15rem;font-weight:700;color:#0b3d59;margin:1.75rem 0 .6rem}
.legal-content h3{font-size:1rem;font-weight:600;color:#1a2332;margin:1.25rem 0 .4rem}
.legal-content p{margin-bottom:.85rem;color:#2c3e50;font-size:.92rem;line-height:1.7}
.legal-content ul{list-style:disc;padding-left:1.25rem;margin-bottom:1rem}
.legal-content li{margin-bottom:.3rem;font-size:.92rem;color:#2c3e50}

/* ── Responsible Play Page ───────────────────────────── */
.rp-page .age-notice{background:#fef8f0;border:1px solid #f0d9a8;border-radius:8px;padding:1rem 1.25rem;font-weight:600;color:#8a6520;margin-bottom:1.5rem;text-align:center;font-size:.95rem}
.rp-page .resource-list{margin:1.5rem 0}
.rp-page .resource-list li{margin-bottom:.65rem;font-size:.92rem}
.rp-page .resource-list a{font-weight:500}

/* ── Footer ──────────────────────────────────────────── */
.site-footer{background:#0b3d59;color:#c2d1dc;padding:2.5rem 0 1.5rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-logo{font-size:1.1rem;font-weight:700;color:#fff;margin-bottom:.3rem}
.footer-tagline{font-size:.82rem;opacity:.7;line-height:1.5}
.footer-heading{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#2ec4b6;margin-bottom:.6rem}
.footer-nav ul li,.footer-legal-links ul li{margin-bottom:.35rem}
.footer-nav a,.footer-legal-links a{font-size:.85rem;color:#a4b8c8;transition:color .15s}
.footer-nav a:hover,.footer-legal-links a:hover{color:#fff}
.footer-disclaimer{border-top:1px solid rgba(255,255,255,.1);padding-top:1.25rem;margin-bottom:1.25rem}
.footer-disclaimer p{font-size:.78rem;color:#8a9fb3;line-height:1.6;max-width:700px}
.footer-disclaimer a{color:#2ec4b6}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:1rem}
.footer-bottom p{font-size:.75rem;color:#6b8399}

/* ── 404 ─────────────────────────────────────────────── */
.error-page{text-align:center;padding:4rem 0}
.error-page h1{font-size:3rem;font-weight:800;color:#0b3d59;margin-bottom:.5rem}
.error-page p{font-size:1.05rem;color:#506070;margin-bottom:1.5rem}
.error-page a{display:inline-block;padding:.55rem 1.25rem;background:#0e7c6b;color:#fff;border-radius:5px;font-weight:600;font-size:.9rem}
.error-page a:hover{background:#0a5c50}

/* ── Responsive ──────────────────────────────────────── */
@media(max-width:768px){
    .menu-toggle{display:flex;align-items:center;justify-content:center}
    .main-nav{display:none;position:absolute;top:3.5rem;left:0;right:0;background:#fff;border-bottom:1px solid #e4e8ed;box-shadow:0 4px 16px rgba(0,0,0,.06);padding:1rem 1.25rem}
    .main-nav.open{display:block}
    .nav-list{flex-direction:column;gap:.25rem}
    .nav-list a{display:block;padding:.55rem 0;border-bottom:none}
    .hero h1{font-size:1.4rem}
    .card-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr;gap:1.25rem}
    .article-header h1{font-size:1.35rem}
    .start-links{grid-template-columns:1fr}
    .author-grid{grid-template-columns:1fr}
    .filter-bar{flex-direction:column}
    .filter-bar input{min-width:100%}
}
@media(max-width:480px){
    .hero{padding:2rem 0 1.75rem}
    .hero h1{font-size:1.25rem}
    .page-content{padding:1.75rem 0 2.5rem}
    .section-title{font-size:1.15rem}
}
