:root {
  color: #17231d;
  background: #eef4ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }

.login-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(118deg, transparent 0 61%, #dce9df 61% 61.15%, transparent 61.15%),
    radial-gradient(circle at 82% 18%, #d7ebdc 0, transparent 27rem),
    #eef4ef;
}

.login-shell::before {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid #bfd2c4;
  border-radius: 50%;
  content: "";
  transform: translate(48vw, -38vh);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #d5e0d8;
  border-radius: 18px;
  background: #ffffffee;
  box-shadow: 0 28px 80px #1833221a;
  backdrop-filter: blur(18px);
}

.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { color: #14261b; font-size: 17px; }
.login-brand small { margin-top: 2px; color: #738078; font-size: 10px; }
.login-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #197447;
  font-weight: 800;
}

.login-copy { margin-top: 52px; }
.login-eyebrow {
  margin: 0 0 12px;
  color: #348758;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.login-copy h1 {
  max-width: 430px;
  margin: 0;
  color: #15271c;
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.login-copy > p:last-child {
  max-width: 430px;
  margin: 17px 0 0;
  color: #68766e;
  font-size: 14px;
  line-height: 1.75;
}

.login-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce5df;
  border-radius: 12px;
  background: #dce5df;
  list-style: none;
}
.login-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 10px;
  min-height: 80px;
  align-content: center;
  padding: 14px 16px;
  background: #f8faf8;
}
.login-steps li.active { background: #eef8f1; }
.login-steps span {
  display: grid;
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  place-items: center;
  align-self: center;
  border: 1px solid #bdcec2;
  border-radius: 50%;
  color: #6c7b71;
  font-size: 10px;
  font-weight: 800;
}
.login-steps .active span { border-color: #197447; color: #fff; background: #197447; }
.login-steps strong { color: #26372d; font-size: 11px; }
.login-steps small { color: #7c8880; font-size: 9px; line-height: 1.45; }

.login-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.login-actions a { font-size: 12px; font-weight: 800; text-decoration: none; }
.login-primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  color: #fff;
  background: #197447;
  box-shadow: 0 8px 22px #19744726;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.login-primary:hover { background: #11653b; box-shadow: 0 10px 26px #19744732; transform: translateY(-1px); }
.login-secondary { color: #5e6d64; }
.login-secondary:hover { color: #197447; }
.login-actions a:focus-visible { outline: 3px solid #72d59a66; outline-offset: 3px; }
.login-note { margin: 14px 0 0; color: #89948d; font-size: 10px; }

.login-assurance {
  position: absolute;
  right: clamp(28px, 7vw, 110px);
  bottom: clamp(24px, 5vw, 64px);
  width: min(260px, 30vw);
  color: #45564c;
}
.assurance-line { display: block; width: 44px; height: 2px; margin-bottom: 12px; background: #64ad7d; }
.login-assurance p { margin: 0; font-size: 11px; font-weight: 800; }
.login-assurance small { display: block; margin-top: 5px; color: #7a8980; font-size: 9px; line-height: 1.6; }

@media (max-width: 760px) {
  .login-shell { align-items: start; padding: 18px; }
  .login-card { margin-top: 5vh; padding: 28px 24px; }
  .login-copy { margin-top: 38px; }
  .login-assurance { display: none; }
}

@media (max-width: 480px) {
  .login-steps { grid-template-columns: 1fr; }
  .login-actions { align-items: stretch; flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
