/* Email sign-up on note pages. The markup is written by scripts/build.js
   between the signup markers; this file only styles it. */

.signup-top {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  text-align: right;
}
.signup-top a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3D00A4;
  text-decoration: none;
  border-bottom: 2px solid #C9A24A;
  padding-bottom: 0.1rem;
}
.signup-top a:hover { color: #28006C; }

.signup-card {
  max-width: 720px;
  margin: 1rem auto 1.5rem;
  padding: 0 1.5rem;
  scroll-margin-top: 5rem;
}
.signup-card-inner {
  background: #3D00A4;
  color: #FFFFFF;
  border-radius: 8px;
  border-top: 5px solid #C9A24A;
  padding: 2.25rem 2rem 2rem;
}
.signup-card .signup-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #F0E4C2;
  margin: 0 0 0.5rem;
}
.signup-card .signup-head {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: #FFFFFF;
}
.signup-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
}
.signup-form input[type="email"] {
  flex: 1 1 240px;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #FFFFFF;
  color: #2A1F3D;
}
.signup-form input[type="email"]:focus { outline: none; border-color: #C9A24A; }
.signup-form button {
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  background: #C9A24A;
  color: #28006C;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.signup-form button:hover { background: #D8B664; }
.signup-note {
  flex-basis: 100%;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}
.signup-msg {
  flex-basis: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F0E4C2;
  margin: 0;
  display: none;
}
.signup-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .signup-top { padding: 1rem 1.25rem 0; }
  .signup-card { padding: 0 1.25rem; }
  .signup-card-inner { padding: 1.75rem 1.25rem 1.5rem; }
  .signup-card .signup-head { font-size: 1.35rem; }
}
