:root { color-scheme: light dark; --accent: color-mix(in srgb, currentColor 12%, transparent); --rule: color-mix(in srgb, currentColor 15%, transparent); --bad: light-dark(#a4260c, #ff9b7a); --good: light-dark(#116339, #6fd39b); } * { box-sizing: border-box; } body { margin: 0; font: 1rem/1.6 system-ui, sans-serif; text-wrap: pretty; } main { max-width: 42rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; } h1 { font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.5rem; } .lede { opacity: 0.8; margin: 0 0 1rem; } .hint { opacity: 0.7; font-size: 0.9rem; margin: 0.25rem 0 0.75rem; } ol.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; } .step { border-top: 1px solid var(--rule); padding: 1.5rem 0; opacity: 0.45; } .step[data-state="active"], .step[data-state="done"] { opacity: 1; } /* A step nobody can act on yet must not accept input either — the opacity above is a hint, not a guard. */ .step:not([data-state="active"]):not([data-state="done"]) :is(input, button, textarea, select) { pointer-events: none; } .step h2 { font-size: 1.15rem; margin: 0 0 0.5rem; } .step h3 { font-size: 1rem; margin: 0 0 0.5rem; } .step[data-state="done"] > h2::after { content: " ✓"; color: var(--good); } label { display: block; font-weight: 600; margin: 0.75rem 0 0.25rem; } label.check { font-weight: 400; display: flex; gap: 0.5rem; align-items: center; } input[type="text"], input[type="file"], textarea, select { width: 100%; font: inherit; padding: 0.5rem; border: 1px solid var(--rule); border-radius: 0.35rem; background: transparent; color: inherit; } textarea { font-family: ui-monospace, monospace; font-size: 0.85rem; resize: vertical; } fieldset { border: 1px solid var(--rule); border-radius: 0.5rem; padding: 0.5rem 1rem 1rem; margin: 1.25rem 0; } legend { font-weight: 600; padding: 0 0.35rem; } button { font: inherit; font-weight: 600; padding: 0.5rem 1rem; margin-top: 1rem; border: 1px solid transparent; border-radius: 0.35rem; background: canvastext; color: canvas; cursor: pointer; } button.secondary { background: transparent; border-color: var(--rule); color: inherit; } button.link { background: none; border: none; padding: 0; margin: 0; text-decoration: underline; color: inherit; font-weight: 400; } button[disabled] { cursor: not-allowed; opacity: 0.5; } .choices { display: flex; flex-wrap: wrap; gap: 0.75rem; } .status { margin: 0.75rem 0 0; min-height: 1.6em; } .status[data-tone="bad"] { color: var(--bad); } .status[data-tone="good"] { color: var(--good); } .keybox { border: 1px solid var(--rule); border-radius: 0.5rem; padding: 1rem; margin-top: 1.5rem; background: var(--accent); } .key, code { font-family: ui-monospace, monospace; font-size: 0.8rem; word-break: break-all; } .key { display: block; padding: 0.75rem; border-radius: 0.35rem; background: canvas; user-select: all; } ul.written { margin: 1rem 0 0; padding-left: 1.25rem; } ul.written code { word-break: break-all; } progress { width: 100%; margin-top: 0.75rem; } footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); opacity: 0.7; font-size: 0.9rem; }