@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Inter", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --container: 1200px;
  --reading: 820px;
  --header-height: 72px;
  --radius: 6px;
  --line: #dfe4eb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--header);
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  color: var(--white);
  background: var(--header);
  border-bottom: 1px solid rgb(255 255 255 / 16%);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.7fr) auto;
  gap: 24px;
  align-items: center;
}

.brand {
  min-width: 0;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-domain {
  overflow-wrap: anywhere;
}

.primary-nav {
  justify-self: end;
}

.nav-list,
.nav-group-list,
.footer-links,
.breadcrumb-list,
.related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-group {
  position: relative;
}

.nav-group > button,
.nav-direct {
  min-height: 44px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  color: rgb(255 255 255 / 82%);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}

.nav-group > button:hover,
.nav-group > button:focus-visible,
.nav-direct:hover,
.nav-direct:focus-visible {
  color: var(--white);
  background: rgb(255 255 255 / 10%);
  outline: none;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-group-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  display: none;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgb(22 28 42 / 18%);
}

.nav-group[data-open="true"] .nav-group-list {
  display: block;
}

.nav-group-list a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 4px;
  text-decoration: none;
}

.nav-group-list a:hover,
.nav-group-list a:focus-visible {
  color: var(--header);
  background: var(--surface);
  outline: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: var(--radius);
  cursor: pointer;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  color: var(--header);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--header);
  background: var(--white);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--hero);
  border-bottom: 5px solid var(--accent);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.44;
  pointer-events: none;
}

.hero-diagram {
  position: absolute;
  inset: 58px 4% 58px auto;
  width: min(46%, 620px);
  border: 1px solid rgb(255 255 255 / 20%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-diagram::before,
.hero-diagram::after {
  position: absolute;
  content: "";
  background: rgb(255 255 255 / 22%);
}

.hero-diagram::before {
  top: 50%;
  right: 10%;
  left: 10%;
  height: 1px;
}

.hero-diagram::after {
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
}

.hero-node {
  position: absolute;
  z-index: 1;
  width: 112px;
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--hero);
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: var(--radius);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.hero-node-1 {
  top: 18%;
  left: 12%;
}

.hero-node-2 {
  top: 18%;
  right: 12%;
}

.hero-node-3 {
  right: 12%;
  bottom: 18%;
}

.hero-node-4 {
  bottom: 18%;
  left: 12%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(0 0 0 / 28%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, 74%);
  padding-block: 76px 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: 20px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  color: rgb(255 255 255 / 75%);
  font-size: 14px;
}

.hero-meta span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.breadcrumb-list {
  min-height: 46px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.breadcrumb-list li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  color: #9aa5b4;
}

.breadcrumb-list a {
  color: var(--muted);
  text-decoration: none;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr);
  gap: 64px;
  align-items: start;
  padding-block: 54px 80px;
}

.article {
  min-width: 0;
}

.article > :first-child {
  margin-top: 0;
}

.article h2,
.article h3,
.article h4 {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.article h2 {
  margin: 56px 0 18px;
  font-size: 34px;
  line-height: 1.25;
}

.article h3 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.article p,
.article li {
  color: #3e4c60;
}

.article p {
  margin: 0 0 20px;
}

.article ul,
.article ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

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

.article strong {
  color: var(--ink);
}

.article blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  color: var(--ink);
  background: var(--surface);
  border-left: 4px solid var(--accent);
}

.article blockquote p:last-child {
  margin-bottom: 0;
}

.article figure {
  margin: 30px 0;
}

.article .page-visual {
  margin: 0 0 42px;
}

.page-visual img {
  width: 100%;
  aspect-ratio: 15 / 8;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--line);
}

.article figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.article img {
  height: auto;
  border-radius: var(--radius);
}

.preserved-intro {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.wp-block-columns {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.wp-block-column {
  min-width: 0;
  flex: 1 1 0;
}

.wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.wp-block-separator {
  margin-block: 40px;
  border: 0;
  border-top: 1px solid var(--line);
}

.table-wrap,
.wp-block-table {
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
}

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

th {
  color: var(--ink);
  background: var(--surface);
  font-weight: 600;
}

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

.quick-answer {
  margin-bottom: 42px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}

.quick-answer h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.quick-answer p:last-child {
  margin-bottom: 0;
}

.decision-grid,
.child-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 34px;
}

.decision-item,
.child-card,
.provider-card {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.decision-item h3,
.child-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.decision-item p,
.child-card p {
  margin: 0;
  font-size: 15px;
}

.child-card a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  min-height: 32px;
  padding: 3px 0 3px 34px;
}

.checklist li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  content: "✓";
  color: var(--header);
  background: var(--accent);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.warning-list li::before {
  content: "!";
  color: var(--white);
  background: var(--secondary);
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 40px 18px 0;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 4px;
  content: "+";
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding-right: 30px;
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 22px;
}

.aside-section {
  padding-left: 20px;
  border-left: 2px solid var(--line);
}

.aside-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.aside-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-section li + li {
  margin-top: 9px;
}

.aside-section a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.aside-section a:hover {
  color: var(--primary);
}

.boundary-note {
  padding: 18px 20px;
  color: #4f475f;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

.author-band,
.cta-band {
  border-top: 1px solid var(--line);
}

.author-band {
  background: var(--surface);
}

.author-inner {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-block: 32px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.author-copy h2 {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
}

.author-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.cta-band {
  color: var(--white);
  background: var(--header);
}

.cta-inner {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-block: 38px;
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  line-height: 1.25;
}

.cta-copy p {
  max-width: 720px;
  margin: 0;
  color: rgb(255 255 255 / 76%);
}

.button {
  min-height: 46px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: var(--header);
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: var(--header);
  background: var(--white);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-footer {
  color: rgb(255 255 255 / 68%);
  background: #101623;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-block: 54px 40px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
}

.footer-grid p,
.footer-links a {
  font-size: 14px;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: rgb(255 255 255 / 68%);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 13px;
}

.not-found {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 40px 0;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 56px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: none;
    padding: 20px;
    overflow-y: auto;
    background: var(--header);
  }

  .primary-nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    width: min(100%, 620px);
    display: grid;
    gap: 8px;
    margin-inline: auto;
  }

  .nav-group > button,
  .nav-direct {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
  }

  .nav-group-list {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }

  .article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .article-aside {
    position: static;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aside-section:first-child {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: var(--header-height);
    gap: 10px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-cta {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .header-cta span {
    display: none;
  }

  .hero {
    min-height: 500px;
    align-items: flex-end;
  }

  .hero-art {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 64% center;
    opacity: 0.3;
  }

  .hero-diagram {
    inset: 36px 14px auto auto;
    width: calc(100% - 28px);
    height: 42%;
    opacity: 0.28;
  }

  .hero-inner {
    width: 100%;
    padding-block: 92px 48px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-summary {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-meta {
    margin-top: 20px;
  }

  .article-shell {
    padding-block: 36px 58px;
  }

  .article h2 {
    margin-top: 44px;
    font-size: 28px;
  }

  .article h3 {
    font-size: 21px;
  }

  .decision-grid,
  .child-grid,
  .article-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .wp-block-columns {
    flex-direction: column;
  }

  .author-inner {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .author-avatar {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }

  .author-inner > .text-link {
    grid-column: 1 / -1;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-copy h2 {
    font-size: 27px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
