:root {
  --navy-950: #071a33;
  --navy-900: #0b2545;
  --navy-800: #103b70;
  --blue-700: #165dcc;
  --blue-600: #2374e1;
  --teal-500: #1aa6a6;
  --ink-900: #172033;
  --ink-700: #465168;
  --ink-500: #68738a;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --line: #dce4ef;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --info: #175cd3;
  --info-soft: #eff6ff;
  --shadow: 0 22px 55px rgba(11, 37, 69, 0.16);
  --radius-lg: 22px;
  --radius-md: 14px;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-soft);
  color: var(--ink-900);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(35, 116, 225, 0.13), transparent 30%),
    linear-gradient(135deg, #f7faff 0%, #edf3fa 55%, #f8fbfd 100%);
}

button,
input {
  font: inherit;
}

a {
  color: var(--blue-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-800);
}

.landing-shell {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 34px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.82fr);
  gap: 28px;
  align-items: stretch;
}

.brand-panel {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(7, 26, 51, 0.98), rgba(16, 59, 112, 0.91)),
    var(--navy-900);
  box-shadow: var(--shadow);
  color: white;
}

.brand-content {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 72px));
  padding: 46px 48px 320px;
}

.brand-logo {
  display: block;
  width: 205px;
  height: auto;
  margin-bottom: 46px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 17px;
  color: #bfe8ff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 4.15vw, 4.45rem);
  line-height: 1.03;
  letter-spacing: -0.046em;
  text-wrap: balance;
}

.supporting-copy {
  max-width: 660px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.7;
}

.beta-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  max-width: 650px;
  margin-top: 29px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.beta-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.beta-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4a62a;
  color: #172033;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.map-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 13%;
  z-index: 1;
  height: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px 0 0 0;
  background: white;
  box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.18);
}

.map-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 26, 51, 0.06), transparent 48%),
    linear-gradient(90deg, rgba(7, 26, 51, 0.34), rgba(7, 26, 51, 0.08) 36%, transparent 72%);
  pointer-events: none;
}

.map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: 0.82;
}

.signin-panel {
  display: grid;
  place-items: center;
  padding: 22px 0;
}

.signin-card {
  width: min(100%, 430px);
  padding: 38px;
  border: 1px solid rgba(220, 228, 239, 0.96);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.mobile-brand {
  display: none;
}

.card-kicker {
  margin: 0 0 7px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 2rem;
  letter-spacing: -0.025em;
}

.card-intro {
  margin: 10px 0 28px;
  color: var(--ink-700);
  line-height: 1.55;
}

.field-group {
  margin-bottom: 19px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-900);
  font-size: 0.91rem;
  font-weight: 700;
}

.field-group input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #b9c5d5;
  border-radius: 10px;
  background: white;
  color: var(--ink-900);
  outline: none;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

.field-group input:hover {
  border-color: #8798ad;
}

.field-group input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(35, 116, 225, 0.16);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--danger);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 74px;
}

.show-password {
  position: absolute;
  top: 50%;
  right: 7px;
  min-height: 34px;
  padding: 5px 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--blue-700);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.show-password:hover,
.show-password:focus-visible {
  background: var(--info-soft);
  outline: none;
}

.field-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.82rem;
  line-height: 1.4;
}

.primary-button {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  box-shadow: 0 10px 22px rgba(22, 93, 204, 0.24);
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    opacity 120ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(22, 93, 204, 0.3);
}

.primary-button:focus-visible {
  outline: 3px solid rgba(35, 116, 225, 0.28);
  outline-offset: 3px;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.status-message {
  margin: 0 0 19px;
  padding: 12px 13px;
  border: 1px solid #b2ccff;
  border-radius: 10px;
  background: var(--info-soft);
  color: var(--info);
  font-size: 0.88rem;
  line-height: 1.45;
}

.status-message.is-error {
  border-color: #fecdca;
  background: var(--danger-soft);
  color: var(--danger);
}

.access-note,
.support-note {
  margin: 20px 0 0;
  color: var(--ink-500);
  font-size: 0.82rem;
  line-height: 1.55;
}

.support-note {
  margin-top: 10px;
}

.prototype-note {
  margin-top: 23px;
  padding: 12px 13px;
  border-left: 3px solid #f4a62a;
  border-radius: 8px;
  background: #fff9eb;
  color: #684600;
  font-size: 0.79rem;
  line-height: 1.5;
}


.support-block {
  margin-top: 10px;
}

.support-block .support-note {
  margin-top: 0;
}

.support-email-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.copy-email-button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue-700);
  cursor: pointer;
  vertical-align: middle;
}

.copy-email-button:hover {
  background: var(--info-soft);
  color: var(--navy-800);
}

.copy-email-button:focus-visible {
  outline: 3px solid rgba(35, 116, 225, 0.24);
  outline-offset: 2px;
}

.copy-icon {
  display: block;
}

.copy-email-status {
  min-height: 1.2em;
  margin: 6px 0 0;
  color: var(--ink-500);
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer {
  min-height: 58px;
  padding: 9px 24px 24px;
  color: var(--ink-500);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1060px) {
  .landing-shell {
    width: min(calc(100% - 32px), 1120px);
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
    gap: 20px;
    padding-top: 24px;
  }

  .brand-content {
    width: calc(100% - 48px);
    padding: 38px 34px 300px;
  }

  h1 {
    font-size: clamp(2.15rem, 4.6vw, 3.5rem);
  }

  .signin-card {
    padding: 32px;
  }
}

@media (max-width: 820px) {
  .landing-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .brand-panel {
    min-height: 500px;
  }

  .brand-content {
    padding-bottom: 205px;
  }

  .brand-logo {
    margin-bottom: 30px;
  }

  .map-preview {
    right: -7%;
    left: 11%;
    height: 230px;
  }

  .signin-panel {
    padding: 0;
  }

  .signin-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    width: min(calc(100% - 24px), 520px);
    gap: 14px;
    padding-top: 12px;
  }

  .brand-panel {
    min-height: auto;
  }

  .brand-content {
    width: 100%;
    padding: 30px 25px;
  }

  .brand-logo {
    width: 174px;
    margin-bottom: 25px;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .supporting-copy {
    font-size: 0.95rem;
  }

  .beta-notice {
    grid-template-columns: 1fr;
  }

  .map-preview {
    display: none;
  }

  .signin-card {
    padding: 28px 24px;
  }

  .mobile-brand {
    display: none;
  }

  .site-footer {
    padding-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
