:root {
  color-scheme: light;
  --bg: #f5f5f4;
  --panel: #ffffff;
  --ink: #2b2f33;
  --muted: #666f76;
  --line: #dfe2e4;
  --brand: #e5562c;
  --brand-dark: #b7431f;
  --brand-soft: #fce9df;
  --charcoal: #2b2f33;
  --warn: #a13f16;
  --field: #fbfbfb;
  --success: #266a3b;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Calibri, "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: var(--brand-dark);
}

.site-header {
  background: #fff;
  border-top: 4px solid var(--brand);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .01em;
}

.brand-mark {
  display: block;
  height: 30px;
  width: auto;
}

.brand-tagline {
  font-size: .85rem;
  color: var(--muted);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 24px;
}

.page-head {
  margin-bottom: 24px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand-dark);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--charcoal);
}

.lede {
  margin: 0;
  color: var(--muted);
}

.event-label {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  padding: 7px 10px;
  border: 1px solid #f1cfc0;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--charcoal);
  font-size: .92rem;
  font-weight: 700;
}

form {
  display: grid;
  gap: 18px;
}

section,
.confirmation-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 20px 20px 24px;
  box-shadow: 0 1px 2px rgb(22 33 44 / 6%);
}

section::before,
.confirmation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: var(--brand-soft);
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-badge,
.confirmation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.confirmation-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  background: var(--brand);
  font-size: 1.25rem;
}

h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--charcoal);
}

.section-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .88rem;
}

.required-note {
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
  padding-top: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.field {
  grid-column: span 6;
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field.third {
  grid-column: span 4;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

label,
legend {
  display: block;
  font-weight: 650;
  font-size: .92rem;
  margin-bottom: 6px;
}

.hint {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  margin-top: 5px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 11px;
  min-height: 42px;
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgb(229 86 44 / 18%);
  border-color: var(--brand);
  background: #fff;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  cursor: pointer;
  user-select: none;
  font-weight: 400;
}

.choice input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand-dark);
}

.choice.full-choice {
  width: 100%;
  align-items: flex-start;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 4px 0 0;
}

.actions::before {
  display: none;
}

button,
.button {
  border: 0;
  border-radius: 6px;
  padding: 11px 16px;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary,
.button.primary {
  background: var(--brand);
  color: #fff;
}

.primary:hover,
.button.primary:hover {
  background: var(--brand-dark);
}

button:disabled {
  cursor: wait;
  opacity: .72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.form-status {
  display: none;
  margin: 0;
  color: var(--warn);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.confirmation-wrap {
  max-width: 760px;
  margin: 12px auto 0;
}

.confirmation-card {
  padding: 28px 28px 28px 32px;
}

.confirmation-card h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.confirmation-card p {
  color: var(--muted);
}

.confirmation-card .button {
  margin-top: 8px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 8px auto 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer a {
  color: var(--brand-dark);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .header-inner {
    padding: 14px 0;
  }

  .brand-tagline {
    width: 100%;
    padding-left: 40px;
  }

  main {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  section,
  .confirmation-card {
    padding: 16px 16px 16px 20px;
  }

  .section-title {
    flex-direction: column;
  }

  .field,
  .field.third {
    grid-column: 1 / -1;
  }

  .actions {
    justify-content: stretch;
  }

  button,
  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
