:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --ink: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --teal: #0f766e;
  --teal-2: #168c7e;
  --teal-dark: #115e59;
  --shadow: 0 12px 30px rgb(17 24 39 / 7%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(15 118 110 / 28%);
  border-radius: 8px;
  background: #ecfdf9;
  color: var(--teal);
  font-weight: 800;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--teal);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  gap: 4px;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  display: grid;
  width: min(300px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 650;
}

.mobile-menu nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-tight {
  padding: 24px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100svh - 128px);
  padding-top: 56px;
  padding-bottom: 42px;
}

.hero h1,
.article-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.article-hero p {
  max-width: 710px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: var(--border);
  background: #ffffff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: rgb(15 118 110 / 32%);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.hero-panel li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.hero-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-label {
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.notice {
  border: 1px solid rgb(15 118 110 / 20%);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  background: #f3fbf9;
  padding: 16px 18px;
  color: #24504b;
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
}

.prose-lite p,
.article-body p,
.site-footer p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-height: 190px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topic-card:hover {
  border-color: rgb(15 118 110 / 30%);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.topic-card span {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.topic-card p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.topic-card b {
  color: var(--teal);
  font-size: 14px;
}

.safety-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 12px;
  background: var(--soft);
  padding: 34px;
}

.safety-panel p {
  max-width: 780px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
}

tbody th {
  width: 22%;
}

td {
  color: var(--muted);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.after-table {
  margin-top: 18px;
}

.faq-section {
  border-top: 1px solid var(--border);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  margin-top: 34px;
  background: var(--soft);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 34px;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 4px 0;
  font-size: 13px;
}

.article-hero,
.article-body {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
}

.article-hero {
  padding: 44px 0 28px;
}

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

.breadcrumbs a {
  color: var(--teal);
  font-weight: 700;
}

.article-body {
  padding: 20px 0 76px;
}

.article-section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.article-section ul {
  padding-left: 22px;
  color: var(--muted);
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.article-disclaimer {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero,
  .split,
  .safety-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

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

  .safety-panel .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section,
  .article-hero,
  .article-body,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .section {
    padding: 50px 0;
  }

  .section-tight {
    padding: 18px 0;
  }

  .hero h1,
  .article-hero h1 {
    font-size: 34px;
  }

  .hero p,
  .article-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .article-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .safety-panel,
  .topic-card {
    padding: 20px;
  }

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