/* UNBOUND login · CD 31.10.2026. Standalone: legacy login.css still serves the 404 page. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/login/InterVariable.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --bg: #ffffff; --ink: #1b1b1e; --muted: #646a78; --line: #e6e8ec;
  --surface: #f4f5f7; --button: #373f51; --on-button: #ffffff; --button-hover: #2b3242;
  --pacific: #58a4b0; --accent: #3b7c87; --stage: #373f51; --alabaster: #d8dbe2; --danger: #a4262c;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #1b1b1e; --ink: #d8dbe2; --muted: #a0a7b4; --line: #353941; --surface: #24262c; --button: #d8dbe2; --on-button: #1b1b1e; --button-hover: #eff0f3; --accent: #58a4b0; --danger: #f08a8d; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-synthesis: none; font-feature-settings: 'cv11', 'ss03'; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; } a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.brand-stage :focus-visible { outline-color: var(--alabaster); }
.skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; background: var(--bg); color: var(--ink); border-radius: 8px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.welcome { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 48% 52%; }
.brand-stage { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 100svh; background: var(--stage); color: var(--alabaster); padding: 44px 52px 35px; overflow: hidden; }
.wordmark { display: inline-flex; width: fit-content; min-height: 44px; text-decoration: none; }
.mascot-scene { display: grid; place-items: center; padding: 30px 0 50px; }
.mascot-arrival { width: min(100%, 380px); animation: arrive 1.1s cubic-bezier(.2,.7,.2,1) both; }
.mascot { width: 100%; height: auto; overflow: visible; display: block; }
.mascot-ring circle { stroke: var(--pacific); }
.eye { fill: var(--alabaster); transform-box: fill-box; transform-origin: center; animation: blink 5.9s infinite; }
.smile { stroke: var(--alabaster); opacity: 0; transition: opacity .25s; }
.mascot-float, .mascot-body, .mascot-ring { transform-box: view-box; transform-origin: 32px 32px; }
.mascot-float { animation: float 5s ease-in-out infinite; }
.mascot-ring { animation: sway 11s ease-in-out infinite; }
.mascot-body { transition: transform .35s cubic-bezier(.2,.8,.3,1); }
.mascot.is-engaged .mascot-body { transform: rotate(-5deg) scale(1.035); }
.mascot.is-engaged .smile, .mascot.is-hello .smile, .mascot.is-leaving .smile { opacity: 1; }
.mascot.is-hello .mascot-body { animation: hello 1.4s ease-in-out; }
.mascot.is-leaving .mascot-body { transform: translateY(-1px) scale(1.04); }
.stage-signature { font-size: clamp(58px, 7.7vw, 118px); line-height: 1; user-select: none; }
.stage-signature .unbound-brand__tagline { font-size: clamp(12px, .13em, 16px); }
.signature-right { justify-self: end; text-align: left; }
.sign-in-stage { min-width: 0; display: grid; grid-template-rows: 44px 1fr auto; padding: 40px 9% 36px; }
.sign-in-stage::before { content: ""; }
.sign-in-content { align-self: center; justify-self: center; width: 100%; max-width: 430px; padding: 48px 0 76px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 7px; }
h1 { font-size: clamp(40px, 3.8vw, 62px); line-height: 1.07; font-weight: 650; letter-spacing: -.055em; margin: 0 0 44px; text-wrap: balance; }
h1:focus { outline: none; }
.sign-in-button { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 60px; padding: 17px 23px; border: 1px solid transparent; border-radius: 999px; background: var(--button); color: var(--on-button); text-decoration: none; font-size: 15px; font-weight: 550; line-height: 1.4; transition: background-color .18s ease, transform .18s ease; }
.sign-in-button:hover { background: var(--button-hover); transform: translateY(-2px); }
.sign-in-button:active { transform: translateY(0); }
.microsoft-icon { flex: none; background: #fff; border: 3px solid #fff; border-radius: 2px; width: 25px; height: 25px; }
.button-arrow { flex: none; margin-left: auto; transition: transform .2s; }
.sign-in-button:hover .button-arrow { transform: translateX(3px); }
.intro { margin-bottom: 28px; }
.access-note { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; text-align: left; }
.notice { padding: 14px 16px; margin: -17px 0 24px; border-radius: 12px; background: var(--surface); border-left: 3px solid var(--accent); font-size: 14px; line-height: 1.5; }
.notice[data-tone='danger'] { border-color: var(--danger); }
.notice[hidden] { display: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }
@keyframes blink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.12); } }
@keyframes sway { 0%, 72%, 100% { transform: rotate(0); } 82% { transform: rotate(-10deg); } 91% { transform: rotate(5deg); } }
@keyframes hello { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 55% { transform: rotate(6deg); } 78% { transform: rotate(-3deg); } }
@media (min-width: 1800px) { .sign-in-content { max-width: 480px; } h1 { font-size: 68px; } }
@media (max-width: 1100px) {
  .brand-stage { padding: 30px 32px; } .sign-in-stage { padding: 28px 8% 30px; }
  .mascot-arrival { width: 300px; max-width: 100%; } h1 { font-size: 44px; }
  .sign-in-button { padding-inline: 18px; font-size: 14px; gap: 10px; }
}
@media (max-width: 760px) {
  .welcome { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .brand-stage { min-height: 220px; height: 32svh; max-height: 320px; padding: 18px 24px 12px; grid-template-rows: auto 1fr; }
  .wordmark { min-height: 36px; } .wordmark .unbound-brand { font-size: 35.16px; }
  .wordmark .unbound-brand__tagline { font-size: 11px; margin-top: 7px; }
  .mascot-scene { padding: 4px 0 10px; } .mascot-arrival { width: clamp(120px, 18svh, 175px); }
  .signature-right { font-size: 48px; }
  .sign-in-stage { padding: 12px 28px 22px; }
  .sign-in-content { padding: 8px 0 42px; max-width: 420px; }
  .eyebrow { margin-bottom: 6px; font-size: 11px; }
  .intro { margin-bottom: 23px; }
  .access-note { font-size: 12px; }
  h1 { font-size: clamp(34px, 8.9vw, 48px); margin-bottom: 30px; letter-spacing: -.045em; }
  .sign-in-button { min-height: 56px; font-size: 14px; } .notice { margin-top: 0; }
}
@media (max-width: 360px) { .sign-in-stage { padding-inline: 20px; } .sign-in-button { font-size: 13px; gap: 8px; padding-inline: 15px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mascot.is-engaged .mascot-body, .mascot.is-leaving .mascot-body, .sign-in-button:hover, .sign-in-button:hover .button-arrow { transform: none; }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .sign-in-button { border: 1px solid ButtonText; }
  .mascot-ring circle { stroke: CanvasText; } .eye { fill: CanvasText; } .smile { stroke: CanvasText; }
}
