:root { color-scheme: light dark; font-family: system-ui, sans-serif; color: #eee6db; background: #171815; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
main, header, footer { width: min(100% - 40px, 780px); margin-inline: auto; }
header { padding-block: 24px; border-bottom: 1px solid #55574a; }
main { padding-block: 36px; }
h1 { font-family: Georgia, serif; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: 1.2rem; margin-block: 30px 12px; }
p { margin-block: 12px; }
a { color: #e6c77e; text-underline-offset: 4px; overflow-wrap: anywhere; }
footer { border-top: 1px solid #55574a; padding-block: 24px 40px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
nav a, header a { display: inline-flex; align-items: center; min-height: 44px; }
.muted { color: #c1bcaf; }
.flow { padding: 24px; margin-block: 32px; border: 1px solid #686b57; border-radius: 18px; }
.flow h2 { margin-top: 0; }
label { display: block; margin-block: 16px 8px; }
input { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 8px; border: 1px solid #929580; font: inherit; color: inherit; background: #242620; }
input[type=checkbox] { width: 22px; min-height: 22px; margin-right: 8px; vertical-align: middle; }
button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin: 12px 8px 0 0; padding: 10px 18px; font: inherit; font-weight: 600; color: #16180f; background: #e6c77e; border: 1px solid #e6c77e; border-radius: 8px; cursor: pointer; }
button.secondary { background: transparent; color: #e6c77e; }
button.danger { background: #ffc7bd; border-color: #ffc7bd; }
button:disabled { opacity: .55; cursor: wait; }
:focus-visible { outline: 3px solid #fff1c2; outline-offset: 4px; }
[hidden] { display: none !important; }
[role=alert] { color: #ffc7bd; }
@media (prefers-color-scheme: light) {
  :root { color: #272820; background: #fcf9f2; }
  a, button.secondary { color: #684700; }
  input { color: #272820; background: #fff; }
  .muted { color: #595c4f; }
  [role=alert] { color: #9e2511; }
  :focus-visible { outline-color: #684700; }
}
