:root {
  color-scheme: light;
  --red: #c5021d;
  --red-dark: #990018;
  --ink: #202833;
  --muted: #697582;
  --line: #e1e6eb;
  --surface: #ffffff;
  --soft: #f4f7f9;
  --green: #0e7a5a;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #fff 0, #f7f9fa 32%, #edf2f5 100%); color: var(--ink); font-size: 18px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.brand-bar { min-height: 108px; background: rgba(255,255,255,.94); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 24px; padding: 16px clamp(20px, 5vw, 72px); border-bottom: 1px solid rgba(32,40,51,.08); box-shadow: 0 6px 24px rgba(24,32,42,.05); }
.brand-lockup { display: flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: clamp(190px, 28vw, 320px); height: auto; max-height: 78px; object-fit: contain; object-position: left center; }
.content-frame { width: min(100%, 1120px); margin: 0 auto; padding: clamp(30px, 6vw, 72px) clamp(18px, 4vw, 44px) 28px; flex: 1; }
.footer-note { text-align: center; color: var(--muted); font-size: 14px; padding: 14px 20px 24px; }
.screen { max-width: 900px; margin: 0 auto; }
.screen-header { margin-bottom: 30px; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 850; margin: 0 0 13px; }
h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.06; }
h1 { font-size: clamp(38px, 6vw, 66px); max-width: 760px; }
h2 { font-size: clamp(28px, 4vw, 44px); }
.lede { color: var(--muted); max-width: 700px; line-height: 1.5; margin: 17px 0 0; font-size: clamp(17px, 2vw, 20px); }
.panel { background: rgba(255,255,255,.96); border: 1px solid rgba(218,225,231,.9); border-radius: 30px; padding: clamp(22px, 4vw, 42px); box-shadow: 0 18px 48px rgba(24,32,42,.08); }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.choice { min-height: 160px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 13px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease; }
.choice:hover, .choice:focus-visible { border-color: rgba(197,2,29,.55); background: #fffafb; box-shadow: 0 12px 26px rgba(197,2,29,.12); transform: translateY(-2px); }
.choice strong { font-size: 25px; }
.choice span { color: var(--muted); font-size: 16px; line-height: 1.4; }
.choice-icon { color: var(--red); font-size: 31px; line-height: 1; }
.site-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.site-button { min-height: 78px; border: 2px solid var(--line); border-radius: 18px; background: white; padding: 14px 16px; text-align: left; font-weight: 780; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.site-button:hover, .site-button:focus-visible { border-color: rgba(197,2,29,.55); background: #fffafb; color: var(--red); transform: translateY(-1px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 780; font-size: 16px; }
input, textarea { width: 100%; border: 2px solid #d1d9e0; border-radius: 15px; padding: 16px 17px; min-height: 60px; background: white; color: var(--ink); outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(197,2,29,.12); }
.hint { color: var(--muted); font-size: 14px; line-height: 1.35; margin: 0; }
.check-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; }
.check-row input { width: 28px; height: 28px; min-height: 28px; flex: 0 0 28px; accent-color: var(--red); margin-top: 1px; }
.check-row label { font-weight: 500; line-height: 1.35; }
.actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.primary-button, .secondary-button { min-height: 62px; border-radius: 16px; padding: 0 28px; font-size: 18px; font-weight: 820; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.primary-button { background: var(--red); color: white; border: 2px solid var(--red); box-shadow: 0 8px 18px rgba(197,2,29,.16); }
.primary-button:hover, .primary-button:focus-visible { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 10px 22px rgba(153,0,24,.24); transform: translateY(-1px); }
.secondary-button { background: white; color: var(--ink); border: 2px solid var(--line); }
.secondary-button:hover, .secondary-button:focus-visible { border-color: #aeb9c3; background: #f9fafb; transform: translateY(-1px); }
.error { color: #a10019; background: #fff0f2; border: 1px solid #f0aeb8; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; line-height: 1.4; }
.success { text-align: center; }
.success-badge { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #e5f6ef; color: var(--green); font-size: 38px; font-weight: 900; }
.code-card { margin: 24px auto; max-width: 380px; padding: 18px; border: 2px dashed var(--red); border-radius: 18px; background: #fff8f9; }
.code-card small { display:block; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.code { display:block; color: var(--red); font-size: 36px; font-weight: 900; letter-spacing: .15em; margin-top: 8px; }
.lookup-list { display: grid; gap: 10px; margin-top: 18px; }
.lookup-result { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background:white; }
.lookup-result strong { display:block; }
.lookup-result small { color: var(--muted); }
.lookup-result button { min-height: 46px; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.5; }
.spinner { width: 22px; height:22px; border: 3px solid rgba(255,255,255,.4); border-top-color:white; border-radius:50%; animation: spin .8s linear infinite; display:inline-block; vertical-align:middle; margin-right:8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .brand-bar { min-height: 86px; padding: 12px 16px; gap: 12px; }
  .brand-logo { width: min(57vw, 250px); max-height: 60px; }
  .quiet-button { font-size: 14px; padding: 0 14px; min-height: 48px; }
  .option-grid, .form-grid { grid-template-columns: 1fr; }
  .site-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field.full { grid-column: auto; }
  .actions { flex-direction: column-reverse; }
  .primary-button, .secondary-button { width:100%; }
}
@media (min-width: 1000px) and (orientation: landscape) {
  .content-frame { padding-top: 48px; }
  .screen-header { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
