/* Logged-out pages of the app (login, signup, password reset, ...): the marketing site's look.
   Colour values are the marketing tokens from css/site.css / tailwind.site.config.js:
   navy #000E7B (page + primary button), primary #3758F9 (links), blue-dark #1B44C8 (hover),
   footer #090E34, dark #111928, body-color #637381, stroke #DFE4EA, gray-2 #F3F4F6.
   Inter comes from css/inter.css (same self-hosted files as the marketing site).
   The marketing site has one (navy) theme, so these pages do too: no dark variant.
   Template: auth_base.html. Self-contained on purpose (no Tailwind, no Alpine). */
:root{
  --au-navy:#000E7B; --au-primary:#3758F9; --au-blue-dark:#1B44C8; --au-footer:#090E34;
  --au-dark:#111928; --au-body:#637381; --au-stroke:#DFE4EA; --au-gray2:#F3F4F6;
  --au-red:#B42318; --au-red-bg:#FEF3F2; --au-green:#067647; --au-green-bg:#ECFDF3;
}
*,*::before,*::after{box-sizing:border-box}
html{color-scheme:light}
body.au{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--au-navy);color:var(--au-dark);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.au a{color:var(--au-primary)}
.au-header{width:100%;max-width:1288px;margin:0 auto;padding:20px 16px 0}
.au-logo{display:inline-block;width:190px;max-width:55vw}
.au-logo img{display:block;width:100%;height:auto}
.au-main{flex:1;width:100%;max-width:1288px;margin:0 auto;padding:28px 16px 40px;display:flex;align-items:center;justify-content:center}
.au-grid{display:grid;grid-template-columns:1fr;gap:48px;width:100%;justify-items:center}
.au-grid.has-proof{justify-items:stretch}
.au-card{width:100%;max-width:448px;background:#fff;border-radius:8px;padding:32px 28px;box-shadow:0 0 40px rgba(0,0,0,.18)}
.au-card.wide{max-width:480px}
.au-card h1{margin:0 0 8px;font-size:24px;line-height:1.25;font-weight:700;color:var(--au-dark)}
.au-card h1+.au-alert{margin-top:14px}
.au-lead{margin:0 0 20px;font-size:15px;color:var(--au-body)}
.au-free{margin:0 0 14px;font-size:16px;font-weight:600;color:var(--au-navy)}
.au-steps{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.au-steps li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;border:1px solid var(--au-stroke);border-radius:6px;font-size:13px;line-height:1.3;font-weight:500;color:var(--au-dark)}
.au-steps b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--au-navy);color:#fff;font-size:12px;font-weight:600}
.au-label{display:block;margin-top:16px;font-size:14px;font-weight:500;color:var(--au-dark)}
.au-label:first-child{margin-top:0}
.au-input{display:block;width:100%;height:46px;margin-top:6px;padding:0 14px;border:1px solid var(--au-stroke);border-radius:6px;background:#fff;color:var(--au-dark);font:inherit;font-size:16px}
.au-input::placeholder{color:#9AA5B1}
.au-input:focus{outline:none;border-color:var(--au-primary);box-shadow:0 0 0 3px rgba(55,88,249,.2)}
.au-pw{position:relative;display:block;margin-top:6px}
.au-pw .au-input{margin-top:0}
.au-pw .au-input{padding-right:64px}
.au-pw button{position:absolute;top:0;right:0;height:46px;padding:0 14px;border:0;background:none;color:var(--au-body);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.au-hint{display:block;margin-top:6px;font-size:13px;color:var(--au-body)}
.au-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;padding:0 20px;border-radius:6px;border:1px solid transparent;font:inherit;font-size:16px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .15s,border-color .15s}
.au-btn:focus-visible{outline:3px solid rgba(55,88,249,.45);outline-offset:2px}
/* Google first and largest: neutral white button with the G logo (Google's light-theme button). */
.au-btn.google{min-height:52px;background:#fff;border:1px solid #747775;color:#1F1F1F;font-weight:600;box-shadow:0 1px 3px rgba(17,25,40,.18)}
.au-btn.google:hover{background:#F8FAFD;box-shadow:0 2px 6px rgba(17,25,40,.22)}
.au-btn.google svg{width:20px;height:20px;flex:none}
/* the email path: outline (navy on white, 15:1), below Google */
.au-btn.secondary{background:#fff;border-color:var(--au-navy);color:var(--au-navy);margin-top:20px}
.au-btn.secondary:hover{background:#EEF1FF;border-color:var(--au-blue-dark);color:var(--au-blue-dark)}
/* actions that are the only thing on a page (reset, create account) are the navy primary */
.au-btn.primary{background:var(--au-navy);color:#fff;margin-top:20px}
.au-btn.primary:hover{background:var(--au-blue-dark)}
.au-or{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:13px;color:var(--au-body)}
.au-or::before,.au-or::after{content:"";flex:1;border-top:1px solid var(--au-stroke)}
.au-alert{margin:0 0 18px;padding:12px 14px;border-radius:6px;font-size:14px}
.au-alert p{margin:0}.au-alert p+p{margin-top:4px}
.au-alert.err{background:var(--au-red-bg);color:var(--au-red)}
.au-alert.ok{background:var(--au-green-bg);color:var(--au-green)}
.au-alert .t{font-weight:600}
.au-note{margin:12px 0 0;font-size:13px;color:var(--au-body)}
.au-links{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--au-stroke);font-size:14px;color:var(--au-body)}
.au-links p{margin:0 0 6px}
.au-links a{display:inline-block;padding:4px 0;font-weight:500;text-decoration:none}
.au-links a:hover{text-decoration:underline}
.au-terms{display:flex;align-items:flex-start;gap:10px;margin-top:18px;font-size:13px;color:var(--au-body)}
.au-terms input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--au-navy)}
.au-terms a{color:var(--au-primary);text-decoration:underline}
.au-footer{width:100%;background:var(--au-footer);color:#CBD5E1;padding:18px 16px;font-size:13px}
.au-footer ul{max-width:1288px;margin:0 auto;padding:0 16px;list-style:none;display:flex;flex-wrap:wrap;gap:4px 22px}
.au-footer a,.au-footer button{display:inline-block;padding:6px 0;border:0;background:none;color:#CBD5E1;font:inherit;text-decoration:none;cursor:pointer}
.au-footer [hidden]{display:none}
.au-footer a:hover,.au-footer button:hover{color:#fff}

/* Product proof beside the login card: an alert sentence and the Telegram message it produces. */
.au-proof{display:none;color:#fff}
.au-proof h2{margin:0 0 20px;font-size:36px;line-height:1.2;font-weight:700;letter-spacing:-.01em}
.au-proof .lead{margin:0 0 24px;font-size:17px;color:#CFD6F5;max-width:460px}
.au-sentence{display:inline-block;max-width:100%;margin:0 0 20px;padding:14px 18px;border-radius:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);font-size:17px;line-height:1.4}
.au-sentence .mk{font-weight:600;color:#fff}
.au-sentence .cd{color:#E4E9FF}
.au-arrow{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:13px;color:#AEB8EE}
.au-arrow::before{content:"";width:2px;height:22px;margin:0 11px;background:rgba(255,255,255,.35)}
.au-tg{max-width:400px;border-radius:12px;background:#17212B;box-shadow:0 10px 30px rgba(0,0,0,.35);overflow:hidden;font-family:Inter,system-ui,sans-serif}
.au-tg-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#232E3C;color:#fff;font-size:14px;font-weight:600}
.au-tg-av{width:28px;height:28px;border-radius:50%;background:var(--au-primary);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.au-tg-body{padding:14px}
.au-tg-msg{display:inline-block;max-width:100%;padding:9px 12px 6px;border-radius:12px 12px 12px 4px;background:#182533;border:1px solid #2B3A4A;color:#F5F5F5;font-size:15px;line-height:1.4}
.au-tg-msg p{margin:0}.au-tg-msg p+p{margin-top:2px}
.au-tg-msg .nm{font-weight:600}
.au-tg-msg .dim{color:#9CB0C4}
.au-tg-time{display:block;margin-top:2px;text-align:right;font-size:12px;color:#7D93A8}
.au-proof .fine{margin:16px 0 0;font-size:12.5px;color:#AEB8EE;max-width:440px}
@media (min-width:900px){
  .au-grid.has-proof{grid-template-columns:minmax(0,1fr) 448px;align-items:center;gap:72px}
  .au-grid.has-proof .au-proof{display:block}
  .au-grid.has-proof .au-card{justify-self:end}
}
@media (max-width:420px){
  .au-card{padding:26px 20px}
  .au-steps{gap:6px}.au-steps li{padding:8px;font-size:12.5px}
}

