:root {
  color-scheme: light;
  --ink: #182b27;
  --muted: #495e57;
  --accent: #174f43;
  --canvas: #fbfaf6;
  --panel: #eff5ef;
  --line: #cfdbd1;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #2d806e; outline-offset: 4px; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.reading { max-width: 52rem; }
.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.site-footer { border-block: 1px solid var(--line); margin-top: 4rem; }
.header-inner, .footer-inner, .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .55rem 1.35rem;
}
.header-inner, .footer-inner { padding-block: .85rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
nav [aria-current] { font-weight: 700; }
.brand { font-size: 1.45rem; font-weight: 800; letter-spacing: -.06em; text-decoration: none; }
.brand span { color: var(--muted); }
.breadcrumbs { justify-content: flex-start; gap: .35rem .7rem; margin-top: 1.5rem; font-size: .9rem; }
.intro { padding-block: clamp(1.5rem, 4vw, 3rem); max-width: 54rem; }
.intro > p:not(.eyebrow) { font-size: 1.12rem; max-width: 64ch; }
.eyebrow { color: var(--accent); font-weight: 750; letter-spacing: .08em; font-size: .82rem; }
h1, h2, h3 { margin-block: 0 .6em; line-height: 1.16; }
h1 { font-size: clamp(2.15rem, 5.5vw, 4.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.18rem; }
p { margin-block: 0 1em; }
section { margin-bottom: 2.5rem; }
.grid, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card, .panel, .result { border-radius: .85rem; padding: clamp(1rem, 2.5vw, 1.6rem); }
.card { background: #fff; border: 1px solid var(--line); }
.panel, .result { background: var(--panel); }
.card > :last-child, .panel > :last-child, .result > :last-child { margin-bottom: 0; }
.links { padding-inline-start: 1.4rem; }
.links li { margin-bottom: .65rem; }
.muted { color: var(--muted); font-size: .92rem; }
label { display: grid; align-content: space-between; gap: .25rem; font-weight: 650; }
input, select {
  font: inherit;
  min-height: 2.75rem;
  width: 100%;
  background: #fff;
  border: 1px solid #869b92;
  color: var(--ink);
  border-radius: .45rem;
  padding: .35rem .55rem;
}
.button {
  display: inline-block;
  margin-block: .4rem;
  padding: .6rem 1.05rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:disabled { opacity: .65; cursor: wait; }
form .muted, .result { margin-top: .85rem; }
.result { background: #dcecdf; }
.form-error { color: #922d28; }
.skip-link { position: absolute; inset: .5rem auto auto .5rem; background: white; padding: .5rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
@media (max-width: 39rem) {
  .grid, .form-grid { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 1.5rem); }
}
