:root {
  --navy: #112a46;
  --navy-2: #193b60;
  --ink: #172231;
  --muted: #5e6c7c;
  --paper: #ffffff;
  --cloud: #f3f7fa;
  --line: #dce5ec;
  --aqua: #087f8c;
  --aqua-soft: #e8f6f7;
  --alert: #c53d35;
  --alert-soft: #fff0ee;
  --amber: #9a6400;
  --amber-soft: #fff7dc;
  --shadow: 0 14px 40px rgba(17, 42, 70, .10);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--aqua); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  border-radius: 10px;
  color: white;
  background: var(--navy);
}
.skip-link:focus { transform: none; }

.emergency-strip {
  color: #fff;
  background: var(--alert);
  font-size: .94rem;
}
.emergency-strip .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  text-align: center;
}
.emergency-strip a { color: #fff; font-weight: 800; }

.inner { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(220, 229, 236, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}
.header-row {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .05rem;
  color: var(--navy);
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-right: .55rem;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--navy);
  font-size: .8rem;
  letter-spacing: -.07em;
}
.brand-divider { color: var(--alert); padding-inline: .1rem; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--aqua); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: var(--aqua);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8, 127, 140, .2);
}
.button:visited { color: #fff; }
.button:hover,
.button:focus-visible,
.button:active { color: #fff; background: #056e79; }
.button:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}
.nav .button,
.nav .button:visited,
.nav .button[aria-current="page"] {
  color: #fff;
  background: var(--aqua);
}
.nav .button:hover,
.nav .button:focus-visible,
.nav .button:active,
.nav .button[aria-current="page"]:hover,
.nav .button[aria-current="page"]:focus-visible {
  color: #fff;
  background: #056e79;
}
.button.secondary { color: var(--navy); border-color: var(--line); background: #fff; box-shadow: none; }
.button.secondary:visited { color: var(--navy); }
.button.secondary:hover { border-color: var(--navy); }
.button.disabled { color: #6b7280; border-color: var(--line); background: #eef2f5; box-shadow: none; cursor: default; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(8,127,140,.12), transparent 30%),
    linear-gradient(135deg, #f8fbfd 0%, #eef7f8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -250px;
  border: 60px solid rgba(239, 99, 87, .09);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: var(--aqua);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 4px; background: var(--alert); }
h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -.035em; }
h1 { max-width: 820px; margin: 0 0 1.2rem; font-size: clamp(2.35rem, 5.8vw, 4.65rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.5vw, 2.65rem); }
h3 { margin: 0 0 .55rem; font-size: 1.23rem; }
.lede { max-width: 720px; margin: 0 0 1.6rem; color: #425468; font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.trust-line span::before { content: "✓"; margin-right: .38rem; color: var(--aqua); font-weight: 900; }

.quick-panel {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.quick-panel h2 { font-size: 1.32rem; }
.quick-panel ul { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.quick-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .68rem .8rem;
  border-radius: 10px;
  color: var(--navy);
  background: var(--cloud);
  font-weight: 750;
  text-decoration: none;
}
.quick-panel a:hover { background: var(--aqua-soft); }
.quick-panel a::after { content: "→"; color: var(--aqua); }

.section { padding: 76px 0; }
.section.tint { background: var(--cloud); }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 1rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: #a9c9ce; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card .more { display: inline-block; margin-top: .9rem; color: var(--aqua); font-size: .9rem; font-weight: 850; }
.number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}
.pill {
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  color: var(--amber);
  background: var(--amber-soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.service-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  color: #fff;
  background: var(--navy);
}
.service-box h2, .service-box p { color: #fff; }
.service-box h2 { margin-bottom: .6rem; }
.service-box p { max-width: 720px; margin: 0; color: #dbe8f3; }

.article-hero { padding: 54px 0 44px; background: linear-gradient(135deg, var(--cloud), #eaf5f6); }
.assessment-hero { padding: 54px 0 44px; background: linear-gradient(135deg, var(--cloud), #eaf5f6); }
.assessment-hero h1 { max-width: 920px; font-size: clamp(2.2rem, 5vw, 3.9rem); }
.assessment-hero .lede { max-width: 850px; }
.assessment-section { padding-top: 48px; }
.assessment-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(250px, 1fr); gap: 48px; align-items: start; }
.assessment-tool { min-width: 0; }
.assessment-tool dental-triage { display: block; }
.assessment-disclaimer { margin-bottom: 1rem; padding: 1.15rem 1.25rem; border: 1px solid #e0b84f; border-left: 5px solid #c77a00; border-radius: 12px; background: #fff9e9; color: #4c3c19; }
.assessment-disclaimer strong { display: block; margin-bottom: .45rem; color: #6b4100; font-size: 1rem; }
.assessment-disclaimer p { margin: 0; font-size: .92rem; line-height: 1.55; }
.assessment-disclaimer p + p { margin-top: .65rem; }
.assessment-disclaimer a { color: #6b4100; font-weight: 850; }
.assessment-guide { position: sticky; top: 104px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(15, 39, 64, .08); }
.assessment-guide h2 { margin-top: .35rem; font-size: 1.35rem; }
.assessment-guide p, .assessment-guide li { color: var(--muted); font-size: .94rem; }
.assessment-guide ul { padding-left: 1.15rem; }
.assessment-content { max-width: 1060px; }
.assessment-content > section:not(.faq) { max-width: 850px; }
.assessment-content > section:has(.assessment-levels) { max-width: none; }
.assessment-levels .card:hover { transform: none; border-color: var(--line); box-shadow: none; }
.assessment-links { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 1.25rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs a { color: var(--muted); }
.article-hero h1 { max-width: 850px; font-size: clamp(2.2rem, 5vw, 3.9rem); }
.article-shell { display: grid; grid-template-columns: minmax(0, 760px) minmax(230px, 1fr); gap: 64px; align-items: start; }
.article-body h2 { margin-top: 2.5rem; font-size: 1.75rem; }
.article-body h3 { margin-top: 1.7rem; }
.article-body p, .article-body li { color: #344557; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li + li { margin-top: .5rem; }
.article-body strong { color: var(--ink); }
.callout {
  margin: 1.5rem 0;
  padding: 1.15rem 1.2rem;
  border-left: 5px solid var(--aqua);
  border-radius: 6px 14px 14px 6px;
  background: var(--aqua-soft);
}
.callout.danger { border-color: var(--alert); background: var(--alert-soft); }
.callout.warning { border-color: #d49213; background: var(--amber-soft); }
.callout p:last-child { margin-bottom: 0; }
.sidebar { position: sticky; top: 104px; }
.sidebar-box { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sidebar-box + .sidebar-box { margin-top: 1rem; }
.sidebar-box h2 { font-size: 1.05rem; }
.sidebar-box ul { margin: .75rem 0 0; padding-left: 1.1rem; font-size: .9rem; }
.review-note { margin: 2.2rem 0; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-note p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }

.faq { margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1rem 2rem 1rem 0; color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -1.5rem; color: var(--aqua); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0; padding-right: 1rem; }
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .88rem; }

.directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 0; list-style: none; }
.directory-list a { display: block; height: 100%; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); font-weight: 750; text-decoration: none; }

.site-footer { padding: 50px 0 26px; color: #d9e5ef; background: #0b2036; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer p { max-width: 420px; color: #aebdca; font-size: .9rem; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; }
.site-footer ul { margin: .7rem 0 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .35rem; }
.site-footer a { color: #c9d9e6; font-size: .9rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: #8da0b2; font-size: .82rem; }

@media (max-width: 900px) {
  .hero-grid, .article-shell, .assessment-grid { grid-template-columns: 1fr; }
  .quick-panel { max-width: 650px; }
  .sidebar, .assessment-guide { position: static; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three, .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .emergency-strip .inner { padding-block: .45rem; }
  .header-row { min-height: 66px; }
  .menu-button { display: inline-grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: .6rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav[data-open] { display: flex; }
  .nav a { padding: .8rem; }
  .nav .button { margin-top: .4rem; }
  .hero { padding: 50px 0 44px; }
  .assessment-hero { padding: 42px 0 34px; }
  .hero-grid { gap: 30px; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .section { padding: 56px 0; }
  .grid.three, .grid.four, .footer-grid, .directory-list { grid-template-columns: 1fr; }
  .service-box { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .emergency-strip, .sidebar, .assessment-guide, .site-footer, .actions { display: none !important; }
  .article-shell { display: block; }
  body { color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: none; }
}
