/* The buyer's pages: welcome, sign-in, enter, end. House tokens, light and dark. */
:root {
  --ground:#ffffff; --panel:#fbf7f5; --ink:#2b1f1c; --body:#5f4f4a; --muted:#7d6e69;
  --hairline:#eee6e3; --accent:#d4654e; --accent-dark:#a84634; --tint:#fdeae4;
  --font: Rubik, system-ui, "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root {
  --ground:#1d1716; --panel:#261e1c; --ink:#f3ebe8; --body:#d8c9c3; --muted:#ad9d97;
  --hairline:#3a2f2c; --accent:#e07a63; --accent-dark:#f0a08d; --tint:#3a2621; color-scheme:dark } }
* { box-sizing: border-box }
body { margin:0; background:var(--ground); color:var(--ink); font:17px/1.6 var(--font) }
main { max-width:520px; margin:0 auto; padding:48px 16px }
.card { background:var(--panel); border:1px solid var(--hairline); border-radius:14px; padding:28px 22px }
h1 { font-size:24px; line-height:1.3; margin:0 0 16px }
p { margin:0 0 14px; color:var(--body) }
.ltr { direction:ltr; unicode-bidi:isolate }
form { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 8px }
input { flex:1 1 220px; font:inherit; color:inherit; background:var(--ground); border:1px solid var(--hairline);
  border-radius:10px; padding:10px 12px; min-width:0 }
input[inputmode="numeric"] { letter-spacing:4px; text-align:center; direction:ltr }
input[inputmode="numeric"]::placeholder { letter-spacing:normal; direction:rtl }
button, .button { font:inherit; font-weight:500; background:var(--accent); color:#fff; border:0; border-radius:10px;
  padding:10px 20px; cursor:pointer; text-decoration:none; display:inline-block }
button:disabled { opacity:.6; cursor:default }
.note { background:var(--tint); border-radius:10px; padding:12px 14px; margin:14px 0 0; color:var(--ink) }
.contact { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px }
.contact a { border:1px solid var(--accent); color:var(--accent-dark); background:transparent; border-radius:10px;
  padding:8px 16px; text-decoration:none }
.hidden { display:none !important }
a { color:var(--accent-dark) }
