:root {
    color-scheme: dark;
    --background: #111615;
    --panel: #19201d;
    --text: #f6f2e8;
    --muted: #b5c1b8;
    --line: #48584e;
    --accent: #ffb47a;
    font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--background);
    color: var(--text);
}
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
header, footer { border-block: 1px solid var(--line); }
header .shell, footer .shell { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 16px; }
a { color: var(--muted); text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.brand, .eyebrow, footer { font: 700 .75rem/1.45 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand svg { flex: none; }
header .shell > a:last-child { font-size: .88rem; }
main { display: grid; place-items: center; padding-block: 54px; }
.panel { position: relative; width: min(100%, 460px); padding: clamp(24px, 6vw, 42px); background: var(--panel); border: 1px solid var(--line); }
.panel::before { content: ""; display: block; position: absolute; width: 64px; height: 2px; background: var(--accent); inset: -1px auto auto -1px; }
.eyebrow { color: var(--accent); margin: 0 0 12px; }
h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.summary { color: var(--muted); margin: 16px 0 24px; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
input, button { font: inherit; width: 100%; padding: 10px 12px; min-height: 44px; border-radius: 0; }
input { border: 1px solid var(--line); background: var(--background); color: var(--text); }
button { border: 1px solid var(--accent); background: var(--accent); color: var(--background); font-weight: 700; cursor: pointer; }
button:hover { background: #ffcca7; color: var(--background); }
.error { border-left: 2px solid var(--accent); color: #ffd4bc; padding-left: 10px; }
footer { color: var(--muted); }
footer p { margin: 0; }
