* {
  box-sizing: border-box;
}

:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #f7f7fb;
  background: #08090d;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(120, 90, 255, .20),
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(0, 190, 255, .12),
      transparent 30%
    ),
    #08090d;
}

.container {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 35px;
}

.hero {
  text-align: center;
  margin-bottom: 35px;
}

.badge {
  display: inline-block;

  padding: 8px 13px;

  border: 1px solid #292d3a;
  border-radius: 999px;

  color: #bfc4d5;
  background: rgba(255,255,255,.04);

  font-size: 14px;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: .98;

  letter-spacing: -3px;

  margin: 20px 0 18px;
}

h1 span {
  background:
    linear-gradient(
      90deg,
      #a78bfa,
      #67e8f9
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero p {
  max-width: 620px;

  margin: auto;

  color: #9ca3b5;

  font-size: 17px;
  line-height: 1.6;
}

.card {
  border: 1px solid #252938;

  background:
    rgba(16, 18, 26, .82);

  backdrop-filter: blur(16px);

  border-radius: 22px;

  padding: 22px;

  box-shadow:
    0 20px 70px rgba(0,0,0,.25);

  margin-bottom: 18px;
}

.card-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 15px;
}

h2 {
  margin: 0 0 4px;

  font-size: 19px;
}

.card-head p {
  margin: 0;

  color: #777e92;

  font-size: 13px;
}

textarea {
  width: 100%;

  min-height: 300px;

  resize: vertical;

  border: 1px solid #2a2e3b;

  border-radius: 16px;

  outline: none;

  padding: 18px;

  background: #0c0e14;

  color: #f4f5f8;

  font: inherit;

  font-size: 16px;

  line-height: 1.65;
}

textarea:focus {
  border-color: #7c6cff;

  box-shadow:
    0 0 0 3px
    rgba(124,108,255,.12);
}

button {
  border: 0;

  font: inherit;

  cursor: pointer;
}

.primary {
  width: 100%;

  margin-top: 15px;

  padding: 15px 18px;

  border-radius: 13px;

  color: white;

  font-weight: 700;

  background:
    linear-gradient(
      90deg,
      #765cf5,
      #36bce9
    );

  transition:
    transform .15s,
    opacity .15s;
}

.primary:hover {
  transform: translateY(-1px);
}

.primary:disabled {
  opacity: .65;

  cursor: wait;

  transform: none;
}

.ghost {
  padding: 9px 12px;

  border-radius: 10px;

  color: #c8ccda;

  background: #171a23;
}

.ghost:hover {
  background: #202430;
}

.summary {
  white-space: pre-wrap;

  color: #d9dce6;

  line-height: 1.75;

  font-size: 16px;
}

.error {
  padding: 14px 16px;

  border: 1px solid #67313b;

  background: #2a1519;

  color: #ffb4bd;

  border-radius: 13px;
}

.hidden {
  display: none !important;
}

.spinner {
  display: inline-block;

  width: 17px;
  height: 17px;

  margin-left: 7px;

  vertical-align: -3px;

  border: 2px solid rgba(255,255,255,.35);

  border-top-color: white;

  border-radius: 50%;

  animation:
    spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

footer {
  text-align: center;

  color: #666d80;

  font-size: 12px;

  margin-top: 22px;
}

@media (max-width: 600px) {

  .container {
    padding-top: 40px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .card {
    padding: 16px;
  }

  textarea {
    min-height: 240px;
  }
}
