:root {
  --teal-950: #073b3a;
  --teal-800: #0d5c5a;
  --teal-100: #dcefed;
  --orange-700: #ad4c1f;
  --orange-100: #fff0e5;
  --ink: #172323;
  --muted: #51605f;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #b8c8c5;
  --focus: #ffbf47;
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: var(--teal-800);
  text-underline-offset: 0.2em;
}

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

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

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

nav a {
  color: var(--ink);
  font-weight: 700;
}

.hero,
.section,
footer {
  padding: clamp(3.5rem, 8vw, 7rem) max(1rem, calc((100vw - var(--content)) / 2 + 3rem));
}

.hero {
  background: var(--teal-950);
  color: var(--white);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 48rem;
  margin: 0 0 2rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.eyebrow,
.resource-label {
  margin: 0 0 0.75rem;
  color: var(--orange-700);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc39f;
}

.access-note {
  max-width: 50rem;
  margin: 2rem 0 0;
  padding-left: 1rem;
  border-left: 0.3rem solid #ffc39f;
}

h2,
h3,
h4 {
  color: var(--teal-950);
  line-height: 1.15;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

h4 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.resource-card {
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 0.12rem solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 0.8rem 2.5rem rgba(7, 59, 58, 0.08);
}

.resource-intro {
  max-width: 52rem;
}

.method-grid,
.information-grid,
.about,
.support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.method-grid {
  margin: 2rem 0;
}

.method-grid > section {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--teal-100);
}

.information-grid {
  margin-top: 2.5rem;
}

.information-grid ol {
  padding-left: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border: 0.14rem solid currentColor;
  border-radius: 0.45rem;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.button.primary {
  border-color: var(--orange-700);
  background: var(--orange-700);
  color: var(--white);
}

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

.button:hover {
  filter: brightness(0.94);
  text-decoration: underline;
}

.file-type {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.78em;
  letter-spacing: 0.04em;
}

.download-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 0.12rem solid var(--line);
  border-bottom: 0.12rem solid var(--line);
}

.text-link {
  font-weight: 800;
}

.privacy-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 0.4rem solid var(--orange-700);
  background: var(--orange-100);
}

.privacy-box p:last-child {
  margin-bottom: 0;
}

.version {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about {
  background: var(--teal-100);
}

.support {
  background: var(--white);
}

footer {
  background: var(--teal-950);
  color: var(--white);
}

footer p {
  margin: 0.25rem 0;
}

footer a {
  color: var(--white);
}

@media (max-width: 46rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .method-grid,
  .information-grid,
  .about,
  .support {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

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

@media print {
  .site-header,
  .skip-link,
  .button {
    display: none;
  }

  body {
    background: var(--white);
    color: #000;
  }
}
