:root {
  --ink: #071333;
  --muted: #607095;
  --line: #dfe6f5;
  --surface: #ffffff;
  --soft: #f5f8ff;
  --accent: #235cff;
  --accent-2: #02a878;
  --danger: #d93645;
  --shadow: 0 24px 70px rgba(20, 38, 84, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(35, 92, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 12%, rgba(2, 168, 120, 0.13), transparent 28rem),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.auth-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 28px;
  align-items: center;
  padding: 44px 0;
}

.auth-panel {
  border: 1px solid rgba(172, 186, 220, 0.68);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  border-radius: 32px;
}

.auth-panel--intro {
  min-height: 620px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.auth-panel--intro::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(35, 92, 255, 0.22), rgba(2, 168, 120, 0.18));
}

.brand img {
  width: 270px;
  max-width: 100%;
  display: block;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.checks {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
  color: #24365f;
}

.checks li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
}

.auth-card {
  padding: 22px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 22px;
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 13px 16px;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(20, 38, 84, 0.08);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 16px;
}

.auth-form h2 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.auth-form p {
  color: var(--muted);
  line-height: 1.45;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: #25375d;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(35, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(35, 92, 255, 0.11);
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600;
  color: var(--muted);
}

.consent input {
  width: auto;
  margin-top: 3px;
}

.primary {
  border: 0;
  border-radius: 18px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #235cff, #522bdf);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(35, 92, 255, 0.24);
}

.primary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.message {
  min-height: 22px;
  color: var(--muted);
  font-weight: 700;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--accent-2);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 620px);
  }

  .auth-panel--intro {
    min-height: auto;
    gap: 32px;
  }
}
