:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #f7f8ff;
  background: #090b16;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #090b16;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(112, 78, 255, 0.24), transparent 31rem),
    radial-gradient(circle at 12% 65%, rgba(16, 185, 255, 0.12), transparent 26rem),
    #090b16;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #7657ff, #3d22c6);
  box-shadow: 0 10px 34px rgba(87, 54, 225, 0.42);
  font-size: 12px;
  letter-spacing: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b8bbcb;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #46e6a4;
  box-shadow: 0 0 16px rgba(70, 230, 164, 0.8);
}

.hero {
  padding: clamp(84px, 12vw, 154px) 0 clamp(72px, 10vw, 126px);
}

.eyebrow {
  margin: 0 0 24px;
  color: #9d8cff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.28em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 8.8vw, 112px);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 610px;
  margin: 38px 0 0;
  color: #b8bbcb;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid #c2b8ff;
  outline-offset: 4px;
}

.button-primary {
  background: #f7f8ff;
  color: #111326;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.26);
}

.hint {
  color: #73778c;
  font-size: 13px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features article {
  min-height: 210px;
  padding: 34px 34px 34px 0;
}

.features article + article {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-number {
  color: #777b90;
  font-size: 11px;
  letter-spacing: 0.16em;
}

h2 {
  margin: 36px 0 12px;
  font-size: 18px;
}

.features p {
  max-width: 270px;
  margin: 0;
  color: #8d91a5;
  font-size: 14px;
  line-height: 1.6;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #606477;
  font-size: 12px;
}

.login-shell {
  width: min(580px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0 36px;
  display: flex;
  flex-direction: column;
}

.login-card {
  margin: auto 0;
  padding: clamp(32px, 7vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(17, 19, 38, 0.74);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px);
}

.login-title {
  font-size: clamp(36px, 8vw, 54px);
  line-height: 1.02;
}

.login-copy {
  margin-top: 26px;
  font-size: 17px;
}

.login-card .button {
  margin-top: 34px;
}

.login-footer {
  min-height: 60px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 78px;
  }

  .status {
    font-size: 0;
  }

  .hero {
    padding-top: 80px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features article {
    min-height: 0;
    padding: 28px 0;
  }

  .features article + article {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  h2 {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
