@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/nunito-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/nunito-bold.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-black.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --parchment: oklch(0.955 0.026 88);
  --ivory: oklch(0.984 0.019 86);
  --paper: oklch(0.993 0.01 86);
  --forest: oklch(0.5 0.075 145);
  --pine: oklch(0.37 0.05 145);
  --mustard: oklch(0.79 0.132 83);
  --cocoa: oklch(0.43 0.065 58);
  --charcoal: oklch(0.3 0.012 130);
  --stone: oklch(0.86 0.024 72);
  --sage: oklch(0.72 0.07 133);
  --sky: oklch(0.57 0.075 240);
  --rose: oklch(0.55 0.12 26);
  --shadow: 0 16px 40px oklch(0.35 0.04 65 / 0.1);
  --soft-shadow: 0 6px 18px oklch(0.35 0.04 65 / 0.08);
  --content: 72rem;
  --reading: 44rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, oklch(0.89 0.075 85 / 0.34), transparent 25rem),
    linear-gradient(180deg, var(--parchment), var(--ivory) 34rem);
  color: var(--charcoal);
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
}

a {
  color: var(--forest);
  font-weight: 700;
  text-decoration-color: oklch(0.5 0.075 145 / 0.35);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pine);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.25rem;
  outline: 0.2rem solid var(--mustard);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--pine);
  color: var(--ivory);
  transform: translateY(-200%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid oklch(0.43 0.065 58 / 0.12);
  background: oklch(0.984 0.019 86 / 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 4.5rem;
  margin-inline: auto;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--pine);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-right: 0.65rem;
  border-radius: 50% 45% 50% 42%;
  background: var(--forest);
  color: var(--ivory);
  place-items: center;
  transform: rotate(-6deg);
}

.brand-mark svg {
  width: 1.15rem;
  transform: rotate(6deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--cocoa);
  font-size: 0.88rem;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  background: oklch(0.72 0.07 133 / 0.25);
  color: var(--pine);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.55fr);
  align-items: center;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 27rem;
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  gap: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.9rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 37rem;
  margin: 1.4rem 0 0;
  color: var(--cocoa);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.updated {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid oklch(0.5 0.075 145 / 0.2);
  border-radius: 999px;
  background: oklch(0.984 0.019 86 / 0.75);
  color: var(--forest);
  font-size: 0.83rem;
  font-weight: 700;
}

.hero-art {
  position: relative;
  align-self: end;
  margin-bottom: -0.75rem;
}

.hero-art::before {
  position: absolute;
  inset: 10% 4% 1%;
  border-radius: 47% 53% 45% 55%;
  background: var(--mustard);
  content: "";
  opacity: 0.72;
  transform: rotate(4deg);
}

.hero-art img {
  position: relative;
  display: block;
  width: min(100%, 23rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1.2rem 1rem oklch(0.35 0.04 65 / 0.14));
}

.page-shell {
  display: grid;
  grid-template-columns: 14rem minmax(0, var(--reading));
  justify-content: center;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem) 7rem;
  gap: clamp(2rem, 6vw, 5rem);
}

.toc {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.toc-title {
  margin: 0 0 0.9rem;
  color: var(--pine);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 0.35rem 0;
  color: var(--cocoa);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--forest);
}

.policy {
  min-width: 0;
}

.policy > section {
  padding-block: 2rem 2.5rem;
  border-top: 1px solid oklch(0.43 0.065 58 / 0.14);
}

.policy > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.policy h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 900;
}

.policy p {
  margin: 0.75rem 0;
}

.policy ul {
  margin: 0.85rem 0;
  padding-left: 1.35rem;
}

.policy li {
  margin: 0.45rem 0;
  padding-left: 0.25rem;
}

.policy li::marker {
  color: var(--forest);
}

.note {
  margin-block: 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid oklch(0.5 0.075 145 / 0.18);
  border-radius: 1rem;
  background: oklch(0.72 0.07 133 / 0.14);
  color: var(--pine);
}

.table-wrap {
  max-width: 100%;
  margin: 1.25rem 0;
  overflow-x: auto;
  border: 1px solid var(--stone);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid oklch(0.43 0.065 58 / 0.1);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

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

.contact-panel {
  display: grid;
  margin-top: 1.4rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  border-radius: 1.5rem;
  background: var(--pine);
  color: var(--ivory);
  box-shadow: var(--shadow);
  gap: 0.35rem;
}

.contact-panel strong {
  color: var(--mustard);
  font-size: 1.1rem;
}

.contact-panel a {
  color: var(--ivory);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.button:hover {
  background: var(--pine);
  color: var(--ivory);
}

.button-secondary {
  border-color: oklch(0.5 0.075 145 / 0.24);
  background: var(--ivory);
  color: var(--forest);
}

.button-secondary:hover {
  background: oklch(0.72 0.07 133 / 0.2);
  color: var(--pine);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.5fr);
  align-items: start;
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem) 7rem;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.support-content {
  max-width: var(--reading);
}

.support-content > section {
  padding-block: 1.75rem 2.25rem;
  border-top: 1px solid oklch(0.43 0.065 58 / 0.14);
}

.support-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.support-content h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.support-content h3 {
  margin: 0;
  color: var(--pine);
  font-size: 1rem;
  line-height: 1.35;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid oklch(0.43 0.065 58 / 0.1);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item p {
  margin: 0.45rem 0 0;
}

.support-aside {
  position: sticky;
  top: 6.5rem;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--pine);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.support-aside img {
  display: block;
  width: min(100%, 19rem);
  height: auto;
  margin: -1rem auto -1.25rem;
}

.support-aside-copy {
  padding: 0 1.5rem 1.65rem;
}

.support-aside h2 {
  margin: 0;
  color: var(--mustard);
  font-size: 1.35rem;
  font-weight: 900;
}

.support-aside p {
  margin: 0.55rem 0 1rem;
  color: oklch(0.93 0.025 105);
  font-size: 0.92rem;
  line-height: 1.55;
}

.support-aside .button {
  width: 100%;
  background: var(--mustard);
  color: var(--pine);
  box-shadow: none;
}

.support-aside .button:hover {
  background: oklch(0.84 0.125 83);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.55fr);
  align-items: center;
  width: min(calc(100% - 2rem), var(--content));
  min-height: calc(100vh - 12.5rem);
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
  gap: clamp(2rem, 7vw, 6rem);
}

.home-hero h1 {
  max-width: 10ch;
}

.home-hero-art {
  position: relative;
}

.home-hero-art::before {
  position: absolute;
  inset: 12% 2% 4%;
  border-radius: 50% 42% 52% 45%;
  background: var(--sage);
  content: "";
  opacity: 0.7;
  transform: rotate(-5deg);
}

.home-hero-art img {
  position: relative;
  display: block;
  width: min(100%, 24rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 1.2rem 1rem oklch(0.35 0.04 65 / 0.14));
}

.error-page {
  display: grid;
  min-height: calc(100vh - 12.5rem);
  padding: 2rem;
  text-align: center;
  place-items: center;
}

.error-page > div {
  max-width: 34rem;
}

.error-page h1 {
  max-width: none;
}

.site-footer {
  background: var(--pine);
  color: oklch(0.9 0.03 110);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2rem), var(--content));
  min-height: 8rem;
  margin-inline: auto;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--ivory);
}

@media (max-width: 50rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.42fr);
    gap: 1rem;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    padding: 1rem 1.15rem;
    border: 1px solid var(--stone);
    border-radius: 1rem;
    background: oklch(0.984 0.019 86 / 0.7);
  }

  .toc ol {
    columns: 2;
    column-gap: 1.5rem;
  }

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

  .support-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(8rem, 0.45fr) 1fr;
    align-items: center;
  }

  .support-aside-copy {
    padding: 1.5rem 1.5rem 1.5rem 0;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.42fr);
    gap: 1rem;
  }
}

@media (max-width: 36rem) {
  html {
    scroll-padding-top: 5rem;
  }

  .nav {
    min-height: 4rem;
  }

  .brand-mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .nav-links a {
    padding: 0.45rem 0.55rem;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  h1 {
    max-width: none;
  }

  .hero-art {
    width: 11rem;
    margin: -1rem 0 -1rem auto;
  }

  .toc ol {
    columns: 1;
  }

  .support-aside {
    grid-template-columns: 1fr;
  }

  .support-aside img {
    width: 12rem;
  }

  .support-aside-copy {
    padding: 0 1.4rem 1.5rem;
    text-align: center;
  }

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

  .home-hero-art {
    width: 13rem;
    margin: -1rem 0 0 auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

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

@media print {
  .site-header,
  .toc,
  .site-footer,
  .hero-art,
  .support-aside {
    display: none;
  }

  body {
    background: none;
    font-size: 10pt;
  }

  .hero,
  .page-shell {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  h1 {
    font-size: 28pt;
  }

  .policy > section {
    break-inside: avoid;
  }
}
