:root {
  --ink: #162a29;
  --ink-soft: #536563;
  --teal: #087f74;
  --teal-dark: #075e57;
  --teal-pale: #e7f5f1;
  --cream: #f8f6f0;
  --line: #d9e1de;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #e38c35;
  outline-offset: 4px;
}

.site-header,
.hero,
.section,
footer {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { display: block; object-fit: contain; }

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
}

.site-header nav { justify-content: flex-end; }
.site-header nav a { white-space: nowrap; }

.site-header nav a,
footer nav a { text-underline-offset: 4px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-pale);
}

.hero {
  min-height: 680px;
  padding: 96px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 { max-width: 760px; font-size: clamp(3.7rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.8rem, 5vw, 5rem); }

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 660px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.lead strong { color: var(--ink); }

.actions,
.share-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button-secondary:hover { border-color: var(--teal); }
.button-quiet { color: var(--teal-dark); background: var(--teal-pale); }
.button-light { color: var(--teal-dark); background: var(--white); }

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.trust-note span { color: var(--teal); font-weight: 900; }

.route-card {
  padding: clamp(30px, 5vw, 52px);
  background: var(--cream);
  border: 1px solid #e9e4d8;
}

.route-label {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.domain {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.wrong-domain { color: #785e58; }
.domain-dot { width: 12px; height: 12px; border: 2px solid #b59c95; border-radius: 50%; }

.route-line { height: 76px; margin-left: 6px; display: flex; align-items: center; }
.route-line span { width: 1px; height: 58px; background: var(--line); position: relative; }
.route-line span::after { content: ""; position: absolute; bottom: -1px; left: -3px; width: 7px; height: 7px; border-right: 1px solid var(--teal); border-bottom: 1px solid var(--teal); transform: rotate(45deg); }

.correct-domain { color: var(--teal-dark); text-decoration: none; }
.correct-domain:hover { text-decoration: underline; text-underline-offset: 6px; }
.check { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--teal); font-family: var(--sans); font-size: 0.8rem; }

.route-explainer {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.section { padding-block: 124px; }

.section-compact { padding-block: 86px; }

.guide-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  background: var(--teal-pale);
}

.guide-card > span:first-child {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.guide-card h3 {
  max-width: 280px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.guide-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.guide-card .card-link { color: var(--teal-dark); font-size: 0.86rem; font-weight: 780; }

.explainer {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - var(--content)) / 2));
  background: var(--cream);
}

.explainer-grid {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(54px, 8vw, 110px);
}

.explainer-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.08rem; }

.feature-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfc9bd;
}

.feature-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-bottom: 1px solid #dcd6ca;
}

.feature-list li > span { color: var(--teal); font-weight: 850; }
.feature-list strong { display: block; margin-bottom: 3px; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.access-panel { padding: 38px; background: var(--white); border: 1px solid #e2ddd3; }
.access-panel h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.access-panel > p { color: var(--ink-soft); }
.access-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.access-item { padding: 18px; border: 1px solid var(--line); }
.access-item strong { display: block; font-size: 0.92rem; }
.access-item span { color: var(--ink-soft); font-size: 0.76rem; }
.access-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.82rem; }

.analysis { border-top: 1px solid var(--line); }
.section-intro { max-width: 850px; }
.section-intro > p:last-child { max-width: 730px; margin: 30px 0 0; color: var(--ink-soft); font-size: 1.12rem; }

.metrics {
  margin: 78px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.metrics div { padding: 30px 26px 34px 0; }
.metrics div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.metrics dt { color: var(--ink-soft); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.metrics dd { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.04em; }
.source-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 0.76rem; }

.findings { margin-top: 72px; border-top: 1px solid var(--line); }
.findings article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.finding-number { color: var(--teal); font-family: var(--serif); font-size: 1.25rem; }
.findings p { max-width: 760px; margin: 0; color: var(--ink-soft); }

blockquote {
  max-width: 900px;
  margin: 100px 0;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.6vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.contextter-note {
  padding: 38px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: var(--teal-pale);
  border-left: 4px solid var(--teal);
}

.contextter-note p:not(.eyebrow) { max-width: 650px; margin: 8px 0 0; color: var(--ink-soft); }
.text-link { flex: 0 0 auto; color: var(--teal-dark); font-weight: 760; text-underline-offset: 5px; }

.method {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100% - var(--content)) / 2));
  background: var(--cream);
}

.method .section-intro { width: min(100%, var(--content)); }
.method-list { max-width: var(--content); margin: 70px auto 0; padding: 0; list-style: none; border-top: 1px solid #cfc9bd; }
.method-list li { display: grid; grid-template-columns: 86px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid #dcd6ca; }
.method-list li > span { color: var(--teal); font-family: var(--serif); font-size: 1.25rem; }
.method-list p { max-width: 760px; margin: 0; color: var(--ink-soft); }

.share-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr); gap: clamp(50px, 8vw, 110px); }
.faq-intro { align-self: start; position: sticky; top: 28px; }
.faq-intro p:not(.eyebrow) { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 25px 44px 25px 0;
  position: relative;
  list-style: none;
  font-weight: 760;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 22px; color: var(--teal); font-size: 1.35rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -4px 44px 25px 0; color: var(--ink-soft); }

.source-strip { padding: 32px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; border-top: 1px solid var(--line); }
.source-strip p { max-width: 760px; margin: 0; color: var(--ink-soft); font-size: 0.86rem; }
.source-strip a { flex: 0 0 auto; color: var(--teal-dark); font-weight: 750; text-underline-offset: 5px; }

.share-section h2 { max-width: 760px; }
.share-section > div:first-child > p:last-child { max-width: 700px; color: var(--ink-soft); }
.share-actions { justify-content: flex-end; margin: 0; }
.copy-status { grid-column: 2; min-height: 1.5em; margin: 0; color: var(--teal-dark); font-size: 0.82rem; text-align: right; }

.final-cta {
  padding: 100px max(24px, calc((100% - var(--content)) / 2));
  color: var(--white);
  background: var(--teal-dark);
}

.final-cta .eyebrow { color: #a9e1d6; }
.final-cta h2 { max-width: 820px; }
.final-cta p:not(.eyebrow) { margin: 24px 0 32px; color: #cee4df; }

footer {
  min-height: 230px;
  padding-block: 56px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand > p { max-width: 520px; margin: 18px 0 0; color: var(--ink-soft); font-size: 0.82rem; }
footer nav { align-items: flex-start; flex-wrap: wrap; }

.legal-page main { width: min(calc(100% - 48px), 820px); margin: 0 auto; padding: 86px 0 120px; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.legal-page h2 { margin-top: 54px; font-family: var(--sans); font-size: 1.35rem; font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page address { margin-top: 32px; font-style: normal; }
.legal-page .back-link { display: inline-block; margin-top: 50px; color: var(--teal-dark); font-weight: 750; text-underline-offset: 5px; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--cream); }
.error-card { max-width: 720px; text-align: center; }
.error-card h1 { font-size: clamp(5rem, 16vw, 10rem); color: var(--teal); }
.error-card h2 { margin-top: 24px; font-size: clamp(2rem, 5vw, 3.5rem); }
.error-card p { color: var(--ink-soft); }

.article-page .site-header { width: min(calc(100% - 48px), var(--content)); }
.article-page footer { width: min(calc(100% - 48px), var(--content)); }

.article-hero {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs { margin: 0 0 52px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-soft); font-size: 0.78rem; }
.breadcrumbs a { text-underline-offset: 4px; }
.article-hero h1 { max-width: 1000px; font-size: clamp(3.5rem, 7.6vw, 7rem); }
.article-hero .lead { max-width: 820px; }
.article-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: 0.78rem; }
.article-disclaimer { max-width: 820px; margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--teal); background: var(--teal-pale); color: var(--ink-soft); font-size: 0.84rem; }

.article-shell {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 82px 0 120px;
  display: grid;
  grid-template-columns: 250px minmax(0, 790px);
  justify-content: space-between;
  gap: clamp(50px, 8vw, 110px);
}

.toc { align-self: start; position: sticky; top: 28px; }
.toc > p { margin: 0 0 16px; color: var(--teal-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 11px 0; color: var(--ink-soft); font-size: 0.82rem; text-decoration: none; }
.toc a:hover { color: var(--teal-dark); }

.article-content { min-width: 0; }
.article-content > p:first-child { margin-top: 0; color: var(--ink); font-size: 1.25rem; line-height: 1.55; }
.article-content h2 { margin: 82px 0 24px; font-size: clamp(2.3rem, 4.5vw, 4rem); scroll-margin-top: 28px; }
.article-content h3 { margin-top: 38px; }
.article-content p, .article-content li { color: var(--ink-soft); }
.article-content strong { color: var(--ink); }
.article-content a { color: var(--teal-dark); text-underline-offset: 4px; }
.article-content ul, .article-content ol { padding-left: 1.3em; }
.article-content li + li { margin-top: 10px; }

.answer-box {
  margin: 0 0 52px;
  padding: 28px 30px;
  background: var(--cream);
  border-top: 3px solid var(--teal);
}
.answer-box p { margin: 0; color: var(--ink); font-size: 1.06rem; }

.fact-grid { margin: 34px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact-card { padding: 24px; border: 1px solid var(--line); }
.fact-card h3 { margin: 0 0 8px; font-size: 1rem; }
.fact-card p { margin: 0; font-size: 0.88rem; }

.content-table-wrap { margin: 34px 0; overflow-x: auto; border: 1px solid var(--line); }
.content-table { width: 100%; border-collapse: collapse; min-width: 650px; font-size: 0.88rem; }
.content-table th, .content-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-table th { background: var(--cream); color: var(--ink); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; }
.content-table tr:last-child td { border-bottom: 0; }

.steps { margin: 38px 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { padding: 24px 0; display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--teal); font-family: var(--serif); font-size: 1.2rem; }
.steps strong { display: block; margin-bottom: 4px; }
.steps p { margin: 0; }

.callout { margin: 36px 0; padding: 24px 26px; border-left: 4px solid var(--teal); background: var(--teal-pale); }
.callout.warning { border-left-color: #b76b35; background: #fbf1e7; }
.callout p { margin: 0; color: var(--ink); }

.code-example { margin: 28px 0; padding: 22px; overflow-x: auto; color: #d9f5ee; background: var(--ink); border-radius: 4px; font: 0.86rem/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; }

.source-list { margin-top: 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.source-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.source-list strong { display: block; }
.source-list span { display: block; margin-top: 3px; font-size: 0.78rem; }

.related-guides {
  width: 100%;
  max-width: none;
  padding: 92px max(24px, calc((100% - var(--content)) / 2));
  background: var(--cream);
}
.related-guides > div { max-width: var(--content); margin: 0 auto; }
.related-guides .guide-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .route-card { max-width: 620px; }
  .contextter-note { align-items: flex-start; flex-direction: column; }
  .share-section { grid-template-columns: 1fr; align-items: start; }
  .share-actions { justify-content: flex-start; }
  .copy-status { grid-column: 1; text-align: left; }
  footer { flex-direction: column; }
  .site-header nav a:nth-child(n+3) { display: none; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 220px; }
  .explainer-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .article-shell { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; }
  .toc li:nth-child(odd) { padding-right: 16px; }
  .related-guides .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header, .hero, .section, footer { width: min(calc(100% - 32px), var(--content)); }
  .site-header { min-height: 74px; }
  .site-header nav > a { display: none; }
  .status { font-size: 0.72rem; }
  .hero { min-height: auto; padding: 62px 0 80px; gap: 58px; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.1rem); }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .section { padding-block: 84px; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div { padding: 24px 0; }
  .metrics div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .findings article, .method-list li { grid-template-columns: 44px 1fr; gap: 14px; }
  blockquote { margin: 72px 0; }
  .contextter-note { padding: 28px 24px; }
  .method { width: 100%; padding-inline: 16px; }
  .share-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .share-actions .button { width: 100%; }
  footer nav { flex-direction: column; gap: 12px; }
  .legal-page main { width: min(calc(100% - 32px), 820px); padding-top: 62px; }
  .access-grid { grid-template-columns: 1fr; }
  .faq-list summary { padding-right: 34px; }
  .source-strip { flex-direction: column; }
  .article-page .site-header, .article-page footer, .article-hero, .article-shell { width: min(calc(100% - 32px), var(--content)); }
  .article-hero { padding-top: 46px; }
  .breadcrumbs { margin-bottom: 38px; }
  .article-shell { padding-top: 58px; }
  .toc ol { grid-template-columns: 1fr; }
  .toc li:nth-child(odd) { padding-right: 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .answer-box { padding: 24px 22px; }
  .related-guides { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/*
 * Public-service visual system
 * The information architecture remains independent. The proportions, type and
 * blue/white rhythm are deliberately close to familiar German service portals.
 */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-300.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}

:root {
  --ink: #011d33;
  --ink-soft: #365164;
  --teal: #0074b3;
  --teal-dark: #005985;
  --teal-pale: #eaf5fa;
  --cream: #f4f7f9;
  --line: #c9d5dd;
  --white: #ffffff;
  --blue: #0074b3;
  --blue-dark: #00558f;
  --blue-deep: #003f70;
  --orange: #e04b18;
  --yellow: #f7b82b;
  --serif: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --content: 1280px;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

h1,
h2 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1,
h2,
h3 { overflow-wrap: anywhere; }

h1 { font-size: clamp(2.85rem, 5vw, 4.15rem); }
h2 { font-size: clamp(2.15rem, 3.6vw, 3.2rem); }
h3 { font-weight: 600; letter-spacing: -0.012em; }

.site-header,
.hero,
.section,
footer {
  width: min(calc(100% - 48px), var(--content));
}

.site-header {
  min-height: 104px;
  padding: 20px clamp(28px, 5vw, 72px);
  color: #fff;
  background: var(--blue);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.brand {
  gap: 13px;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.brand img {
  width: 38px;
  height: 38px;
  padding: 7px;
  background: #fff;
  border-radius: 50%;
}

.brand span { display: flex; flex-direction: column; }
.brand small {
  margin-top: 6px;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.site-header nav { gap: clamp(16px, 2.2vw, 30px); }
.site-header nav a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.status {
  padding-left: 15px;
  border-left: 3px solid var(--yellow);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.status > span { display: none; }

.hero {
  position: relative;
  min-height: 646px;
  padding: 86px clamp(44px, 10vw, 144px) 96px;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: clamp(48px, 7vw, 98px);
  color: #fff;
  background: var(--blue);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 72px solid rgba(255, 255, 255, 0.085);
}

.hero::before {
  width: 420px;
  height: 780px;
  left: -245px;
  top: -130px;
  border-radius: 48%;
}

.hero::after {
  width: 440px;
  height: 440px;
  right: -110px;
  top: 78px;
  border-radius: 50% 50% 8% 8%;
}

.hero .eyebrow,
.article-hero .eyebrow,
.final-cta .eyebrow {
  color: #fff;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.095em;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 17px;
  background: currentColor;
}

.hero h1 { max-width: 690px; }
.hero .lead {
  max-width: 650px;
  margin-top: 28px;
  color: #fff;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.48;
}
.hero .lead strong { color: #fff; }

.button {
  min-height: 48px;
  padding: 12px 25px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
}
.button:hover { transform: none; }
.button-primary { color: #fff; background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.hero .button-primary { color: var(--blue-dark); background: #fff; border-color: #fff; }
.hero .button-primary:hover { color: var(--blue-deep); background: #eef7fb; }
.hero .button-secondary { color: #fff; background: transparent; border-color: #fff; }
.hero .button-secondary:hover { color: var(--blue-deep); background: #fff; }

.trust-note { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.trust-note span { color: var(--yellow); }

.route-card {
  position: relative;
  padding: 36px 38px 38px;
  color: #fff;
  background: var(--blue-dark);
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.route-label { color: #dcedf6; }
.domain { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.wrong-domain { color: #d6e8f2; }
.domain-dot { border-color: var(--yellow); }
.route-line span { background: rgba(255, 255, 255, 0.5); }
.route-line span::after { border-color: #fff; }
.correct-domain { color: #fff; }
.check { color: var(--blue-dark); background: #fff; }
.route-explainer { color: #d6e8f2; border-color: rgba(255, 255, 255, 0.3); }

.section { padding-block: 96px; }
.section-compact { padding-block: 82px; }
.section-intro { max-width: 900px; }
.section-intro > p:last-child { margin-top: 24px; color: var(--ink-soft); font-size: 1.05rem; }

.guide-grid {
  margin-top: 54px;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.guide-card {
  min-height: 258px;
  padding: 32px 30px 28px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
}
.guide-card:last-child { border-right: 0; }
.guide-card:hover { background: var(--teal-pale); border-color: var(--line); transform: none; }
.guide-card > span:first-child { color: var(--orange); font-family: var(--sans); font-size: 0.8rem; font-weight: 600; }
.guide-card h3 { font-size: 1.3rem; }
.guide-card p { color: var(--ink-soft); font-size: 0.9rem; }
.guide-card .card-link { color: var(--blue-dark); font-size: 0.78rem; }

.topic-directory {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 110px);
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.topic-directory-intro h3 { max-width: 430px; font-size: 1.55rem; }
.topic-directory-intro p { max-width: 430px; color: var(--ink-soft); }
.topic-links { border-top: 1px solid var(--ink); }
.topic-links a {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) 1.2fr;
  gap: 28px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.topic-links a:hover strong { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.topic-links span { color: var(--ink-soft); font-size: 0.88rem; }

.explainer {
  width: min(calc(100% - 48px), var(--content));
  padding-inline: 0;
  color: var(--ink);
  background: var(--teal-pale);
}
.explainer-grid { padding-inline: clamp(36px, 8vw, 110px); }
.access-panel { padding: 38px; background: #fff; border: 0; }
.access-panel h3 { font-family: var(--sans); font-size: 1.65rem; font-weight: 400; }
.access-item { border-color: var(--line); }

.metrics { border-color: var(--ink); }
.metrics dd { font-family: var(--sans); font-weight: 300; letter-spacing: -0.035em; }
.finding-number,
.method-list li > span,
.steps li::before { color: var(--orange); font-family: var(--sans); font-weight: 600; }

blockquote { border-left-color: var(--blue); background: var(--teal-pale); }
.contextter-note { background: var(--cream); border: 1px solid var(--line); }
.text-link { color: var(--blue-dark); }
.method { width: min(calc(100% - 48px), var(--content)); padding-inline: 0; background: var(--cream); }
.method .section-intro,
.method-list { padding-inline: clamp(36px, 8vw, 110px); }

.faq-list { border-top-color: var(--ink); }
.faq-list summary::after { color: var(--orange); }
.source-strip { border-top-color: var(--ink); }

.final-cta {
  width: min(calc(100% - 48px), var(--content));
  padding-inline: clamp(44px, 10vw, 144px);
  background: var(--blue);
}
.final-cta p:not(.eyebrow) { color: #e1eff6; }
.button-light { color: var(--blue-dark); background: #fff; }

footer { border-top-color: var(--ink); }
footer .brand { color: var(--ink); }
footer .brand img { padding: 0; background: transparent; border-radius: 0; }

.article-page .site-header,
.article-page footer { width: min(calc(100% - 48px), var(--content)); }

.article-hero {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 62px clamp(44px, 10vw, 144px) 78px;
  color: #fff;
  background: var(--blue);
}
.article-hero h1 { max-width: 920px; font-size: clamp(2.9rem, 5vw, 4.4rem); }
.article-hero .lead { max-width: 880px; color: #fff; font-size: 1.28rem; }
.article-hero .breadcrumbs,
.article-hero .article-meta { color: #dcecf5; }
.article-disclaimer {
  max-width: 900px;
  color: #fff;
  background: var(--blue-dark);
  border-left-color: var(--yellow);
}
.article-disclaimer a { color: #fff; }

.article-shell {
  width: min(calc(100% - 48px), 1120px);
  grid-template-columns: 230px minmax(0, 760px);
  gap: clamp(48px, 7vw, 90px);
  padding-block: 88px 112px;
}
.toc > p { color: var(--ink); }
.toc a:hover { color: var(--blue-dark); }
.article-content > p:first-child { font-size: 1.16rem; }
.article-content h2 { margin-top: 72px; font-size: clamp(2rem, 3.5vw, 2.85rem); }
.article-content a { color: var(--blue-dark); }
.answer-box { border-top: 4px solid var(--blue); background: var(--teal-pale); }
.fact-grid { gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.fact-card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.content-table-wrap { border-color: var(--line); border-radius: 0; }
.content-table th { background: var(--blue-deep); color: #fff; }
.steps { border-top-color: var(--ink); }
.callout { border-left-color: var(--blue); background: var(--teal-pale); }
.callout.warning { border-left-color: var(--orange); background: #fff4ec; }
.code-example { background: var(--blue-deep); border-radius: 0; }
.related-guides { background: var(--cream); }
.related-guides .guide-grid { grid-template-columns: repeat(3, 1fr); }

.legal-page .site-header { width: min(calc(100% - 48px), var(--content)); }
.legal-page main { width: min(calc(100% - 48px), 820px); }
.legal-page h1 { font-size: clamp(2.9rem, 5vw, 4.4rem); }
.legal-page h2 { font-family: var(--sans); }
.legal-page .back-link { color: var(--blue-dark); }

.error-page { background: var(--blue); color: #fff; }
.error-card h1 { color: #fff; font-family: var(--sans); font-weight: 300; }
.error-card p { color: #e1eff6; }
.error-card .button-primary { color: var(--blue-dark); background: #fff; border-color: #fff; }
.error-card .button-secondary { color: #fff; background: transparent; border-color: #fff; }

@media (max-width: 1050px) {
  .site-header { align-items: flex-start; }
  .site-header nav { max-width: 620px; flex-wrap: wrap; row-gap: 10px; }
  .hero { padding-inline: 64px; }
  .article-hero { padding-inline: 64px; }
  .topic-directory { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .site-header { padding: 18px 28px; }
  .hero { min-height: auto; padding: 72px 48px 80px; grid-template-columns: 1fr; }
  .hero::after { right: -260px; }
  .route-card { max-width: 620px; }
  .topic-directory { gap: 34px; }
  .article-hero { padding: 54px 48px 68px; }
  .article-shell { grid-template-columns: 1fr; }
  .toc { position: static; }
  .related-guides .guide-grid { grid-template-columns: 1fr; }
  .related-guides .guide-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .explainer,
  .method,
  .final-cta,
  footer,
  .article-page .site-header,
  .article-page footer,
  .article-hero,
  .legal-page .site-header { width: 100%; }
  .site-header { min-height: 0; display: block; padding: 18px 20px 20px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { margin-top: 18px; justify-content: flex-start; gap: 12px 18px; }
  .site-header nav > a,
  .site-header nav a:nth-child(n+3) { display: block; }
  .site-header nav a { font-size: 0.68rem; }
  .status { width: 100%; margin-top: 4px; padding: 8px 0 0; border-left: 0; border-top: 2px solid var(--yellow); }
  .hero { padding: 56px 22px 64px; }
  .hero::before { left: -390px; }
  .hero::after { display: none; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .hero .lead { font-size: 1.12rem; }
  .route-card { padding: 28px 24px; }
  .section { padding: 70px 22px; }
  .section-compact { padding-block: 62px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-card:last-child { border-bottom: 0; }
  .topic-directory { margin-top: 54px; padding-top: 40px; }
  .topic-links a { grid-template-columns: 1fr; gap: 5px; }
  .explainer-grid,
  .method .section-intro,
  .method-list { padding-inline: 0; }
  .final-cta { padding: 68px 22px; }
  footer { padding-inline: 22px; }
  .article-hero { padding: 42px 22px 54px; }
  .article-hero .lead { font-size: 1.08rem; }
  .article-shell { width: calc(100% - 44px); padding-block: 62px 84px; }
  .article-content h2 { margin-top: 58px; }
  .fact-grid { grid-template-columns: 1fr; }
  .legal-page main { width: calc(100% - 44px); padding-top: 62px; }
}

/* Sitewide topic navigation */
.site-header .all-topics-link {
  position: relative;
  font-weight: 700;
}

.site-header .all-topics-link::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--yellow);
  content: "";
}

footer {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.8fr);
  gap: 48px clamp(44px, 7vw, 96px);
  align-items: start;
  min-height: 0;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-directory > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-directory strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-directory a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration-color: transparent;
}

.footer-directory a:hover,
.footer-directory a:focus-visible {
  color: var(--blue-dark);
  text-decoration-color: currentColor;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1050px) {
  .site-header nav a:nth-child(n+3) { display: block; }
  footer { grid-template-columns: 1fr; }
  .footer-legal { grid-column: auto; }
}

@media (max-width: 760px) {
  .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  footer { gap: 38px; padding-block: 48px 28px; }
  .footer-directory { grid-template-columns: 1fr; gap: 30px; }
  .footer-legal { flex-direction: row; gap: 12px 22px; }
}

/* User-first BundID navigation */
.site-header .primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.7vw, 24px);
}

.nav-menu {
  position: relative;
  color: #fff;
}

.nav-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-menu summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }

.nav-popover {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  z-index: 30;
  min-width: 310px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(0, 47, 82, 0.2);
}

.nav-menu:nth-of-type(3) .nav-popover {
  right: -18px;
  left: auto;
}

.nav-popover-wide {
  width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-header .nav-popover a {
  display: flex;
  min-width: 0;
  padding: 13px 14px;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

/* Keep every submenu entry visible even where older compact-header rules hide later links. */
.site-header .primary-nav .nav-popover a { display: flex; }

.site-header .nav-popover a:hover,
.site-header .nav-popover a:focus-visible { background: var(--teal-pale); }

.nav-popover a strong { font-weight: 600; }
.nav-popover a span { color: var(--ink-soft); font-size: 0.78rem; }

/* Short, transparent project context without making SEO mechanics the homepage topic. */
.project-section {
  width: min(calc(100% - 48px), var(--content));
  padding-inline: 0;
  background: var(--cream);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  padding-inline: clamp(36px, 8vw, 110px);
}

.project-copy > p:not(.eyebrow) {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.project-copy > p:not(.eyebrow):first-of-type { margin-top: 28px; }

.project-card {
  padding: 36px;
  background: #fff;
  border-top: 4px solid var(--blue);
}

.project-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.project-brand img { display: block; }
.project-brand strong { display: block; font-size: 1.05rem; }
.project-brand span { display: block; color: var(--ink-soft); font-size: 0.8rem; }

.project-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 12px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.project-card li:last-child { border-bottom: 0; }
.project-card li > span { color: var(--blue); font-weight: 600; }

@media (max-width: 1050px) {
  .site-header .primary-nav { flex-wrap: wrap; row-gap: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { max-width: 680px; }
}

@media (max-width: 760px) {
  .site-header { display: flex; align-items: stretch; flex-direction: column; }
  .site-header .primary-nav { width: 100%; margin-top: 18px; align-items: stretch; flex-direction: column; gap: 0; }
  .nav-menu { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.28); }
  .nav-menu summary { min-height: 46px; justify-content: space-between; }
  .nav-popover,
  .nav-menu:nth-of-type(3) .nav-popover {
    position: static;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 10px;
    box-shadow: none;
  }
  .site-header .all-topics-link { align-self: flex-start; margin-top: 16px; }
  .status { width: 100%; margin-top: 18px; padding: 10px 0 0; border-top: 2px solid var(--yellow); border-left: 0; }
}

@media (max-width: 640px) {
  .project-section { width: 100%; }
  .project-grid { padding-inline: 22px; }
  .project-card { padding: 28px 24px; }
}
