:root {
  color-scheme: light;
  --sand: #faf7ee;
  --rough: #173d2d;
  --rule: #8a9b8d;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
body { margin: 0 auto; width: min(92%, 52rem); background: var(--sand); color: var(--rough); font: 1.08rem/1.55 var(--serif); }
.mast, footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 0; font: 650 .72rem/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.mast { border-bottom: 1px solid var(--rough); }
footer { margin-top: 3rem; border-top: 1px solid var(--rule); justify-content: center; }
main { padding-top: 1.5rem; overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: normal; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: .25em 0 .45em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
a { color: inherit; text-underline-offset: .2em; }
p { margin-block: .65rem; }
.invitation { text-align: center; }
.invitation img { display: block; width: min(100%, 22rem); height: auto; margin: 0 auto .8rem; }
.eyebrow, dt { font: 650 .72rem/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; padding: .8rem 0; border-block: 1px solid var(--rule); }
dd { margin: .25rem 0 0; }
fieldset { min-inline-size: 0; padding: .7rem clamp(.8rem, 3vw, 1.5rem) 1rem; margin: 1.25rem 0; border: 1px solid var(--rule); }
legend { padding-inline: .4rem; font-size: 1.25rem; }
label { display: block; margin-top: .65rem; }
input, select, textarea { color: inherit; background: #fffdf8; border: 1px solid var(--rule); border-radius: 0; padding: .55rem; max-width: 100%; font: inherit; }
input:not([type="checkbox"]):not([type="radio"]), textarea { width: 100%; }
input[type="checkbox"] { inline-size: 1.1rem; block-size: 1.1rem; accent-color: var(--rough); vertical-align: middle; }
button, .button { display: inline-flex; align-items: center; background: var(--rough); color: var(--sand); border: 1px solid var(--rough); padding: .65rem .9rem; min-height: 44px; font: 650 .88rem/1.3 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--sand); color: var(--rough); }
:focus-visible { outline: 2px solid var(--rough); outline-offset: 3px; }
.notice, .errorlist { border-left: 3px solid currentColor; padding-left: 1rem; }
.errorlist { color: #8a213a; }
.hint, .helptext { font-size: .96rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: .8rem 0; }
details { margin-block: 1rem; }
summary { cursor: pointer; }
iframe { width: 100%; min-height: 24rem; border: 1px solid var(--rule); background: #fffdf8; }
.mobile-preview { max-width: 23.5rem; }
.recipient-list { list-style: none; padding: 0; }
.recipient-list li { padding-top: .6rem; border-top: 1px solid var(--rule); }
#copy-status { position: sticky; bottom: .5rem; width: fit-content; background: var(--sand); }
#copy-status:not(:empty) { padding: .35rem .6rem; border: 1px solid var(--rule); }
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  min-height: 44px;
  padding-block: .35rem;
  cursor: pointer;
}
.checkbox-option input { flex: 0 0 auto; margin: .27rem 0 0; }
.proxy-item { display: block; }
.watch-party { display: flex; gap: .9rem; align-items: start; border-block: 1px solid var(--rule); padding: 1rem 0; margin-block: 1.5rem; }
.watch-party h2 { font-size: 1.45rem; margin: 0; }
.watch-party p { margin-bottom: 0; }
#signup-thanks { position: static; width: min(94%, 36rem); padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--rough); background: var(--sand); color: var(--rough); }
#signup-thanks:modal { position: fixed; max-height: 92vh; }
#signup-thanks::backdrop { background: rgb(15 35 26 / 65%); }
.host-toast { display: block; width: min(100%, 11rem); height: auto; margin-inline: auto; border: 1px solid var(--rule); }

.team-name { display: flex; align-items: center; gap: .55rem; }
.team-name img { flex: none; }
[data-food-formset] [hidden] { display: none; }
