  :root {
    --ink-950: #12161A;
    --ink-900: #1A1F25;
    --ink-800: #262D34;
    --ink-700: #38414A;
    --coral-600: #D14E33;
    --coral-500: #DE6740;
    --coral-400: #E8825A;
    --sand-200: #F3D6C4;
    --paper-50: #FBF8F5;
    --paper-100: #F1EBE3;
    --paper-300: #DCD2C6;
    --ok-500: #5FA97B;
    --text-dim: #8B95A1;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html, body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--ink-950);
    line-height: unset;
  }

  body {
    display: flex;
    min-height: 100vh;
  }

  a { color: inherit; }

  /* ================= LEFT PANEL ================= */
  .brand-panel {
    position: relative;
    flex: 1.15;
    background:
      radial-gradient(ellipse 900px 700px at 15% -10%, rgba(209,78,51,0.28), transparent 60%),
      radial-gradient(ellipse 700px 600px at 100% 100%, rgba(232,130,90,0.12), transparent 55%),
      var(--ink-950);
    color: var(--paper-50);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 56px 64px;
    overflow: hidden;
  }

  .brand-top { display: flex; align-items: center; gap: 14px; }
  .brand-top img { height: 34px; width: auto; display: block; }
  .brand-top .wordmark {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--text-dim);
    border-left: 1px solid var(--ink-700);
    padding-left: 14px;
    text-transform: uppercase;
  }

  .brand-mid {
    max-width: 520px;
    margin: auto 0;
    padding: 40px 0;
  }

  .brand-mid h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--sand-200) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .brand-mid p {
    margin-top: 18px;
    font-size: 26px;
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 420px;
  }

  /* -------- signature element: iris scanner -------- */
  .scanner {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .iris-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--ink-700);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-900);
    overflow: hidden;
  }

  .iris-wrap svg { width: 52px; height: 52px; position: relative; z-index: 2; }

  .scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--coral-400), transparent);
    top: 0;
    animation: sweep 2.6s ease-in-out infinite;
    z-index: 3;
    box-shadow: 0 0 10px 1px rgba(232,130,90,0.7);
  }

  @keyframes sweep {
    0%   { top: 6%; opacity: 0; }
    12%  { opacity: 1; }
    50%  { top: 92%; opacity: 1; }
    62%  { opacity: 0; }
    100% { top: 92%; opacity: 0; }
  }

  .iris-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(232,130,90,0.35);
    animation: pulse-ring 2.6s ease-in-out infinite;
  }

  @keyframes pulse-ring {
    0%, 100% { transform: scale(0.86); opacity: 0.5; }
    50% { transform: scale(1); opacity: 1; }
  }

  .feed {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
    height: 34px;
    overflow: hidden;
    position: relative;
    flex: 1;
  }

  .feed ul {
    list-style: none;
    animation: cycle 9s steps(1) infinite;
  }

  .feed li {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .feed li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ok-500);
    box-shadow: 0 0 6px 1px rgba(95,169,123,0.7);
    flex-shrink: 0;
  }

  @keyframes cycle {
    0%, 21% { transform: translateY(0); }
    25%, 46% { transform: translateY(-34px); }
    50%, 71% { transform: translateY(-68px); }
    75%, 96% { transform: translateY(-102px); }
    100% { transform: translateY(-136px); }
  }

  .brand-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-dim);
    letter-spacing: 0.02em;
    border-top: 1px solid var(--ink-800);
    padding-top: 20px;
  }

  .brand-bottom .frameworks { display: flex; gap: 18px; flex-wrap: wrap; }
  .brand-bottom .frameworks span { color: #B7BFC8; }
  .brand-bottom a:hover { color: var(--coral-400); }

  /* ================= RIGHT PANEL ================= */
  .form-panel {
    flex: 1;
    max-width: 560px;
    background: var(--paper-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
  }

  .form-inner { width: 100%; max-width: 372px; }

  .form-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--coral-600);
    margin-bottom: 14px;
    display: block;
  }

  .form-inner h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 27px;
    color: var(--ink-950);
    letter-spacing: -0.01em;
  }

  .form-inner > p.sub {
    margin-top: 8px;
    font-size: 14px;
    color: #6B7178;
    margin-bottom: 30px;
  }

  form { display: flex; flex-direction: column; gap: 18px; }

  .field { display: flex; flex-direction: column; gap: 7px; }

  .field label {
    font-size: 12.5px;
	font-weight: 500;
	color: var(--ink-950);
	margin-bottom: 0;
  }

  .input-shell {
    position: relative;
    display: flex;
    align-items: center;
  }

  .input-shell input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--ink-950);
    background: #FFFFFF;
    border: 1px solid var(--paper-300);
    border-radius: 8px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .input-shell input::placeholder { color: #B2AA9F; }

  .input-shell input:focus {
    border-color: var(--coral-500);
    box-shadow: 0 0 0 3px rgba(209,78,51,0.14);
  }

  .toggle-visibility {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9A9186;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 4px 6px;
  }

  .toggle-visibility:hover { color: var(--coral-600); }

  .row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-top: -4px;
  }

  .remember { display: flex; align-items: center; gap: 8px; color: #52585F; }
  .remember input { accent-color: var(--coral-600); width: 14px; height: 14px; }

  .forgot { color: var(--coral-600); text-decoration: none; font-weight: 500; }
  .forgot:hover { text-decoration: underline; }

  .btn-primary {
    margin-top: 6px;
    border: none;
    border-radius: 8px;
    padding: 13px 18px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    color: #FFF7F3;
    background: linear-gradient(135deg, var(--coral-600), var(--coral-400));
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
    box-shadow: 0 8px 20px -8px rgba(209,78,51,0.55);
  }

  .btn-primary:hover { filter: brightness(1.06); }
  .btn-primary:active { transform: translateY(1px); }

  .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px;
    color: #ADA599;
    font-size: 12px;
    font-family: var(--font-mono);
  }
  .divider::before, .divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--paper-300);
  }

  .btn-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 1px solid var(--paper-300);
    background: #FFFFFF;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-950);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .btn-sso:hover { border-color: var(--ink-700); background: var(--paper-100); }

  .form-footer {
    margin-top: 32px;
    font-size: 13px;
    color: #6B7178;
    text-align: center;
  }
  .form-footer a { color: var(--coral-600); font-weight: 500; text-decoration: none; }
  .form-footer a:hover { text-decoration: underline; }

  .fine-print {
    margin-top: 20px;
    font-size: 11.5px;
    color: #B2AA9F;
    text-align: center;
    line-height: 1.5;
  }
  .fine-print a { color: #8B8175; text-decoration: underline; }

  @media (prefers-reduced-motion: reduce) {
    .scan-line, .iris-ring, .feed ul { animation: none !important; }
  }

  @media (max-width: 940px) {
    body { flex-direction: column; }
    .brand-panel { flex: none; padding: 40px 32px; }
    .brand-mid { margin: 32px 0; }
    .form-panel { max-width: none; padding: 40px 24px 64px; }
  }
  
  
  #spinner{
	background-color: rgba(38, 38, 38, 0.4);width: 100vw;height: 100vh;position: fixed;overflow: hidden;z-index: 950;
	display: none;
}

#spinner > div{
	width: 100%;
	height: 50vh;
}

#spinner > img{
	display:block;
	margin: -50px auto 0;
	
	-webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}