:root {
  color-scheme: light;
  --canvas: #fff9ef;
  --paper: #ffffff;
  --ink: #2b2733;
  --muted: #625d69;
  --line: #ddd5c8;
  --coral: #c94235;
  --coral-soft: #ffe2da;
  --teal: #086c63;
  --teal-soft: #dff4ef;
  --plum: #6742a8;
  --gold-soft: #fff0bf;
  --warning: #7a3d00;
  --warning-bg: #fff1d6;
  --shadow: 0 18px 48px rgba(43, 39, 51, 0.1);
  --radius: 1.25rem;
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", Avenir, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(47, 184, 166, 0.12), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(138, 92, 232, 0.11), transparent 22rem),
    var(--canvas);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
summary:focus-visible,
.table-wrap:focus-visible {
  outline: 0.2rem solid var(--coral);
  outline-offset: 0.2rem;
  border-radius: 0.2rem;
}

[aria-disabled="true"] {
  color: var(--muted);
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: 0.6rem;
  color: #fff;
  background: var(--ink);
}

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

.publication-warning {
  margin: 0;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e3b365;
  color: var(--warning);
  background: var(--warning-bg);
  font-weight: 800;
  text-align: center;
}

.site-header {
  border-bottom: 1px solid rgba(43, 39, 51, 0.1);
  background: rgba(255, 249, 239, 0.93);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(70rem, calc(100% - 2rem));
  margin-inline: auto;
}

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

.brand {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  margin-right: 0.45rem;
  place-items: center;
  border: 0.13rem solid var(--ink);
  border-radius: 44% 56% 48% 52%;
  color: #fff;
  background: var(--coral);
  box-shadow: 0.22rem 0.22rem 0 var(--ink);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-thickness: 0.18rem;
}

.page-shell {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.hero {
  max-width: 57rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 5rem);
  letter-spacing: -0.055em;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
}

h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1.12rem;
}

p,
li {
  max-width: 72ch;
}

.lede {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.card,
.legal-section,
.callout,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  min-height: 13rem;
  padding: 1.25rem;
  flex-direction: column;
}

.card:nth-child(3n + 1) {
  border-top: 0.45rem solid var(--coral);
}

.card:nth-child(3n + 2) {
  border-top: 0.45rem solid var(--teal);
}

.card:nth-child(3n + 3) {
  border-top: 0.45rem solid var(--plum);
}

.card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.card a {
  margin-top: auto;
}

.legal-content {
  max-width: 58rem;
}

.legal-section {
  margin: 1rem 0;
  padding: clamp(1.1rem, 4vw, 2rem);
}

.legal-section > :first-child {
  margin-top: 0;
}

.legal-section > :last-child {
  margin-bottom: 0;
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 0.45rem solid var(--teal);
  background: var(--teal-soft);
  box-shadow: none;
}

.callout.warning {
  border-left-color: var(--coral);
  background: var(--coral-soft);
}

.callout strong:first-child {
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  margin-block: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.94rem;
}

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

th {
  color: var(--ink);
  background: #f4efe7;
}

tr:last-child td {
  border-bottom: 0;
}

.plain-list,
.check-list {
  padding-left: 1.25rem;
}

.plain-list li,
.check-list li {
  margin-block: 0.55rem;
}

.contact-card {
  margin-block: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--gold-soft);
}

.contact-card h2 {
  margin-top: 0;
}

code {
  padding: 0.12rem 0.3rem;
  border-radius: 0.25rem;
  color: var(--ink);
  background: #eee9e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f3ecdf;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 52rem) {
  .header-inner {
    align-items: flex-start;
    padding-block: 0.85rem;
    flex-direction: column;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

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

  .card {
    min-height: auto;
  }
}

@media (max-width: 32rem) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(100% - 1.25rem, 70rem);
  }

  .site-nav ul {
    gap: 0.2rem 0.7rem;
  }

  th,
  td {
    min-width: 10rem;
  }
}

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

@media print {
  body {
    background: #fff;
    font-size: 10.5pt;
  }

  .publication-warning,
  .site-header,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .legal-section,
  .callout,
  .contact-card {
    box-shadow: none;
    break-inside: avoid;
  }

  a {
    color: inherit;
  }
}
