/* Forside / log ind – efter designet "NMG-portal – design" (1 · Log ind). Skrifttyper ligger lokalt (OFL). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root { --accent: #F97316; --ink: #F5F7FA; --bg: #070B14; --muted: #A7B0BF; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
.page { min-height: 100vh; background: var(--bg); font-family: Inter, system-ui, sans-serif; color: var(--ink);
  position: relative; overflow: hidden; display: flex; flex-direction: column; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-a { width: 680px; height: 680px; background: #F97316; opacity: .20; filter: blur(140px); top: -260px; left: -180px; }
.glow-b { width: 760px; height: 760px; background: #2563EB; opacity: .26; filter: blur(150px); bottom: -320px; right: -220px; }

.top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; flex-wrap: wrap; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.brand-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 16px; }
.host { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.main { position: relative; flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 16px 32px 48px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero { flex: 1 1 480px; min-width: 0; position: relative; min-height: 540px; display: flex; flex-direction: column; justify-content: center; }
#sphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-text { position: relative; max-width: 480px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: #FDBA74; margin-bottom: 20px; }
h1 { margin: 0 0 20px; font-family: "Space Grotesk", sans-serif; font-size: 68px; line-height: 1.02; font-weight: 700; letter-spacing: -1.5px; }
.lead { margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: #C3CAD6; max-width: 420px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 500; letter-spacing: .5px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }

.login-wrap { flex: 0 1 400px; min-width: 0; margin: 0 auto; }
.card { background: rgba(15,22,38,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 36px 32px; }
.card h2 { margin: 0 0 6px; font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 600; }
.sub { margin: 0 0 26px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: #D6DCE5; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hint { font-size: 12px; color: #8B95A5; }
.field input { height: 48px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 0 14px; font-size: 15px;
  font-family: inherit; background: rgba(255,255,255,.06); color: var(--ink); }
.field input::placeholder { color: #8B95A5; }
.field input:focus { outline: 2px solid #FDBA74; outline-offset: 1px; }
.error { margin: 0; min-height: 0; font-size: 14px; color: #FCA5A5; }
.error:empty { display: none; }
.submit { margin-top: 6px; height: 50px; border: 0; border-radius: 10px; background: var(--accent); color: #0B0F1A;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .3px;
  font-family: inherit; cursor: pointer; }
.submit:hover { filter: brightness(1.06); }
.submit:disabled { opacity: .6; cursor: wait; }
.submit:focus-visible { outline: 2px solid #FED7AA; outline-offset: 2px; }
.note { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.note svg { flex: none; margin-top: 1px; }
.note p { margin: 0; font-size: 13px; line-height: 1.5; }

.foot { position: relative; padding: 18px 32px; font-size: 12px; color: #8B95A5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.caps { letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 760px) {
  h1 { font-size: 46px; }
  .hero { min-height: 320px; }
  .main { padding: 8px 20px 32px; gap: 24px; }
  .top, .foot { padding-left: 20px; padding-right: 20px; }
}
