@font-face { font-family: 'Raleway'; font-weight: 300 700; font-display: swap; src: url(/app/fonts/raleway-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Raleway'; font-weight: 300 700; font-display: swap; src: url(/app/fonts/raleway-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1EFF; }
@font-face { font-family: 'Roboto'; font-weight: 300 700; font-display: swap; src: url(/app/fonts/roboto-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Roboto'; font-weight: 300 700; font-display: swap; src: url(/app/fonts/roboto-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root { --peacoat: #2D3243; --gold: #E9B055; --white: #F3EEE4; --almond: #E5D4C2; --muted: #5d6070; --error: #9D4B52; --ok: #7D7E4E; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--white); color: var(--peacoat); font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; line-height: 1.6; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 56px 16px 32px; }
.overline { font-family: 'Raleway', sans-serif; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); margin: 0 0 6px; }
h1 { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 1.9rem; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 28px; }
.card { background: #fff; border: 1px solid var(--almond); border-radius: 16px; padding: 24px; }
label { display: block; font-weight: 500; margin: 0 0 6px; }
input { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc3b4; border-radius: 10px; background: #fff; color: var(--peacoat); }
input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
input.code { font-size: 1.6rem; letter-spacing: .4em; text-align: center; }
button, .btn { display: inline-block; width: 100%; margin-top: 16px; font: inherit; font-weight: 600; font-size: 1rem; padding: 12px 18px; border: 0; border-radius: 10px; background: var(--gold); color: var(--peacoat); cursor: pointer; text-align: center; text-decoration: none; }
button.secondary, .btn.secondary { background: transparent; border: 1px solid var(--peacoat); }
button[disabled] { opacity: .6; cursor: default; }
.link { background: none; border: 0; padding: 0; margin: 14px 0 0; width: auto; color: var(--muted); text-decoration: underline; font-weight: 400; font-size: .95rem; }
.msg { margin: 14px 0 0; font-size: .95rem; }
.msg.error { color: var(--error); }
.msg.ok { color: var(--ok); }
.hint { font-size: .9rem; color: var(--muted); margin: 18px 0 0; }
.hidden { display: none !important; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #efe7dc; }
.row:last-child { border-bottom: 0; }
.row span:first-child { color: var(--muted); }
footer { text-align: center; font-size: .85rem; color: var(--muted); padding: 24px 16px; }
footer a { color: var(--muted); margin: 0 6px; }
.lang { position: absolute; top: 16px; right: 16px; font-size: .9rem; color: var(--muted); }
