/* Healthspan Digest — shared site styles */
/* v1 - July 2026 — WebMD look/feel. Times New Roman 500 headlines (-0.5pt), Helvetica body (400 / 900 bold). */

:root{
  --blue:#0B6CB7; --blue-dark:#085596; --navy:#13283d;
  --ink:#15212b; --ink-soft:#42525d; --line:#e2e7eb; --rule:#d4dbe0;
  --bg:#ffffff; --grey-wash:#f4f6f8; --teal-accent:#0b8a8f;
  --shadow-soft:0 2px 12px rgba(19,40,61,0.07); --shadow-card:0 8px 28px rgba(19,40,61,0.12);
  --serif:'Times New Roman', Times, Georgia, serif;
  --sans:'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans); font-weight:400; font-size:17px; line-height:1.7; color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased;}
a{color:var(--blue); text-decoration:none;}
a:hover{text-decoration:underline; color:var(--blue-dark);}
strong,b{font-weight:900;}
h1,h2,h3,h4{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt;}
.container{max-width:1040px; margin:0 auto; padding:0 24px;}
.container-narrow{max-width:720px; margin:0 auto; padding:0 24px;}
@keyframes fadeUp{from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:translateY(0);}}

/* NAV */
nav{position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid var(--line);}
nav .bar{height:58px; display:flex; align-items:center; max-width:1040px; margin:0 auto; padding:0 24px;}
nav .brand{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:22px; color:var(--navy); margin-right:auto;}
nav .brand b{color:var(--blue); font-weight:500;}
nav .navlinks a{font-family:var(--sans); font-size:13px; font-weight:400; color:var(--ink-soft); padding:0 12px;}
nav .navlinks a:hover{color:var(--blue); text-decoration:none;}
nav .nav-cta{background:var(--blue); color:#fff; font-family:var(--sans); font-weight:900; font-size:12px; padding:9px 18px; border-radius:4px; margin-left:10px;}
nav .nav-cta:hover{background:var(--blue-dark); text-decoration:none;}
.accent-strip{height:4px; background:linear-gradient(90deg, var(--blue), var(--teal-accent));}
.nav-toggle{display:none; background:none; border:none; cursor:pointer; padding:8px 2px 8px 10px; margin-left:8px;}
.nav-toggle span{display:block; width:22px; height:2px; background:var(--navy); margin:5px 0; transition:.2s;}
nav.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
nav.nav-open .nav-toggle span:nth-child(2){opacity:0;}
nav.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media(max-width:680px){
  nav .navlinks{display:none;}
  .nav-toggle{display:block;}
  nav.nav-open .navlinks{display:flex; flex-direction:column; position:absolute; top:58px; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow-card); padding:8px 0 12px;}
  nav.nav-open .navlinks a{padding:12px 24px; font-size:15px;}
}

/* ===== HOMEPAGE HERO ===== */
.hero{background:var(--grey-wash); border-bottom:1px solid var(--line); padding:62px 0 56px;}
.hero .container{display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center;}
.hero-badge{display:inline-block; background:#e7f0f8; border:1px solid #c5dcf0; border-radius:4px; padding:5px 14px; font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--blue); margin-bottom:20px; animation:fadeUp .5s ease both;}
.hero h1{font-size:42px; line-height:1.18; color:var(--navy); animation:fadeUp .5s ease .05s both;}
.hero p.sub{font-family:var(--sans); font-weight:400; font-size:18px; color:var(--ink-soft); margin-top:18px; line-height:1.6; animation:fadeUp .5s ease .1s both;}
.hero ul.bullets{list-style:none; margin:20px 0 0; padding:0; animation:fadeUp .5s ease .15s both;}
.hero ul.bullets li{font-family:var(--sans); font-weight:400; font-size:15px; color:var(--ink); padding-left:26px; position:relative; margin-bottom:8px;}
.hero ul.bullets li::before{content:"\2713"; position:absolute; left:0; color:var(--blue); font-weight:900;}
@media(max-width:780px){ .hero .container{grid-template-columns:1fr; gap:32px;} .hero h1{font-size:33px;} }

/* SIGNUP CARD */
.signup-card{background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:var(--shadow-card); padding:28px; animation:fadeUp .5s ease .15s both;}
.signup-card .lead{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:22px; color:var(--navy); line-height:1.25; margin-bottom:6px;}
.signup-card .sublead{font-family:var(--sans); font-size:14px; color:var(--ink-soft); margin-bottom:18px;}
.beehiiv-slot{border:2px dashed var(--rule); border-radius:8px; padding:22px 16px; text-align:center; background:var(--grey-wash); margin-bottom:14px;}
.beehiiv-slot .ph{font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue); margin-bottom:6px;}
.beehiiv-slot .note{font-family:var(--sans); font-size:12px; color:var(--ink-soft); line-height:1.5;}
.signup-form{display:flex; flex-direction:column; gap:10px;}
.signup-form input{border:1px solid var(--rule); border-radius:6px; padding:13px 16px; font-family:var(--sans); font-size:15px; color:var(--ink); outline:none;}
.signup-form input:focus{border-color:var(--blue);}
.signup-form button{background:var(--blue); color:#fff; border:none; border-radius:6px; font-family:var(--sans); font-weight:900; font-size:15px; padding:14px; cursor:pointer;}
.signup-form button:hover{background:var(--blue-dark);}
.signup-card .fineprint{font-family:var(--sans); font-size:11.5px; color:var(--ink-soft); text-align:center; margin-top:12px;}

/* SECTION */
section{padding:62px 0;}
.section-head{text-align:center; max-width:640px; margin:0 auto 42px;}
.section-label{font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--teal-accent); margin-bottom:10px;}
.section-title{font-size:32px; color:var(--navy); line-height:1.22;}
.section-desc{font-family:var(--sans); font-weight:400; font-size:16px; color:var(--ink-soft); margin-top:12px; line-height:1.6;}

/* VALUE GRID */
.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.value-card{background:#fff; border:1px solid var(--line); border-radius:10px; padding:28px 24px; box-shadow:var(--shadow-soft);}
.value-card .ico{width:44px; height:44px; border-radius:8px; background:#e7f0f8; display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:14px;}
.value-card h3{font-size:20px; color:var(--navy); margin-bottom:8px; line-height:1.3;}
.value-card p{font-family:var(--sans); font-weight:400; font-size:14.5px; color:var(--ink-soft); line-height:1.6;}
@media(max-width:760px){ .value-grid{grid-template-columns:1fr;} }

/* THIS WEEK / ARCHIVE PREVIEW */
.preview{background:var(--grey-wash); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.issue-list{max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:16px;}
.issue-card{background:#fff; border:1px solid var(--line); border-radius:10px; padding:24px 26px; box-shadow:var(--shadow-soft); display:block;}
.issue-card:hover{text-decoration:none; box-shadow:var(--shadow-card); transform:translateY(-2px); transition:.15s;}
.issue-card .cat{font-family:var(--sans); font-weight:900; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--teal-accent); margin-bottom:6px;}
.issue-card h4{font-size:21px; color:var(--navy); line-height:1.3; margin-bottom:14px;}
.issue-card .issue-date{font-family:var(--sans); font-weight:400; font-size:12px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:10px;}
.mini-takeaways{background:var(--grey-wash); border:1px solid #cdd6dd; border-radius:6px; padding:14px 16px;}
.mini-takeaways .mt-head{font-family:var(--sans); font-weight:900; font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--navy); margin-bottom:8px;}
.mini-takeaways li{font-family:var(--sans); font-weight:400; font-size:13.5px; color:var(--ink); line-height:1.5; list-style:none; padding-left:16px; position:relative; margin-bottom:5px;}
.mini-takeaways li:last-child{margin-bottom:0;}
.mini-takeaways li::before{content:""; position:absolute; left:0; top:8px; width:5px; height:5px; border-radius:50%; background:var(--blue);}
.preview-cta{text-align:center; margin-top:34px;}
.btn-primary{display:inline-block; background:var(--blue); color:#fff; font-family:var(--sans); font-weight:900; font-size:15px; padding:14px 32px; border-radius:6px;}
.btn-primary:hover{background:var(--blue-dark); text-decoration:none;}

/* SPONSOR STRIP */
.sponsor-strip{background:#fff; text-align:center; border-bottom:1px solid var(--line);}
.sponsor-strip .label{font-family:var(--sans); font-weight:900; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:#9aaaab; margin-bottom:8px;}
.sponsor-strip .pitch{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:20px; color:var(--navy); max-width:600px; margin:0 auto;}

/* FINAL CTA */
.final-cta{background:var(--navy); text-align:center; color:#fff;}
.final-cta h2{font-size:34px; line-height:1.2; max-width:620px; margin:0 auto 12px; color:#fff;}
.final-cta p{font-family:var(--sans); font-weight:400; color:rgba(255,255,255,0.75); max-width:460px; margin:0 auto 26px; font-size:16px;}
.final-cta .signup-form{flex-direction:row; max-width:460px; margin:0 auto;}
.final-cta .signup-form input{flex:1;}
@media(max-width:560px){ .final-cta .signup-form{flex-direction:column;} }

/* ===== ARTICLE (blog post) ===== */
.art-head{padding:40px 0 8px;}
.breadcrumb{font-family:var(--sans); font-weight:400; font-size:12px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:16px;}
.breadcrumb a{color:var(--ink-soft);}
.art-head h1{font-size:34px; line-height:1.2; color:var(--navy); margin-bottom:14px;}
.art-head .meta{font-family:var(--sans); font-weight:400; font-size:13px; color:var(--ink-soft); border-bottom:1px solid var(--line); padding-bottom:18px;}
.art-head .meta b{font-weight:700; color:var(--ink);}
.lede{font-family:var(--sans); font-weight:400; font-size:18px; line-height:1.7; color:var(--ink-soft); margin:26px 0 6px;}

.story{padding-top:34px; margin-bottom:8px;}
.story-cat{font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--teal-accent); margin-bottom:8px;}
.story h2{font-size:27px; line-height:1.25; color:var(--navy); margin-bottom:20px;}
.takeaways{background:var(--grey-wash); border:1px solid #cdd6dd; border-radius:8px; padding:20px 24px 22px; margin-bottom:26px;}
.takeaways .tk-head{font-family:var(--sans); font-weight:900; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:var(--navy); margin-bottom:12px; display:flex; align-items:center; gap:8px;}
.takeaways .tk-head::before{content:""; width:16px; height:16px; border-radius:3px; background:var(--blue); display:inline-block;}
.takeaways ul{list-style:none; margin:0; padding:0;}
.takeaways li{font-family:var(--sans); font-weight:400; font-size:15.5px; line-height:1.6; color:var(--ink); padding-left:22px; position:relative; margin-bottom:9px;}
.takeaways li:last-child{margin-bottom:0;}
.takeaways li::before{content:""; position:absolute; left:2px; top:9px; width:7px; height:7px; border-radius:50%; background:var(--blue);}
.story-body p{font-family:var(--sans); font-weight:400; font-size:17px; line-height:1.75; margin-bottom:18px;}
.sources{background:#f7f9fa; border:1px solid var(--line); border-radius:8px; padding:18px 22px; margin-top:22px;}
.sources .lbl{font-family:var(--sans); font-weight:900; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--ink-soft); margin-bottom:10px;}
.sources ol{margin:0; padding-left:20px;}
.sources li{font-family:var(--sans); font-weight:400; font-size:14px; line-height:1.65; color:var(--ink-soft); margin-bottom:8px;}
.sources li:last-child{margin-bottom:0;}
.sources a{font-weight:400; word-break:break-word;}
.divider{height:1px; background:var(--rule); margin:38px 0 4px;}

/* WEBINAR CTA (in-article, PAS docs' free webinar) */
.webinar-cta{background:#e7f0f8; border:1px solid #c5dcf0; border-radius:10px; padding:26px 28px; margin:34px 0 10px; text-align:center;}
.webinar-cta .wc-eyebrow{font-family:var(--sans); font-weight:900; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue); margin-bottom:8px;}
.webinar-cta h3{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:23px; color:var(--navy); line-height:1.3; margin-bottom:8px;}
.webinar-cta p{font-family:var(--sans); font-weight:400; font-size:15px; color:var(--ink-soft); margin-bottom:18px; max-width:520px; margin-left:auto; margin-right:auto;}

/* INLINE SUBSCRIBE (in-article) */
.inline-sub{background:var(--navy); border-radius:8px; padding:32px 30px; text-align:center; color:#fff; margin:34px 0 10px;}
.inline-sub h3{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:25px; line-height:1.3; margin-bottom:8px; color:#fff;}
.inline-sub p{font-family:var(--sans); font-weight:400; font-size:15px; color:rgba(255,255,255,0.8); margin-bottom:20px;}
.inline-sub .form{display:flex; gap:10px; max-width:440px; margin:0 auto;}
.inline-sub input{flex:1; border:none; border-radius:4px; padding:13px 16px; font-family:var(--sans); font-size:14px; outline:none;}
.inline-sub button{background:var(--blue); color:#fff; border:none; border-radius:4px; font-family:var(--sans); font-weight:900; font-size:14px; padding:13px 22px; cursor:pointer; white-space:nowrap;}
.inline-sub button:hover{background:var(--blue-dark);}
@media(max-width:560px){ .inline-sub .form{flex-direction:column;} .art-head h1{font-size:28px;} }

.disclaimer-box{font-family:var(--sans); font-weight:400; font-size:13px; color:var(--ink-soft); line-height:1.65; background:var(--grey-wash); border:1px solid var(--line); border-radius:8px; padding:18px 20px; margin-top:38px;}
.disclaimer-box b{font-weight:900; color:var(--ink);}

/* FOOTER */
footer{background:#fff; border-top:1px solid var(--line); color:var(--ink-soft); padding:38px 0 44px; font-family:var(--sans); font-size:13px; font-weight:400;}
footer .container{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:20px;}
footer .fbrand{font-family:var(--serif); font-weight:500; letter-spacing:-0.5pt; font-size:18px; color:var(--navy);}
footer .ftag{font-size:12.5px; max-width:300px; margin-top:6px; line-height:1.6; color:var(--ink-soft);}
footer .fcols{display:flex; gap:40px;}
footer .fcol a{display:block; margin-bottom:8px; color:var(--ink-soft); font-size:12.5px;}
.disclaimer{font-size:11px; color:#9aaaab; line-height:1.6; margin-top:26px; border-top:1px solid var(--line); padding-top:18px;}
