/* The sign-in and sign-up pages (2026-11-12, the owners' design): the form on the right, a tall navy panel on
   the left with the logo above it (the study page's assistant in it, the brand's yellow and teal shapes).
   On a phone: the form alone, the logo on top. Shared by /login/ and /trial/. */
.auth-body{background:var(--surface)}
.auth{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px);padding:clamp(14px,2vw,24px)}
.auth-main{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-block:32px}
.auth-box{width:min(420px,100%);margin-inline:auto}
.auth-logo{display:flex;align-items:center;justify-content:center;gap:10px;font:800 24px/1 var(--f-display);color:var(--ink);text-decoration:none}
.auth-logo img{width:46px;height:46px;border-radius:12px}
.auth-main>.auth-logo{display:none}

/* the panel */
.auth-side{position:sticky;top:clamp(14px,2vw,24px);height:calc(100dvh - 2 * clamp(14px,2vw,24px));display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;min-width:0}
.auth-art{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;border-radius:32px;background:#1B2540;color:#fff;padding:clamp(28px,3.4vw,48px);box-shadow:0 30px 60px -30px rgba(27,37,64,.55)}
.auth-art .tag{display:inline-block;background:#FFC93C;color:#1B2540;font-weight:800;font-size:13.5px;border-radius:99px;padding:5px 14px}
.auth-art h2{font:900 clamp(26px,2.6vw,38px)/1.3 var(--f-display);margin:16px 0 8px;max-width:15ch;color:#fff}
.auth-art p{margin:0;color:rgba(255,255,255,.72);font-size:16.5px;max-width:30ch}
/* the assistant under the words, running off the panel's bottom edge */
.auth-art .shot{position:relative;z-index:1;flex:none;align-self:center;margin-top:clamp(24px,4vh,44px);width:min(340px,72%);height:auto;transform:rotate(-3deg);border-radius:22px;box-shadow:0 30px 60px -20px rgba(0,0,0,.6);background:#fff}
.auth-art .tag,.auth-art h2,.auth-art p{position:relative;z-index:1}
.auth-art .sh{position:absolute;pointer-events:none}
.auth-art .sh1{width:150px;left:-36px;top:-30px;opacity:.9}
.auth-art .sh2{width:110px;left:8%;bottom:9%;opacity:.85}
@media (max-height:640px){.auth-art .shot{display:none}}
/* the owners' picture (2026-11-12): a student at the desk under the lamp, the whole panel */
.auth-art.pic{padding:0;background:#5E6F69}
.auth-art.pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}

/* the form */
.auth h1{font:900 clamp(30px,3.4vw,40px)/1.25 var(--f-display);color:var(--ink);margin:0 0 6px}
.auth .lede{color:var(--ink-2);margin:0 0 26px;font-size:16px}
.auth .lede a,.auth-terms a,.auth .textbtn{color:#0F7A6E;font-weight:700;text-decoration:none}
.auth .textbtn{font-size:14.5px;padding:4px 0}
.auth .textbtn:hover,.auth .lede a:hover,.auth-terms a:hover{text-decoration:underline;text-underline-offset:4px}
.auth .form{gap:18px}
.auth .field label{font-weight:700;font-size:14.5px;color:var(--ink)}
.auth .field input{border:1px solid color-mix(in srgb,var(--ink) 16%,transparent);background:var(--surface);border-radius:12px;min-height:52px}
.auth .field input:focus{border-color:#1B2540;box-shadow:0 0 0 4px rgba(27,37,64,.1)}
.auth .field input[dir="ltr"]:not(.zk-tel input){text-align:right}
.auth .pw input{padding-left:56px;padding-right:16px}
.auth .pw button{left:6px;right:auto;background:none;color:var(--ink-2)}
.auth .zk-tel .cc{border-width:1px;border-radius:12px}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:-2px}
.remember{display:inline-flex;align-items:center;gap:9px;font-size:14.5px;color:var(--ink-2);cursor:pointer;user-select:none}
.remember input{width:19px;height:19px;margin:0;accent-color:#1B2540;cursor:pointer}
.auth-go{width:100%;min-height:54px;margin-top:6px;border-radius:12px;background:#1B2540;color:#fff;font-weight:700;font-size:17px;box-shadow:0 14px 26px -16px rgba(27,37,64,.9)}
.auth-go:hover{background:#26335A}
.auth-go:disabled{opacity:.6;cursor:default}
.auth-or{display:flex;align-items:center;gap:14px;margin:26px 0 18px;color:var(--muted);font-size:14px}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.auth-alt{width:100%;min-height:52px;border-radius:12px;background:var(--surface);color:var(--ink);border:1px solid color-mix(in srgb,var(--ink) 16%,transparent);font-weight:700;font-size:15.5px}
.auth-alt:hover{background:var(--bg)}
.auth-alt .ph{font-size:20px}
.auth-terms{text-align:center;color:var(--muted);font-size:13px;margin:22px 0 0}
.auth-back{margin-top:20px}
.auth .gets{list-style:none;margin:0 0 22px;padding:14px 16px;display:grid;gap:8px;border-radius:16px;background:var(--bg)}
.auth .gets li{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--ink-2)}
.auth .gets i{color:#0F8C7E;font-size:19px;margin-top:2px;flex:none}
.auth #notice:not([hidden]){margin-bottom:22px}
@media (prefers-reduced-motion:no-preference){.auth-box{animation:auth-up .7s var(--ease) both}.auth-art{animation:auth-in .9s var(--ease) both}}
@keyframes auth-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes auth-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:none}}

/* a phone or a narrow window: the form alone */
@media (max-width:900px){
  .auth{grid-template-columns:1fr;padding:16px}
  .auth-side{display:none}
  .auth-main{justify-content:flex-start;padding-block:12px 32px}
  .auth-main>.auth-logo{display:flex;margin:4px 0 30px}
}

/* dark mode: the same, on the site's dark colours */
@media (prefers-color-scheme:dark){
  .auth .lede a,.auth-terms a,.auth .textbtn{color:#5FD3C2}
  .auth-go{background:#8AA4F6;color:#0B1020;box-shadow:none}
  .auth-go:hover{background:#A9BCFA}
  .auth .field input:focus{border-color:#8AA4F6;box-shadow:0 0 0 4px rgba(138,164,246,.18)}
  .remember input{accent-color:#8AA4F6}
  .auth-art{box-shadow:none;background:#1D2747}
  .auth-art.pic{background:#5E6F69}
}
