.early-page-shell {
  min-height: 100dvh;
  background:
    radial-gradient(circle at top left, rgba(214, 143, 120, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(27, 156, 100, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f5ef 48%, #ffffff 100%);
}

.early-main {
  min-height: calc(100dvh - 190px);
}

.early-access-section {
  padding: 78px 0 72px;
}

.early-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 72px;
  align-items: start;
}

.early-copy {
  padding-top: 2px;
}

.early-eyebrow {
  margin-bottom: 28px;
}

.early-title {
  max-width: 650px;
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.early-title span {
  color: var(--brand-600);
}

.early-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.early-benefit-card,
.early-form-card {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.early-benefit-card {
  max-width: 560px;
  margin-top: 34px;
  padding: 32px;
  border-radius: 16px;
}

.early-benefit-card h2,
.early-form-head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.early-benefit-card p,
.early-form-head p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.58;
}

.early-benefit-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.early-benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  line-height: 1.42;
}

.early-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 44px 0 0;
  color: var(--text-soft);
}

.early-email-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(22, 32, 50, 0.08);
  border-radius: 999px;
  color: var(--brand-600);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(18, 28, 45, 0.08);
  font-weight: 600;
}

.early-form-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 18px;
}

.early-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
}

.early-form {
  display: grid;
  gap: 20px;
}

.early-form.is-essential #document-upload-group,
#document-upload-group[hidden] {
  display: none;
}

.plan-field-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-field-group legend {
  margin-bottom: 9px;
  color: #344158;
  font-size: 0.94rem;
  font-weight: 600;
}

.plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plan-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(82, 96, 116, 0.2);
  border-radius: 12px;
  color: var(--text);
  background: rgba(248, 250, 252, 0.72);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.plan-option:has(input:checked) {
  border-color: rgba(189, 108, 81, 0.64);
  background: rgba(251, 240, 236, 0.68);
  box-shadow: 0 0 0 3px rgba(214, 143, 120, 0.1);
}

.plan-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--brand-600);
}

.plan-option-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.plan-option-copy strong {
  font-size: 0.92rem;
}

.plan-option-copy span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.field-group {
  display: grid;
  gap: 9px;
}

.field-group label {
  color: #344158;
  font-size: 0.94rem;
  font-weight: 600;
}

.input-shell {
  position: relative;
}

.input-shell input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px 0 46px;
  border: 1px solid rgba(82, 96, 116, 0.2);
  border-radius: 12px;
  color: var(--text);
  background: rgba(248, 250, 252, 0.72);
  outline: 0;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.input-shell input:focus {
  border-color: rgba(189, 108, 81, 0.54);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(214, 143, 120, 0.12);
}

.input-shell input::placeholder {
  color: #94a0b3;
}

.field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  color: #94a0b3;
  transform: translateY(-50%);
  pointer-events: none;
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 108px;
  padding: 20px;
  border: 1px dashed rgba(82, 96, 116, 0.28);
  border-radius: 12px;
  color: var(--text-soft);
  background: rgba(248, 250, 252, 0.58);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: rgba(189, 108, 81, 0.6);
  background: rgba(251, 240, 236, 0.5);
  box-shadow: 0 0 0 4px rgba(214, 143, 120, 0.09);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  width: 24px;
  height: 24px;
  color: #94a0b3;
}

.upload-main {
  color: var(--text);
  font-size: 0.9rem;
}

.upload-main strong {
  font-weight: 700;
}

.upload-sub,
.upload-feedback,
.form-error,
.form-success,
.form-legal {
  color: #8a93a2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.upload-feedback,
.form-error,
.form-success {
  margin: 0;
}

.upload-feedback.has-error,
.form-error:not(:empty) {
  color: #b42318;
}

.upload-feedback.has-files,
.form-success {
  color: var(--success);
}

.early-submit {
  min-height: 58px;
  border-radius: 12px;
}

.early-submit.is-loading {
  cursor: wait;
}

.early-submit.is-loading .icon {
  display: none;
}

.early-submit.is-loading::after {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
  animation: early-form-spinner 0.7s linear infinite;
}

.form-legal {
  margin: 0;
  text-align: center;
}

@media (max-width: 980px) {
  .early-access-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .early-benefit-card,
  .early-form-card,
  .early-description {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .early-access-section {
    padding: 50px 0 52px;
  }

  .early-title {
    font-size: clamp(2.55rem, 15vw, 3.7rem);
  }

  .early-description {
    font-size: 1rem;
  }

  .early-benefit-card,
  .early-form-card {
    padding: 24px;
    border-radius: 16px;
  }

  .plan-options {
    grid-template-columns: 1fr;
  }

  .early-contact-line {
    align-items: flex-start;
    flex-direction: column;
  }
}


.field-feedback {
  min-height: 1.2em;
  margin: 0;
  color: #8a93a2;
  font-size: 0.82rem;
  line-height: 1.4;
}

.field-feedback.has-error {
  color: #b42318;
}

.field-feedback.has-success {
  color: var(--success);
}

.field-feedback.is-checking {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7d8796;
}

.field-feedback.is-checking::before {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  content: "";
  animation: early-form-spinner 0.7s linear infinite;
}

@keyframes early-form-spinner {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-feedback.is-checking::before,
  .early-submit.is-loading::after {
    animation: none;
  }
}

.upload-zone.is-disabled {
  cursor: not-allowed;
  border-color: rgba(82, 96, 116, 0.18);
  background: rgba(248, 250, 252, 0.42);
  box-shadow: none;
}

.upload-zone.is-disabled:hover {
  border-color: rgba(82, 96, 116, 0.12);
  background: rgba(248, 250, 252, 0.28);
  box-shadow: none;
}

.upload-zone.is-disabled .upload-main,
.upload-zone.is-disabled .upload-icon,
.upload-zone.is-disabled .upload-sub {
  color: #aeb7c4;
}

.upload-feedback.is-muted {
  color: #8a93a2;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
