/* Login-only. The signal is inline SVG and the product image is local. */
@media screen {
  .auth-body {
    min-height: 100svh; margin: 0; display: grid; grid-template-rows: auto 1fr;
    color-scheme: dark;
    background: radial-gradient(ellipse at 23% 73%,#153f59 0,transparent 53%),radial-gradient(ellipse at 93% 7%,#232a50 0,transparent 48%),#090f1a;
  }
  .auth-header {
    width: 100%; margin: 0; min-height: 74px;
    padding: 10px clamp(22px,5vw,96px); background: transparent;
  }
  .auth-header::after { inset: auto 0 0; background: linear-gradient(90deg,transparent,#7dd9f650 26%,#7892be38 73%,transparent); }
  /* Fit the visible art, skipping the transparent margins of the supplied PNG. */
  .auth-brand { display: block; width: clamp(158px,13vw,192px); aspect-ratio: 342 / 88; overflow: hidden; }
  .auth-brand img { display: block; width: 140.64%; height: auto; max-width: none; transform: translate(-14.55%,-21.57%); }
  .auth-header-copy { border: 1px solid #718db253; border-radius: 100px; padding: 8px 14px; }
  .auth-header-copy span { color: #c4d7ef; font-size: 9px; letter-spacing: .15em; }
  .login-shell {
    isolation: isolate; width: 100%; min-height: 0; margin: 0; background: transparent;
    grid-template-columns: minmax(0,1.47fr) minmax(340px,1fr);
    gap: clamp(20px,5.5vw,106px); align-items: center;
    padding: clamp(24px,5vh,64px) clamp(24px,5vw,96px);
  }
  .login-intro {
    --scene-x: 0px; --scene-y: 0px;
    min-height: 0; display: flex; flex-flow: column nowrap; justify-content: center;
    gap: clamp(8px,2.3vh,24px); padding: 0;
    background: transparent; overflow: visible;
  }
  .login-intro::before,.login-intro::after { display: none; }
  .login-copy { position: relative; z-index: 2; }
  .login-eyebrow { color: #9aeaff; font-size: 11px; letter-spacing: .2em; }
  .login-eyebrow i { width: 18px; height: 2px; flex: none; }
  .login-copy h1 { margin: .18em 0 .25em; max-width: none; font-size: clamp(45px,6.2vw,109px); line-height: .93; letter-spacing: -.067em; }
  .login-copy h1 em { color: #8ce8ff; font-style: normal; }
  .login-copy>p { margin: 0; color: #bdd0e1; font-size: clamp(14px,1.25vw,18px); line-height: 1.45; }
  .login-stage {
    position: relative; isolation: isolate; width: 100%; display: grid; place-items: center;
    min-height: 150px; padding: 13px 0 28px;
  }
  .login-stage::before {
    content: ''; position: absolute; z-index: -1; inset: 3% -7% -2%;
    background: repeating-linear-gradient(90deg,transparent 0 33px,#71c8eb17 33px 34px),repeating-linear-gradient(0deg,transparent 0 33px,#71c8eb17 33px 34px);
    mask-image: radial-gradient(ellipse,#000 22%,transparent 73%); pointer-events: none;
  }
  .login-stage::after {
    content: ''; position: absolute; z-index: -1; inset: auto 4% 5% 9%; height: 16%; border-radius: 50%;
    background: radial-gradient(ellipse,#6fd4ff52,transparent 67%); filter: blur(15px); pointer-events: none;
  }
  .login-signal {
    position: absolute; z-index: 1; left: -7%; bottom: -12%; width: 114%; height: 70%;
    overflow: visible; pointer-events: none; animation: taigar-signal-shift 7s ease-in-out infinite alternate;
  }
  .login-product {
    position: relative; inset: auto; z-index: 2; width: min(94%, 810px);
    opacity: 1; margin: 0; pointer-events: none;
    animation: taigar-product-float 8s ease-in-out infinite;
  }
  .login-product img {
    display: block; width: 100%; height: auto; max-height: clamp(118px,36vh,420px);
    object-fit: contain; filter: brightness(1.23) drop-shadow(0 13px 18px #0a122bb5);
    transform: translate3d(var(--scene-x),var(--scene-y),0); transition: transform 240ms ease-out;
  }
  .login-ambient { position: absolute; inset: -7%; z-index: -1; overflow: hidden; pointer-events: none; mask-image: radial-gradient(ellipse,#000 35%,transparent 74%); }
  .login-ambient i { position: absolute; display: block; border-radius: 50%; animation: taigar-light-drift 12s ease-in-out infinite alternate; }
  .login-ambient i:first-child { width: 85%; aspect-ratio: 1; inset: auto -20% -36% auto; background: radial-gradient(circle,#12aac550,transparent 70%); }
  .login-ambient i:nth-child(2) { width: 75%; aspect-ratio: 1; inset: 10% auto auto -25%; background: radial-gradient(circle,#5479e732,transparent 69%); animation-delay: -6s; }
  .login-ambient i:last-child { width: 57%; aspect-ratio: 1; right: 7%; bottom: 3%; border: 1px solid #69cfff22; box-shadow: 0 0 0 30px #69cfff0a; animation-delay: -3s; }
  .login-motion-control {
    position: absolute; z-index: 3; bottom: 12px; right: 18px; display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px; margin: 0; padding: 5px 9px; border: 1px solid #9ccbe135; border-radius: 24px;
    color: #c2d9ea; background: #0d2233; cursor: pointer; font-size: 10px; font-weight: 500; letter-spacing: 0;
    transform: translateY(50%);
  }
  .login-motion-control input { width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: #61daf7; }
  .login-motion-control:focus-within { outline: 2px solid #79d9ff; outline-offset: 3px; }
  .login-intro:has(#login-motion-paused:checked) :is(.login-product, .login-ambient i, .login-signal) { animation-play-state: paused; }
  .login-intro:has(#login-motion-paused:checked) .login-product img { transform: none; transition: none; }
  .login-panel {
    min-width: 0; width: min(100%,480px); justify-self: center; color: #f2f7ff;
    border: 1px solid #83aac05e; border-radius: 23px;
    background: linear-gradient(155deg,#222f48f5,#111f32f5 65%,#102536f5);
    box-shadow: 0 28px 70px #050a15a1,inset 0 1px 0 #e6f4ff15;
  }
  .login-form { width: 100%; padding: clamp(24px,3.1vw,48px); gap: 15px; }
  .login-form h2 { margin: 0; color: #f7fbff; font-size: clamp(31px,3vw,44px); line-height: 1.06; letter-spacing: -.05em; }
  .login-form .section-kicker { color: #9ceaff; font-size: 10px; letter-spacing: .16em; }
  .login-form-copy { margin: 0 0 6px; color: #c0d1e4; font-size: 15px; line-height: 1.45; }
  .login-form label { color: #e5effa; font-size: 13px; line-height: 1.5; }
  .login-form input { width: 100%; min-height: 54px; border: 1px solid #91adca66; border-radius: 10px; padding: 13px 15px; color: #fff; background: #0d1a2b; font-size: 16px; }
  .login-form input::placeholder { color: #9baec4; }
  .login-form input:focus { border-color: #60d9fa; border-left-width: 1px; box-shadow: 0 0 0 3px #60d9fa36; }
  .login-form .password-input input { padding-right: 58px; }
  .login-form .password-toggle { right: 6px; min-width: 44px; height: 44px; color: #b9eaff; background: #182d44; border-color: #9bd5f141; }
  .password-toggle:not([aria-pressed="true"]) .password-eye-slash { display: none; }
  .login-form .login-submit { min-height: 55px; border-radius: 10px; border-color: #9eeeff; background: linear-gradient(108deg,#9be9ff,#59d1f0); color: #071c2b; box-shadow: 0 9px 25px #2a9dc851; }
  .login-form .login-submit:hover { background: #b4eeff; }
  .login-submit b { color: inherit; border: 0; transition: transform 180ms ease; }
  .login-submit:hover b { transform: translateX(4px); }
  .login-form small { color: #afc4d8; font-size: 11px; }
  .login-footer { border: 0; border-top: 1px solid #a3bdd63a; border-radius: 0 0 23px 23px; background: transparent; padding: 13px clamp(24px,3.1vw,48px); color: #abc0d6; }
  .login-footer a { color: #a4eaff; }
  @keyframes taigar-product-float { 0%,100% { transform: translate3d(0,0,0) rotate(-.65deg); } 50% { transform: translate3d(0,-10px,0) rotate(.35deg); } }
  @keyframes taigar-light-drift { from { transform: translate3d(0,0,0); opacity: .55; } to { transform: translate3d(18px,14px,0); opacity: 1; } }
  @keyframes taigar-signal-shift { from { transform: translateX(-2%); opacity: .64; } to { transform: translateX(2%); opacity: 1; } }
}
@media screen and (min-width: 761px) and (max-width: 1030px) {
  .login-shell { grid-template-columns: minmax(0,1fr) minmax(330px,1fr); gap: 23px; }
  .login-copy h1 { font-size: clamp(42px,6.3vw,68px); }
}
@media screen and (max-width: 760px) {
  .auth-header { min-height: 60px; padding: 6px 18px; }
  .auth-brand { width: clamp(128px,36vw,148px); }
  .auth-header-copy { display: grid; padding: 6px 9px; }
  .auth-header-copy span { font-size: 8px; }
  .login-shell { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; gap: 8px; align-items: start; padding: 13px 15px 23px; }
  .login-intro { min-height: 95px; padding: 8px 6px; justify-content: center; overflow: hidden; }
  .login-copy>p,.login-eyebrow { display: none; }
  .login-copy h1 { font-size: clamp(26px,7.5vw,39px); line-height: 1.05; margin: 0; }
  .login-motion-control { display: none; }
  .login-stage { position: absolute; inset: 0 -12px 0 auto; width: 66%; min-height: 0; padding: 0; }
  .login-product { width: 100%; opacity: .4; align-self: end; animation-duration: 13s; }
  .login-product img { max-height: 74px; transform: none; }
  .login-signal { left: -6%; width: 110%; bottom: 4%; height: 76%; opacity: .5; }
  .login-panel { width: min(100%,480px); }
  .login-form { padding: 22px 17px; gap: 13px; }
  .login-form h2 { font-size: clamp(29px,8vw,34px); }
  .login-form-copy { font-size: 14px; }
  .login-form input { min-height: 50px; }
  .login-footer { padding: 13px 18px; }
}
@media screen and (prefers-reduced-motion: reduce) {
  .login-product, .login-ambient i, .login-signal { animation: none; }
  .login-motion-control { display: none; }
  .login-product img, .login-submit, .login-submit b { transition: none; transform: none; }
}
