.alpha-terms-consent {
  background: rgba(254, 120, 73, 0.06);
  border: 1px solid rgba(254, 120, 73, 0.3);
  padding: 18px;
}

.alpha-terms-open {
  color: var(--ivory);
  cursor: pointer;
  background: transparent;
  border: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 0;
  text-align: left;
  font-family: var(--font-manrope), Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
}

.alpha-terms-open span {
  color: var(--coral);
  flex: none;
  font-size: 20px;
}

.alpha-terms-open:hover,
.alpha-terms-open:focus-visible {
  color: var(--coral);
  outline: none;
}

.alpha-terms-open.is-accepted::after {
  content: "✓";
  color: #a9dfa9;
  margin-left: auto;
  font-size: 18px;
}

.alpha-terms-status {
  color: #98938b;
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.55;
}

.alpha-terms-status.is-accepted {
  color: #a9dfa9;
}

.alpha-terms-modal {
  z-index: 10020;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.5vw, 30px);
  display: flex;
  position: fixed;
  inset: 0;
}

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

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

.alpha-terms-panel {
  z-index: 1;
  background: #10100f;
  border: 1px solid rgba(247, 242, 232, 0.22);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.82);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(940px, 100%);
  max-height: calc(100svh - clamp(24px, 5vw, 60px));
  display: grid;
  position: relative;
  overflow: hidden;
}

.alpha-terms-head {
  background: linear-gradient(135deg, rgba(254, 120, 73, 0.12), transparent 58%);
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding: 26px 30px 24px;
  display: flex;
}

.alpha-terms-head .eyebrow {
  margin: 0 0 9px;
}

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

.alpha-terms-head > div > p:last-child {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.6;
}

.alpha-terms-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: 42px;
  height: 42px;
  flex: none;
  padding: 0 0 3px;
  font-size: 27px;
  line-height: 1;
}

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

.alpha-terms-scroll {
  scrollbar-color: var(--coral) #1d1c1a;
  overscroll-behavior: contain;
  padding: 28px 34px 38px;
  overflow-y: auto;
}

.alpha-terms-scroll:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}

.alpha-terms-version {
  color: var(--coral);
  font-family: var(--font-ibm-plex-mono), monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 28px;
  font-size: 9px;
  font-weight: 600;
}

.alpha-terms-section {
  border-top: 1px solid rgba(247, 242, 232, 0.1);
  padding: 25px 0 8px;
}

.alpha-terms-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.alpha-terms-section h4 {
  color: var(--ivory);
  font-family: var(--font-manrope), Arial, sans-serif;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.alpha-terms-section p {
  color: #b8b3ab;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.72;
}

.alpha-terms-actions {
  background: rgba(12, 12, 12, 0.98);
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 30px;
  display: flex;
}

.alpha-terms-actions p {
  color: #8d8881;
  max-width: 440px;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.alpha-terms-accept {
  min-width: 280px;
  cursor: pointer;
}

.alpha-terms-accept:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

@media (max-width: 700px) {
  .alpha-terms-modal {
    align-items: flex-end;
    padding: 0;
  }

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

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

  .alpha-terms-head h3 {
    font-size: 27px;
  }

  .alpha-terms-scroll {
    padding: 24px 19px 32px;
  }

  .alpha-terms-actions {
    align-items: stretch;
    gap: 12px;
    padding: 14px 18px 18px;
    flex-direction: column;
  }

  .alpha-terms-accept {
    min-width: 0;
    width: 100%;
  }
}
