:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}
body { margin: 0; background: Canvas; color: CanvasText; }
main { max-width: 40rem; margin: auto; padding: 2rem 1.25rem 3rem; }
h1, h2 { line-height: 1.15; letter-spacing: -.03em; }
h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
section { border-top: 1px solid color-mix(in srgb, CanvasText 25%, Canvas); padding-block: 1rem; }
a { color: inherit; text-underline-offset: .2em; }
form, #generated { margin-top: 1.25rem; }
label { display: block; margin-bottom: .4rem; font-weight: 600; }
.form-row { display: flex; gap: .5rem; flex-wrap: wrap; }
button, input { font: inherit; box-sizing: border-box; min-height: 44px; padding: .45rem .65rem; }
button:not(:disabled) { cursor: pointer; }
input { flex: 1 1 15rem; min-width: 0; }
#generated-code { width: 100%; font-family: ui-monospace, monospace; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
