.signup-body {
  margin: 0;
  background: #f7f8f4;
  color: #233b31;
}
.signup-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(490px, 1.08fr);
}
.signup-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(32px, 4.5vw, 72px);
  background:
    radial-gradient(ellipse at 0 0, #436b53 0, transparent 65%), #203c30;
  color: #f3f4e8;
  overflow: hidden;
}
.signup-story .wordmark {
  color: #f3f4e8;
  --mark-accent: #d2e7a0;
}
.signup-story .wm-accent {
  color: #d2e7a0;
}
.signup-story .wordmark small {
  color: #c1d0c3;
}
.signup-story-copy {
  max-width: 490px;
}
.signup-pill {
  display: inline-block;
  border: 1px solid #d5e9d539;
  border-radius: 40px;
  padding: 8px 14px;
  color: #dbe9ce;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.signup-story .brand-mark {
  color: #f3f4e8;
}
.signup-story h1 {
  color: #f3f4e8;
  margin: 27px 0 20px;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.signup-story h1 em {
  color: #d2e7a0;
  font-weight: 400;
}
.signup-story-copy > p {
  max-width: 360px;
  color: #c1d0c3;
  line-height: 1.8;
  font-size: 15px;
}
.signup-preview {
  margin-top: 38px;
  padding: 24px;
  border: 1px solid #d5e9d52b;
  border-radius: 18px;
  background: #ffffff08;
  box-shadow: 0 16px 45px #122a2922;
  transform: rotate(-2deg);
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b9cdbd;
}
.preview-dot,
.signup-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2e7a0;
}
.preview-title {
  font-family: Fraunces, Georgia, serif;
  margin: 24px 0;
  font-size: 27px;
  line-height: 1.35;
}
.preview-stages {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #d5e9d52b;
  font-size: 11px;
  color: #d3decf;
}
.signup-story-foot {
  margin: 0;
  font-size: 12px;
  color: #b9cdbd;
  display: flex;
  gap: 9px;
  align-items: center;
}
.signup-main {
  padding: 30px clamp(28px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}
.signup-topline {
  text-align: right;
  font-size: 13px;
  color: #697a6f;
}
.signup-topline a {
  color: #2c513e;
  font-weight: 600;
  margin-left: 8px;
}
.signup-card {
  width: 100%;
  max-width: 460px;
  align-self: center;
  padding: 16px 0;
}
.signup-steps {
  display: flex;
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
  gap: 18px;
}
.signup-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #697a6f;
  font-size: 11px;
  white-space: nowrap;
}
.signup-steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #ccd6cb;
  border-radius: 50%;
  font-size: 11px;
}
.signup-steps li[aria-current] {
  color: #244c36;
  font-weight: 600;
}
.signup-steps li[aria-current] > span {
  color: #fff;
  background: #2c513e;
  border-color: #2c513e;
  box-shadow: 0 0 0 4px #e6ebdf;
}
.signup-steps li.complete > span {
  background: #e6eedc;
  border-color: #e6eedc;
  color: #375d37;
}
.signup-eyebrow {
  color: #69826b;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 700;
  margin: 0 0 10px;
}
.signup-card h2 {
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 12px;
}
.signup-intro {
  font-size: 14px;
  color: #6a786c;
  line-height: 1.75;
  margin-bottom: 27px;
  overflow-wrap: anywhere;
}
.signup-intro strong {
  color: #324b3b;
}
.signup-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.signup-card .form-label {
  font-size: 12px;
  margin: 18px 0 7px;
  color: #344c3b;
}
.signup-card .form-control {
  min-height: 48px;
  background: #fff;
  border: 1px solid #d7dfd3;
  border-radius: 10px;
  box-shadow: 0 2px 3px #23432103;
  padding: 12px 14px;
  font-size: 15px;
}
.signup-card .form-control:focus {
  border-color: #5e815c;
  box-shadow: 0 0 0 3px #91ac822b;
}
.signup-card .form-control::placeholder {
  color: #98a293;
}
.signup-card .form-hint {
  font-size: 12px;
  line-height: 1.65;
  color: #6a786c;
  margin-top: 8px;
}
.signup-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 10px;
  min-height: 49px;
  margin-top: 25px;
  font-size: 14px;
  background: #2c513e;
  border-color: #2c513e;
  box-shadow: 0 5px 10px #2c513e15;
}
.signup-submit:hover {
  background: #203c30;
  border-color: #203c30;
}
.signup-submit span {
  font-size: 20px;
}
.signup-card .password-control input {
  padding-right: 50px;
}
.signup-footnote {
  color: #6a786c;
  font-size: 11px;
  text-align: center;
  line-height: 1.8;
  margin: 20px 0 0;
}
.signup-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7b8778;
  font-size: 11px;
  margin: 0;
}
.signup-security svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.signup-verified {
  padding: 12px 14px;
  border: 1px solid #d7e3cc;
  border-radius: 10px;
  background: #edf3e6;
  color: #466443;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.signup-verified strong {
  display: block;
  padding-left: 17px;
  margin-top: 3px;
  font-weight: 500;
}
.signup-otp.form-control {
  text-align: center;
  font-size: 29px;
  letter-spacing: 0.3em;
  font-variant-numeric: tabular-nums;
  padding-left: 24px;
  height: 66px;
}
.signup-resend {
  border-top: 1px solid #dde4d7;
  margin-top: 27px;
  padding-top: 22px;
  font-size: 12px;
  color: #6a786c;
  text-align: center;
}
.signup-resend form p {
  display: inline;
  margin: 0;
}
.signup-text-button {
  background: none;
  border: 0;
  padding: 10px 4px;
  color: #2c513e;
  text-decoration: underline;
  font-weight: 600;
  min-height: 44px;
}
.signup-resend > a {
  display: inline-block;
  padding: 10px;
  color: #5c735c;
}
.signup-text-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
#resend-countdown {
  display: inline;
  margin-left: 2px;
  font-variant-numeric: tabular-nums;
}
.signup-event {
  margin-top: 23px;
  font-size: 12px;
}
.signup-event summary {
  cursor: pointer;
  color: #587151;
  padding: 10px 0;
}
.signup-event summary::marker {
  color: #94a38a;
}
.signup-notice {
  background: #f6ead4;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
.signup-card .form-message:not(:empty) {
  margin-top: 15px;
  font-size: 13px;
}
/* Laptop screens are short, not narrow. The story column is the taller of the
   two, so it decides the page height; left alone it pushes the form's button
   below the fold on a 13" display. These steps compress the story rather than
   the form, so the primary action stays visible without scrolling. */
@media (max-height: 940px) {
  .signup-story {
    gap: 30px;
    padding: clamp(28px, 3.4vw, 46px);
  }
  .signup-story h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, min(4.6vw, 7.2vh), 52px);
  }
  .signup-story-copy > p {
    line-height: 1.65;
  }
  .signup-preview {
    margin-top: 26px;
    padding: 19px;
  }
  .preview-title {
    margin: 17px 0;
    font-size: 22px;
  }
  .preview-stages {
    padding-top: 12px;
  }
  .signup-main {
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .signup-eyebrow {
    margin-bottom: 6px;
  }
  /* The password step carries the most in one card, so its own spacing has
     to give before the page starts scrolling. */
  .signup-card {
    padding: 8px 0;
  }
  .signup-card h2 {
    margin-bottom: 8px;
    font-size: clamp(27px, 2.4vw, 34px);
  }
  .signup-intro {
    margin-bottom: 20px;
  }
  .signup-verified {
    padding: 7px 12px;
  }
  .signup-event {
    margin-top: 10px;
  }
  .signup-event summary {
    padding: 6px 0;
  }
  .signup-footnote {
    line-height: 1.6;
    margin-top: 10px;
  }
  .signup-card .form-hint {
    line-height: 1.5;
    margin-top: 5px;
  }
  /* The confirmed address reads fine on one line when height is scarce. */
  .signup-verified strong {
    display: inline;
    padding-left: 5px;
  }
}
/* Shorter still: the preview card is decoration, and it is the first thing
   worth losing to keep the form whole. */
@media (max-height: 760px) {
  .signup-preview {
    display: none;
  }
  .signup-story {
    gap: 24px;
  }
  .signup-story h1 {
    font-size: clamp(32px, min(4.2vw, 6.6vh), 46px);
  }
}
/* A 13" laptop with a full browser chrome leaves barely 620px: trim the
   frame itself so the page still needs no scrolling. */
@media (max-height: 680px) {
  .signup-story {
    gap: 18px;
    padding: 26px clamp(26px, 3vw, 38px);
  }
  .signup-story h1 {
    margin: 14px 0 12px;
  }
  .signup-main {
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 18px;
  }
  .signup-card {
    padding: 2px 0;
  }
  .signup-intro {
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .signup-footnote {
    margin-top: 8px;
  }
}
@media (max-width: 920px) {
  .signup-shell {
    grid-template-columns: minmax(290px, 0.8fr) minmax(380px, 1fr);
  }
  .signup-story {
    padding: 32px;
  }
  .signup-story h1 {
    font-size: 43px;
  }
  .signup-main {
    padding: 26px;
  }
  .signup-steps {
    gap: 13px;
  }
}
@media (max-width: 700px) {
  .signup-shell {
    display: block;
  }
  .signup-story {
    padding: 22px 24px;
    min-height: auto;
  }
  .signup-story-copy,
  .signup-story-foot {
    display: none;
  }
  .signup-main {
    min-height: calc(100svh - 104px);
    padding: 22px 24px;
    gap: 28px;
  }
  .signup-topline {
    font-size: 12px;
  }
  .signup-card {
    padding: 0;
  }
  .signup-steps {
    margin-bottom: 30px;
    gap: 15px;
  }
  .signup-steps li {
    font-size: 10px;
    gap: 5px;
  }
  .signup-steps li > span {
    width: 24px;
    height: 24px;
  }
  .signup-name-grid {
    gap: 12px;
  }
  .signup-card h2 {
    font-size: 34px;
  }
  .signup-security {
    font-size: 10px;
    padding: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signup-body * {
    transition: none !important;
  }
}
form[aria-busy="true"] .signup-submit {
  justify-content: center;
}

/* Event banner sits above the steps within the existing form column. */
.signup-workshop-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}
