:root {
  font-family: "Century Gothic", "Aptos", Arial, sans-serif;
  color: #373836;
  background: #fffbf4;
  --olive: #475147;
  --dark: #303a31;
  --line: #d8d8cc;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; align-items: center; gap: 12px; padding: 22px max(5vw, 20px); border-bottom: 1px solid var(--line); color: var(--olive); }
.mark { position: relative; display: inline-block; width: 49px; height: 29px; border: 1px solid var(--olive); overflow: hidden; }
.mark::before, .mark::after { position: absolute; content: ""; inset: -1px auto -1px -1px; aspect-ratio: 1; border: 1px solid var(--olive); border-radius: 50%; }
.mark::after { inset: -1px -1px -1px auto; border-radius: 50% 0 0 50%; }
main { width: min(100% - 40px, 460px); margin: clamp(25px, 7vh, 70px) auto; }
h1 { margin: 0; color: var(--olive); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.05; letter-spacing: -.055em; text-transform: uppercase; }
p { margin: 12px 0; line-height: 1.55; }
form { display: grid; gap: 14px; margin-top: 22px; }
label { display: grid; gap: 5px; font-weight: 700; font-size: .94rem; }
input { min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid #9ba196; border-radius: 3px; background: transparent; color: var(--dark); font: inherit; }
small { font-weight: 400; color: #5e665c; }
button { justify-self: start; min-height: 42px; padding: 9px 18px; border: 1px solid var(--olive); border-radius: 40px; background: var(--olive); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: var(--dark); }
a { color: var(--olive); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--dark); outline-offset: 4px; }
.switch { margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--line); }
.error { padding: 9px 12px; border: 1px solid #ccb6a2; background: #f2e9db; color: #74382d; }
.qr { display: block; width: min(100%, 220px); height: auto; margin: 14px 0; border: 1px solid var(--line); }
summary { cursor: pointer; }
code { display: block; margin-top: 7px; overflow-wrap: anywhere; }
