:root {
  --review-ground: #f8f4ed;
  --review-heading: #302a2b;
  --review-muted: #605653;
  --review-stars: #975124;
  --review-hover: #514149;
}

.closing-signup {
  position: relative;
  padding: clamp(16px, 2.2vw, 32px) clamp(16px, 5.55vw, 80px) clamp(28px, 4vw, 64px);
  background: linear-gradient(180deg, transparent, var(--review-ground) 78%);
  color: #302b29;
}
.signup-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  max-width: 1280px;
  min-height: clamp(370px, 36.1vw, 520px);
  margin: auto;
  padding: clamp(28px, 4.17vw, 60px);
  overflow: hidden;
  border-radius: 24px;
  background: #d2c6b6;
}
.signup-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  pointer-events: none;
}
.closing-signup-inner {
  width: min(49%, 570px);
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 24px;
  background: linear-gradient(135deg, rgb(255 251 243 / 91%) 10%, rgb(251 244 232 / 81%) 68%, rgb(236 243 245 / 80%));
  box-shadow: inset 0 1px 0 rgb(226 246 255 / 84%), 0 8px 28px rgb(57 42 25 / 9%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.signup-copy h2 {
  margin: 0;
  color: #282527;
  font: 700 clamp(32px, 3.05vw, 46px)/1.06 "EK Notice Sans", Instrument, sans-serif;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.signup-copy p {
  margin: 14px 0 0;
  color: #48423f;
  font: 400 clamp(16px, 1.22vw, 19px)/1.42 Instrument, sans-serif;
  text-wrap: pretty;
}
.closing-signup .conversion-form { margin: 24px 0 0; }
#signup .conversion-input-row {
  padding: 4px 4px 4px 18px;
  gap: 6px;
  border-color: rgb(105 89 73 / 29%);
  background: rgb(255 253 249 / 92%);
  box-shadow: inset 0 1px 3px rgb(77 63 49 / 6%);
}
#signup .conversion-input-row:focus-within { outline: 2px solid #6d584d; outline-offset: 2px; }
#signup .conversion-input-row:has(input[aria-invalid="true"]) { border-color: #9c3543; }
#signup input { color: #302b2c; }
#signup input::placeholder { color: #625d57; }
#signup .conversion-notify {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 19px;
  border: 0;
  background: #2e2b2c;
  color: #fff;
  box-shadow: none;
  font: 600 15px/1.2 Instrument, sans-serif;
}
#signup .conversion-notify:hover { background: #454042; }
#signup .conversion-notify:active { background: #211f20; }
#signup .conversion-form-note {
  margin: 12px 0 0;
  color: #514c49;
  font: 400 12px/1.45 Instrument, sans-serif;
}
#signup .conversion-form-status {
  margin-top: 12px;
  font: 500 15px/1.4 Instrument, sans-serif;
  color: #143f32;
}
#signup .conversion-form[data-state="error"] .conversion-form-status { color: #812535; }

@media (max-width: 970px) and (min-width: 701px) {
  .closing-signup-inner { width: min(65%, 460px); }
}
@media (max-width: 700px) {
  .closing-signup { padding-inline: 14px; }
  .signup-scene {
    min-height: 0;
    padding: clamp(168px, 49vw, 258px) 12px 12px;
    align-items: end;
    border-radius: 22px;
    background: #dfd8cb;
  }
  .signup-photo { height: clamp(180px, 53vw, 272px); object-position: 52% center; }
  .closing-signup-inner {
    width: 100%;
    padding: clamp(20px, 5vw, 28px);
    border-radius: 18px;
    background: linear-gradient(145deg, rgb(255 251 243 / 94%), rgb(245 239 229 / 92%) 75%, rgb(232 241 244 / 90%));
  }
  .signup-copy h2 { font-size: clamp(29px, 6vw, 36px); }
  .signup-copy p { margin-top: 10px; }
  .closing-signup .conversion-form { margin-top: 19px; }
  #signup .conversion-input-row { padding-left: 13px; gap: 3px; }
  #signup .conversion-notify { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 525px) {
  #signup .conversion-input-row {
    display: grid;
    gap: 7px;
    padding: 8px;
    border-radius: 19px;
  }
  #signup input { width: 100%; min-height: 44px; padding-inline: 10px; }
  #signup .conversion-notify { width:100%; }
}
