* { box-sizing: border-box; }
html { color-scheme: var(--scheme, light); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; }
button, .button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.04; }
p { text-wrap: pretty; }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.mast { border-bottom: 1px solid var(--line); }
.mast .wrap { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font-family: Georgia, serif; }
.brand-name { letter-spacing: .21em; font-size: .72rem; font-weight: 750; }
.mast nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); }
.mast nav a { color: var(--muted); font-size: .84rem; text-decoration: none; padding-block: 13px; }
.mast nav a:hover, .mast nav a[aria-current] { color: var(--text); text-decoration: underline; }
.kicker, .mono { font: 600 .71rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
.kicker { color: var(--accent); margin-bottom: 12px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.button {
  border: 1px solid var(--line); background: var(--panel); border-radius: 8px;
  min-height: 44px; padding: 8px 15px; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; text-decoration: none; font-size: .87rem;
  font-weight: 650; line-height: 1.25;
}
.button:hover { border-color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button.quiet { background: transparent; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
label { display: block; font-size: .9rem; font-weight: 660; }
.field { margin-block: 0 17px; }
.field .hint { font-size: .82rem; display: block; color: var(--muted); font-weight: 400; margin-top: 3px; }
textarea, select, input[type=text] {
  display: block; width: 100%; min-height: 44px; border: 1px solid var(--line);
  border-radius: 7px; padding: 10px 11px; background: var(--input); margin-top: 6px;
}
textarea { resize: vertical; min-height: 64px; }
::placeholder { color: var(--muted); opacity: 1; }
footer { margin-top: 46px; padding-block: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .79rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; }
@media (max-width: 570px) {
  .wrap { width: calc(100% - 30px); }
  .mast .wrap { min-height: 62px; gap: 10px; }
  .mast nav a { font-size: .76rem; }
  .brand { gap: 7px; }
  .brand-name { letter-spacing: .1em; font-size: .64rem; }
  .brand-mark { width: 23px; height: 23px; }
}
