:root {
  --ink: #172421;
  --muted: #697774;
  --line: #dfe7e4;
  --paper: #fbfcfb;
  --forest: #102c2a;
  --forest-soft: #1b4843;
  --mint: #9fe0c5;
  --coral: #f4a67b;
  --danger: #b83c3c;
  --danger-bg: #fff1ef;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(480px, .95fr);
  min-height: 100vh;
}

.brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  padding: clamp(36px, 5vw, 72px);
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 35%),
    var(--forest);
  color: #fff;
}

.brand-panel::after {
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(159, 224, 197, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(159, 224, 197, .035), 0 0 0 160px rgba(159, 224, 197, .02);
  content: "";
}

.brand-panel__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.brand-panel__glow--one {
  top: 18%;
  right: 4%;
  width: 180px;
  height: 180px;
  background: rgba(244, 166, 123, .09);
}

.brand-panel__glow--two {
  bottom: 8%;
  left: -8%;
  width: 260px;
  height: 260px;
  background: rgba(159, 224, 197, .07);
}

.brand,
.mobile-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand__name,
.mobile-brand span {
  font-size: 25px;
  font-weight: 730;
  letter-spacing: -.04em;
}

.brand-message {
  position: relative;
  z-index: 1;
  max-width: 610px;
  margin: 80px 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand-message h1 {
  max-width: 580px;
  margin: 0;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: .99;
}

.brand-message h1 span {
  color: var(--coral);
}

.brand-message__body {
  max-width: 510px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.7;
}

.brand-panel__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(159, 224, 197, .1);
}

.login-panel {
  display: flex;
  min-height: 100vh;
  padding: 48px clamp(42px, 7vw, 110px);
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 90% 8%, rgba(159, 224, 197, .16), transparent 22%),
    var(--paper);
}

.mobile-brand {
  display: none;
}

.login-card {
  width: min(100%, 440px);
}

.login-card__header {
  margin-bottom: 34px;
}

.eyebrow--dark {
  margin-bottom: 14px;
  color: #347768;
}

.login-card__header h2 {
  margin: 0;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 690;
  letter-spacing: -.045em;
}

.login-card__header > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.login-alert {
  display: flex;
  margin: 0 0 24px;
  padding: 13px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid #f1cac5;
  border-radius: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-size: 13px;
  line-height: 1.45;
}

.login-alert__icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 9px;
  color: #2f3e3a;
  font-size: 13px;
  font-weight: 680;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input::placeholder {
  color: #a1aaa8;
}

.field input:hover {
  border-color: #bdcbc7;
}

.field input:focus {
  border-color: #3d8173;
  box-shadow: 0 0 0 4px rgba(61, 129, 115, .11);
}

.login-button {
  display: flex;
  width: 100%;
  height: 56px;
  margin-top: 28px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--forest);
  box-shadow: 0 12px 28px rgba(16, 44, 42, .17);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 720;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.login-button svg {
  width: 19px;
  height: 19px;
  transition: transform .18s ease;
}

.login-button:hover {
  background: var(--forest-soft);
  box-shadow: 0 14px 32px rgba(16, 44, 42, .22);
  transform: translateY(-1px);
}

.login-button:hover svg {
  transform: translateX(3px);
}

.login-button:focus-visible {
  outline: 3px solid rgba(61, 129, 115, .3);
  outline-offset: 3px;
}

.login-card__footer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #8a9693;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .login-shell {
    display: block;
  }

  .brand-panel {
    display: none;
  }

  .login-panel {
    min-height: 100vh;
    padding: 34px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-brand {
    display: inline-flex;
    margin-bottom: auto;
  }

  .login-card {
    margin: 54px auto auto;
  }
}

@media (max-width: 520px) {
  .login-panel {
    padding: 24px 20px;
  }

  .login-card__header {
    margin-bottom: 28px;
  }

  .login-card__header h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
