:root {
  color-scheme: light dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  --background: #f4f7f5;
  --surface: #ffffff;
  --surface-soft: #eaf1ee;
  --border: #cbd9d3;
  --text: #18211e;
  --muted: #52615b;
  --brand: #176b53;
  --brand-strong: #0e513d;
  --warning-bg: #fff8e6;
  --warning-border: #e3c66d;
  --warning-text: #5c4813;
  --shadow: 0 18px 50px rgb(21 55 44 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgb(79 150 124 / 12%), transparent 34rem),
    var(--background);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.2em;
}

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

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

.site-header {
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.65rem;
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
}

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

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.45rem;
  content: "/";
}

.hero {
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4.25rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

.lede {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 0.8rem;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease;
}

.button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--brand-strong);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--border);
  box-shadow: var(--shadow);
}

.facts > div {
  padding: 1.15rem;
  background: var(--surface);
}

.facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.25rem 0 0;
  font-weight: 750;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.85fr);
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.stack {
  display: grid;
  gap: 1.25rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 8px 24px rgb(21 55 44 / 6%);
}

.card p:first-of-type {
  margin-top: 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.notice {
  border-color: var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-text);
}

.notice strong {
  display: block;
  margin-bottom: 0.35rem;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.55rem;
}

.test-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-nav li + li {
  margin-top: 0.55rem;
}

.revision {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 68%, white);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 460px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111816;
    --surface: #18231f;
    --surface-soft: #1d2b26;
    --border: #354940;
    --text: #edf5f1;
    --muted: #b2c3bc;
    --brand: #59b997;
    --brand-strong: #89dabd;
    --warning-bg: #342b16;
    --warning-border: #806c36;
    --warning-text: #f4dfa3;
    --shadow: 0 18px 50px rgb(0 0 0 / 28%);
  }

  .button {
    color: #0b251c;
  }

  .button.secondary {
    color: var(--brand-strong);
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .actions,
  .site-footer,
  .test-nav {
    display: none;
  }

  .card,
  .facts {
    box-shadow: none;
  }
}
