/* Passwort-Gate (deploy/gate/index.php): SavvyFleet-Farben und -Bauteile aus site.css, braunetic-Typografie (Manrope, Geist Mono).
   Bewusst ruhig: eine Karte, feine Linien, Lime nur für Akzentlinie, Label und Aktion. Keine Skripte, keine Inline-Styles. */

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/manrope-wght.woff2) format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/geist-mono-wght.woff2) format("woff2");
}

.gate {
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  font-family: Manrope, var(--font);
  font-weight: 450;
}
.gate__main { display: grid; justify-items: center; gap: 28px; width: 100%; max-width: 440px; }

.gate__card {
  display: grid;
  gap: 24px;
  width: 100%;
  padding: 28px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 2px 0 var(--lime), 0 24px 64px rgba(0, 0, 0, .42);
}

.gate__brand { display: flex; align-items: center; gap: 12px; }
.gate__brand img { width: 44px; height: 44px; border-radius: 11px; }
.gate__brand .brand__name { font-family: var(--font); font-size: 19px; }

.gate__intro { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.gate__label { color: var(--lime); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.gate h1 { font-family: Manrope, var(--font); font-size: clamp(27px, 7.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
.gate h1 span { white-space: nowrap; }
.gate__lead { color: var(--muted); font-size: 16px; line-height: 1.55; }

.gate__msg { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; font-weight: 600; line-height: 1.45; }
.gate__msg--error { border: 1px solid var(--danger-line); background: var(--danger-soft); color: var(--danger); }
.gate__msg--ok { border: 1px solid var(--lime-line); background: var(--lime-soft); color: var(--lime); }

.gate__form { display: grid; gap: 16px; }
.gate .field label { font-weight: 600; }
.gate .input { font-family: inherit; }
.gate .btn { min-height: 52px; font-family: inherit; font-size: 16px; font-weight: 700; letter-spacing: -.005em; }

.gate__note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.gate .footer__brandlink { justify-self: center; }
.gate .footer__cobrand { width: 200px; }

@media (min-width: 640px) {
  .gate__card { gap: 28px; padding: 40px 40px 30px; border-radius: 24px; }
}
