:root {
  --brand: #b92c20;
  --brand-strong: #942418;
  --brand-soft: #fff0e9;
  --brand-line: #e5c9c0;
  --muted: #735b55;
  color: #342320;
  background: #fff7f4;
}

body {
  background: radial-gradient(ellipse at 12% 0%, #ffe9dd, transparent 38rem);
  min-height: 100vh;
}

.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid var(--brand-line);
  border-radius: 12px;
  background: white;
}

.portal-link,
.eyebrow,
h1 > span,
.choice-icon,
.upload-icon,
.upload label strong {
  color: var(--brand);
}

.eyebrow > span {
  background: linear-gradient(135deg, #ff224e, #f66008);
}

.lead,
.intro-note p,
.step,
.required-note,
.choice small,
.description-label > small,
.upload label small,
.privacy,
#remove-file,
footer {
  color: var(--muted);
}

.intro-note,
.card,
.choice-content,
.radio-dot,
.upload,
.success dl {
  border-color: var(--brand-line);
}

.intro-note > span {
  color: var(--brand);
  background: var(--brand-soft);
}

.card {
  box-shadow: 0 20px 55px #762d1510;
}

.choice input:checked + .choice-content {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: none;
}

.choice input:checked + .choice-content .radio-dot {
  border-color: var(--brand);
}

input:not([type=radio]):not([type=file]), textarea {
  border-color: var(--brand-line);
  color: #342320;
}

input:not([type=radio]):not([type=file]):focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

input::placeholder, textarea::placeholder {
  color: #826d67;
}

.upload {
  background: #fffbf9;
}

.choice input:focus-visible + .choice-content,
.upload:focus-within,
.upload.dragging,
.submit:focus-visible {
  outline-color: var(--brand);
}

.submit {
  background: var(--brand);
}

.submit:hover {
  background: var(--brand-strong);
}

@media (max-width: 680px) {
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
}
