@font-face {
  font-family: "Aeonik Pro";
  src: url("/assets/fonts/aeonik-pro-medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #013941;
  --accent: #00d47e;
  /* Semantic foregrounds; the bright brand/decorative accent stays unchanged. */
  --accent-text: #007a49;
  --on-accent: var(--ink);
  --white: #fff;
  --pale: #eeffe6;
  --blue: #e3f7fa;
  --lime: #eeffb9;
  --mint: #deffe9;
  --yellow: #fcf8da;
  --secondary: #0e505a;
  --container: 1402px;
  --document: 760px;
  color: var(--ink);
  background: var(--white);
  font-family: "Aeonik Pro", Arial, sans-serif;
  font-weight: 500;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 12px; background: var(--white); }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 38px), var(--container)); margin-inline: auto; }
.site-header { padding-block: 19px; }
.header-row { display: flex; align-items: center; gap: 28px; padding: 6px 12px; border-radius: 40px; background: #f5f5f5; min-height: 76px; }
.logo { display: block; flex-shrink: 0; }
.logo img { width: 180px; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 40px; font-size: 16px; line-height: 22px; }
.desktop-nav a, .footer-nav a { text-decoration: none; }
.social { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 24px; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 0; border-radius: 30px; background: var(--ink); color: var(--white); }
.button:disabled { cursor: not-allowed; opacity: .6; }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--ink); border-radius: 24px; min-height: 44px; padding: 10px 16px; }
.mobile-menu { position: fixed; inset: 0; z-index: 20; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; border: 0; padding: 28px 24px; color: var(--ink); background: var(--white); }
.mobile-menu::backdrop { background: var(--white); }
.mobile-menu .menu-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.menu-close { border: 1px solid var(--ink); border-radius: 24px; padding: 10px 16px; min-height: 44px; background: transparent; }
.mobile-menu nav { display: grid; gap: 24px; padding-block: 48px; font-size: 24px; }
.mobile-menu nav a { text-decoration: none; }
.mobile-menu p { max-width: 300px; line-height: 1.5; }
body.menu-open { overflow: hidden; }
.shell-note { margin-block: 36px; padding: 24px; background: var(--yellow); border-radius: 24px; line-height: 1.5; }
h1 { font-size: 56px; line-height: 62px; font-weight: 500; margin: 0 0 24px; }
h2 { font-size: 32px; line-height: 1.15; font-weight: 500; }
.shell-section { padding: 48px 32px; border-radius: 32px; background: var(--pale); margin-block: 24px; scroll-margin-top: 24px; }
.shell-section p { max-width: 760px; line-height: 1.5; }
.site-footer { background: var(--ink); color: var(--white); border-radius: 32px 32px 0 0; padding: 44px 40px; margin-top: 48px; line-height: 1.5; }
.site-footer :focus-visible { outline-color: var(--accent); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer-logo { width: 180px; }
.footer-nav { display: grid; gap: 16px; align-content: start; }
.footer-details { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-top: 40px; font-size: 14px; }
.footer-docs { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: 14px; }
.footer-docs a { max-width: 190px; }
.accreditation { width: 110px; margin-bottom: 16px; }
.document-page { color: #000; }
.document-container { width: min(calc(100% - 40px), var(--document)); margin: 40px auto 80px; font-size: 20px; line-height: 31px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; gap: 8px 12px; margin: 0 0 48px; padding: 0; font-size: 16px; line-height: 1.5; }
.breadcrumbs li + li::before { content: "→"; margin-right: 12px; }
.document-container h1 { font-size: 36px; line-height: 1.2; overflow-wrap: anywhere; }
.document-container a { overflow-wrap: anywhere; }
.document-container .shell-note { font-size: 16px; line-height: 1.5; }

@media (max-width: 1199px) {
  .desktop-nav, .header-row > .social, .header-row > .button { display: none; }
  .menu-toggle { display: block; }
  .header-row { background: var(--white); padding-inline: 0; min-height: 56px; }
  .site-header { padding-block: 12px; }
  .logo img { width: 150px; }
}

@media (max-width: 639px) {
  h1 { font-size: 28px; line-height: 31px; }
  h2 { font-size: 24px; }
  .shell-note { padding: 20px; font-size: 14px; }
  .shell-section { padding: 28px 20px; border-radius: 24px; }
  .site-footer { padding: 32px 24px; }
  .footer-top, .footer-details { grid-template-columns: 1fr; gap: 28px; }
  .footer-docs { flex-direction: column; }
  .footer-docs a { max-width: none; }
  .document-container { margin-top: 24px; font-size: 16px; line-height: 23.2px; }
  .document-container h1 { font-size: 28px; line-height: 1.15; }
  .breadcrumbs ol { font-size: 14px; gap: 8px; margin-bottom: 32px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
