:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: radial-gradient(circle at top, #f8fafc 0, #eef2f7 46%, #e5e7eb 100%);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.qr-shell { min-height: 100vh; display: grid; place-items: center; padding: 26px; }
.qr-card { width: min(980px, 100%); display: grid; grid-template-columns: 1fr 420px; gap: 24px; padding: 28px; border-radius: 32px; background: rgba(255,255,255,.92); box-shadow: 0 24px 80px rgba(15,23,42,.16); border: 1px solid rgba(15,23,42,.08); }
.qr-head, .qr-form, .qr-actions, .qr-error { grid-column: 1; }
.qr-kicker { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: #9a3412; }
h1 { margin: 8px 0 10px; font-size: clamp(32px, 5vw, 54px); line-height: 1; letter-spacing: -0.05em; }
p { margin: 0; color: #64748b; line-height: 1.55; font-size: 16px; }
.qr-form { display: grid; gap: 16px; margin-top: 22px; }
label span { display: block; margin: 0 0 7px; font-weight: 750; font-size: 14px; }
input[type="url"], input[type="text"] { width: 100%; height: 48px; border: 1px solid #d1d5db; border-radius: 14px; padding: 0 14px; font-size: 15px; outline: none; background: #fff; }
input:focus { border-color: #111827; box-shadow: 0 0 0 4px rgba(17,24,39,.08); }
.color-row { display: flex; gap: 10px; align-items: center; }
input[type="color"] { width: 62px; height: 48px; border: 0; padding: 0; background: transparent; }
.qr-preview-wrap { grid-column: 2; grid-row: 1 / span 5; align-self: center; border-radius: 28px; padding: 16px; background: #f8fafc; border: 1px solid rgba(15,23,42,.08); }
.qr-preview-wrap img { width: 100%; display: block; border-radius: 18px; background: #fff; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.qr-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.qr-actions .primary { background: #111827; color: white; }
.qr-actions .secondary { background: #f3f4f6; color: #111827; border: 1px solid #e5e7eb; }
.qr-error { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; color: #9a3412; font-weight: 700; }
@media (max-width: 860px) { .qr-card { grid-template-columns: 1fr; } .qr-preview-wrap { grid-column: 1; grid-row: auto; } }
