* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1rem/1.65 var(--font);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
h1, h2, h3, p { margin: 0 0 .6em; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -.035em; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.0625rem; }
small, kbd { font-size: .8125rem; }
small, .muted { color: var(--muted); }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
label { display: grid; gap: 4px; font-size: .875rem; font-weight: 600; }
input, select, textarea {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--r1);
  padding: 8px 12px;
  min-height: 44px;
  font-size: 1rem;
}
select { appearance: none; padding-inline-end: 34px; }
label:has(> select) { position: relative; }
label:has(> select)::after {
  content: "";
  position: absolute;
  inset-inline-end: 15px;
  bottom: 20px;
  width: 6px;
  height: 6px;
  border: solid var(--muted);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
textarea { min-height: 96px; resize: vertical; }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; accent-color: var(--primary); }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: var(--r1); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[hidden] { display: none; }
svg.lucide { width: 18px; height: 18px; flex: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.skip { position: fixed; left: 1rem; top: -120px; z-index: 30; }
.skip:focus { top: 8px; background: var(--surface); padding: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation-duration: 0s; transition-duration: 0s; }
}