:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #f7f8fa;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #174b8f; text-underline-offset: 0.2em; }
a:hover { color: #112e52; }
a:focus-visible { outline: 3px solid #174b8f; outline-offset: 4px; }

.site-header, main, footer {
  width: min(100% - 2rem, 54rem);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

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

.brand { font-weight: 800; font-size: 1.5rem; text-decoration: none; }
.site-header nav { display: flex; gap: 1.25rem; }
[aria-current] { font-weight: 700; }
main { padding: clamp(1rem, 4vw, 3rem); background: white; border: 1px solid #d9dee7; border-radius: 0.75rem; }
h1 { font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.2; margin-top: 0; }
h2 { font-size: 1.25rem; line-height: 1.35; margin-top: 2.25rem; }
p { white-space: pre-line; }
footer { padding-block: 1.5rem 3rem; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 0; }
.skip-link { position: absolute; top: -10rem; left: 1rem; padding: 0.75rem; background: white; }
.skip-link:focus { top: 0.5rem; }

.deletion-form { max-width: 34rem; }
.form-field { margin-block: 1.5rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.form-field input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #64748b;
  border-radius: 0.35rem;
  background: white;
  color: inherit;
  font: inherit;
}
.confirmation { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 0.75rem; align-items: start; }
.confirmation input { grid-column: 1; grid-row: 1; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; }
.confirmation label, .confirmation .errorlist { grid-column: 2; }
.errorlist { color: #9b1c1c; padding-left: 1.25rem; }
button { padding: 0.75rem 1.1rem; border: 0; border-radius: 0.35rem; background: #174b8f; color: white; font: inherit; font-weight: 600; cursor: pointer; }
.delete-button { background: #9b1c1c; }
input:focus-visible, button:focus-visible { outline: 3px solid #174b8f; outline-offset: 3px; }

@media print {
  :root { background: white; color: black; font-size: 11pt; }
  .site-header, footer, .skip-link { display: none; }
  main { width: 100%; padding: 0; border: none; }
  h2 { break-after: avoid; }
}
