#rsvp {
  --reply-ink: var(--paper);
  --reply-rule: var(--rule);
  --reply-selected: #43533f;
  --reply-font: var(--serif);
  display: block;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 70px 0 100px;
  color: var(--reply-ink);
}
#rsvp .rsvp-intro { padding: 0; margin: 0 auto 54px; text-align: center; }
#rsvp .reply-sheet { width: min(450px, calc(100% - 64px)); margin-inline: auto; }
#rsvp .rsvp-intro h2 {
  margin: 0;
  font: 500 var(--section-heading-size, 45px)/1.5 var(--reply-font);
  letter-spacing: .07em;
}
#rsvp .reply-sheet { padding: 0; background: transparent; color: inherit; outline: none; color-scheme: dark; }
#rsvp #reply-form { font: 500 19px/1.5 var(--reply-font); }
#rsvp .text-fields { display: grid; gap: 28px; }
#rsvp .text-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--reply-rule);
}
#rsvp .text-field > span,
#rsvp legend { font-size: clamp(16px, 2.64vw, 19px); letter-spacing: 1px; }
#rsvp .text-field small { font-size: 12px; letter-spacing: 0; }
#rsvp .text-field input,
#rsvp .text-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 500 clamp(20px, 3.89vw, 28px)/1.4 var(--reply-font);
}
#rsvp fieldset { width: 100%; min-inline-size: 0; border: 0; padding: 0; margin: 28px 0 0; }
#rsvp legend { padding: 0; margin-bottom: 13px; }
#rsvp .radio-options { display: flex; flex-wrap: wrap; gap: 8px; }
#rsvp .radio-options label { position: relative; display: block; padding: 0; font: inherit; cursor: pointer; }
#rsvp .radio-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
#rsvp .radio-options span {
  display: block;
  padding: 10px 15px;
  min-height: 44px;
  border-bottom: 1px solid var(--reply-rule);
  font-size: clamp(17px, 3.05vw, 22px);
  line-height: 1.2;
}
#rsvp .radio-options input:checked + span { border-color: var(--reply-selected); border-radius: 999px; background: var(--reply-selected); color: #fff; }
#rsvp .radio-options input:focus-visible + span,
#rsvp .text-field input:focus-visible,
#rsvp .text-field textarea:focus-visible,
#rsvp .submit-reply:focus-visible { outline: 2px solid var(--reply-ink); outline-offset: 3px; }
#rsvp #address-field { margin-top: 28px; }
#rsvp .text-message { margin-top: 35px; }
#rsvp .text-field textarea { height: auto; min-height: 104px; resize: vertical; font-size: clamp(20px, 3.47vw, 25px); }
#rsvp .submit-reply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 76px;
  width: 100%;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--reply-ink);
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: 500 clamp(24px, 4.44vw, 32px)/1.2 var(--reply-font) !important;
  cursor: pointer;
}
#rsvp .submit-reply small { font-size: 11px; letter-spacing: 2px; }
#rsvp .submit-reply:hover { background: #dbd3c514; }
#rsvp .form-error { color: var(--reply-ink); margin-top: 20px; }
#rsvp .prototype-note { font: 500 12px/1.8 var(--reply-font); }
#rsvp .reply-success h3 { font-family: var(--reply-font); }
@media (max-width: 720px) {
  #rsvp { padding-block: 45px 70px; }
  #rsvp .rsvp-intro { margin-bottom: 40px; }
  #rsvp .submit-reply { min-height: 64px; }
}

.invitation-body .agenda-heading h2,
.invitation-body .invitation-letter h2 { font-family: var(--name-font); font-size: var(--section-heading-size, 45px); }
