/* SURDS brand layer for pages built before the current design (gateway, card tour, explore, surveys).
   Loaded after a page's own CSS: same type, same colours, same site nav as /marketing. brand.js adds the nav. */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:200 800;font-display:swap;src:url("/views/marketing/fonts/bricolage-grotesque.woff2") format("woff2")}
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;src:url("/views/marketing/fonts/geist.woff2") format("woff2")}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;src:url("/views/marketing/fonts/geist-mono.woff2") format("woff2")}
:root{--sx-bg:#09090a;--sx-card:#141416;--sx-line:rgba(255,255,255,.075);--sx-line2:rgba(255,255,255,.14);--sx-text:#f3f1ed;--sx-text2:rgba(243,241,237,.66);--sx-text3:rgba(243,241,237,.42);--sx-acc:#ec6b4a;
  --sx-display:"Bricolage Grotesque","Geist",system-ui,sans-serif;--sx-sans:"Geist",system-ui,-apple-system,"Segoe UI",sans-serif;--sx-mono:"Geist Mono",ui-monospace,Menlo,monospace}

/* ---- the site nav (same as /sensors, /blog, /qr) ---- */
.sx-nav{position:fixed;inset:0 0 auto;z-index:1000;display:flex;align-items:center;gap:24px;height:64px;padding:0 clamp(16px,4vw,64px);
  background:rgba(9,9,10,.78);backdrop-filter:blur(20px) saturate(1.4);-webkit-backdrop-filter:blur(20px) saturate(1.4);box-shadow:0 1px 0 var(--sx-line);font-family:var(--sx-sans)}
.sx-nav a{color:inherit;text-decoration:none}
.sx-logo{display:inline-flex;align-items:center;gap:9px;font-family:var(--sx-display);font-weight:700;letter-spacing:.06em;font-size:17px;color:var(--sx-text)}
.sx-logo img{width:32px;height:32px;filter:drop-shadow(0 0 6px rgba(255,140,60,.35))}
.sx-links{display:flex;gap:4px;padding:4px;border-radius:999px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px var(--sx-line)}
.sx-links a{padding:7px 14px;border-radius:999px;font-size:13.5px;font-weight:500;color:var(--sx-text2);white-space:nowrap}
.sx-links a:hover{color:var(--sx-text)}
.sx-links a[aria-current]{background:var(--sx-text);color:#0b0b0c}
.sx-cta{margin-left:auto;display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;background:var(--sx-text);color:#0b0b0c!important;font-weight:600;font-size:14px}
@media (max-width:760px){.sx-links{overflow-x:auto;scrollbar-width:none;max-width:calc(100vw - 150px)}.sx-links::-webkit-scrollbar{display:none}.sx-links a{padding:6px 10px;font-size:12.5px}.sx-cta{display:none}}
body.sx{padding-top:64px}

/* ================= /gateway (SURDS G1) ================= */
body[data-brand=gateway]{--display:var(--sx-display);--body:var(--sx-sans);--mono:var(--sx-mono);--bg:#09090a;--bg-2:#101012;--bg-3:#141416;--ink:#f3f1ed;--accent:#ec6b4a;--accent-2:#f4b39f;padding-top:0}
body[data-brand=gateway] .site-header{top:76px}
body[data-brand=gateway] .brand-lockup{display:none}
body[data-brand=gateway] .display,body[data-brand=gateway] .hero-copy h1,body[data-brand=gateway] .hero-copy h2{text-transform:none;font-weight:650;letter-spacing:-.035em}
body[data-brand=gateway] .hero-bg-word{opacity:.5}
/* the cream bands go dark like the rest of the site */
body[data-brand=gateway] .band-light,body[data-brand=gateway] .band-light-2{--cream:#121214;--cream-2:#0f0f11;--dark:#f3f1ed;--dark-2:rgba(243,241,237,.66);--dark-line:rgba(255,255,255,.09);background:#0f0f11;color:var(--sx-text)}
body[data-brand=gateway] .band-light-2{background:#121214}
body[data-brand=gateway] .band-light .commerce-button-primary,body[data-brand=gateway] .band-light-2 .commerce-button-primary{color:#0b0b0c}
body[data-brand=gateway] .band-light .eyebrow.accent,body[data-brand=gateway] .band-light-2 .eyebrow.accent{color:var(--sx-acc)}
body[data-brand=gateway] .newsletter-row input{background:#0b0b0d;border-color:var(--sx-line2);color:var(--sx-text)}
body[data-brand=gateway] .eyebrow.accent{color:var(--sx-acc)}

/* shared/fonts.css forces the old serif on h1/h2 with !important; pages on the brand layer use the current type */
body.sx,body.sx button,body.sx input,body.sx select,body.sx textarea{font-family:var(--sx-sans)}
body.sx h1,body.sx h2,body.sx h3,body.sx .display{font-family:var(--sx-display)!important;font-weight:650!important;letter-spacing:-.035em!important;text-transform:none}

/* /survey: its own top bar is replaced by the site nav */
body[data-brand=survey] > nav:first-of-type{display:none}
/* phones: the eye alone, so all five links fit */
@media (max-width:760px){.sx-nav{gap:12px}.sx-logo{font-size:0;gap:0}.sx-links{max-width:calc(100vw - 72px)}}
