.story-invitation { background: #eee7dc; color: #332e26; border-top: 1px solid #cfc4b2; }
/* The site header is covered by root scroll padding. Leave room for the chapter bar too. */
.story-invitation #waitlist { scroll-margin-block-start:44px; }
html:has(.story-invitation:target, #waitlist:target) { scroll-behavior:auto; }
.story-invite-inner {
  width: min(88%, 1220px);
  margin: auto;
  padding-block: clamp(54px, 8vw, 122px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(32px, 9vw, 150px);
  align-items: start;
}
.story-invitation .story-invite-copy h2 { font: 300 clamp(50px, 6.3vw, 96px)/1.02 Ivar, Georgia, serif; letter-spacing: -.05em; }
.story-invite-copy h2 em { display: block; color: #7b654d; }
.story-invitation .story-invite-copy p { margin-block: 19px; font: 400 15px/1.6 Inter, Arial, sans-serif; color: #625646; max-width: 35ch; }
.story-invite-copy strong { font-weight: 550; }
.story-invite-copy .story-pilot { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #544533; text-decoration: underline; text-underline-offset: 4px; }
.story-invitation #waitlist { margin: 0; display: grid; gap: 12px; max-width: 540px; font: 400 14px/1.5 Inter, Arial, sans-serif; }
.story-invitation #waitlist [hidden] { display: none; }
.story-invitation :is(.signup-status,.signup-environment):empty { display: none; }
.story-invitation #waitlist label { display: block; color: #473b2f; font: inherit; }
.story-invitation #waitlist .email-line { display: block; border: 1px solid #958573; border-radius: 4px; background: #faf7f1; }
.story-invitation #waitlist input[type=email] { box-sizing: border-box; width: 100%; min-height: 49px; border: 0; padding: 12px 14px; color: #342a20; background: transparent; font: 16px/1.4 Inter, Arial, sans-serif; }
.story-invitation #waitlist .consent-line { display: flex; gap: 10px; align-items: flex-start; padding-block: 4px; }
.story-invitation .consent-line input { width: 17px; height: 17px; margin: 2px 0; flex: none; accent-color: #40382e; }
.story-invitation .signup-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; min-height: 48px; background: #373228; border: 0; border-radius: 3px; color: #fff9ef; font: 500 14px/1.5 Inter, Arial, sans-serif; cursor: pointer; }
.story-invitation .signup-submit:disabled { opacity: .65; }
.story-invitation .collection-copy, .story-invitation #waitlist p { font: 400 12px/1.6 Inter, Arial, sans-serif; color: #645848; }
.story-invitation .collection-copy a { color: inherit; text-underline-offset: 3px; }
.story-invitation .form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.story-invitation .signup-status[data-state=error] { color: #892d25; }
.story-invitation .signup-status[data-state=success] { color: #30533c; }
.story-invitation [data-signup-retry] { justify-self: start; min-height: 44px; text-decoration: underline; color: #423729; }
@media (max-width: 700px) {
  .story-invite-inner { grid-template-columns: 1fr; gap: 22px; }
  .story-invite-copy h2 em { display: inline; }
}
