/*
 * Costinal landing-page waitlist additions.
 * These styles are scoped to the original early-access card and footer links.
 * The approved landing page layout, logo, hero, sections and typography remain
 * defined by styles.css.
 */

.early-inner {
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
  gap: clamp(42px, 6vw, 84px);
}

.early-card form {
  margin: 2px 0 0;
}

.early-card .wl-field {
  margin-bottom: 13px;
}

.early-card .wl-field label {
  display: block;
  margin-bottom: 6px;
  color: #3f5347;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.early-card .wl-field input[type="email"] {
  width: 100%;
  min-height: 43px;
  border: 1px solid #c8d2c6;
  border-radius: 3px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
}

.early-card .wl-field input[type="email"]:hover {
  border-color: #9fb09f;
}

.early-card .wl-field input[type="email"]:focus {
  border-color: var(--green);
  outline: 2px solid #4d7d5f;
  outline-offset: 1px;
}

.early-card .wl-hint {
  margin: 6px 0 0;
  color: #6b796e;
  font-size: 9px;
  line-height: 1.55;
}

.early-card .wl-consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 8px;
  margin: 0 0 11px;
  color: #4f6054;
  font-size: 9.5px;
  line-height: 1.65;
  cursor: pointer;
}

.early-card .wl-consent.wl-optional {
  margin-bottom: 13px;
  border-top: 1px solid #e4e9df;
  padding-top: 11px;
}

.early-card .wl-consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}

.early-card .wl-consent strong {
  color: #34493b;
  font-weight: 700;
}

.early-card .wl-consent a {
  color: #2f5c42;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.early-card .wl-consent a:hover {
  color: var(--green);
}

.early-card .wl-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.early-card .wl-turnstile {
  min-height: 65px;
  margin-bottom: 6px;
}

.early-card .wl-turnstile-note {
  margin: 0 0 10px;
  color: #6f7d70;
  font-size: 8.5px;
  line-height: 1.6;
}

.early-card .wl-turnstile-note a {
  color: #42644d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.early-card .wl-status {
  min-height: 15px;
  margin: 0 0 9px;
  color: #4f6054;
  font-size: 9.5px;
  line-height: 1.55;
}

.early-card .wl-status.is-error {
  color: #9c3b26;
}

.early-card .wl-status.is-success {
  color: #1d6b47;
}

.early-card .wl-status.is-info {
  color: #4c6355;
}

.early-card .wl-setup {
  margin-bottom: 12px;
  border-left: 2px solid #b66a3d;
  background: #fbf3ea;
  padding: 9px 11px;
  color: #6d4a32;
  font-size: 9px;
  line-height: 1.6;
}

.early-card .wl-submit {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--deep-green);
  border-radius: 3px;
  background: var(--deep-green);
  padding: 0 16px;
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.early-card .wl-submit:hover:not(:disabled) {
  border-color: #245d47;
  background: #245d47;
}

.early-card .wl-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.early-card .wl-submit .arrow {
  font-size: 14px;
}

.early-card .wl-fineprint {
  margin: 11px 0 0;
  color: #6f7d70;
  font-size: 8.5px;
  line-height: 1.6;
}

.early-card .wl-success {
  border-top: 1px solid #e0e6dc;
  padding-top: 16px;
}

.early-card .wl-success-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 9px;
  border: 1px solid #b9d0bd;
  border-radius: 50%;
  color: #2c7050;
  font-size: 13px;
}

.early-card .wl-success h3 {
  margin-bottom: 8px;
}

.early-card .wl-success p {
  margin: 0 0 13px;
  color: #5f6f62;
  font-size: 10px;
  line-height: 1.7;
}

.early-card .wl-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.early-card .wl-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  border: 1px solid #c3d0c4;
  border-radius: 3px;
  background: transparent;
  padding: 7px 11px;
  color: #31493a;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.early-card .wl-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: #4f5d54;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--green);
}

.footer-link:hover span,
.footer-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.footer-social svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-social-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-social-text small {
  color: #536a58;
  font-size: 8px;
  font-weight: 400;
}

@media (max-width: 960px) {
  .early-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 34px;
  }
}

@media (max-width: 880px) {
  .early-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .early-card {
    width: 100%;
    max-width: 540px;
  }
}

@media (max-width: 700px) {
  .early-card .wl-consent {
    font-size: 10px;
  }

  .early-card .wl-field input[type="email"],
  .early-card .wl-submit {
    min-height: 46px;
  }

  .footer-link {
    font-size: 9px;
  }

  .footer-social-text small {
    font-size: 7.5px;
  }
}

@media (max-width: 380px) {
  .footer-link {
    font-size: 9px;
  }

  .footer-social {
    gap: 5px;
  }

  .footer-social svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }
}
