:root {
  --bg: #000000;
  --panel: linear-gradient(90deg, #2a2326 0%, #332b2f 100%);
  --accent: #ef4335;
  --text: #f3f1f2;
  --muted: #e5dde0;
  --btn-border: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

.prelogin-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px) clamp(16px, 3vw, 30px) clamp(44px, 5vw, 70px);
}


.hero-banner {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.options-grid {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 24px);
}

.login-card {
  min-height: 300px;
  border-radius: 20px;
  background: var(--panel);
  padding: clamp(22px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
}

.icon-wrap img {
  width: 72px;
  height: 72px;
  display: block;
}

.login-card h2 {
  margin: 26px 0 8px;
  font-size: clamp(2rem, 2.3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.login-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.2vw, 1.45rem);
  line-height: 1.35;
}

.continue-btn {
  margin-top: clamp(28px, 4vw, 42px);
  align-self: flex-end;
  min-width: 178px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 2px solid var(--btn-border);
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.continue-btn:hover,
.continue-btn:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.continue-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.brand-footer {
  margin-top: clamp(54px, 8vw, 96px);
  display: flex;
  justify-content: center;
}

.brand-footer img {
  width: min(290px, 56vw);
  height: auto;
}

@media (max-width: 1040px) {
  .options-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .prelogin-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .login-card h2 {
    margin-top: 20px;
  }

  .continue-btn {
    width: 100%;
    align-self: stretch;
    margin-top: 24px;
  }
}
