/* Article layout shared by every blog post. Uses the clinic palette from style.css. */
:root{
  --bg-primary:var(--bg,#0C181D);
  --bg-secondary:var(--bg2,#101F25);
  --bg-card:var(--bg3,#14262E);
  --text-primary:var(--t1,#EDE9E3);
  --text-secondary:var(--t2,#D5D0C8);
  --text-muted:var(--t3,#A09890);
  --accent-teal:var(--teal,#4AABB8);
  --accent-teal-light:var(--teal-l,#78C9D2);
  --accent-green:var(--green,#7BBF5E);
  --accent-gold:var(--gold,#D4A64A);
}

.article-wrapper{
  max-width:740px;
  margin:0 auto;
  padding:112px 24px 80px;
}
.article-wrapper .breadcrumb{
  font-size:max(12px,.82rem);
  color:var(--text-muted);
  margin-bottom:32px;
}
.article-wrapper .breadcrumb a{
  color:var(--text-muted);
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
.article-wrapper .breadcrumb a:hover{color:var(--accent-teal)}
.article-wrapper .breadcrumb span{margin:0 6px}
.article-meta{
  font-size:max(12px,.82rem);
  color:var(--text-muted);
  margin-bottom:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.article-wrapper h1{
  font-family:var(--serif);
  font-size:clamp(2rem,5vw,2.8rem);
  font-weight:600;
  color:var(--text-primary);
  line-height:1.2;
  margin-bottom:28px;
  letter-spacing:-.01em;
}

.tldr{
  background:var(--bg-card);
  border-left:3px solid var(--accent-teal);
  border-radius:0 8px 8px 0;
  padding:24px 28px;
  margin-bottom:48px;
}
.tldr-label{
  font-family:var(--sans);
  font-size:max(12px,.78rem);
  font-weight:700;
  color:var(--accent-teal);
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:8px;
}
.tldr h3{color:var(--teal-l);font-size:1.2rem;margin-bottom:.8rem}
.tldr p{font-size:1.05rem;color:var(--text-primary);line-height:1.65}

.article-wrapper h2,
.article-body h2{
  font-family:var(--serif);
  font-size:clamp(1.4rem,3.5vw,1.75rem);
  font-weight:600;
  color:var(--text-primary);
  margin:48px 0 18px;
  line-height:1.3;
}
.article-body p{margin-bottom:20px;color:var(--text-secondary)}
.article-body ul{margin:0 0 20px 20px;color:var(--text-secondary)}
.article-body li{margin-bottom:8px;padding-left:4px}
.article-body li::marker{color:var(--accent-teal)}
.article-body strong{color:var(--text-primary);font-weight:600}
.article-body blockquote{
  background:var(--bg-card);
  border-left:3px solid var(--accent-gold);
  border-radius:0 8px 8px 0;
  padding:20px 24px;
  margin:28px 0;
  font-style:italic;
  color:var(--text-primary);
  line-height:1.65;
}
.article-body blockquote cite{
  display:block;
  margin-top:10px;
  font-style:normal;
  font-size:.88rem;
  color:var(--text-muted);
}

.pricing-table,.comparison-table{
  width:100%;
  border-collapse:collapse;
  margin:24px 0 28px;
  font-size:.95rem;
}
.pricing-table thead th,.comparison-table thead th{
  text-align:left;
  font-family:var(--sans);
  font-size:max(12px,.78rem);
  font-weight:700;
  color:var(--accent-teal);
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:12px 16px;
  border-bottom:2px solid rgba(74,171,184,.2);
}
.pricing-table tbody td,.comparison-table tbody td{
  padding:14px 16px;
  border-bottom:1px solid rgba(74,171,184,.08);
  color:var(--text-secondary);
}
.pricing-table tbody tr:hover,.comparison-table tbody tr:hover{background:rgba(74,171,184,.04)}
.pricing-table .price{color:var(--text-primary);font-weight:600;font-size:1rem}
.pricing-table .category-label{
  color:var(--accent-gold);
  font-weight:600;
  font-size:max(12px,.82rem);
  text-transform:uppercase;
  letter-spacing:.06em;
  padding-top:20px;
}

.faq-section{margin:56px 0}
.faq-section h2{margin-bottom:2rem}
.article-wrapper .faq-item{
  border-bottom:1px solid rgba(74,171,184,.1);
  padding:22px 0;
}
.article-wrapper .faq-item:first-of-type{border-top:1px solid rgba(74,171,184,.1)}
.article-wrapper .faq-question{
  font-family:var(--serif);
  font-size:1.15rem;
  font-weight:600;
  color:var(--text-primary);
  margin-bottom:10px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:44px;
}
.article-wrapper .faq-question::after{
  content:'+';
  font-size:1.3rem;
  color:var(--accent-teal);
  flex-shrink:0;
  margin-left:16px;
}
.article-wrapper .faq-item.open .faq-question::after{content:'\2212'}
.article-wrapper .faq-answer{
  font-size:.95rem;
  color:var(--text-secondary);
  line-height:1.7;
}
.article-wrapper .faq-item:not(.open) .faq-answer{display:none}

.cta-section{
  background:var(--bg-card);
  border-radius:12px;
  padding:40px 32px;
  text-align:center;
  margin:56px 0 0;
  border:1px solid rgba(74,171,184,.12);
}
.cta-section h2{margin-top:0;margin-bottom:12px}
.cta-section p{color:var(--text-secondary);max-width:520px;margin:0 auto 24px;font-size:1rem}
.cta-buttons{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.btn-primary,.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:13px 28px;
  border-radius:6px;
  font-weight:700;
  font-size:.95rem;
}
.btn-primary{background:var(--accent-teal);color:var(--bg-primary)}
.btn-primary:hover{background:var(--accent-teal-light);color:var(--bg-primary)}
.btn-secondary{border:1px solid var(--accent-teal);color:var(--accent-teal)}
.btn-secondary:hover{background:rgba(74,171,184,.1);color:var(--accent-teal-light)}

.sign-off{
  text-align:center;
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid rgba(74,171,184,.1);
  font-size:.9rem;
  color:var(--text-muted);
  line-height:1.8;
}
.sign-off strong,.sign-off .name{
  color:var(--text-primary);
  font-family:var(--serif);
  font-size:1.1rem;
}

.article-wrapper footer,
footer.article-footer,
body:has(.article-wrapper) > footer:not(.foot){
  background:var(--bg-secondary);
  border-top:1px solid rgba(74,171,184,.08);
  padding:48px 24px 32px;
  margin-top:80px;
}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
.footer-brand .footer-name{
  font-family:var(--serif);
  font-size:1.2rem;
  font-weight:600;
  color:var(--text-primary);
  margin-bottom:10px;
}
.footer-brand p{font-size:.88rem;color:var(--text-muted);line-height:1.6}
.footer-links{display:flex;gap:40px;justify-content:flex-end}
.footer-col h4{
  font-size:max(12px,.78rem);
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--text-muted);
  margin-bottom:12px;
}
.footer-col a{
  display:flex;
  align-items:center;
  min-height:44px;
  font-size:.9rem;
  color:var(--text-secondary);
}
.footer-bottom{
  max-width:1100px;
  margin:32px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(74,171,184,.06);
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  flex-wrap:wrap;
}
.footer-bottom p{font-size:max(12px,.78rem);color:var(--text-muted);line-height:1.6}
.footer-disclaimer{font-size:max(12px,.75rem)!important;color:var(--text-muted);max-width:600px}

.callout{
  background:rgba(74,171,184,.04);
  border:1px solid rgba(74,171,184,.12);
  border-radius:8px;
  padding:2.5rem;
  margin:3rem 0;
}
.callout h3{color:var(--teal-l);font-size:1.2rem;margin-bottom:.8rem}
.callout p{font-size:.9rem;color:var(--t1);line-height:2}

.wrap-narrow{max-width:780px;margin:0 auto;padding:0 3rem}

@media(max-width:768px){
  .article-wrapper{padding:96px 18px 60px}
  .cta-section{padding:32px 20px}
  .footer-inner{grid-template-columns:1fr;gap:28px}
  .footer-links{justify-content:flex-start}
  .footer-bottom{flex-direction:column}
  .pricing-table,.comparison-table{font-size:.88rem;display:block;overflow-x:auto}
  .pricing-table thead th,.pricing-table tbody td,
  .comparison-table thead th,.comparison-table tbody td{padding:10px}
  .comparison-table td{white-space:normal}
}
@media(max-width:480px){
  .cta-buttons{flex-direction:column;align-items:center}
}
