:root {
  --ink: #14213d;
  --muted: #667085;
  --line: #d9e2ec;
  --soft: #f5f8fb;
  --brand: #0f766e;
  --brand-2: #2563eb;
  --accent: #f59e0b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f3f6f9;
  line-height: 1.6;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-weight: 800;
  color: var(--brand);
  font-size: 20px;
}

.site-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 650;
}

main {
  padding: 40px 18px 72px;
}

.page {
  width: min(920px, 100%);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.08);
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badges span {
  border: 1px solid #b8d6d2;
  background: #ecfdf8;
  color: #0f5f58;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.lead {
  color: #344054;
  font-size: 19px;
  max-width: 760px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  margin: 32px 0;
  border: 1px solid #a7d7d2;
  background: linear-gradient(90deg, #f0fdfa, #eff6ff);
  border-radius: 8px;
}

.cta-panel p {
  margin: 5px 0 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--brand);
  font-weight: 800;
  white-space: nowrap;
}

.button:hover {
  color: #ffffff;
  text-decoration: none;
  background: #0b5f59;
}

.content-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}

.category-grid {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  display: block;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.category-card:hover {
  border-color: #8bc9c3;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.08);
}

.category-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 18px;
}

.category-card span {
  display: block;
  color: #475467;
  font-size: 14px;
}

.section-kicker {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 4px;
}

h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.2;
}

.content-section p {
  margin: 0 0 12px;
}

.faq,
.sources,
.related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 10px 0;
  background: var(--soft);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.sources ul,
.related ul {
  padding-left: 20px;
}

.related li {
  margin-bottom: 8px;
}

.related small {
  display: block;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 24px 32px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}

.footer-grid h2 {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--ink);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin: 0 0 8px;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .category-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
