:root {
  color-scheme: light;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #112b25;
  background: #f5f7f4;
}

* { box-sizing: border-box; }
body { margin: 0; }
svg { display: block; }

.login {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 7vh, 80px);
  padding: clamp(32px, 5vw, 84px);
  color: #f1fbf4;
  background: radial-gradient(ellipse at 90% 78%, #194b3b, transparent 64%), #0a211e;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #bdf58a;
  color: #0a211e;
}
.brand-icon svg { width: 29px; }
.brand strong { display: block; font-size: 24px; line-height: 1.1; letter-spacing: .1em; }
.brand div span { color: #b6d3c6; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.hero-copy { max-width: 640px; }
.kicker { margin: 0 0 15px; font-size: .7rem; font-weight: 750; letter-spacing: .16em; }
.hero .kicker { display: flex; align-items: center; gap: 9px; color: #b6d3c6; }
.hero .kicker span { width: 20px; height: 2px; background: #bdf58a; }
.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 6.3vw, 7.6rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.073em;
}
.hero h1 em { color: #bdf58a; font-style: normal; }
.hero-copy > p:last-child {
  max-width: 33ch;
  margin: 25px 0 0;
  color: #c0d9cd;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}
.route { width: 100%; max-width: 700px; height: auto; }

.access {
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 100px);
}
.access-content { width: 100%; max-width: 430px; }
.access .kicker { color: #27644d; }
.access h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.055em; }
.intro { max-width: 36ch; margin: 15px 0 32px; color: #526760; line-height: 1.55; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #a6bab1;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.field input:focus-visible, button:focus-visible { outline: 3px solid #408662; outline-offset: 3px; }
button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 25px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #154d3b;
  color: white;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
button:hover { background: #0c3829; }
button span { color: #bdf58a; font-size: 1.25rem; }
.login-error {
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid #e6bbb2;
  border-radius: 10px;
  background: #fff1ee;
  color: #822b24;
  font-size: .9rem;
}
.login-error ul { margin: 0; padding-inline-start: 20px; }
.access footer {
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid #d4e0d9;
  color: #526760;
  font-size: .8rem;
}
.access footer span { margin: 0 4px; }

@media (max-width: 780px) {
  .login { grid-template-columns: minmax(0, 1fr); }
  .hero {
    gap: 28px;
    padding: 26px max(24px, env(safe-area-inset-right)) 32px max(24px, env(safe-area-inset-left));
    padding-top: max(26px, env(safe-area-inset-top));
  }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-copy > p:last-child { margin-top: 14px; }
  .route { display: none; }
  .access {
    padding: 32px max(24px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  }
  .intro { margin-bottom: 24px; }
}
