:root {
  --ink: #111111;
  --muted: #555555;
  --line: #e2e2e2;
  --accent: #c8201a;
  --bg: #ffffff;
  --field: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f2f2; --muted: #a8a8a8; --line: #333333; --accent: #ff5a4f; --bg: #0e0e0e; --field: #161616; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; font-size: 16px; line-height: 1.5; }

.top {
  max-width: 760px; margin: 0 auto; padding: 40px 16px 20px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--ink);
}
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
.logo { font-size: 44px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; }
.accent { color: var(--accent); }
.tagline { color: var(--muted); font-size: 15px; }
.badge { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.view { display: flex; flex-direction: column; gap: 16px; }
.view[hidden] { display: none; }
form { display: flex; flex-direction: column; gap: 14px; }

.step { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }
h1 { margin: 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; }
p { margin: 0; }
.muted { color: var(--muted); font-size: 14px; }
label { font-weight: 600; font-size: 15px; }

textarea, input {
  width: 100%; border: 1.5px solid var(--ink); border-radius: 0; background: var(--field); color: var(--ink);
  font: inherit; font-size: 15px; padding: 12px 14px;
}
textarea { resize: vertical; font-family: ui-monospace, "SF Mono", Consolas, monospace; }
input[readonly], textarea[readonly] { background: transparent; }
textarea:focus-visible, input:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row input { flex: 1 1 260px; min-width: 0; }

button { font: inherit; font-weight: 600; font-size: 16px; min-height: 48px; padding: 0 22px; border-radius: 0; cursor: pointer; }
button:disabled { opacity: 0.55; cursor: progress; }
.primary { background: var(--ink); color: var(--bg); border: 0; }
.accent-btn { background: var(--accent); color: #ffffff; border: 0; }
.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.danger { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }

.rule {
  display: flex; justify-content: space-between; padding: 14px 0;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.notice { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent); font-size: 14px; }
.error { color: var(--accent); font-weight: 600; }
.error[hidden], .muted[hidden] { display: none; }
.void { font-size: 120px; font-weight: 700; line-height: 1; letter-spacing: -6px; }
