:root {
  color-scheme: light;
  --green: #0c4f35;
  --deep: #082f23;
  --lime: #a4e635;
  --ink: #17251d;
  --muted: #7d8981;
  --line: #e4eae4;
  --paper: #f5f7f4;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 0%, #e6f0e2 0, transparent 38%),
    radial-gradient(ellipse at 100% 100%, #e3eee5 0, transparent 35%),
    var(--paper);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.gate-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px 18px;
}

.gate-card {
  width: min(100%, 430px);
  padding: 30px 34px 25px;
  border: 1px solid #e4eae4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px #183c2812;
}

.gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.gate-brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: var(--lime);
  font-size: 23px;
  font-weight: 900;
}

.gate-brand b, .gate-brand small { display: block; }
.gate-brand b { font-size: 19px; line-height: 1.1; letter-spacing: -.5px; }
.gate-brand small { color: #718179; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }

.gate-lock {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 40px 0 19px;
  place-items: center;
  border: 1px solid #e2eddc;
  border-radius: 16px;
  background: #f2f8ee;
  color: var(--green);
}

.gate-lock svg { width: 27px; height: 27px; }
.gate-eyebrow { color: #53845c; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.gate-heading h1 { margin: 5px 0 7px; font-size: 28px; line-height: 1.2; letter-spacing: -.9px; }
.gate-heading p { margin: 0; color: var(--muted); font-size: 13px; }

.gate-form { display: grid; gap: 8px; margin-top: 24px; }
.gate-form label { color: #445149; font-size: 12px; font-weight: 700; }
.gate-form input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #dfe6df;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  letter-spacing: .28em;
}
.gate-form input:focus { border-color: #67a265; box-shadow: 0 0 0 3px #83bd6f24; }
.gate-form button {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.gate-form button:hover { background: var(--deep); }
.gate-form button span { color: var(--lime); font-size: 19px; }
.gate-error { color: #b84e42; font-size: 12px; }
.gate-foot { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: #89958c; font-size: 11px; }
.gate-foot span { color: #75a76c; font-size: 8px; }

@media (max-width: 480px) {
  .gate-card { padding: 25px 23px 22px; }
  .gate-lock { margin-top: 34px; }
}
