/* cvln (owner order 28 Oct): public landing page + sign-in page. Same palette / fonts as the app (app.css :root),
   self-contained so the landing never depends on the app's layout rules. No external fonts, no CDN, no tracker. */
:root{--bg:#0b0f16;--panel:#111723;--card:#131a27;--line:#1a2230;--text:#e2e8f0;--muted:#94a3b8;
--up:#22c55e;--down:#ef4444;--accent:#22d3ee;--warn:#f59e0b;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:70px}
html,body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;
  overflow-x:hidden;-webkit-text-size-adjust:100%}
a{color:var(--accent)}
img{max-width:100%;height:auto;display:block}
.wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.mono{font-family:var(--mono)}
.muted{color:var(--muted)}
.small{font-size:12px}
.err{color:var(--down)}
/* ---------------------------------------------------------------- top bar (sticky, compact on phones) */
.lbar{position:sticky;top:0;z-index:20;background:rgba(11,15,22,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);padding-top:env(safe-area-inset-top)}
.lbar .wrap{display:flex;align-items:center;gap:18px;min-height:60px}
.lbar .llogo{display:flex;align-items:center;flex:0 0 auto;min-height:40px}   /* 40 px tap target on phones (logo 34 px) */
.lbar .llogo img{height:40px;width:auto}
.lbar .lnav{display:flex;gap:4px;align-items:center;margin-left:auto}
.lbar .lnav a{color:var(--muted);text-decoration:none;font-size:14px;padding:10px 12px;border-radius:8px;min-height:40px;
  display:inline-flex;align-items:center}
.lbar .lnav a:hover{color:var(--text);background:#131a27}
.lbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:10px;
  font-weight:700;font-size:15px;text-decoration:none;cursor:pointer;border:1px solid var(--line);color:var(--text);
  background:#0d131d;white-space:nowrap}
.lbtn:hover{border-color:#3b4a60}
/* cvsu: ONE primary colour (accent) for every primary button - the CTA links and the form submit buttons alike */
.lbtn.pri,.lbtn.go{background:var(--accent);border-color:var(--accent);color:#04131a}
.lbtn.pri:hover,.lbtn.go:hover{background:#5ee3f5;border-color:#5ee3f5}
.lbtn.go{width:100%}
.lbtn.go:disabled{opacity:.6}
.lbtn.ghost{border-color:transparent;background:transparent;color:var(--muted)}
.lbtn.ghost:hover{color:var(--text);background:#131a27}
.lbar .lsign{margin-left:8px;min-height:40px;padding:0 16px;font-size:14px}
.lmenu{display:none;position:relative;margin-left:auto}
.lmenu summary{list-style:none;cursor:pointer;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);
  border-radius:10px;color:var(--text);font-size:20px;background:#0d131d}
.lmenu summary::-webkit-details-marker{display:none}
.lmenu .sheet{position:absolute;right:0;top:calc(100% + 6px);min-width:200px;background:#0f141d;border:1px solid var(--line);
  border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.5);padding:6px;display:flex;flex-direction:column}
.lmenu .sheet a{color:var(--text);text-decoration:none;padding:10px 12px;border-radius:8px;min-height:40px;display:flex;align-items:center}
.lmenu .sheet a:hover{background:#1a2333}
/* ---------------------------------------------------------------- hero */
.hero{position:relative;padding:56px 0 40px;overflow:hidden}
.hero::before{content:"";position:absolute;inset:-40% -20% auto;height:80%;pointer-events:none;
  background:radial-gradient(60% 50% at 30% 30%,rgba(34,211,238,.14),transparent 70%),
             radial-gradient(40% 40% at 80% 20%,rgba(129,140,248,.12),transparent 70%)}
.hero .wrap{position:relative}
.hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,380px);gap:36px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font:600 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;
  color:var(--accent);border:1px solid rgba(34,211,238,.35);border-radius:999px;padding:4px 12px;margin-bottom:18px}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--up);box-shadow:0 0 0 3px rgba(34,197,94,.25)}
h1{font-size:clamp(32px,4.4vw,54px);line-height:1.08;margin:0 0 16px;letter-spacing:-.02em;font-weight:800}
h1 em{font-style:normal;color:var(--accent)}
.lead{font-size:clamp(16px,1.5vw,19px);color:var(--muted);margin:0 0 24px;max-width:58ch}
.cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.kpis{display:flex;flex-wrap:wrap;gap:8px 22px;margin:26px 0 0;padding:0;list-style:none;color:var(--muted);font-size:13px}
.kpis b{font:700 14px var(--mono);color:var(--text)}
/* sign-in card (desktop: beside the hero text; phones: under it) */
.auth{background:linear-gradient(180deg,#141c2b,#111723);border:1px solid #243044;border-radius:16px;padding:22px;
  box-shadow:0 20px 60px rgba(0,0,0,.45)}
.auth h2{margin:0 0 4px;font-size:18px}
.auth p{margin:0 0 16px;color:var(--muted);font-size:13px}
.auth form{display:flex;flex-direction:column;gap:10px}
.auth label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:5px}
.auth input{width:100%;min-height:44px;background:#0d131d;border:1px solid #3b4a60;color:var(--text);border-radius:10px;padding:9px 12px;
  font:500 15px system-ui,sans-serif}
.auth input:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px rgba(34,211,238,.16)}
.auth .note{margin:10px 0 0;font-size:12px;color:var(--muted)}
/* cvsu: sign-up form extras - hint, terms checkbox, honeypot (off-screen, never display:none so bots still fill it),
   the success message and the strength feedback list */
.auth .hint{margin:-2px 0 0}
.auth .chk{flex-direction:row;align-items:flex-start;gap:8px;color:var(--muted);font-size:12px;line-height:1.4}
.auth .chk input{width:16px;height:16px;min-height:0;margin:1px 0 0;flex:0 0 auto}
.auth .hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.auth .err ul{margin:6px 0 0;padding-left:18px;color:var(--muted)}
.auth .okmsg{background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.4);border-radius:10px;padding:12px 14px;font-size:14px}
.auth .okmsg p{margin:6px 0 0}
.auth [hidden]{display:none!important}   /* the form rows are display:flex - the hidden attribute must still win after success */
.auth{position:relative}
/* device-framed hero chart with a soft glow */
.shot{position:relative;margin:44px auto 0;max-width:1180px}
.shot::before{content:"";position:absolute;inset:8% 6% -4%;background:radial-gradient(closest-side,rgba(34,211,238,.28),transparent);
  filter:blur(40px);pointer-events:none}
.frame{position:relative;background:#0f141d;border:1px solid #2a3446;border-radius:14px;overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 0 1px rgba(34,211,238,.08)}
.frame .bar{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);background:#111723}
.frame .bar i{width:10px;height:10px;border-radius:50%;background:#2a3446}
.frame .bar i:nth-child(1){background:#ef4444}.frame .bar i:nth-child(2){background:#f59e0b}.frame .bar i:nth-child(3){background:#22c55e}
.frame .bar span{margin-left:10px;font:12px var(--mono);color:var(--muted)}
.frame img{width:100%;aspect-ratio:1200/700}
/* ---------------------------------------------------------------- sections */
section.blk{padding:64px 0 8px}
.blk h2{font-size:clamp(24px,2.6vw,34px);margin:0 0 8px;letter-spacing:-.01em}
.blk .sub{color:var(--muted);margin:0 0 28px;max-width:70ch}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.feat{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;min-height:140px;display:flex;flex-direction:column;gap:10px}
.feat .ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(34,211,238,.1);
  border:1px solid rgba(34,211,238,.25);color:var(--accent)}
/* cvsu: one inline-SVG icon set (stroke icons in the accent colour) instead of text placeholders */
.feat .ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feat h3{margin:0;font-size:16px}
.feat p{margin:0;color:var(--muted);font-size:14px}
/* indicator combinations */
.combos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.combo{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
/* cvsu: each card is its own 1200x700 render (exactly the overlays named on the card) shown whole, no crop */
.combo .crop{position:relative;aspect-ratio:1200/700;overflow:hidden;background:#0f141d;border-bottom:1px solid var(--line)}
.combo .crop img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.combo .body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px}
.combo h3{margin:0;font-size:17px;display:flex;align-items:center;gap:10px}
.combo h3 .tf{font:600 11px var(--mono);color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:2px 8px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-flex;align-items:center;gap:6px;font:600 12px var(--mono);color:var(--text);background:#0d131d;
  border:1px solid #2a3446;border-radius:7px;padding:4px 8px}
.chip i{width:9px;height:9px;border-radius:2px;background:var(--c,#94a3b8)}
.combo p{margin:0;color:var(--muted);font-size:14px}
/* how it works */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:s}
.step{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;position:relative}
.step::before{counter-increment:s;content:counter(s,decimal-leading-zero);font:800 28px var(--mono);color:var(--accent);opacity:.9;display:block;margin-bottom:8px}
.step h3{margin:0 0 6px;font-size:16px}
.step p{margin:0;color:var(--muted);font-size:14px}
.band{margin:56px 0 0;padding:34px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:linear-gradient(90deg,rgba(34,211,238,.06),transparent 60%)}
.band .wrap{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.band .cta{flex:0 0 auto}
.band h2{margin:0;font-size:22px}
.band p{margin:4px 0 0;color:var(--muted)}
/* footer */
.lfoot{padding:28px 0 max(28px,env(safe-area-inset-bottom));color:var(--muted);font-size:13px}
.lfoot .wrap{display:flex;flex-wrap:wrap;gap:14px 26px;align-items:center}
.lfoot img{height:28px;width:auto}
.lfoot .nfa{flex:1 1 260px}
/* sign-in page (/login): the same card centred, logo above (tests/test_logo.py pins the img + order) */
.loginpage{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;position:relative}
.loginpage::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(50% 40% at 50% 20%,rgba(34,211,238,.14),transparent 70%)}
.loginpage .login-logo{position:relative;width:300px;max-width:80vw;height:auto;margin:0 auto 22px}
.loginpage .auth{position:relative;width:100%;max-width:380px}
.loginpage .back{margin-top:18px;font-size:13px;position:relative}
/* ---------------------------------------------------------------- responsive */
@media (max-width:900px){
  .hero .hero-grid{grid-template-columns:minmax(0,1fr)}
  .grid,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .wrap{width:calc(100% - 28px)}
  .lbar .wrap{min-height:56px;gap:10px}
  .lbar .llogo img{height:34px}
  .lbar .lnav{display:none}
  .lmenu{display:block}
  .lbar .lsign{margin-left:0}
  .lbar .lsign-up{display:none}   /* phones: "Create account" lives in the ☰ sheet */
  .hero{padding:32px 0 24px}
  .hero .hero-grid{gap:24px}
  h1{font-size:clamp(28px,8.6vw,36px)}
  .cta .lbtn{flex:1 1 auto}
  .shot{margin-top:28px}
  .frame{border-radius:10px}
  section.blk{padding:44px 0 4px}
  .grid,.steps,.combos{grid-template-columns:minmax(0,1fr)}
  .feat{min-height:0}
  .combo .crop{aspect-ratio:16/9}
  .band{margin-top:40px;padding:26px 0}
}
