/* Breadify web look (universal rule 95): the breadify.com landing page palette, Inter, pill buttons.
   Gold #E0A449 is the accent; #FFC449 is reserved for hover and focus. Same in both OS schemes. */
:root {
  --bg: #100F0D; --panel: #1A1815; --sunk: #141210; --ink: #F3ECE1; --muted: #B7A98F; --faint: #6F6555; --line: #2A2620;
  --gold: #E0A449; --gold-hover: #FFC449; --gold-ink: #241F16; --err: #F28B82; --ok: #8FD3A5;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.card { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; width: 100%; max-width: 460px; }
.logo-bar { display: block; width: fit-content; margin: 0 auto 22px; }
.logo { display: block; height: 41px; width: auto; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; color: var(--ink); }
.sub { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.msg { background: var(--sunk); color: var(--ink); border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 12px; margin: 0 0 20px; font-size: 14px; white-space: pre-wrap; }
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
input[type=text], input[type=tel] { width: 100%; font: inherit; font-size: 22px; letter-spacing: .3em; text-align: center; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--sunk); color: var(--ink); }
input:focus { outline: 2px solid var(--gold-hover); outline-offset: 1px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 15px 20px; font-family: inherit; font-weight: 600; font-size: 17px; line-height: 1; border: 0; border-radius: 999px; background: var(--gold); color: var(--gold-ink); cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--gold-hover); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn[disabled]:hover { background: var(--gold); }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.secondary:hover { background: var(--sunk); border-color: var(--muted); }
.status { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.status.err { color: var(--err); }
.status.ok { color: var(--ok); }
.file { border: 1px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.bar { height: 6px; background: var(--sunk); border-radius: 3px; overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .15s; }
.hidden { display: none !important; }
footer { text-align: center; font-size: 12.5px; color: var(--faint); padding: 14px 16px 24px; }
footer b { color: var(--muted); letter-spacing: .08em; }
.nowrap { white-space: nowrap; }
@media (max-width: 480px) { .card { padding: 24px 18px; border-radius: 18px; } h1 { font-size: 21px; } input[type=text] { font-size: 20px; } }
