:root {
  color-scheme: dark;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #000000;
  --panel: rgba(0, 0, 0, 0.9);
  --panel-stroke: rgba(255, 255, 255, 0.08);
  --accent: #ffffff;
  --accent-secondary: #ffffff;
  --text: #f8f8f8;
  --muted: rgba(248, 248, 248, 0.7);
  --warning: #ffaf45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  position: relative;
}

.lp-portal-label {
  position: fixed;
  top: clamp(1.5rem, 3vw, 2rem);
  left: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  z-index: 10;
}

body,
input,
button {
  font-family: inherit;
}

a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


.shell {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(2rem, 4vw, 3rem);
  padding-top: 0;
}

.logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(30rem, 72vw, 48rem);
  display: block;
  margin: 0;
  margin-top: clamp(-2rem, -4vw, -1.5rem);
  object-fit: contain;
}

.brand-panel h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
}

.cta {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease,
    background 200ms ease;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.cta.primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

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

.cta.ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--text);
}

.cta.ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.cta.wide {
  width: 100%;
  justify-content: center;
}

.auth-panel {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--panel);
  backdrop-filter: blur(35px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(248, 248, 248, 0.8);
}

.field input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.1rem;
  background: rgba(5, 5, 5, 0.65);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 4.5rem;
}

.toggle-visibility {
  position: absolute;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  cursor: pointer;
}

.toggle-visibility:hover {
  color: #ffffff;
}

.support {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(248, 248, 248, 0.6);
  text-align: center;
}

.support a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.support a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .logo {
    max-height: 27rem;
  }
}


