:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
.landing {
  align-items: flex-start; background-image: var(--campaign-image);
  background-color: #e9e5df; background-position: center top;
  background-size: 100% auto; background-repeat: no-repeat; display: flex;
  min-height: 100vh; min-height: max(100svh, 56.25vw);
  padding: 29.7vw 0 5.5vw;
}
.landing__card {
  background: transparent; border-radius: 0; box-shadow: none;
  color: #591c31; margin-left: 56.8%; padding: 0; width: 29.5%;
}
.field { margin-bottom: .75rem; }
.field__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.field input:not([type="hidden"]) {
  background: #fff; border: 1.5px solid #71364b; border-radius: 16px;
  color: #591c31; font: inherit; font-size: 1rem;
  min-height: 48px; padding: 12px 16px; width: 100%;
}
.field input::placeholder { color: #967987; opacity: 1; }
.field input:focus-visible, .button:focus-visible {
  outline: 2px solid #591c31; outline-offset: 3px;
}
.landing .segmented-date { gap: 6px; margin-top: 6px; }
.landing .segmented-date__label { color: #71364b; font-size: .875rem; font-weight: 500; }
.landing .segmented-date__controls { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.landing .segmented-date__part:last-child { grid-column: auto; }
.landing .segmented-date__part select {
  min-height: 44px; border: 1.5px solid #71364b; border-radius: 15px;
  font-size: 1rem; color: #591c31; padding: 9px 8px;
}
.landing .segmented-date__part select:has(option[value=""]:checked) { color: #967987; }
.landing .segmented-date--error select { border-color: #a20e0e; }
.field--error input { border-color: #a20e0e; }
.field__errors, .form-errors { color: #8b0909; font-size: .9rem; }
.field__errors ul, .form-errors ul { margin: .35rem 0; padding-left: 1.25rem; }
.button { border: 0; border-radius: .5rem; cursor: pointer; display: block; font: inherit; font-weight: 700; min-height: 2.75rem; padding: .75rem 1rem; text-align: center; text-decoration: none; width: 100%; }
.button--primary { background: #591c31; border-radius: 16px; color: #fff; margin-top: 18px; }
.button--exit { background: transparent; border: 1.5px solid #71364b; border-radius: 16px; color: #591c31; margin-top: .75rem; }
.landing__success { text-align: center; }
.landing__terms{font-size:13px;line-height:1.4;margin:10px 0;color:#591c31}.landing__terms a{color:inherit;text-decoration:underline;text-underline-offset:2px}.landing__terms a:focus-visible{outline:2px solid #591c31;outline-offset:3px}
@media (min-width: 1024px) {
  .landing { background-size: 100% auto; padding-top: calc(24vw + 16px); padding-bottom: 2vw; }
  .field { margin-bottom: 1vw; }
  .field input:not([type="hidden"]) {
    min-height: 3.125vw; padding: .6vw 1.1vw;
    border-radius: 1vw; font-size: clamp(14px, 1.25vw, 24px);
  }
  .landing .segmented-date__label { font-size: clamp(12px, .9vw, 18px); }
  .landing .segmented-date__controls { gap: 1.2vw; }
  .landing .segmented-date__part select {
    min-height: 2.9vw; padding: .5vw .6vw; border-radius: 1vw;
    font-size: clamp(14px, 1.25vw, 24px);
  }
  .button--primary {
    min-height: 3.6vw; margin-top: 1vw; border-radius: 1.2vw;
    padding: .7vw .8vw; font-size: clamp(15px, 1.5vw, 28px);
  }
}
@media (max-width: 1023px) {
  .landing { background-image: var(--campaign-mobile-image, var(--campaign-image)); justify-content: center; padding: calc(56.25vw + 24px) 10vw 32px; }
  /* Mobile artwork is 402 x 874; its copy ends just above the form at y=496.
     Scale both artwork and form placement with the viewport without cropping. */
  .landing--mobile-art { min-height: max(100svh, 217.42vw); padding-top: 123.38vw; padding-bottom: 12vw; }
  .landing__card { margin-left: 0; width: 100%; max-width: 560px; }
  .landing .field { margin-bottom: clamp(8px, 2.4vw, 12px); }
  .landing .field input:not([type="hidden"]) {
    min-height: clamp(34px, 8.5vw, 48px); padding: 6px 12px;
    border: 2px solid #591c31; border-radius: 999px;
    background: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.2;
  }
  .landing .segmented-date { margin-top: 0; gap: 4px; }
  .landing .segmented-date__label { font-size: clamp(12px, 3vw, 14px); font-weight: 400; }
  .landing .segmented-date__controls { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(8px, 3.2vw, 16px); }
  .landing .segmented-date__part select, .landing .segmented-date__trigger {
    min-height: clamp(32px, 8vw, 44px); padding: 4px 6px;
    border: 2px solid #591c31; border-radius: 999px;
    background-color: rgba(255, 255, 255, .88); color: #591c31; font: inherit; font-size: 16px;
  }
  .landing .segmented-date__trigger { padding-right: 20px; }
  .landing .segmented-date__trigger[data-empty="true"] { color: #967987; }
  .landing .field--birthdate { margin-bottom: 0; }
  .landing .button--primary {
    min-height: 40px; margin-top: clamp(10px, 2.5vw, 14px);
    padding: 8px 12px; border-radius: 999px;
    font-size: clamp(16px, 4.2vw, 20px); line-height: 1.2;
  }
  .landing .button--exit { border-radius: 999px; }
  .landing .field--error input,
  .landing .segmented-date--error select, .landing .segmented-date__trigger[aria-invalid="true"] { border-color: #a20e0e; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
