/* Coming soon page (views/coming-soon.ejs, the default public /), Look A colours. Scoped to body.csa, so app.css pages are
   untouched. Brand refresh: the log-in pages (login, forgot, reset, two-factor) load it too with body.csa.csa-auth (rules at the end). No inline styles; motion only with
   prefers-reduced-motion: no-preference. */
body.csa{--csa-deep:#05261a;--csa-deeper:#031a12;--csa-gold-l:#e2c48f;min-height:100vh;display:flex;flex-direction:column;color:#fff;background:radial-gradient(120% 80% at 85% 0%,#0e6b47 0%,rgba(14,107,71,0) 55%),linear-gradient(165deg,#0a4d34 0%,var(--csa-deep) 55%,var(--csa-deeper) 100%);background-color:var(--csa-deep);overflow-x:hidden;position:relative;isolation:isolate}
@supports (overflow:clip){body.csa{overflow-x:clip}}
html:has(body.csa){background:#031a12}
.csa .top{display:none}
body.csa{padding-bottom:env(safe-area-inset-bottom,0)}
.csa-bg{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.csa-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(80% 70% at 50% 25%,#000 0%,transparent 75%);mask-image:radial-gradient(80% 70% at 50% 25%,#000 0%,transparent 75%)}
.csa-orb{position:absolute;border-radius:50%;filter:blur(60px)}
.csa-orb1{width:420px;height:420px;right:-140px;top:-40px;background:radial-gradient(circle,#c49a5a 0%,rgba(196,154,90,0) 70%);opacity:.35}
.csa-orb2{width:520px;height:520px;left:-240px;bottom:-220px;background:radial-gradient(circle,#18905f 0%,rgba(24,144,95,0) 70%);opacity:.55}
.csa main.wrap{flex:1 0 auto;width:100%;display:flex;flex-direction:column;justify-content:center}
.csa .cs{width:100%;max-width:440px;padding:1.5rem 0 1rem}
.csa .cs-hero{background:none;border:0;border-radius:0;padding:1rem 0 1.6rem;text-align:center}
.csa .cs-hero img{height:96px;width:auto;margin:0 auto 1.1rem}
.csa .cs-hero h1{font-family:'Outfit',system-ui,sans-serif;font-size:clamp(2.4rem,11vw,3.4rem);font-weight:750;line-height:1.05;letter-spacing:-.02em;margin:.2rem 0 .5rem;color:var(--csa-gold-l);background:linear-gradient(90deg,#f3dfb4,#e2c48f 60%,#ecd3a3);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.csa .cs-sub{font-weight:700;font-size:1.12rem;margin:.6rem 0 .3rem;color:#fff}
.csa .cs-tag{opacity:1;margin:0;color:#cfe2d8}
.csa .cs-login{margin:0;padding:1.3rem 1.25rem 1.1rem;border:1px solid rgba(226,196,143,.55);border-radius:18px;background:#fff;color:#1f2a24;box-shadow:0 0 0 1px rgba(226,196,143,.25),0 30px 70px -30px rgba(0,0,0,.75),0 0 60px -14px rgba(196,154,90,.45)}
.csa .cs-login h2{margin:0 0 .4rem;font-size:1.25rem;color:#1f2a24}
.csa .cs-login label{color:#4a5650}
.csa .cs-login input{border:1px solid #6b7a72;min-height:46px}
.csa .cs-login input:focus{outline:3px solid #c49a5a;outline-offset:1px;border-color:#0B5A3C}
.csa .cs-login .btn{width:100%;min-height:48px;border-radius:999px;font-size:1rem}
.csa .cs-login .btn:hover{background:#08452E}
.csa .cs-login .small{margin:.8rem 0 0}
.csa .cs-login a{color:#0B5A3C}
.csa .foot{flex:none;color:#b9d3c6;padding:1.5rem 1rem 2rem}
.csa .foot a{color:#fff;text-decoration:underline;text-decoration-color:rgba(226,196,143,.7);text-underline-offset:3px}
.csa .foot a:hover{color:var(--csa-gold-l)}
.csa :focus-visible{outline:3px solid #e2c48f;outline-offset:3px}
@media (min-width:720px){.csa .cs{padding:3rem 0 2rem}.csa .cs-hero img{height:110px}}
@media (prefers-reduced-motion:no-preference){
  .csa-orb1{animation:csa-drift 14s ease-in-out infinite alternate}
  .csa-orb2{animation:csa-drift 18s ease-in-out infinite alternate-reverse}
  .csa .cs-hero>*{animation:csa-rise .8s cubic-bezier(.2,.7,.2,1) both}
  .csa .cs-hero>:nth-child(2){animation-delay:.08s}.csa .cs-hero>:nth-child(3){animation-delay:.16s}.csa .cs-hero>:nth-child(4){animation-delay:.24s}
  .csa .cs-login{animation:csa-rise .9s .2s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes csa-drift{from{transform:translate(0,0)}to{transform:translate(-40px,30px)}}
@keyframes csa-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* Brand refresh (28 Oct 2026): log-in pages (views/login.ejs, forgot.ejs, reset.ejs, login-2fa.ejs) in the coming-soon look:
   green gradient, faint grid and glows (partials/authbg), white logo, the existing white card given the gold edge. Forms unchanged.
   Contrast: tagline #cfe2d8 on #0a4d34 8.6:1; card text as app.css (white card). */
.csa-auth .auth-brand{flex-direction:column;align-items:center;text-align:center;gap:.7rem;margin:1rem auto 1.2rem;width:100%}
.csa-auth .auth-brand img.lockup{height:80px}
.csa-auth .auth-brand span{color:#cfe2d8;font-size:.95rem}
.csa-auth .card.narrow{width:100%;margin:1rem auto;padding:1.3rem 1.25rem 1.1rem;border:1px solid rgba(226,196,143,.55);border-radius:18px;background:#fff;color:#1f2a24;box-shadow:0 0 0 1px rgba(226,196,143,.25),0 30px 70px -30px rgba(0,0,0,.75),0 0 60px -14px rgba(196,154,90,.45)}
.csa-auth .auth-brand+.card.narrow{margin-top:0}
.csa-auth .card.narrow h1{margin:0 0 .5rem;color:#1f2a24}
.csa-auth .card.narrow label{color:#4a5650}
.csa-auth .card.narrow input{border:1px solid #6b7a72;min-height:46px}
.csa-auth .card.narrow input:focus{outline:3px solid #9a7232;outline-offset:1px;border-color:#0B5A3C}
.csa-auth .card.narrow .btn{width:100%;min-height:48px;border-radius:999px;font-size:1rem}
.csa-auth .card.narrow a.btn{display:flex;align-items:center;justify-content:center}
.csa-auth .card.narrow .btn:hover{background:#08452E}
.csa-auth .card.narrow a{color:#0B5A3C}
.csa-auth .card.narrow :focus-visible{outline:3px solid #9a7232;outline-offset:2px}
@media (prefers-reduced-motion:no-preference){.csa-auth .card.narrow,.csa-auth .auth-brand{animation:csa-rise .8s cubic-bezier(.2,.7,.2,1) both}}
