:root{--blue:#0B5FA5;--blue-deep:#0A3F7A;--navy:#151E2D;--indigo:#4F46E5;--bg:#F6F8FB;--card:#fff;--text:#1B2433;--muted:#526071;--line:#DDE4EC;--gold:#F2B632}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;font-size:1.0625rem}
a{color:var(--indigo)}
a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
img{max-width:100%;height:auto;border-radius:10px;margin:1rem 0}
.wrap{max-width:1100px;margin:0 auto;padding:0 1.25rem}

/* header: solid blue so it blends into the home hero */
.site-header{background:var(--blue)}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;padding-top:1rem;padding-bottom:1rem;flex-wrap:wrap}
.brand{font-weight:800;font-size:1.5rem;letter-spacing:-.02em;color:#fff;text-decoration:none;margin-right:auto}
.site-header nav a{color:#fff;text-decoration:none;margin-right:1.4rem;padding:.25rem 0;border-bottom:2px solid transparent;font-weight:500}
.site-header nav a:last-child{margin-right:0}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{border-bottom-color:var(--gold)}
.btn{display:inline-block;background:var(--indigo);color:#fff;font-weight:600;text-decoration:none;padding:.75rem 1.5rem;border-radius:10px}
.btn:hover{background:#4038c9}
.site-header .btn{background:#fff;color:var(--blue-deep);padding:.55rem 1.2rem}
.site-header .btn:hover{background:#eef0ff}
.btn.light{background:#fff;color:var(--indigo)}
.btn.light:hover{background:#eef0ff}

/* hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--blue) 0%,var(--blue-deep) 100%);color:#fff;text-align:center;padding:4.5rem 0 6rem}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.hero::before{width:480px;height:480px;left:-140px;bottom:-220px;background:radial-gradient(circle,rgba(242,182,50,.35),transparent 70%)}
.hero::after{width:560px;height:560px;right:-180px;top:-200px;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%)}
.hero .wrap{position:relative;z-index:1}
.hero h1{font-size:clamp(2.4rem,6.5vw,4.25rem);line-height:1.05;letter-spacing:-.035em;margin:0 0 1rem;font-weight:800}
.hero p.lead{font-size:1.25rem;max-width:40ch;margin:0 auto 2.25rem;color:#dbe9f7}
.hero h2{font-size:1.05rem;font-weight:600;margin:0 0 1rem}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;padding:0;margin:0;list-style:none}
.chips a{display:block;padding:.7rem 1.4rem;border:1.5px solid rgba(255,255,255,.45);border-radius:999px;color:#fff;text-decoration:none;font-weight:600;background:rgba(255,255,255,.12)}
.chips a:hover{background:#fff;color:var(--blue-deep)}

/* intro split */
.intro{padding:4.5rem 0}
.intro .wrap{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.topics{background:var(--card);border-radius:16px;box-shadow:0 12px 35px rgba(20,40,70,.12);padding:1.75rem;transform:rotate(-2deg)}
.topics div{padding:1rem 0;border-bottom:1px solid var(--line)}
.topics div:last-child{border-bottom:0}
.topics strong{display:block;font-size:1.3rem;letter-spacing:-.02em}
.topics span{color:var(--muted)}
.intro h2{font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.15;letter-spacing:-.03em;margin:0 0 1.25rem}
.intro p{color:var(--muted);margin:0 0 1.75rem;max-width:46ch}

/* cta band */
.band{position:relative;overflow:hidden;background:linear-gradient(120deg,var(--blue-deep),var(--blue));color:#fff;padding:4.5rem 0}
.band::after{content:"";position:absolute;width:520px;height:520px;right:-120px;top:-120px;border-radius:50%;border:70px solid rgba(255,255,255,.08)}
.band .wrap{position:relative;z-index:1}
.band h2{font-size:clamp(1.8rem,4vw,2.75rem);line-height:1.1;letter-spacing:-.03em;margin:0 0 .75rem;max-width:20ch}
.band p{margin:0 0 1.5rem;color:#dbe9f7}

/* featured posts */
.featured{padding:4rem 0 5rem}
.featured h2{text-align:center;font-size:1.9rem;letter-spacing:-.02em;margin:0 0 2rem}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.card{background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(20,40,70,.1)}
.card .thumb{height:150px;background:linear-gradient(135deg,var(--blue),var(--indigo))}
.card:nth-child(2) .thumb{background:linear-gradient(135deg,#0f8f8f,var(--blue))}
.card:nth-child(3) .thumb{background:linear-gradient(135deg,var(--gold),#e07a2f)}
.card div.body{padding:1.1rem 1.25rem 1.4rem}
.card h3{margin:0 0 .4rem;font-size:1.1rem;letter-spacing:-.01em}
.card p{margin:0;color:var(--muted);font-size:.97rem}

/* inner pages */
.content{padding:3.5rem 0 4.5rem}
.content h1{font-size:clamp(2.2rem,5vw,3.25rem);letter-spacing:-.035em;line-height:1.08;margin:0 0 1rem}
.content h2{font-size:1.6rem;letter-spacing:-.02em;margin:2rem 0 1rem}
.content p{max-width:62ch;color:var(--muted)}
.empty{background:var(--card);border-left:5px solid var(--gold);padding:1.1rem 1.4rem;max-width:62ch;border-radius:8px}
.empty p{margin:0;color:var(--muted)}

/* footer */
.site-footer{background:var(--navy);color:#b9c4d2;padding:2.75rem 0;font-size:.95rem}
.site-footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1.75rem}
.site-footer strong{color:#fff;display:block;font-size:1.3rem;margin-bottom:.25rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer a{color:#b9c4d2;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}

@media(max-width:800px){
  .intro .wrap{grid-template-columns:1fr}
  .topics{transform:none}
  .cards{grid-template-columns:1fr}
  .site-header nav{order:3;width:100%}
  .hero{padding:3.25rem 0 4.5rem}
}
