.alpha-tests {
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(48px, 9vw, 132px);
  padding: 115px 0 125px;
  display: grid;
  position: relative;
}

.alpha-tests::before {
  content: "";
  z-index: -1;
  background: radial-gradient(circle at 12% 24%, rgba(254, 120, 73, 0.09), transparent 32%);
  width: 100vw;
  position: absolute;
  inset: 0 auto 0 50%;
  transform: translateX(-50%);
}

.alpha-copy .eyebrow {
  margin-bottom: 20px;
}

.alpha-copy h2 {
  font-family: var(--font-manrope), Arial, sans-serif;
  letter-spacing: -0.052em;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1;
}

.alpha-intro {
  max-width: 520px;
  color: var(--muted);
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.72;
}

.alpha-facts {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.alpha-facts li {
  color: rgba(247, 242, 232, 0.72);
  border-top: 1px solid rgba(247, 242, 232, 0.09);
  padding: 14px 0 14px 24px;
  font-size: 12px;
  line-height: 1.55;
  position: relative;
}

.alpha-facts li::before {
  content: "";
  border: 1px solid var(--coral);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 20px;
  left: 2px;
}

.alpha-action {
  background: linear-gradient(145deg, rgba(30, 28, 26, 0.92), rgba(10, 10, 10, 0.96));
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 42px);
  position: relative;
}

.alpha-action::before {
  content: "";
  background: var(--coral);
  width: 4px;
  height: 72px;
  position: absolute;
  top: 0;
  left: 0;
}

.alpha-open-button {
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 86px;
  padding: 20px 24px;
  text-align: left;
  font-size: clamp(14px, 1.45vw, 19px);
  line-height: 1.35;
}

.alpha-open-button span {
  flex: none;
  font-size: 24px;
}

.alpha-action > p {
  color: #8d8881;
  margin: 16px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

body.alpha-modal-open {
  overflow: hidden;
}

.alpha-modal {
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 38px);
  display: flex;
  position: fixed;
  inset: 0;
}

.alpha-modal[hidden] {
  display: none;
}

.alpha-modal-backdrop {
  cursor: pointer;
  background: rgba(0, 0, 0, 0.86);
  border: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
}

.alpha-modal-panel {
  z-index: 1;
  background: #0d0d0d;
  border: 1px solid rgba(247, 242, 232, 0.2);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
  width: min(920px, 100%);
  max-height: calc(100vh - clamp(28px, 6vw, 76px));
  overflow: auto;
  position: relative;
}

.alpha-modal-head {
  background: linear-gradient(135deg, rgba(254, 120, 73, 0.11), transparent 58%);
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px 28px;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(18px);
}

.alpha-modal-head .eyebrow {
  margin: 0 0 10px;
}

.alpha-modal-head h3 {
  font-family: var(--font-manrope), Arial, sans-serif;
  letter-spacing: -0.035em;
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.05;
}

.alpha-modal-head > div > p:last-child {
  color: var(--muted);
  max-width: 640px;
  margin: 13px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.alpha-modal-close {
  color: var(--ivory);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 242, 232, 0.17);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0 0 3px;
  font-size: 28px;
  line-height: 1;
}

.alpha-modal-close:hover,
.alpha-modal-close:focus-visible {
  color: #080808;
  background: var(--coral);
  border-color: var(--coral);
  outline: none;
}

.alpha-form {
  background: linear-gradient(145deg, #181716, #0c0c0c 78%);
  border: 0;
  padding: 34px;
  position: relative;
}

.alpha-form::before {
  content: "";
  background: var(--coral);
  width: 4px;
  height: 72px;
  position: absolute;
  top: 0;
  left: 0;
}

.alpha-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  display: grid;
}

.alpha-form .form-field {
  min-width: 0;
}

.alpha-form .form-field-wide {
  grid-column: 1 / -1;
}

.alpha-form .form-field label {
  color: rgba(247, 242, 232, 0.71);
  font-family: var(--font-ibm-plex-mono), monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 9px;
  font-size: 9px;
  font-weight: 600;
  display: block;
}

.alpha-form .form-field input,
.alpha-form .form-field select,
.alpha-form .form-field textarea {
  color: var(--ivory);
  background: rgba(5, 5, 5, 0.72);
  border: 1px solid rgba(247, 242, 232, 0.17);
  border-radius: 0;
  width: 100%;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.alpha-form .form-field input,
.alpha-form .form-field select {
  min-height: 48px;
}

.alpha-form .form-field textarea {
  resize: vertical;
  min-height: 116px;
}

.alpha-form .form-field input::placeholder,
.alpha-form .form-field textarea::placeholder {
  color: #77736d;
}

.alpha-form .form-field input:focus,
.alpha-form .form-field select:focus,
.alpha-form .form-field textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(254, 120, 73, 0.1);
}

.alpha-form .form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #aaa59e 50%), linear-gradient(135deg, #aaa59e 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 36px;
}

.alpha-ack {
  cursor: pointer;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  display: grid;
}

.alpha-ack input {
  accent-color: var(--coral);
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.alpha-ack span {
  color: #b9b4ac;
  font-size: 11px;
  line-height: 1.6;
}

.alpha-privacy {
  color: #77736d;
  border-left: 2px solid rgba(254, 120, 73, 0.5);
  margin: 0;
  padding-left: 15px;
  font-size: 10px;
  line-height: 1.65;
}

.alpha-privacy a {
  color: rgba(247, 242, 232, 0.82);
  border-bottom: 1px solid rgba(254, 120, 73, 0.75);
}

.alpha-form-actions {
  align-items: center;
  gap: 18px;
  display: flex;
}

.alpha-form-actions .button {
  min-width: 240px;
  cursor: pointer;
}

.alpha-form-actions .button:disabled {
  cursor: wait;
  opacity: 0.45;
  transform: none;
}

.alpha-form-status {
  border: 1px solid var(--line);
  margin: 0;
  padding: 13px 15px;
  font-size: 11px;
  line-height: 1.55;
}

.alpha-form-status.is-success {
  color: #dff6de;
  background: rgba(76, 155, 85, 0.13);
  border-color: rgba(113, 187, 122, 0.4);
}

.alpha-form-status.is-error {
  color: #ffd8cd;
  background: rgba(254, 120, 73, 0.08);
  border-color: rgba(254, 120, 73, 0.4);
}

.alpha-form .form-trap {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

@media (max-width: 960px) {
  .alpha-tests {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .alpha-copy {
    max-width: 760px;
  }

  .alpha-action {
    max-width: 680px;
  }
}

@media (max-width: 700px) {
  .alpha-tests {
    gap: 36px;
    padding: 88px 0;
  }

  .alpha-copy h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .alpha-form {
    padding: 26px 18px 30px;
  }

  .alpha-form-grid {
    grid-template-columns: 1fr;
  }

  .alpha-form .form-field-wide {
    grid-column: auto;
  }

  .alpha-form-actions .button {
    width: 100%;
  }

  .alpha-action {
    padding: 22px;
  }

  .alpha-open-button {
    min-height: 78px;
    padding: 18px;
    font-size: 14px;
  }

  .alpha-modal {
    align-items: flex-end;
    padding: 0;
  }

  .alpha-modal-panel {
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    width: 100%;
    max-height: 94svh;
  }

  .alpha-modal-head {
    padding: 22px 18px 20px;
  }

  .alpha-modal-close {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .alpha-modal,
  .alpha-modal-panel {
    scroll-behavior: auto;
  }
}
