:root {
  color-scheme: light;
  --brown: #4a2f18;
  --forest: #496f20;
  --forest-dark: #315315;
  --green: #73ad31;
  --coral: #f36a42;
  --aqua: #1f9ab0;
  --gold: #f2ae20;
  --paper: #fff2cc;
  --cream: #fff7dc;
  --sky: #77d5e7;
  --sky-light: #c8f2f7;
  --line: #d6b97b;
  --shadow: rgba(74, 47, 24, 0.18);
  --shell: 70rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.75), transparent 17rem),
    linear-gradient(180deg, var(--sky-light) 0, var(--cream) 34rem, #fffaf0 100%);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest-dark);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #213b0e;
}

a:focus-visible {
  outline: 4px solid var(--aqua);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--forest-dark);
  border-radius: 0.75rem;
  transform: translateY(-160%);
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 247, 220, 0.9);
  border-bottom: 2px solid rgba(214, 185, 123, 0.65);
  box-shadow: 0 0.35rem 1.25rem rgba(74, 47, 24, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest-dark);
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  box-shadow: 0 0.2rem 0 rgba(74, 47, 24, 0.2);
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  font-weight: 800;
}

.nav-links a[aria-current="page"] {
  color: var(--brown);
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.22em;
}

.hero {
  min-height: 34rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--forest-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 0.6rem;
  color: var(--forest-dark);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.hero-lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 650;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-pills li {
  padding: 0.5rem 0.8rem;
  background: rgba(255, 247, 220, 0.92);
  border: 2px solid rgba(73, 111, 32, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: auto 4% 3% 4%;
  height: 30%;
  background: #7ea942;
  border-radius: 50% 50% 10% 10%;
  filter: blur(0.2px);
  opacity: 0.72;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(100%, 24rem);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 1.35rem 0 rgba(74, 47, 24, 0.14), 0 2rem 4rem rgba(74, 47, 24, 0.22);
}

.sun {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 7rem;
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 1rem rgba(242, 174, 32, 0.13), 0 0 4rem rgba(242, 174, 32, 0.62);
}

.resource-section {
  padding-block: 2rem 6rem;
}

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

.resource-card {
  min-height: 9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--brown);
  background: var(--cream);
  border: 3px solid rgba(74, 47, 24, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 0.55rem 0 var(--shadow);
  text-decoration: none;
}

.resource-card:hover {
  color: var(--brown);
  transform: translateY(-0.1rem);
  box-shadow: 0 0.7rem 0 var(--shadow);
}

.resource-card--green {
  border-color: rgba(115, 173, 49, 0.7);
}

.resource-card--coral {
  border-color: rgba(243, 106, 66, 0.65);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  color: white;
  background: var(--forest);
  border-radius: 1rem;
  font-size: 1.6rem;
  font-weight: 900;
}

.resource-card--coral .card-icon {
  background: var(--coral);
}

.resource-card strong,
.resource-card small {
  display: block;
}

.resource-card strong {
  color: var(--forest-dark);
  font-size: 1.25rem;
}

.resource-card small {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}

.card-arrow {
  font-size: 1.8rem;
  font-weight: 900;
}

.legal-main {
  padding-block: clamp(2rem, 6vw, 5rem);
}

.paper-card {
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.75), transparent 16rem),
    var(--cream);
  border: 2px solid rgba(214, 185, 123, 0.78);
  border-radius: clamp(1.3rem, 4vw, 2.25rem);
  box-shadow: 0 1rem 0 rgba(74, 47, 24, 0.1), 0 1.5rem 4rem rgba(74, 47, 24, 0.12);
}

.paper-card h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.page-heading {
  padding-bottom: 1.4rem;
  border-bottom: 3px solid rgba(214, 185, 123, 0.55);
}

.page-heading > p:last-child {
  font-size: 1.12rem;
  font-weight: 650;
}

.effective-date {
  margin: 0.85rem 0 1.2rem;
  color: rgba(74, 47, 24, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.paper-card section {
  padding-top: 2rem;
}

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

.paper-card ul {
  padding-left: 1.35rem;
}

.paper-card li + li {
  margin-top: 0.45rem;
}

.contact-panel {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem 1.4rem;
  background: rgba(119, 213, 231, 0.24);
  border: 2px solid rgba(31, 154, 176, 0.42);
  border-radius: 1.25rem;
}

.contact-panel h2 {
  font-size: 1.55rem;
}

.site-footer {
  margin-top: 2rem;
  color: var(--cream);
  background: var(--forest-dark);
}

.site-footer a {
  color: white;
}

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

@media (max-width: 47rem) {
  body {
    font-size: 1rem;
  }

  .nav-shell {
    min-height: 4rem;
  }

  .brand img {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.78rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2.5rem;
  }

  .hero-art {
    min-height: 19rem;
    grid-row: 1;
  }

  .hero-art img {
    width: min(78vw, 20rem);
  }

  .sun {
    right: 7%;
    width: 5.5rem;
  }

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

  .footer-content {
    display: block;
    padding-block: 1.4rem;
  }
}

@media (max-width: 27rem) {
  .nav-shell {
    align-items: flex-start;
    padding-block: 0.7rem;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    align-self: center;
  }

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

  .card-arrow {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  .site-header,
  .paper-card,
  .resource-card,
  .feature-pills li {
    border-color: var(--brown);
  }
}

@media print {
  body {
    background: white;
  }

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

  .legal-main {
    width: 100%;
    padding: 0;
  }

  .paper-card {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
