/* Harborwell Health — sample brand site
   Synthetic demo for Altiv.AI play testing (SEO-C13 E-E-A-T, Page B).
   A responsible YMYL health page: named author, medical reviewer, sources,
   emergency guidance, editorial + corrections policy. One DELIBERATE
   maintenance defect: the visible review date is newer than dateModified
   in the Article JSON-LD. Everything else broadly matches. */

:root {
  --hw-teal:      #0E7C7B;
  --hw-teal-dark: #0A5C5B;
  --hw-teal-pale: #E3F3F2;
  --hw-ink:       #16232B;
  --hw-slate:     #45555F;
  --hw-slate-lt:  #7A8A94;
  --hw-mist:      #DCE6E9;
  --hw-paper:     #F5F9F9;
  --hw-white:     #FFFFFF;
  --hw-amber:     #B45309;
  --hw-amber-pale:#FEF3E2;
  --hw-amber-brd: #F0C489;

  --hw-font:         "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hw-font-display: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--hw-font);
  color: var(--hw-ink);
  background: var(--hw-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hw-teal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--hw-teal-dark); }

.hw-container { max-width: 940px; margin: 0 auto; padding: 0 22px; }
.hw-narrow { max-width: 720px; margin: 0 auto; padding: 0 22px; }

/* ── Header ── */
.hw-header { background: var(--hw-white); border-bottom: 1px solid var(--hw-mist); padding: 16px 0; }
.hw-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.hw-brand { font-family: var(--hw-font-display); font-size: 22px; font-weight: 700; color: var(--hw-teal-dark); text-decoration: none; }
.hw-brand:hover { text-decoration: none; }
.hw-brand-mark {
  display: inline-block; background: var(--hw-teal); color: white;
  width: 30px; height: 30px; border-radius: 8px; text-align: center;
  font-weight: 700; margin-right: 9px; line-height: 30px; font-size: 16px;
  font-family: var(--hw-font);
}
.hw-nav { display: flex; gap: 22px; }
.hw-nav a { color: var(--hw-slate); font-weight: 500; font-size: 14px; text-decoration: none; }
.hw-nav a:hover { color: var(--hw-teal); }

/* ── Article header ── */
.hw-article-header { background: var(--hw-paper); border-bottom: 1px solid var(--hw-mist); padding: 40px 0 34px; }
.hw-cat { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 700; color: var(--hw-teal); margin-bottom: 12px; }
.hw-title { font-family: var(--hw-font-display); font-size: 40px; font-weight: 700; line-height: 1.15; color: var(--hw-ink); margin-bottom: 18px; }
.hw-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--hw-slate); }
.hw-byline-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--hw-teal); color: white; font-weight: 700; font-size: 13px;
}
.hw-byline a { color: var(--hw-teal-dark); font-weight: 600; }
.hw-review-line {
  margin-top: 14px; font-size: 14px; color: var(--hw-slate);
  background: var(--hw-teal-pale); border-radius: 8px; padding: 10px 14px; display: inline-block;
}
.hw-review-line a { font-weight: 600; }

/* ── Body ── */
.hw-article { padding: 40px 0 52px; }
.hw-article h2 { font-family: var(--hw-font-display); font-size: 27px; font-weight: 700; color: var(--hw-ink); margin: 32px 0 12px; }
.hw-article h3 { font-size: 19px; font-weight: 700; color: var(--hw-teal-dark); margin: 22px 0 8px; }
.hw-article p { font-size: 17px; color: var(--hw-slate); margin-bottom: 16px; }
.hw-article ul, .hw-article ol { margin: 0 0 18px 22px; }
.hw-article li { font-size: 17px; color: var(--hw-slate); margin-bottom: 8px; }
.hw-lede { font-size: 19px; color: var(--hw-ink); margin-bottom: 22px; }

/* emergency warning */
.hw-warning {
  border: 1px solid var(--hw-amber-brd);
  background: var(--hw-amber-pale);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 26px 0;
}
.hw-warning h3 { color: var(--hw-amber); margin: 0 0 8px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.hw-warning p { color: #7c4a12; margin-bottom: 0; font-size: 16px; }

/* training illustration */
.hw-illustration {
  background: var(--hw-paper);
  border: 1px solid var(--hw-mist);
  border-radius: 10px;
  padding: 20px;
  margin: 28px 0;
  text-align: center;
}
.hw-illustration svg { max-width: 100%; height: auto; }
.hw-illustration figcaption { font-size: 13px; color: var(--hw-slate-lt); margin-top: 12px; font-style: italic; }
.hw-asset-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--hw-teal-dark); background: var(--hw-teal-pale);
  border-radius: 4px; padding: 3px 8px; margin-bottom: 10px;
}

/* review meta band */
.hw-review-meta {
  border-top: 1px solid var(--hw-mist); border-bottom: 1px solid var(--hw-mist);
  padding: 18px 0; margin: 34px 0; font-size: 14px; color: var(--hw-slate);
}
.hw-review-meta strong { color: var(--hw-ink); }

/* sources */
.hw-sources { background: var(--hw-paper); border-radius: 10px; padding: 22px 26px; margin: 30px 0; }
.hw-sources h3 { font-size: 17px; color: var(--hw-ink); margin-bottom: 12px; }
.hw-sources ol { margin: 0 0 0 20px; }
.hw-sources li { font-size: 15px; color: var(--hw-slate); margin-bottom: 8px; }

/* policy links row */
.hw-policy-row { display: flex; gap: 18px; flex-wrap: wrap; margin: 24px 0 0; font-size: 14px; }

/* generic content + profile pages */
.hw-page { padding: 44px 0 52px; }
.hw-page h1 { font-family: var(--hw-font-display); font-size: 36px; color: var(--hw-ink); margin-bottom: 18px; }
.hw-page h2 { font-family: var(--hw-font-display); font-size: 24px; color: var(--hw-ink); margin: 28px 0 12px; }
.hw-page p { font-size: 17px; color: var(--hw-slate); margin-bottom: 16px; }
.hw-page ul { margin: 0 0 18px 22px; }
.hw-page li { font-size: 17px; color: var(--hw-slate); margin-bottom: 8px; }

/* profile hero */
.hw-profile-hero { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.hw-profile-photo {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--hw-teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; flex-shrink: 0;
}
.hw-profile-name { font-family: var(--hw-font-display); font-size: 30px; color: var(--hw-ink); }
.hw-profile-role { font-size: 16px; color: var(--hw-teal-dark); font-weight: 600; }
.hw-profile-links { margin-top: 6px; font-size: 14px; }
.hw-fiction-tag {
  display: inline-block; font-size: 12px; color: var(--hw-slate);
  background: var(--hw-paper); border: 1px solid var(--hw-mist);
  border-radius: 6px; padding: 6px 12px; margin: 14px 0;
}

/* ── Footer ── */
.hw-footer { background: var(--hw-ink); color: var(--hw-slate-lt); padding: 34px 0; font-size: 13px; }
.hw-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hw-footer a { color: #A7C9C8; }
.hw-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.hw-disclosure { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; line-height: 1.7; }

@media (max-width: 720px) {
  .hw-title { font-size: 30px; }
  .hw-nav { display: none; }
  .hw-footer-inner { flex-direction: column; }
}
