/* Care360 guide pages — shared styles (brand theme from index.html) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #0E7C7B;
  --teal-dark:  #0A6B6A;
  --teal-deep:  #084F4E;
  --teal-night: #06403F;
  --mint:       #5DCAA5;
  --mint-soft:  #A8EDD4;
  --mint-pale:  #EBF5F5;
  --bg:         #F7F9F8;
  --bg-warm:    #FBFCFB;
  --ink:        #142525;
  --ink-mid:    #3E5959;
  --ink-soft:   #6E8C8C;
  --border:     #E1EAEA;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Nav (matches landing) ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,249,248,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-mid); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 160ms ease; }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: white !important;
  padding: 9px 18px; border-radius: 10px; font-weight: 600 !important;
  transition: background 160ms ease;
}
.nav-cta:hover { background: var(--teal-deep); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── Article header ── */
.article-head { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 56px 0 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.article-head h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.12; letter-spacing: -0.5px;
  color: var(--teal-deep);
  max-width: 820px;
  margin-bottom: 16px;
}
.standfirst { font-size: 18px; color: var(--ink-mid); max-width: 720px; line-height: 1.65; }
.article-meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.article-meta a { color: var(--teal); text-decoration: none; }

/* ── Article body ── */
article { max-width: 780px; margin: 0 auto; padding: 48px 24px 72px; }
article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 27px; line-height: 1.2; letter-spacing: -0.3px;
  color: var(--teal-deep);
  margin: 44px 0 14px;
}
article h2:first-child { margin-top: 0; }
article h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
article p { font-size: 16.5px; color: var(--ink-mid); line-height: 1.75; margin-bottom: 16px; }
article a { color: var(--teal); }
article strong { color: var(--ink); }

/* checklists */
.checklist { list-style: none; margin: 4px 0 22px; }
.checklist li {
  position: relative;
  padding: 9px 0 9px 38px;
  font-size: 16px; color: var(--ink-mid); line-height: 1.6;
  border-bottom: 1px solid var(--mint-pale);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint-pale); color: var(--teal);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.checklist li strong { color: var(--ink); }

/* plain list */
article ul.plain { margin: 0 0 18px 22px; }
article ul.plain li { font-size: 16px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 8px; }

/* callout */
.callout {
  background: var(--mint-pale);
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 26px 0;
}
.callout p { font-size: 15.5px; color: var(--ink-mid); margin: 0; }
.callout p strong { color: var(--teal-deep); }

/* ── CTA panel ── */
.cta-panel {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-night) 100%);
  border-radius: 22px;
  padding: 44px 40px;
  margin: 52px 0 0;
  text-align: center;
}
.cta-panel h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; color: white; margin: 0 0 10px;
}
.cta-panel p { color: rgba(255,255,255,0.75); font-size: 15.5px; max-width: 520px; margin: 0 auto 24px; }
.cta-btn {
  display: inline-block;
  background: white; color: var(--teal-deep);
  font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 12px; text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }

/* ── Guides hub cards ── */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1080px; margin: 44px auto 0; }
.guide-card {
  background: white; border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 28px;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.guide-card:hover { box-shadow: 0 16px 40px rgba(14,124,123,0.10); transform: translateY(-3px); border-color: #bfe0e0; }
.guide-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.guide-card h2 { font-family: 'DM Serif Display', serif; font-size: 21px; line-height: 1.25; color: var(--teal-deep); margin-bottom: 10px; }
.guide-card p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.6; flex: 1; }
.guide-card .read { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--teal); }
@media (max-width: 860px) { .guides-grid { grid-template-columns: 1fr; max-width: 440px; } }

/* ── Footer ── */
footer { background: var(--teal-night); color: rgba(255,255,255,0.6); padding: 36px 0; margin-top: 72px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 19px; color: white; }
.footer-brand span { color: var(--mint); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 160ms ease; }
.footer-links a:hover { color: var(--mint); }
.footer-copy { font-size: 13px; }
