:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cream: #fff8e8;
  --cream-deep: #f4ead0;
  --teal: #0b756c;
  --teal-deep: #16433f;
  --teal-soft: #dcefeb;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--teal-deep);
  background: linear-gradient(180deg, var(--teal-soft), var(--cream) 20rem);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: #075f57; overflow-wrap: anywhere; }
a:hover { color: #043f3a; }
a:focus-visible { outline: 3px solid #d38b31; outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: .65rem 1rem;
  background: var(--white);
  border-radius: .75rem;
  z-index: 2;
}
.skip-link:focus { top: 1rem; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  color: var(--teal-deep);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: .8rem; }
nav a { font-weight: 650; }

.page-shell {
  min-height: 65vh;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(22, 67, 63, .12);
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2.5rem rgba(22, 67, 63, .10);
}

h1 { margin-top: 0; font-size: clamp(2rem, 7vw, 3.35rem); line-height: 1.12; }
h2 { margin-top: 2.25rem; line-height: 1.25; }
.hero { padding-block: clamp(1rem, 6vw, 4rem); }
.eyebrow { color: var(--teal); font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.intro { max-width: 38rem; font-size: clamp(1.15rem, 3vw, 1.4rem); }

.card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 1rem;
}
.card h2 { margin-top: 0; }
.link-grid { display: grid; gap: .75rem; }
.link-grid a {
  padding: .85rem 1rem;
  background: var(--white);
  border-radius: .75rem;
  font-weight: 700;
}

li + li { margin-top: .45rem; }
.site-footer { padding-block: 1.5rem 2.5rem; }
.site-footer p { margin: .25rem 0; }

@media (max-width: 38rem) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .page-shell { border-radius: 1.1rem; }
}
