:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242523;
  background: #fff7f0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --coral: #ba4935;
  --coral-deep: #913022;
  --muted: #6d6e6b;
  --line: #e5dcd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
}

a {
  color: var(--coral-deep);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

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

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
  border-radius: 3px;
}

::selection {
  background: #f0c7b8;
}

.page-width {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 2;
  padding: 12px 18px;
  background: #ffffff;
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.site-header {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #242523;
  font-size: 30px;
  font-weight: 730;
  letter-spacing: -1.4px;
  white-space: nowrap;
  text-decoration: none;
}

.wordmark img {
  width: 40px;
  height: 40px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.main-nav a {
  padding-block: 12px;
  font-size: 15px;
  text-decoration: none;
}

.main-nav [aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
}

.page-heading {
  padding-block: 70px 46px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.04;
}

.page-heading .lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.effective-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(180px, 1fr);
  align-items: start;
  gap: 72px;
  padding-bottom: 76px;
}

.article-content section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.65px;
}

p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
}

p:last-child {
  margin-bottom: 0;
}

.contents {
  position: sticky;
  top: 24px;
  padding: 24px;
  background: #f5e8dd;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contents h2 {
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0;
}

.contents a {
  display: block;
  padding-block: 7px;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.contact-card {
  padding: 25px;
  margin-top: 22px;
  border: 1px solid #dfb8a8;
  border-radius: 20px;
  background: #fffaf5;
}

.contact-card p {
  font-size: 15px;
}

.contact-link {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 20px;
  background: var(--coral);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 650;
  text-decoration: none;
}

.contact-link:hover {
  background: var(--coral-deep);
  color: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 860px) {
  .page-width {
    width: calc(100% - 48px);
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .contents {
    position: static;
    order: -1;
    margin-bottom: 28px;
  }

  .contents nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 20px;
  }

  .page-heading {
    padding-top: 48px;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 92px;
    gap: 14px;
  }

  .wordmark {
    gap: 7px;
    font-size: 24px;
  }

  .wordmark img {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: 16px;
  }

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

  .main-nav .home-link {
    display: none;
  }

  h1 {
    letter-spacing: -1.7px;
  }

  .page-heading .lead {
    font-size: 18px;
  }

  .contents {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

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