:root {
  --bg: #ffffff;
  --section: #f6f8fa;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #0b4f6c;
  --accent-2: #2f6f5e;
  --border: #d9e2ec;
  --note: #fff8e6;
  --max: 1040px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-140%);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: grid;
  gap: 2px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

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

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-header nav a.active,
.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 32px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.hero:not(:has(.hero-visual)) {
  grid-template-columns: minmax(0, 780px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  max-width: 760px;
  font-size: clamp(36px, 4.2vw, 54px);
}

h2 {
  margin-top: 36px;
  padding-top: 8px;
  font-size: 28px;
}

h3 {
  margin-top: 24px;
  font-size: 21px;
}

h4 {
  margin-top: 20px;
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

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

.hero-visual {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  max-width: var(--max);
  margin: -20px auto 0;
  padding: 0 24px 12px;
  color: var(--muted);
  font-size: 13px;
}

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

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin-right: 8px;
}

.breadcrumb span + a,
.breadcrumb a + span {
  margin-left: 8px;
}

.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px 48px;
}

.content > h2 {
  border-top: 1px solid var(--border);
}

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

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

.content a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.content a:hover {
  color: var(--accent-2);
}

blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent-2);
  background: var(--section);
  color: var(--text);
}

table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

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

th {
  background: var(--section);
}

pre {
  overflow-x: auto;
  padding: 16px;
  background: var(--section);
  border: 1px solid var(--border);
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
}

.content h2[id*="compliance"] + p,
.content h2[id*="qualification"] + p,
.content h2[id*="before-you-send"] + p,
.content h3[id*="notes"] + p {
  padding: 16px;
  background: var(--note);
  border: 1px solid #f1d28a;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  margin: 0;
  padding: 0;
  font-size: 28px;
}

.article-paths {
  max-width: var(--max);
  margin: 0 auto 36px;
  padding: 24px;
}

.article-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.article-path-card,
.service-card,
.home-focus-card {
  display: grid;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.article-path-card h3,
.service-card h3,
.home-focus-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.article-path-card p:not(.eyebrow),
.service-card p:not(.eyebrow),
.home-focus-card p:not(.eyebrow),
.service-card dd {
  margin: 0 0 16px;
  color: var(--muted);
}

.article-path-card a,
.service-card a,
.home-focus-card a {
  align-self: end;
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}

.article-path-card a:hover,
.service-card a:hover,
.home-focus-card a:hover {
  text-decoration: underline;
}

.article-path-card:focus-within,
.service-card:focus-within,
.home-focus-card:focus-within,
.article-next-links a:focus-visible {
  border-color: var(--accent);
}

.service-cards {
  max-width: var(--max);
  margin: 0 auto 36px;
  padding: 24px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.service-card {
  padding: 18px;
}

.service-card dl {
  margin: 0 0 16px;
}

.service-card dt {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card dd {
  line-height: 1.55;
}

.home-focus {
  max-width: var(--max);
  margin: 0 auto 36px;
  padding: 0 24px 24px;
}

.home-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.article-page .content {
  max-width: 760px;
}

.article-next {
  max-width: 760px;
  margin: -28px auto 56px;
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.article-next h2 {
  margin: 0 0 16px;
  padding: 0;
  font-size: 24px;
}

.article-next-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-next-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.article-next-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto 32px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.contact-process h2 {
  margin: 0;
  padding: 0;
  font-size: 24px;
}

.contact-process ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.contact-process li {
  position: relative;
  padding: 0 0 0 42px;
  color: var(--muted);
  line-height: 1.6;
  counter-increment: process-step;
}

.contact-process li::before {
  content: counter(process-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

.contact-process strong {
  color: var(--text);
}

.contact-process-note {
  grid-column: 2;
  margin: -2px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.scope-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto 32px;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scope-summary h2 {
  margin: 0 0 8px;
  padding: 0;
  font-size: 24px;
}

.scope-summary p,
.scope-summary dl,
.scope-summary dd {
  margin: 0;
}

.scope-summary p,
.scope-summary dd {
  color: var(--muted);
}

.scope-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scope-summary dt {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 800;
}

.scope-summary dd {
  line-height: 1.65;
}

.cta-band {
  display: grid;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 30px 24px;
  background: var(--section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 6px;
  padding: 0;
  font-size: 26px;
}

.cta-band p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer address {
  margin: 4px 0;
  font-style: normal;
}

.site-footer address a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer nav {
  justify-content: flex-end;
  max-width: 420px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .cta-band,
  .contact-process,
  .contact-process ol,
  .article-path-grid,
  .service-card-grid,
  .home-focus-grid,
  .scope-summary,
  .scope-summary dl {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .site-header nav {
    gap: 10px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 25px;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .article-next-links {
    grid-template-columns: 1fr;
  }

  .contact-process-note {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .content,
  .article-paths,
  .service-cards,
  .home-focus,
  .contact-process,
  .scope-summary,
  .cta-band,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 24px;
    padding-bottom: 32px;
  }

  .hero-actions,
  .cta-band {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    aspect-ratio: 16 / 11;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .article-path-card,
  .service-card,
  .home-focus-card,
  .contact-process {
    padding: 16px;
  }
}
