:root {
  font-family: system-ui, sans-serif;
  color-scheme: light dark;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
main { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
header { margin-bottom: 2rem; }
h1 { margin: .2rem 0; font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
section { padding: 1.3rem 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; }
.hint { font-size: .9rem; opacity: .75; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
label { display: block; margin: .7rem 0 .25rem; font-weight: 600; }
input { padding: .65rem .75rem; font: inherit; min-width: 0; width: 100%; }
#api-url { flex: 1 1 280px; width: auto; }
button { padding: .65rem .9rem; font: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
form .row, form button { margin-top: .9rem; }
pre { overflow: auto; padding: 1rem; border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: .3rem; min-height: 6rem; white-space: pre-wrap; overflow-wrap: anywhere; }
