/* ============================================================
   VolDesk shared chrome — brand.css
   ------------------------------------------------------------
   ONE stylesheet for the header, footer and SEBI bars, linked by
   BOTH voldesk.in and screener.voldesk.in. Edit here once and both
   sites change.

   - Self-contained: defines its own design tokens, so it works on
     the screener (Tailwind) with no dependency on the website's
     site.css.
   - Scoped: every rule targets a chrome class (.vd-*, .prelaunch,
     .regbar, header.vdnav, footer.vdfoot). Container is .vdwrap
     (NOT .wrap) so it never collides with the website's own .wrap
     or with Tailwind utilities.
   - Nav strip is DARK by design (ties the masthead to the dark
     registration bar above and the dark footer below).
   Served at /_shared/brand.css on both hosts.
   ============================================================ */

:root{
  --vd-ink:#0F1721; --vd-ink-2:#1C2836;
  --vd-paper:#EEF1F4; --vd-surface:#FFFFFF;
  --vd-ultra:#2148C6; --vd-rust:#BE3A1D;
  --vd-amber-soft:#FDF3DC; --vd-muted:#586778;
  --vd-rule:#D2D9E0;
  --vd-mono: ui-monospace,"SF Mono","JetBrains Mono","IBM Plex Mono",Menlo,Consolas,monospace;
  --vd-sans: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;
  --vd-gut:24px; --vd-maxw:1180px;
}

/* shared container (own name, no collisions) */
.vdwrap{max-width:var(--vd-maxw);margin:0 auto;padding:0 var(--vd-gut)}

/* ---- pre-launch notice (amber) ---- */
.prelaunch{background:var(--vd-amber-soft);border-bottom:1px solid #E8D9A8;color:#6B4A00;
  font-family:var(--vd-sans);font-size:13px;line-height:1.55}
.prelaunch .vdwrap{padding:10px var(--vd-gut)}
.prelaunch strong{color:#4A3300}

/* ---- registration masthead bar (dark) ---- */
.regbar{background:var(--vd-ink);color:#DCE6F0;font-family:var(--vd-mono);
  font-size:12.5px;letter-spacing:.03em;font-weight:500}
.regbar .vdwrap{display:flex;gap:22px;flex-wrap:wrap;padding:10px var(--vd-gut)}
.regbar b{color:#fff;font-weight:700}

/* ---- header / nav (DARK) ---- */
header.vdnav{position:sticky;top:0;z-index:50;background:var(--vd-ink);
  border-bottom:1px solid #22303F;font-family:var(--vd-sans)}
header.vdnav .vdwrap{display:flex;align-items:center;gap:16px;min-height:62px;
  flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.vdbrand{display:flex;align-items:baseline;gap:9px;font-family:var(--vd-mono);
  font-weight:700;letter-spacing:-.02em;font-size:18px;color:#fff;text-decoration:none}
.vdbrand:hover{text-decoration:none}
.vdbrand .tick{width:9px;height:9px;background:var(--vd-rust);display:inline-block;transform:translateY(-1px)}
nav.vdlinks{margin-left:auto;display:flex;gap:2px;align-items:center;flex-wrap:wrap}
nav.vdlinks a{font-size:14px;color:#AFBED0;padding:7px 10px;border-radius:4px;
  font-weight:500;text-decoration:none;transition:background .12s,color .12s}
nav.vdlinks a:hover{background:#1C2836;color:#fff;text-decoration:none}
nav.vdlinks a.on{background:#fff;color:var(--vd-ink)}
/* the cross-site link to the screener gets a subtle accent */
nav.vdlinks a.vdscreener{color:#7FA0F0}
nav.vdlinks a.vdscreener:hover{background:#1C2836;color:#A9C0FF}
nav.vdlinks a.vdscreener.on{background:var(--vd-ultra);color:#fff}
@media(max-width:820px){nav.vdlinks{margin-left:0;width:100%}}

/* ---- footer (dark) ---- */
footer.vdfoot{background:var(--vd-ink);color:#C6D3DE;padding:44px 0 30px;
  font-family:var(--vd-sans);font-size:13.5px;line-height:1.7}
footer.vdfoot a{color:#DEE8F1;text-decoration:none}
footer.vdfoot a:hover{text-decoration:underline}
footer.vdfoot h4{color:#fff;font-family:var(--vd-mono);font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;margin:0 0 12px}
footer.vdfoot p{margin:0}
footer.vdfoot .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:28px}
@media(max-width:900px){footer.vdfoot .cols{grid-template-columns:1fr 1fr}}
@media(max-width:560px){footer.vdfoot .cols{grid-template-columns:1fr}}
footer.vdfoot .vdbrand{color:#fff;margin-bottom:10px}
footer.vdfoot .mono{font-family:var(--vd-mono);font-variant-numeric:tabular-nums}

/* footer social icons */
footer.vdfoot .social{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:4px}
footer.vdfoot .social a{width:34px;height:34px;border-radius:6px;border:1px solid #33455A;
  display:flex;align-items:center;justify-content:center;color:#DEE8F1;background:transparent;transition:all .12s}
footer.vdfoot .social a:hover{background:#fff;color:var(--vd-ink);border-color:#fff}
footer.vdfoot .social svg{width:17px;height:17px;display:block}

/* mailto/tel underline treatment */
footer.vdfoot a[href^="mailto:"],footer.vdfoot a[href^="tel:"]{
  border-bottom:1px solid rgba(222,232,241,.28)}
footer.vdfoot a[href^="mailto:"]:hover,footer.vdfoot a[href^="tel:"]:hover{
  border-bottom-color:#fff;text-decoration:none}

/* disclaimer + bottom bar */
footer.vdfoot .disclaimer{margin-top:32px;padding-top:22px;border-top:1px solid #2A3948;
  font-size:12.5px;line-height:1.75;color:#B4C3D0}
footer.vdfoot .disclaimer p{margin:0 0 10px}
footer.vdfoot .disclaimer p:last-child{margin:0}
footer.vdfoot .disclaimer strong{color:#fff}
footer.vdfoot .footbar{margin-top:22px;padding-top:16px;border-top:1px solid #2A3948;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;
  font-size:12.5px;color:#9FB0C0}
footer.vdfoot .footbar a{color:#DEE8F1;border-bottom:1px solid rgba(222,232,241,.28)}
footer.vdfoot .footbar a:hover{border-bottom-color:#fff;text-decoration:none}
