:root {
  color-scheme: dark;
  --bg-1: #07111f;
  --bg-2: #0a1728;
  --panel: rgba(17, 34, 56, 0.94);
  --panel-2: rgba(11, 24, 41, 0.96);
  --line: rgba(165, 190, 225, 0.15);
  --muted: #9aabc4;
  --text: #edf4ff;
  --brand: #70a7ff;
  --brand-soft: rgba(112, 167, 255, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(32, 89, 160, 0.24), transparent 58%),
    linear-gradient(145deg, var(--bg-1) 5%, var(--bg-2) 55%, #091321);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-width: 320px;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.shell {
  width: min(100%, 760px);
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 167, 255, 0.32);
  border-radius: 13px;
  color: var(--brand);
  background: rgba(42, 99, 174, 0.14);
}

.logo svg {
  width: 23px;
  height: 23px;
}

.brand {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.01em;
}

main {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 7vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, var(--panel), var(--panel-2));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

main::after {
  content: "";
  position: absolute;
  top: -105px;
  right: -80px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(112, 167, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(112, 167, 255, 0.025),
    0 0 0 64px rgba(112, 167, 255, 0.02);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(112, 167, 255, 0.2);
  border-radius: 999px;
  color: #b7d1fb;
  background: rgba(53, 105, 174, 0.13);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76b7ff;
  box-shadow: 0 0 12px #579cff;
}

h1 {
  max-width: 580px;
  margin: 25px 0 16px;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

h1 em {
  color: #8db9ff;
  font-style: normal;
}

.intro {
  max-width: 510px;
  margin: 0;
  color: #aab9cf;
  font-size: 16px;
  line-height: 1.75;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0;
}

.feature {
  min-height: 102px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.3);
}

.feature strong {
  display: block;
  margin-bottom: 7px;
  color: #e3edff;
  font-size: 13px;
  font-weight: 600;
}

.feature span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.access p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-form {
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(153, 193, 255, 0.45);
  border-radius: 11px;
  color: #07111f;
  background: #a5c8ff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: #c1d9ff;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(165, 200, 255, 0.4);
  outline-offset: 3px;
}

.button svg {
  width: 16px;
  height: 16px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 21px;
  color: #71839d;
  font-size: 12px;
}

@media (max-width: 600px) {
  header {
    margin-bottom: 34px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 28px 0;
  }

  .feature {
    min-height: auto;
  }

  .access {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .auth-form,
  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}