:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #69737e;
  --red: #e52e2e;
  --red-dark: #b91f25;
  --cream: #fff8ef;
  --paper: #ffffff;
  --line: #e6ddd2;
  --green: #18794e;
  font-family: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--cream); }
button, input { font: inherit; }
.kiosk-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, .82fr) minmax(520px, 1.18fr); }
.welcome-panel { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, #a9151d 0%, #e52e2e 58%, #ff5b3c 100%); color: white; }
.welcome-panel::before, .welcome-panel::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.welcome-panel::before { width: 38vw; height: 38vw; right: -21vw; top: 20%; }
.welcome-panel::after { width: 24vw; height: 24vw; left: -13vw; bottom: -8vw; }
.brand, .welcome-copy, .privacy-note { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: clamp(64px, 7vw, 96px); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(80,0,0,.22)); }
.brand div { display: grid; gap: 2px; }
.brand strong { font: 800 clamp(15px, 1.5vw, 21px)/1.1 Manrope, sans-serif; letter-spacing: .04em; }
.brand span { font-size: 10px; letter-spacing: .2em; opacity: .78; }
.welcome-copy { max-width: 520px; }
.eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.welcome-copy h1 { margin: 14px 0 16px; font: 800 clamp(38px, 5vw, 70px)/.98 Manrope, sans-serif; letter-spacing: -.045em; }
.welcome-copy p { max-width: 440px; margin: 0; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.55; color: rgba(255,255,255,.84); }
.privacy-note { max-width: 480px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(89,0,8,.18); backdrop-filter: blur(8px); }
.privacy-note span { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: white; color: var(--red); font-weight: 800; }
.privacy-note p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.86); }
.form-panel { padding: clamp(30px, 6vw, 88px); display: grid; place-items: center; background: var(--paper); }
#customerForm, .result-card { width: min(100%, 680px); }
.form-heading { margin-bottom: 30px; display: flex; gap: 14px; align-items: center; }
.step-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red); color: white; font: 800 18px Manrope; }
.form-heading h2, .result-card h2 { margin: 0; font: 800 clamp(26px, 3vw, 38px)/1.1 Manrope, sans-serif; letter-spacing: -.03em; }
.form-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: 12px; font-weight: 700; color: #38434e; }
.field > span b { color: var(--red); }
.field input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #fffcf8; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus { border-color: var(--red); background: white; box-shadow: 0 0 0 4px rgba(229,46,46,.1); }
.field input.invalid { border-color: var(--red); }
.field-error, .address-error { min-height: 14px; color: var(--red-dark); font-size: 11px; }
.address-section { margin: 4px 0 24px; border: 1px solid var(--line); border-radius: 13px; background: #fffcf8; }
.address-section summary { cursor: pointer; list-style: none; padding: 16px 17px; display: flex; justify-content: space-between; align-items: center; }
.address-section summary::-webkit-details-marker { display: none; }
.address-section summary span { font-size: 13px; font-weight: 700; }
.address-section summary b { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 7px; background: #fee2e2; color: var(--red); }
.address-section summary small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.address-fields { padding: 4px 17px 2px; border-top: 1px solid var(--line); }
.address-row { grid-template-columns: 1.6fr .55fr .85fr; }
.submit-button, .again-button { min-height: 58px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 800; }
.submit-button { width: 100%; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--red), #ff4933); color: white; box-shadow: 0 14px 32px rgba(207,31,39,.22); }
.submit-button b { font-size: 22px; }
.submit-button:disabled { opacity: .62; cursor: wait; }
.form-footnote { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 10px; }
.bot-field { position: fixed; left: -10000px; top: -10000px; }
.result-card { text-align: center; }
.result-icon { width: 78px; height: 78px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: #e7f7ef; color: var(--green); font: 800 34px Manrope; }
.result-card.duplicate .result-icon { background: #fff1d8; color: #a65c00; }
.result-card .eyebrow { color: var(--red); }
.result-card h2 { margin-top: 10px; }
.result-card p { max-width: 460px; margin: 14px auto 26px; color: var(--muted); line-height: 1.6; }
.again-button { padding: 0 24px; background: var(--ink); color: white; }
@media (max-width: 820px) {
  .kiosk-shell { grid-template-columns: 1fr; }
  .welcome-panel { min-height: 340px; gap: 44px; }
  .welcome-copy h1 { font-size: clamp(38px, 10vw, 60px); }
  .privacy-note { display: none; }
  .form-panel { padding: 34px 22px 50px; }
}
@media (max-width: 560px) {
  .welcome-panel { min-height: 300px; padding: 24px; }
  .brand img { width: 64px; }
  .field-row, .address-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
