:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #ccfbf1;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --background: #f6f8fb;
  --warning-bg: #fff7ed;
  --warning-line: #fdba74;
  --warning-ink: #9a3412;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  width: 90%;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  align-items: center;
  display: flex;
  height: 76px;
  justify-content: space-between;
}

.logo {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  width: 150px;
}

.site-nav {
  align-items: center;
  display: flex;
  font-size: 15px;
  gap: 24px;
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
}

.nav-cta:hover {
  background: var(--brand-dark);
  color: #fff !important;
}

.article-hero {
  background: linear-gradient(135deg, #dff7f4, #ffffff 70%);
  border-bottom: 1px solid #d1fae5;
  padding: 50px 0 54px;
}

.breadcrumbs {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.article-tag {
  background: var(--brand-soft);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 15px;
  padding: 6px 11px;
  text-transform: uppercase;
}

h1 {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 18px;
  max-width: 900px;
}

.article-deck {
  color: #4b5563;
  font-size: 20px;
  line-height: 1.55;
  max-width: 820px;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 18px;
  margin-top: 22px;
}

.article-main {
  padding: 48px 0 70px;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 290px;
}

.article-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 52px);
}

.article-content .lead {
  color: #1f2937;
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.article-content h2 {
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 42px 0 15px;
  scroll-margin-top: 96px;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
  margin: 26px 0 10px;
}

.article-content p + p {
  margin-top: 14px;
}

.article-content ul,
.article-content ol {
  margin: 14px 0 0 22px;
}

.article-content li + li {
  margin-top: 8px;
}

.info-box,
.alert-box {
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  margin: 28px 0;
  padding: 20px 22px;
}

.info-box {
  background: #ecfdf5;
}

.alert-box {
  background: var(--warning-bg);
  border-left-color: var(--warning-line);
}

.info-box strong,
.alert-box strong {
  color: var(--ink);
  display: block;
  margin-bottom: 5px;
}

.alert-box strong {
  color: var(--warning-ink);
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.sidebar-card + .sidebar-card {
  margin-top: 18px;
}

.sidebar-card h2 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 13px;
}

.toc {
  list-style: none;
}

.toc li + li {
  border-top: 1px solid #f1f5f9;
  margin-top: 10px;
  padding-top: 10px;
}

.toc a {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.toc a:hover {
  color: var(--brand);
}

.sidebar-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-cta {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: 18px;
  color: #fff;
  margin-top: 42px;
  padding: 28px;
}

.article-cta h2 {
  color: #fff;
  font-size: 24px;
  margin: 0 0 8px;
}

.article-cta p {
  color: #d5fffa;
  margin-bottom: 18px;
}

.cta-button {
  background: #fff;
  border-radius: 10px;
  color: var(--brand-dark);
  display: inline-block;
  font-weight: 800;
  padding: 12px 18px;
}

.sources {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 26px;
}

.sources h2 {
  font-size: 21px;
  margin: 0 0 12px;
}

.sources ol {
  font-size: 14px;
  line-height: 1.55;
  margin-top: 0;
}

.sources a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.medical-note {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 28px;
  padding: 16px;
}

.back-link {
  color: var(--brand);
  display: inline-block;
  font-weight: 800;
  margin-top: 28px;
}

.site-footer {
  background: var(--ink);
  color: #d1d5db;
  padding: 36px 0;
  text-align: center;
}

.site-footer p + p {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 6px;
}

@media (max-width: 920px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .article-hero {
    padding: 34px 0 38px;
  }

  .article-deck,
  .article-content .lead {
    font-size: 18px;
  }

  .article-main {
    padding: 28px 0 50px;
  }

  .article-content {
    border-radius: 16px;
    padding: 24px 20px;
  }

  .article-content h2 {
    font-size: 24px;
  }

  .article-meta {
    gap: 8px 16px;
  }

  .logo-image {
    width: 132px;
  }
}
