/* ============================================================
   bridgingradar — brand.css  (LOCKED, Stage 2)
   Single source of truth: tokens, type, buttons, header, footer.
   Canonical values taken from the APPROVED landing page look.
   Do NOT restyle these selectors inside page <style> blocks —
   tools/check_brand.py enforces this before every commit.
   ============================================================ */

:root{
  --ink:#0b0b0d; --grey:#3a3d42; --grey2:#33363b;
  --cyan:#00FFFF;            /* brand cyan — dark backgrounds only */
  --cyan-ink:#00879c;        /* links / ink on white */
  --cy-text:#00b5c4; --cyt:#00b5c4;   /* text accent on white */
  --cy-display:#00cfcf;      /* display accents & gradients */
  --line:#e6e8ea; --muted:#5c6165;
  --ok:#0e9f6e; --warn:#b8860b; --bad:#c02626;
}
*{box-sizing:border-box;margin:0}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:#fff;line-height:1.5}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* buttons */
.btn{background:var(--cyan);color:#04222a;font-weight:800;border-radius:8px;padding:12px 24px;font-size:15px;display:inline-block;text-decoration:none;border:none;cursor:pointer}
.btn:hover{background:#00e2e2}
.btn.sm{padding:11px 22px;font-size:14px;font-family:inherit}
.btn.ghost{background:none;border:1.5px solid var(--grey);color:var(--ink)}
.btn.ghost.oncyan{border-color:var(--cyan);color:var(--cyan)}

/* header — dark grey, matches Pulse */
header{background:var(--grey);color:#fff;border-bottom:2px solid var(--cyan)}
header .wrap{display:flex;align-items:center;gap:18px;padding-top:16px;padding-bottom:16px;max-width:1080px}
.logo{display:flex;align-items:center;gap:0px;font-family:'Comfortaa','Inter',sans-serif;font-size:32px;font-weight:700;letter-spacing:-.01em;color:#fff;text-decoration:none;-webkit-text-stroke:0.6px currentColor}
.logo em{font-style:normal;color:var(--cyan)}
header nav{display:flex;gap:17px;font-size:15px;color:#fff;font-weight:600;margin-left:auto;flex-wrap:wrap}
header nav a{color:inherit;text-decoration:none;white-space:nowrap}
header nav a:hover,header nav a.on{color:var(--cyan)}
header .right{display:flex;gap:14px;align-items:center}
.burger{display:none;background:none;border:none;cursor:pointer;padding:8px;margin-left:6px}
.burger span{display:block;width:22px;height:2.5px;background:#fff;border-radius:2px;margin:4.5px 0;transition:.2s}
header.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
header.open .burger span:nth-child(2){opacity:0}
header.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
header .login{font-size:13px;color:#c3c7cc;text-decoration:none;white-space:nowrap}
header .login:hover{color:var(--cyan)}

/* footer */
footer{background:var(--grey2);color:#9aa0a6;font-size:11px;padding:22px 0;line-height:1.7}
footer a{color:#c3c7cc;text-decoration:none;margin-right:14px}

/* shared misc */
.note-amber{background:#fff7e6;border:1px dashed #e5c877;color:#8a6100;border-radius:8px;padding:10px 14px;font-size:12.5px;margin:14px 0}

/* form controls — uniform height across every page (LOCKED, Stage 2b) */
input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;height:42px;padding:10px 12px;border:1px solid #d4d8db;border-radius:7px;font-size:14px;font-family:inherit;background:#fff;color:var(--ink)}
textarea{height:auto;min-height:96px}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235c6165' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--cy-display);box-shadow:0 0 0 3px rgba(0,255,255,.15)}
label{font-size:12px;font-weight:600;color:var(--muted);display:block;margin:12px 0 4px}


/* product surfaces (Pulse, portals): header + lockup (LOCKED 2026-07-08 v2)
   CONTROL = landing page: mark 68x43, word 27px, EVERY page identical.
   The icon+wordmark row is vertically centred in the banner (same 15px above/below as landing);
   the product name hangs beneath the wordmark (absolute — does not shift the centring). */
header.product{padding:16px 22px;display:flex;align-items:center;gap:18px;border-bottom-width:3px}
.lockup{display:flex;align-items:center;gap:0px;color:#fff;text-decoration:none;position:relative}
.lockup svg{flex-shrink:0;display:block;width:82px;height:52px}
.logo svg{width:82px;height:52px}
.lockup .word{font-family:'Comfortaa','Inter',sans-serif;font-size:32px;font-weight:700;letter-spacing:-.01em;line-height:1;-webkit-text-stroke:0.6px currentColor}
.lockup .word em{font-style:normal;color:var(--cyan)}
.lockup > div{position:relative}
.lockup .sub{position:absolute;top:100%;left:4px;margin-top:5px;line-height:1;font-size:11px;letter-spacing:.34em;text-transform:uppercase;color:var(--cyan);font-weight:700;white-space:nowrap}

/* responsive overrides MUST stay last in this file */
/* responsive header — nav wraps below the logo row on phones (LOCKED, QA finding 8 Jul) */
@media(max-width:720px){
  header .wrap{flex-wrap:wrap;gap:8px 10px;padding-top:12px;padding-bottom:12px}
  .logo,.lockup .word{font-size:25px}
  .logo svg,.lockup svg{width:62px;height:40px}
  .lockup .sub{font-size:9px;letter-spacing:.3em}
  header .right{margin-left:auto}
  header .right{display:none}
  header.open .right{display:flex;flex-direction:column;order:4;width:100%;gap:10px;margin:6px 0 8px}
  header.open .right .btn{text-align:center;padding:12px;font-size:14px}
  header.open .login{display:block;text-align:center;font-size:13.5px;padding:4px 0}
  .burger{padding:6px;margin-left:auto}
  header .login{display:none}
  .burger{display:block}
  header nav{display:none}
  header.open nav{display:flex;order:3;width:100%;flex-direction:column;gap:0;margin:6px 0 2px}
  header.open nav a{padding:11px 2px;border-top:1px solid rgba(255,255,255,.12);font-size:14.5px}
}
