:root {
  --green: #12372e;
  --dark: #0c2b23;
  --ink: #172d25;
  --muted: #4b6158;
  --gold: #ead29a;
  --paper: #f5f6f2;
  --line: #cbd7cd;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
input, button, textarea { font: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--green); font-family: Georgia, serif; line-height: 1.12; }
h1 { font-size: clamp(1.95rem, 4.5vw, 3.15rem); font-weight: 400; }
h2 { margin-bottom: .75rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #a56f24;
  outline-offset: 3px;
}
.wrap { width: min(56rem, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; z-index: 5; background: white; padding: .6rem; }
.skip:focus { top: 1rem; }
.header { background: var(--green); color: white; }
.header-inner, .footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: .8rem;
}
.brand { display: flex; align-items: center; gap: .7rem; font-size: .82rem; font-weight: 750; letter-spacing: .06em; line-height: 1.2; }
.monogram {
  display: grid; place-items: center; flex: 0 0 auto; width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--gold); border-radius: .25rem; color: var(--gold); font: 1.55rem Georgia, serif;
}
.support { font-size: .88rem; white-space: nowrap; text-underline-offset: .2em; }
.registration {
  margin-block: clamp(1rem, 3vw, 2rem) 3rem;
  border: 1px solid var(--line);
  border-top: 4px solid #b59350;
  border-radius: .55rem;
  background: white;
  box-shadow: 0 1rem 2.5rem #102e2710;
}
.registration-heading, form { padding-inline: clamp(1rem, 4vw, 3rem); }
.registration-heading { padding-top: clamp(1.2rem, 3vw, 2rem); padding-bottom: 1.15rem; }
.registration-heading p { margin: .6rem 0 0; color: var(--muted); }
form { padding-bottom: 1.6rem; }
.form-section { border-top: 1px solid var(--line); padding-block: 1.25rem; }
.form-section:last-child { padding-bottom: .1rem; }
.required-note { font-size: .88rem; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.15rem; }
.fields label, legend { min-width: 0; font-size: .92rem; font-weight: 700; }
.fields input, .fields textarea {
  display: block; width: 100%; min-height: 2.75rem; margin-top: .28rem; border: 1px solid #a4b5a9;
  border-radius: .3rem; padding: .55rem .65rem; color: var(--ink); background: #fafbf9; font-size: 1rem;
}
.fields textarea { resize: vertical; }
.wide { grid-column: 1/-1; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0 0 .6rem; }
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.plan {
  display: flex; gap: .55rem; padding: .9rem; border: 1px solid var(--line); border-radius: .4rem;
  background: #f7f8f4; cursor: pointer; align-items: start;
}
.plan:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #edf4ee; }
.plan input, .check input { flex: 0 0 auto; margin: .35rem 0 0; accent-color: var(--green); }
.price, .plan-note { display: block; }
.price { margin: .23rem 0; color: var(--green); font: 1.35rem Georgia, serif; }
.plan-note { color: var(--muted); font-size: .92rem; }
.check { display: flex; align-items: flex-start; gap: .55rem; margin: .5rem 0 1rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .6rem 1.05rem;
  border: 1px solid var(--green); border-radius: .34rem; background: var(--green); color: white;
  font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover { background: #225646; }
.button:disabled { opacity: .6; cursor: default; }
.button.outline { background: white; color: var(--green); }
.button.outline:hover { background: #edf4ee; }
.quiet { color: var(--green); font-weight: 700; text-underline-offset: .23em; }
.actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.review { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.review dl { overflow-wrap: anywhere; }
.review dt { font-weight: 750; }
.review dd { margin: 0 0 .7rem; white-space: pre-wrap; }
footer { background: var(--dark); color: white; }
.footer-inner { flex-wrap: wrap; font-size: .9rem; }
.footer-inner a { text-underline-offset: .25em; }
@media (max-width: 36rem) {
  .wrap { width: calc(100% - 1.25rem); }
  .fields, .plan-options { grid-template-columns: 1fr; }
  .brand { font-size: .72rem; }
  .support { font-size: .78rem; }
  .monogram { width: 1.9rem; height: 1.9rem; }
}

.receipt { margin-inline: clamp(1rem, 4vw, 3rem); padding: 1.15rem 1rem; margin-bottom: 1.7rem;
  border: 1px solid #9fb8a6; border-radius: .35rem; background: #edf4ee; }
#submission-status:empty { display: none; }

.plan { position: relative; }
.plan-checkout { color: inherit; text-decoration: none; }
.plan-checkout::after { content: ""; position: absolute; inset: 0; border-radius: .4rem; }
.plan:has(.plan-checkout:hover) { border-color: var(--green); }
.plan-checkout:focus-visible { outline: none; }
.plan:has(.plan-checkout:focus-visible) { outline: 3px solid #a56f24; outline-offset: 3px; }
.checkout-note { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
