:root {
  --navy: #14324a;
  --navy-deep: #0d273b;
  --teal: #147d7e;
  --teal-dark: #0d696a;
  --pale-teal: #eaf7f5;
  --off-white: #faf9f6;
  --paper: #fffefb;
  --text: #24323d;
  /* Slightly darkened from the visual brief's muted swatch so normal-size text
     clears WCAG AA contrast on the off-white canvas. */
  --muted: #63747e;
  --line: #d9e4e2;
  --warning: #fff4e5;
  --emergency: #b42318;
  --emergency-pale: #fff0ee;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(20, 50, 74, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--off-white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

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

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 650;
  hyphens: auto;
  letter-spacing: -0.025em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 5.6vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
}

h3 {
  font-size: 1.45rem;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: 0.5rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.notice-strip {
  padding: 0.5rem 0;
  color: #d8eced;
  background: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notice-strip .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.notice-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  background: #6cc6bf;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(108, 198, 191, 0.14);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(250, 249, 246, 0.94);
  border-bottom: 1px solid rgba(20, 50, 74, 0.09);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1680px, calc(100% - 3rem));
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 13px;
  height: 17px;
  top: 7px;
  left: 8px;
  border: 2px solid var(--teal);
  border-top-left-radius: 80% 90%;
  border-top-right-radius: 80% 90%;
  border-bottom-left-radius: 60% 45%;
  border-bottom-right-radius: 60% 45%;
  transform: rotate(38deg);
}

.brand-mark::after {
  width: 12px;
  height: 2px;
  right: 6px;
  bottom: 10px;
  background: var(--navy);
  border-radius: 2px;
  transform: rotate(-24deg);
}

.brand-mark span {
  width: 5px;
  height: 5px;
  right: 8px;
  bottom: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.27rem;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-left: auto;
}

.desktop-nav a {
  padding: 0.55rem 0.62rem;
  color: var(--text);
  border-radius: 0.45rem;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--pale-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

details summary {
  cursor: pointer;
}

.language-picker,
.mobile-menu {
  position: relative;
}

.language-picker > summary,
.mobile-menu > summary {
  list-style: none;
  padding: 0.58rem 0.72rem;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.language-picker > summary::-webkit-details-marker,
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.language-picker > summary::after,
.mobile-menu > summary::after {
  content: " +";
  color: var(--teal);
}

.language-picker[open] > summary::after,
.mobile-menu[open] > summary::after {
  content: " −";
}

.globe {
  margin-right: 0.4rem;
  color: var(--teal);
  font-size: 1rem;
}

.language-grid {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(620px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.language-grid a {
  padding: 0.55rem 0.65rem;
  color: var(--text);
  border-radius: 0.45rem;
  font-size: 0.8rem;
  text-decoration: none;
}

.language-grid a:hover,
.language-grid a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--pale-teal);
}

.mobile-menu {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 125, 126, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--off-white), #f5f7f4);
}

.page-hero::after {
  position: absolute;
  right: -12vw;
  bottom: -24vw;
  width: 48vw;
  height: 48vw;
  content: "";
  border: 1px solid rgba(20, 125, 126, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 6vw rgba(20, 125, 126, 0.025), 0 0 0 12vw rgba(20, 125, 126, 0.02);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.hero-copy > p:not(.eyebrow):not(.review-date),
.hero-copy .medical-note {
  max-width: 650px;
}

.hero-copy > p:not(.eyebrow):not(.review-date) {
  color: #465762;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--navy);
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(20, 50, 74, 0.16);
}

.button.primary:hover {
  color: white;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
}

.button.secondary:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: var(--pale-teal);
}

.micro-note {
  margin-top: 1.25rem;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -16px 18px 16px -18px;
  content: "";
  background: var(--pale-teal);
  border: 1px solid rgba(20, 125, 126, 0.18);
  border-radius: 47% 53% 38% 62% / 52% 34% 66% 48%;
  transform: rotate(-2deg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 47% 53% 38% 62% / 52% 34% 66% 48%;
  box-shadow: var(--shadow);
}

.hero-visual picture {
  display: block;
}

.hero-visual figcaption {
  position: absolute;
  right: -0.4rem;
  bottom: 1.4rem;
  max-width: 230px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.9rem;
  color: var(--navy);
  background: rgba(255, 254, 251, 0.95);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: 0 12px 30px rgba(20, 50, 74, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual figcaption span {
  color: var(--teal);
}

.topic-visual {
  position: relative;
  width: min(380px, 70vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(20, 125, 126, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #fff 0 10%, #dff3f0 11% 38%, #c4e8e3 39% 60%, transparent 61%);
}

.topic-visual::before,
.topic-visual::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.topic-visual::before {
  inset: 15%;
  border: 1px solid rgba(20, 50, 74, 0.22);
}

.topic-visual::after {
  width: 18%;
  height: 18%;
  right: 18%;
  bottom: 22%;
  background: var(--navy);
  box-shadow: -9rem -4rem 0 -1.6rem var(--teal);
}

.topic-visual b {
  position: absolute;
  top: 20%;
  left: 21%;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
}

.topic-ring {
  position: absolute;
  inset: -4%;
  border: 1px dashed rgba(20, 125, 126, 0.3);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.topic-line {
  position: absolute;
  width: 38%;
  height: 2px;
  right: 8%;
  top: 42%;
  background: var(--teal);
  transform: rotate(-22deg);
}

.review-date {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding: 0.4rem 0.75rem;
  color: var(--teal-dark);
  background: var(--pale-teal);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
}

.section {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.intro-section {
  background: var(--paper);
  border-block: 1px solid rgba(20, 50, 74, 0.07);
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 8vw, 9rem);
}

.section-number {
  margin-bottom: 1rem;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.lead-prose p {
  color: #40515c;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  padding: 1.4rem;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guide-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.guide-card:hover {
  border-color: rgba(20, 125, 126, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-index {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
}

.card-icon {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 1.4rem 0 2rem;
  background: var(--pale-teal);
  border-radius: 50%;
}

.card-icon::before,
.card-icon::after,
.card-icon i {
  position: absolute;
  content: "";
  border: 2px solid var(--teal);
}

.card-icon::before {
  width: 24px;
  height: 31px;
  top: 16px;
  left: 22px;
  border-radius: 50% 50% 55% 55% / 35% 35% 70% 70%;
  transform: rotate(35deg);
}

.icon-2::before {
  width: 30px;
  height: 38px;
  top: 14px;
  left: 19px;
  border-radius: 6px;
  transform: none;
}

.icon-2::after {
  width: 17px;
  height: 10px;
  top: 22px;
  left: 26px;
  border-radius: 2px;
}

.icon-3::before {
  width: 31px;
  height: 31px;
  top: 18px;
  left: 18px;
  border-radius: 50%;
  transform: none;
}

.icon-3::after {
  width: 2px;
  height: 15px;
  top: 26px;
  left: 33px;
  border-width: 0 0 0 2px;
  transform: rotate(35deg);
}

.icon-4::before {
  width: 34px;
  height: 18px;
  top: 27px;
  left: 17px;
  border-radius: 70% 30% 60% 40%;
  transform: rotate(-8deg);
}

.icon-5::before {
  width: 38px;
  height: 29px;
  top: 23px;
  left: 15px;
  border-radius: 7px;
  transform: none;
}

.icon-5::after {
  width: 19px;
  height: 8px;
  top: 16px;
  left: 24px;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.guide-card h3 {
  margin-bottom: 0.8rem;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.safety-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  color: #4b3727;
  background: var(--warning);
  border: 1px solid #efcf9f;
  border-radius: 1.25rem;
}

.safety-panel h2 {
  max-width: 16ch;
}

.safety-panel p {
  max-width: 780px;
}

.alert-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #7e461a;
  border: 1px solid #d69349;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.resource-section {
  padding-top: 0;
}

.resource-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.6rem, 5vw, 4rem);
  background: var(--navy);
  border-radius: 1.25rem;
}

.resource-card h2,
.resource-card p,
.resource-card .eyebrow {
  color: white;
}

.resource-card .eyebrow {
  color: #8ddad4;
}

.resource-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
  color: var(--teal-dark);
  border-bottom: 1px solid currentColor;
  font-weight: 750;
  text-decoration: none;
}

.resource-card .text-link {
  color: #8ddad4;
}

.commercial-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.76rem !important;
  line-height: 1.55;
}

.resource-card .commercial-note {
  color: #c6d8df;
}

.utility-section {
  padding-top: 0;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-card {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.compact-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.compact-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.closing-section {
  padding-top: 0;
}

.closing-card {
  position: relative;
  padding: clamp(2rem, 7vw, 6rem);
  overflow: hidden;
  text-align: center;
  background: var(--pale-teal);
  border: 1px solid #cce7e3;
  border-radius: 1.25rem;
}

.closing-card h2,
.closing-card > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.closing-card .button {
  position: relative;
  z-index: 1;
}

.closing-card .hero-actions {
  justify-content: center;
}

.closing-orbit {
  position: absolute;
  width: 400px;
  height: 400px;
  right: -180px;
  bottom: -220px;
  border: 1px solid rgba(20, 125, 126, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(20, 125, 126, 0.03), 0 0 0 100px rgba(20, 125, 126, 0.02);
}

.article-main {
  padding: 0 0 clamp(5rem, 10vw, 9rem);
  background: var(--paper);
}

.article-shell {
  width: min(760px, calc(100% - 3rem));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

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

.article-section {
  padding: 3.6rem 0;
  border-bottom: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-section p,
.article-section li {
  line-height: 1.78;
}

.contact-pending {
  padding: 0.8rem 1rem;
  color: var(--muted);
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  font-size: 0.9rem;
}

.article-section ul,
.article-section ol,
.emergency-panel ul,
.emergency-panel ol {
  margin: 1.3rem 0;
  padding-left: 1.3rem;
}

.article-section li,
.emergency-panel li {
  margin: 0.65rem 0;
  padding-left: 0.45rem;
}

.medical-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  color: #274b4c;
  background: var(--pale-teal);
  border: 1px solid #cbe4e0;
  border-radius: 0.75rem;
}

.medical-note p {
  margin: 0;
  color: inherit !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

.medical-note-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 700;
}

.emergency-panel {
  margin: 3.6rem 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  color: #511713;
  background: var(--emergency-pale);
  border: 1px solid #e8b2ad;
  border-left: 5px solid var(--emergency);
  border-radius: 0.85rem;
}

.emergency-panel .eyebrow,
.emergency-panel h2 {
  color: var(--emergency);
}

.emergency-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.supplies-section {
  width: min(960px, calc(100vw - 3rem));
  margin-left: 50%;
  transform: translateX(-50%);
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}

.supply-card {
  padding: 1.4rem;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.supply-card h2 {
  font-size: 1.55rem;
}

.supply-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.supply-card .commercial-note {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

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

.sources-section li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.sources-section li:last-child {
  border-bottom: 0;
}

.sources-section code {
  font-family: inherit;
}

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

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
}

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

.faq-item summary span {
  color: var(--teal);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 2rem 1.2rem 0;
  color: var(--muted);
}

.site-footer {
  color: #cad6dc;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0 3.5rem;
}

.brand-footer {
  color: white;
}

.brand-footer .brand-mark {
  border-color: #75cbc5;
}

.brand-footer .brand-copy small,
.footer-brand p {
  color: #9eb1bb;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 1.4rem;
  font-size: 0.82rem;
}

.site-footer h2 {
  color: white;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0.45rem 0;
}

.site-footer a {
  color: #cad6dc;
  font-size: 0.8rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #92a8b3;
  font-size: 0.72rem;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 2rem;
  overflow: hidden;
  text-align: center;
  background: var(--off-white);
}

.not-found h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
}

.not-found > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
}

.not-found .hero-actions {
  justify-content: center;
}

.not-found-orbit {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  margin-bottom: 2rem;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 50%;
}

.not-found-orbit::before,
.not-found-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(20, 125, 126, 0.2);
  border-radius: 50%;
}

.not-found-orbit::before {
  inset: -20px;
}

.not-found-orbit::after {
  inset: -42px;
}

.not-found-orbit b {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 500;
}

@media (max-width: 1760px) {
  .site-header .brand-copy small {
    display: none;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .desktop-nav a {
    padding-inline: 0.4rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 1600px) {
  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu nav {
    position: absolute;
    z-index: 50;
    top: calc(100% + 0.7rem);
    right: 0;
    width: min(310px, calc(100vw - 2rem));
    display: grid;
    padding: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    box-shadow: var(--shadow);
  }

  .mobile-menu nav a {
    padding: 0.65rem;
    color: var(--text);
    border-radius: 0.4rem;
    font-size: 0.85rem;
    text-decoration: none;
  }

  .mobile-menu nav a[aria-current="page"] {
    color: var(--teal-dark);
    background: var(--pale-teal);
  }
}

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

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .shell,
  .article-shell {
    width: min(100% - 2rem, 760px);
  }

  .notice-strip {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

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

  .language-picker > summary {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: min(68vh, 520px);
    overflow-y: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-grid {
    gap: 3.5rem;
  }

  .topic-visual {
    width: min(310px, 75vw);
  }

  .split-copy,
  .resource-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-card,
  .guide-card:nth-child(4) {
    grid-column: auto;
  }

  .guide-card:last-child {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .utility-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    gap: 0.55rem;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .language-picker > summary {
    width: 42px;
    height: 42px;
    overflow: hidden;
    padding: 0.45rem;
    color: transparent;
  }

  .language-picker > summary .globe {
    display: inline-block;
    margin: 0 2rem 0 0.3rem;
    color: var(--teal);
  }

  .language-picker > summary::after {
    display: none;
  }

  .mobile-menu > summary {
    position: relative;
    width: 42px;
    height: 42px;
    overflow: hidden;
    padding: 0.45rem;
    color: transparent;
  }

  .mobile-menu > summary::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--navy);
    content: "≡";
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-menu > summary::after {
    display: none;
  }

  .language-grid {
    position: fixed;
    top: 76px;
    right: 1rem;
    left: 1rem;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card,
  .guide-card:nth-child(4),
  .guide-card:last-child {
    grid-column: auto;
  }

  .safety-panel {
    grid-template-columns: 1fr;
  }

  .alert-mark {
    width: 44px;
    height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .supplies-section {
    width: 100%;
  }

  .closing-orbit {
    display: none;
  }
}

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

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

@media print {
  .notice-strip,
  .site-header,
  .site-footer,
  .language-picker,
  .mobile-menu,
  .hero-actions,
  .resource-section,
  .supplies-section {
    display: none !important;
  }

  body,
  .page-hero,
  .article-main {
    color: #000;
    background: #fff;
  }

  .page-hero {
    padding: 2rem 0;
  }

  a {
    color: #000;
  }
}
