@font-face { font-family: "A365 Lato"; src: url("/assets/fonts/lato-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "A365 Lato"; src: url("/assets/fonts/lato-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "A365 Lato"; src: url("/assets/fonts/lato-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "A365 Lato"; src: url("/assets/fonts/lato-heavy.woff2") format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  font-family: "A365 Lato", "Segoe UI", system-ui, sans-serif;
  color: #092d3b;
  background: #f4f8fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; min-width: 320px; background: #f4f8fa; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.login-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(480px, 1.16fr) minmax(430px, .84fr); overflow: hidden; }

.motion-panel {
  position: relative;
  min-height: 100dvh;
  padding: clamp(30px, 4.5vw, 68px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(145deg, #064e6c 0%, #075f7e 44%, #08778e 100%);
}

#motion-graph, .motion-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
#motion-graph { z-index: -3; }
.motion-wash {
  z-index: -2;
  background:
    radial-gradient(circle at 84% 14%, rgba(97, 219, 212, .18), transparent 31%),
    radial-gradient(circle at 20% 78%, rgba(5, 45, 68, .42), transparent 45%),
    linear-gradient(90deg, rgba(2, 46, 66, .08), rgba(4, 77, 99, .17));
}
.motion-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.52) .65px, transparent .65px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.motion-brand { display: flex; align-items: center; gap: 16px; }
.motion-a365-mark { width: 72px; height: 42px; object-fit: contain; filter: brightness(0) invert(1); }
.motion-brand-divider { flex: 0 0 1px; width: 1px; height: 38px; background: rgba(255,255,255,.29); }
.motion-linde-frame { position: relative; display: block; flex: 0 0 98px; width: 98px; height: 42px; overflow: visible; }
.motion-linde-frame img { position: absolute; top: 50%; left: 50%; width: 98px; height: 62px; transform: translate(-50%,-50%); object-fit: contain; filter: brightness(0) invert(1); }

.motion-copy { position: relative; width: min(670px, 90%); margin-top: clamp(135px, 20vh, 220px); }
.eyebrow { margin: 0 0 21px; color: #70ded5; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.motion-copy h1 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .99; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.motion-description { max-width: 520px; margin: 28px 0 0; color: rgba(255,255,255,.73); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; }

.access-panel { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: 52px clamp(34px, 6vw, 100px) 78px; background: #f7fafb; }
.access-card { width: min(100%, 430px); }
.mobile-brand { display: none; }
.access-kicker { margin: 0 0 18px; color: #16768a; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.access-card h2 { margin: 0; color: #092d3b; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.access-intro { margin: 15px 0 38px; color: #637985; font-size: 15px; line-height: 1.55; }
form { display: grid; }
form > label { margin: 0 0 9px; color: #173d4b; font-size: 13px; font-weight: 700; }
form > label:not(:first-child) { margin-top: 21px; }
.field { position: relative; }
.field > svg { position: absolute; top: 50%; left: 17px; width: 19px; height: 19px; transform: translateY(-50%); fill: none; stroke: #75909b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .2s ease; }
.field input { width: 100%; height: 54px; padding: 0 49px 0 49px; color: #0d3341; border: 1px solid #d7e3e8; border-radius: 10px; outline: none; background: #fff; box-shadow: 0 1px 2px rgba(22,70,86,.025); font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input::placeholder { color: #99aab1; }
.field input:hover { border-color: #b9ccd3; }
.field input:focus { border-color: #15819a; box-shadow: 0 0 0 4px rgba(21,129,154,.1); }
.field:focus-within > svg { stroke: #11768d; }
.password-toggle { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; transform: translateY(-50%); color: #718b96; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.password-toggle:hover { color: #135d73; background: #eff6f8; }
.password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eye-closed, .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-toggle[aria-pressed="true"] .eye-closed { display: block; }
.form-error { min-height: 20px; margin: 12px 0 4px; color: #b13d3d; font-size: 12px; line-height: 1.45; }
.form-error:not(:empty) { padding-left: 18px; }
.form-error:not(:empty)::before { content: "!"; display: inline-grid; place-items: center; width: 13px; height: 13px; margin: 0 5px 0 -18px; color: #fff; border-radius: 50%; background: #c55353; font-size: 9px; font-weight: 800; }
.submit-button { position: relative; width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 0 21px; overflow: hidden; color: #fff; border: 0; border-radius: 10px; background: linear-gradient(135deg, #075b78, #0c7891); box-shadow: 0 11px 26px rgba(7,91,120,.2); font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.submit-button::before { content: ""; position: absolute; inset: 0; transform: translateX(-105%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); transition: transform .6s ease; }
.submit-button:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(7,91,120,.26); filter: saturate(1.08); }
.submit-button:hover::before { transform: translateX(105%); }
.submit-button:active { transform: translateY(0); }
.submit-button:focus-visible, .password-toggle:focus-visible { outline: 3px solid rgba(21,129,154,.22); outline-offset: 2px; }
.submit-button > svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.submit-button:hover > svg { transform: translateX(3px); }
.button-loader { display: none; width: 19px; height: 19px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.submit-button.is-loading { pointer-events: none; filter: saturate(.7); }
.submit-button.is-loading .button-label, .submit-button.is-loading > svg { display: none; }
.submit-button.is-loading .button-loader { display: block; }
.access-panel footer { position: absolute; right: 30px; bottom: 24px; left: 30px; color: #97a8ae; font-size: 10px; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .motion-panel { display: none; }
  .access-panel { padding: 45px 26px 78px; background: radial-gradient(circle at 50% -15%, rgba(9,118,143,.12), transparent 38%), #f7fafb; }
  .mobile-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 70px; }
  .mobile-brand > img:first-child { width: 66px; height: 39px; object-fit: contain; filter: invert(30%) sepia(37%) saturate(1392%) hue-rotate(153deg) brightness(86%); }
  .mobile-brand span { width: 1px; height: 34px; background: #d8e4e8; }
  .mobile-brand .linde-mark { width: 83px; height: 38px; object-fit: contain; }
}

@media (max-width: 520px) {
  .access-panel { display: block; padding: 30px 21px 72px; }
  .access-card { margin: 0 auto; }
  .mobile-brand { margin-bottom: clamp(60px, 14vh, 110px); }
  .access-card h2 { font-size: 36px; }
  .access-intro { margin-bottom: 30px; }
}

@media (max-height: 700px) and (min-width: 981px) {
  .motion-copy { margin-top: 13vh; }
  .access-panel { padding-top: 34px; padding-bottom: 48px; }
  .access-intro { margin-bottom: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
