:root {
  --brand-blue: #1157f2;
  --ink: #121212;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.login-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.login-hero {
  width: min(100%, 430px);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background-color: var(--brand-blue);
  background-image: url("./assets/login-bg.png");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 24px 70px rgba(17, 28, 58, 0.18);
}

.login-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08)),
    radial-gradient(circle at 76% 8%, rgba(255, 236, 194, 0.64), transparent 38%),
    radial-gradient(circle at 12% 50%, rgba(0, 92, 255, 0.36), transparent 46%);
  pointer-events: none;
}

.welcome-copy {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 42%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
  color: #fff;
  text-shadow: 0 12px 28px rgba(32, 52, 98, 0.28);
}

.welcome-copy h1 {
  margin: 0;
  font-size: clamp(46px, 13vw, 56px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.95;
}

.welcome-copy p {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 800;
}

.login-sheet {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: 22px 28px 24px;
  border-radius: 36px 36px 0 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-actions {
  display: grid;
  gap: 12px;
}

.primary-action,
.secondary-action {
  min-height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 850;
}

.primary-action {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 14px 26px rgba(17, 87, 242, 0.28);
}

.secondary-action {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid rgba(18, 18, 18, 0.48);
}

.social-area {
  margin-top: 22px;
  text-align: center;
  color: #242424;
}

.social-area p {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.social-icons span {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.social-area strong {
  display: block;
  font-size: 9px;
  font-weight: 600;
}

@media (min-width: 720px) {
  .login-screen {
    padding: 24px;
  }

  .login-hero {
    min-height: min(860px, calc(100svh - 48px));
    border-radius: 28px;
  }

  .login-sheet {
    border-radius: 36px 36px 28px 28px;
  }
}
