:root{color-scheme:dark;--login-bg:#2a2a2a;--petrol:#003e52;--turquoise:#00c4ba;--ice:#f2f2f2;--muted:#a3a3a3}
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--login-bg);color:#fff;display:grid;grid-template-columns:minmax(300px,25%) minmax(0,1fr);min-height:100svh}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--turquoise);outline-offset:4px}.login-container{padding:clamp(28px,3.1vw,120px);min-width:0}.logo-section{display:flex;align-items:center;gap:12px;margin-bottom:clamp(40px,4vw,140px)}.logo-image{width:clamp(42px,3.5vw,100px);height:auto}.brand-name{font-size:clamp(27px,2.25vw,76px);font-weight:750;line-height:1;letter-spacing:.015em;white-space:nowrap}.brand-name small{display:block;font-size:.45em;font-weight:450;letter-spacing:.19em;margin-top:8px}.login-header h1{font-size:clamp(28px,2.05vw,64px);margin:0 0 10px;line-height:1.2}.login-header p{font-size:clamp(15px,1.2vw,32px);line-height:1.4;color:var(--muted);margin:0 0 clamp(28px,3.2vw,90px)}.login-options{display:flex;flex-direction:column;gap:clamp(14px,1.25vw,32px)}.btn-oauth,.btn-login{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:clamp(50px,3.8vw,110px);padding:12px 10px;border:1px solid #555;border-radius:12px;background:transparent;color:#fff;text-decoration:none;font-size:clamp(14px,1.15vw,32px);font-weight:600}.btn-oauth:hover,.btn-login:hover{background:#333;border-color:#888}.btn-login:hover{color:#fff}.btn-oauth svg{width:clamp(22px,2vw,50px);height:clamp(22px,2vw,50px);flex-shrink:0}.btn-oauth:disabled{cursor:not-allowed;color:#fff;opacity:1}.provider-note{font-size:12px;color:var(--muted);margin-top:14px}.login-footer{margin-top:clamp(32px,3.5vw,100px);text-align:left;font-size:clamp(14px,1.15vw,30px);line-height:1.6;color:var(--muted)}.privacy-info,.privacy-icon,.divider{display:none}.signup-section a{text-underline-offset:4px}.credentials-section{margin-bottom:24px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;margin-bottom:8px}.form-group input,.modal-box input{width:100%;padding:14px;border:1px solid #555;border-radius:8px;background:#202020;color:white}.form-options{margin:18px 0}.forgot-password-button{border:0;background:none;color:var(--muted);padding:0;text-decoration:underline}.error-message,.alert-error{color:#ffb4b4}.alert{padding:12px;border:1px solid currentColor;border-radius:8px;margin-bottom:18px;font-size:14px}.alert-success{color:#abedbc}.btn-login,.btn-modal-send{background:var(--turquoise);color:var(--petrol)}.modal-overlay{display:none;position:fixed;inset:0;background:#000b;z-index:10;padding:20px;overflow:auto;align-items:center;justify-content:center}.modal-overlay.active{display:flex}.modal-box{background:var(--login-bg);border:1px solid #555;border-radius:16px;padding:32px;width:min(100%,440px);margin:auto}.modal-box h2{font-size:24px}.modal-box p{line-height:1.5;color:var(--muted)}.modal-actions{display:flex;gap:12px;margin-top:20px}.btn-modal-send,.btn-modal-cancel{border:1px solid #555;border-radius:8px;padding:12px 18px}.btn-modal-cancel{background:transparent;color:white}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.campaign{position:relative;overflow:hidden;min-width:0;background:var(--ice);color:var(--petrol);min-height:100svh}.campaign-photo{position:absolute;inset:0}.campaign-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.campaign-copy{position:relative;padding:clamp(40px,4.4vw,170px) clamp(30px,4vw,160px)}.campaign h2{font-size:clamp(38px,4.2vw,150px);line-height:1.05;letter-spacing:-.035em;margin:0;font-weight:750}.campaign h2 span{color:var(--turquoise);font-size:.88em}.campaign-intro{font-size:clamp(18px,1.8vw,50px);line-height:1.3;font-weight:550;margin:clamp(22px,1.8vw,70px) 0 clamp(22px,2vw,70px);max-width:65%}.features{list-style:none;padding:0;margin:0;width:42%;max-width:1050px}.features li{display:flex;align-items:center;gap:clamp(14px,1.7vw,50px);min-height:clamp(42px,2.95vw,100px);font-size:clamp(14px,1.35vw,38px);font-weight:600}.features svg{width:clamp(24px,2.1vw,64px);height:clamp(24px,2.1vw,64px);color:var(--turquoise);flex-shrink:0}.features span{padding:10px 0;flex:1;border-bottom:1px solid #ced8dc}.features li:last-child span{border-bottom:0}
@media(max-width:1100px){body{grid-template-columns:320px 1fr}.login-container{padding:32px 24px}.campaign-copy{padding:40px 28px}.campaign h2{font-size:40px}.campaign-intro{max-width:90%;font-size:18px}.features{width:80%}.features li{font-size:15px}.campaign-photo{opacity:.25}.desktop-break{display:none}.brand-name{font-size:28px}.login-header p{font-size:16px}}
@media(max-width:760px){body{display:block}.login-container{max-width:450px;margin:auto;min-height:100svh;padding:36px 28px}.logo-section{margin-bottom:44px}.login-header h1{font-size:30px}.login-header p{margin-bottom:32px}.btn-oauth{min-height:54px;font-size:16px}.login-options{gap:16px}.login-footer{font-size:14px}.campaign{min-height:0}.campaign-photo{display:none}.campaign-copy{padding:40px 24px}.campaign h2{font-size:36px}.campaign-intro{max-width:none}.features{width:100%;max-width:480px}.features li{font-size:15px}}
/* Scale the desktop composition against both viewport axes. Keep natural
   document scrolling for expanded forms, large text and very short windows. */
@media (min-width: 761px) {
  body { --layout-unit: min(1vw, 1.8svh); }
  .login-container { padding: clamp(24px, calc(3.1 * var(--layout-unit)), 100px); }
  .logo-section { margin-bottom: clamp(24px, calc(3 * var(--layout-unit)), 100px); }
  .logo-image { width: clamp(42px, calc(3.5 * var(--layout-unit)), 100px); }
  .brand-name { font-size: clamp(27px, calc(2.25 * var(--layout-unit)), 76px); }
  .login-header h1 { font-size: clamp(28px, calc(2.05 * var(--layout-unit)), 64px); }
  .login-header p {
    font-size: clamp(15px, calc(1.2 * var(--layout-unit)), 32px);
    margin-bottom: clamp(20px, calc(2.4 * var(--layout-unit)), 70px);
  }
  .login-options { gap: clamp(10px, calc(1.1 * var(--layout-unit)), 32px); }
  .btn-oauth, .btn-login {
    min-height: clamp(44px, calc(3.8 * var(--layout-unit)), 110px);
    font-size: clamp(14px, calc(1.15 * var(--layout-unit)), 32px);
  }
  .btn-oauth svg {
    width: clamp(22px, calc(2 * var(--layout-unit)), 50px);
    height: clamp(22px, calc(2 * var(--layout-unit)), 50px);
  }
  .login-footer {
    margin-top: clamp(24px, calc(2.5 * var(--layout-unit)), 80px);
    font-size: clamp(14px, calc(1.15 * var(--layout-unit)), 30px);
  }
  .campaign-copy { padding: clamp(24px, calc(3 * var(--layout-unit)), 120px) clamp(28px, calc(4 * var(--layout-unit)), 160px); }
  .campaign h2 { font-size: clamp(36px, calc(4.2 * var(--layout-unit)), 150px); }
  .campaign-intro {
    font-size: clamp(18px, calc(1.8 * var(--layout-unit)), 50px);
    margin-block: clamp(16px, calc(1.6 * var(--layout-unit)), 60px);
  }
  .features li {
    gap: clamp(12px, calc(1.7 * var(--layout-unit)), 50px);
    min-height: clamp(36px, calc(2.95 * var(--layout-unit)), 100px);
    font-size: clamp(14px, calc(1.35 * var(--layout-unit)), 38px);
  }
  .features svg {
    width: clamp(24px, calc(2.1 * var(--layout-unit)), 64px);
    height: clamp(24px, calc(2.1 * var(--layout-unit)), 64px);
  }
  .features span { padding-block: clamp(5px, .7svh, 10px); }
}
@media (min-width: 1101px) { .features { width: 50%; } }
/* Browser toolbars can leave less than 600 CSS pixels on a notebook. */
@media (min-width: 761px) and (max-height: 600px) {
  .login-container, .campaign-copy { padding-block: 16px; }
  .logo-section { margin-bottom: 20px; }
  .login-header p { margin-bottom: 16px; }
  .login-footer { margin-top: 16px; }
  .campaign-intro { margin-block: 12px; }
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.theme-controls{margin-top:10px;display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.theme-toggle{display:flex;align-items:center;justify-content:flex-start;width:44px;height:36px;padding:6px 0;border:0;border-radius:6px;background:transparent;color:#fff}
.theme-toggle>svg{width:24px;height:24px}.theme-toggle .theme-moon{display:none}.theme-toggle[aria-pressed=true] .theme-moon{display:block}.theme-toggle[aria-pressed=true] .theme-sun{display:none}.theme-status{font-size:12px;color:var(--muted)}
:root:not([data-theme=light]) .campaign{background:#092e36;color:#f2f2f2}
:root:not([data-theme=light]) .campaign-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,35,43,.98) 0%,rgba(0,35,43,.92) 45%,rgba(0,35,43,.4) 72%,rgba(0,35,43,.18) 100%)}
:root:not([data-theme=light]) .features span{border-bottom-color:#496b70}
:root[data-theme=light]{color-scheme:light;--login-bg:#f2f2f2;--muted:#56626b}
[data-theme=light] body{color:#003e52}
[data-theme=light] .btn-oauth,[data-theme=light] .theme-toggle,[data-theme=light] .btn-modal-cancel{color:#003e52;border-color:#bac6cc;background:transparent}
[data-theme=light] .btn-oauth:hover{background:#e1e9eb}
[data-theme=light] .form-group input,[data-theme=light] .modal-box input{background:#fff;color:#003e52;border-color:#bac6cc}
[data-theme=light] .alert-error,[data-theme=light] .error-message{color:#a22222}
@media(min-width:761px){.login-footer{margin-top:clamp(16px,calc(2 * var(--layout-unit)),70px)}}
@media(min-width:761px) and (max-height:600px){.login-container{padding-block:12px}.logo-section{margin-bottom:16px}.login-footer{margin-top:12px}.provider-note{margin-top:10px}}

/* Login presentation: subtle separation and quieter supporting copy. */
.login-container{border-inline-end:1px solid #d4dde1}
[data-theme=dark] .login-container{border-color:#454545}
.login-header p,.login-footer{font-size:clamp(13px,calc(1 * var(--layout-unit,1vw)),24px)}
@media(max-width:760px){.login-container{border-inline-end:0;border-block-end:1px solid #d4dde1}.login-header p,.login-footer{font-size:14px}}
