.key-section {
  border-top: 1px solid #292724;
  background:
    radial-gradient(circle at 18% 35%, #3a280e 0, transparent 30%),
    #0b0a08;
}

.key-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 90px;
  align-items: center;
}

.key-copy h2 {
  font-size: clamp(35px, 4.4vw, 58px);
  line-height: 1.02;
}

.key-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.key-security {
  display: flex;
  max-width: 410px;
  align-items: center;
  gap: 12px;
  border: 1px solid #35402d;
  border-radius: 12px;
  background: #11170f;
  padding: 13px 15px;
}

.key-security > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #20301e;
  color: #78dc8e;
  font-weight: 800;
}

.key-security strong,
.key-security small {
  display: block;
}

.key-security strong {
  font-size: 12px;
}

.key-security small {
  margin-top: 2px;
  color: #788073;
  font-size: 10px;
}

.key-card {
  border: 1px solid #5c4616;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0, #4b350d 0, transparent 35%),
    linear-gradient(145deg, #17150f, #0e0e0d);
  box-shadow: 0 26px 70px #0008, inset 0 1px 0 #ffca3424;
  padding: 30px;
}

.key-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.key-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #3a2d0b;
  color: var(--gold);
  font-size: 20px;
}

.key-card-top small {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.key-card-top h3 {
  margin-top: 3px;
  font-size: 23px;
  letter-spacing: -.03em;
}

.key-account-status {
  min-height: 22px;
  margin: 22px 0 18px;
  border-block: 1px solid #2e2a21;
  padding: 14px 0;
  color: #9d988e;
  font-size: 11px;
}

.key-form label {
  display: block;
  margin-bottom: 7px;
  color: #bdb6aa;
  font-size: 11px;
  font-weight: 700;
}

.key-form input {
  width: 100%;
  border: 1px solid #3a352b;
  border-radius: 12px;
  outline: 0;
  background: #0a0a09;
  color: var(--text);
  padding: 15px 14px;
  font: 700 13px "Space Grotesk", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.key-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #ffbf1818;
}

.key-form .button {
  width: 100%;
  justify-content: center;
  border: 0;
  margin-top: 12px;
  cursor: pointer;
}

.key-form .button:disabled {
  cursor: wait;
  opacity: .68;
}

.key-result {
  margin-top: 14px;
  border: 1px solid #3d3a32;
  border-radius: 10px;
  padding: 12px 13px;
  color: #c7c1b6;
  font-size: 11px;
  line-height: 1.5;
}

.key-result[data-kind="success"] {
  border-color: #31543a;
  background: #101a12;
  color: #9be1aa;
}

.key-result[data-kind="error"] {
  border-color: #70452f;
  background: #1c120e;
  color: #f0d0bc;
}

.key-help {
  display: block;
  margin-top: 15px;
  color: #6f6a61;
  font-size: 9px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .key-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 640px) {
  .key-card {
    padding: 22px;
  }
}
