:root {
  color-scheme: light;
  --ivory: #fbf7ef;
  --paper: #fffdf8;
  --ink: #163537;
  --muted: #5b706f;
  --teal: #0f6f70;
  --teal-dark: #0a5152;
  --sage: #e3eee6;
  --peach: #f8e3d4;
  --line: #d6dfd9;
  --focus: #b44d1f;
  --shadow: 0 18px 48px rgb(28 67 64 / 8%);
  font-family: "Avenir Next", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ivory);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  text-decoration-thickness: 0.14em;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-weight: 700;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgb(251 247 239 / 94%);
}

.header-inner,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

main {
  display: block;
}

.page {
  width: min(70ch, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.page-header {
  margin-bottom: 50px;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.4rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 56px 0 14px;
  font-size: clamp(1.42rem, 3vw, 1.85rem);
  letter-spacing: -0.027em;
}

h3 {
  margin: 32px 0 8px;
  font-size: 1.14rem;
}

p,
ul,
ol,
table,
details {
  margin-block: 0 1.25em;
}

ul,
ol {
  padding-left: 1.35em;
}

li + li {
  margin-top: 0.55em;
}

.lede {
  max-width: 60ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.25rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.notice,
.action-card,
.policy-card {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.notice {
  border-color: #9ab9aa;
  background: var(--sage);
  box-shadow: none;
}

.notice.peach {
  border-color: #d9aa8b;
  background: var(--peach);
}

.notice > :last-child,
.action-card > :last-child,
.policy-card > :last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  padding: 11px 18px;
  border: 2px solid var(--teal-dark);
  border-radius: 999px;
  background: var(--teal-dark);
  color: white;
  font-weight: 760;
  text-decoration: none;
}

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

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

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

.document-grid .policy-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  margin: 0;
}

.document-grid .policy-card:nth-child(2),
.document-grid .policy-card:nth-child(5) {
  background: var(--sage);
}

.document-grid .policy-card:nth-child(3) {
  background: var(--peach);
}

.policy-card h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.policy-card p {
  color: var(--muted);
  font-size: 15px;
}

.policy-card a {
  margin-top: auto;
  font-weight: 760;
}

.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

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

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

th {
  background: var(--sage);
  font-size: 14px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #f2eee5;
}

.footer-inner {
  padding: 34px 0 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 18px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 680;
}

.footer-note {
  max-width: 76ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0 13px;
  }

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

  .site-nav a {
    min-height: 44px;
    padding: 8px 8px 8px 0;
  }

  .page {
    padding: 52px 0 72px;
  }

  .page-header {
    margin-bottom: 38px;
  }

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

@media (max-width: 390px) {
  .header-inner,
  .footer-inner,
  .page {
    width: min(100% - 28px, 70ch);
  }

  body {
    font-size: 16px;
  }

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

  .site-nav a {
    font-size: 13px;
  }

  .notice,
  .action-card,
  .policy-card {
    padding: 20px;
    border-radius: 16px;
  }
}

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

@media print {
  :root {
    --ivory: white;
    --paper: white;
    --ink: black;
    --muted: #333;
    --line: #bbb;
  }

  .skip-link,
  .site-nav,
  .footer-nav {
    display: none;
  }

  .page {
    width: 100%;
    padding: 28px 0;
  }

  .notice,
  .action-card,
  .policy-card {
    box-shadow: none;
  }
}
