:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #52615d;
  --line: #c9d4d0;
  --surface: #ffffff;
  --soft: #f3f7f5;
  --teal: #0b6f68;
  --teal-dark: #07534e;
  --coral: #a9434c;
  --gold: #8a6500;
  --focus: #005fcc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.8rem;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-160%);
}

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

.shell {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand img {
  border-radius: 8px;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.2rem;
}

.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1rem;
}

nav a {
  padding-block: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a[aria-current="page"] {
  border-bottom: 3px solid var(--teal);
  color: var(--ink);
}

main {
  min-height: 60vh;
  padding-block: 3.5rem 5rem;
}

.page-heading {
  max-width: 50rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h2 {
  margin: 3rem 0 0.75rem;
  font-size: 1.55rem;
}

h3 {
  margin: 1.7rem 0 0.45rem;
  font-size: 1.08rem;
}

p,
li {
  max-width: 50rem;
}

.lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.meta {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.notice {
  max-width: 50rem;
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 6px;
  background: var(--soft);
}

.notice.warning {
  border-left-color: var(--coral);
}

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

.section-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 58rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.section-links a {
  min-width: 0;
  padding: 1.15rem 1rem 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.section-links a:nth-child(odd) {
  margin-right: 1.5rem;
}

.section-links small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 400;
}

.policy {
  max-width: 54rem;
}

.policy ul,
.policy ol {
  padding-left: 1.4rem;
}

.policy li + li {
  margin-top: 0.5rem;
}

.policy table {
  width: 100%;
  margin-block: 1.2rem;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.policy th,
.policy td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.policy th {
  background: var(--soft);
}

details {
  max-width: 50rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

.contact-block {
  max-width: 50rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.contact-block p {
  margin: 0.3rem 0;
}

.callout-link {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.callout-link:hover {
  background: var(--teal-dark);
  color: #ffffff;
}

footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner p {
  margin: 0.35rem 0;
}

.fine-print {
  color: #66736f;
}

@media (max-width: 760px) {
  :root {
    font-size: 16px;
  }

  .header-inner {
    display: block;
    padding-block: 0.9rem;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    margin-top: 0.75rem;
    gap: 0;
  }

  nav a {
    min-width: 0;
    padding: 0.5rem 0.25rem;
    text-align: center;
  }

  main {
    padding-block: 2.4rem 4rem;
  }

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

  .section-links a:nth-child(odd) {
    margin-right: 0;
  }

  .policy table,
  .policy thead,
  .policy tbody,
  .policy tr,
  .policy th,
  .policy td {
    display: block;
  }

  .policy thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .policy tr {
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
  }

  .policy td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .policy td:last-child {
    border-bottom: 0;
  }

  .policy td::before {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--gold);
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
  }
}
