/* ChamberBee marketing site — v1.0
   Tokens are the design guide's, copied verbatim. Marketing is a brand moment:
   full navy/gold is allowed here in a way it never is in the app chrome. */

:root {
  /* Brand — marketing & powered-by ONLY */
  --bee-navy:#16243D; --bee-navy-deep:#0F1B2E; --bee-gold:#C9A84C;
  --bee-gold-bright:#E3C36A; --bee-paper:#F7F5F0;
  /* Chassis neutrals (warm, toward paper) */
  --n-0:#FFF; --n-25:#FCFBF9; --n-50:#F7F5F1; --n-100:#EFECE5; --n-200:#E2DED4;
  --n-300:#C9C4B8; --n-400:#A39E92; --n-500:#7C776C; --n-600:#5B564D;
  --n-700:#423E37; --n-800:#2B2823; --n-900:#1A1815;
  --ink:#22201B; --ink-soft:#5B564D; --ink-faint:#8B8578;
  /* Dark stage — a surface, not a dark mode */
  --stage:#101D33; --stage-deep:#0C1730; --stage-raised:#182842;
  --stage-line:#26385A; --stage-ink:#E9EDF5; --stage-ink-soft:#97A5C0;
  /* Semantic — fixed, never reused as accents */
  --ok:#2E7D46; --ok-bg:#E8F3EC; --warn:#9A6A00; --warn-bg:#FAF1DC;
  --danger:#B3372E; --danger-bg:#F9E9E7; --info:#2C5F9E; --info-bg:#E8EFF7;
  /* Accent — on marketing this is ChamberBee gold, not a tenant color */
  --accent:#C9A84C; --accent-strong:#A8883A; --accent-ink:#6D5716;
  --accent-tint:#F6EFDC; --accent-faint:#FBF7EC; --on-accent:#FFF;
  /* Type */
  --font-ui:"Public Sans",-apple-system,"Segoe UI",sans-serif;
  --font-display:"Source Serif 4",Georgia,serif;
  /* Shape & depth */
  --r-sm:6px; --r-md:10px; --r-lg:16px;
  --shadow-1:0 1px 2px rgba(26,24,21,.06),0 1px 3px rgba(26,24,21,.08);
  --shadow-2:0 4px 12px rgba(26,24,21,.08),0 2px 4px rgba(26,24,21,.05);
  /* Layout */
  --wrap:1120px; --wrap-narrow:760px; --gut:24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--n-0);
  -webkit-font-smoothing: antialiased;
  /* Horizontal scroll is a bug, full stop. This is the belt; the braces are
     min-width:0 on grid/flex children below. */
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); }

/* Numbers are ALWAYS sans, even inside serif headlines. */
.num { font-family: var(--font-ui); font-feature-settings: "tnum" 1; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: var(--wrap-narrow); }
/* For left-aligned intro copy that sits above a full-width grid: constrains the
   measure without re-centering, so its left edge lines up with the grid below. */
.measure { max-width: 62ch; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-ink); margin: 0 0 14px;
}
.stage .eyebrow { color: var(--bee-gold); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 54px); letter-spacing: -.015em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; }
h3 { font-size: 21px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.stage .lede { color: var(--stage-ink-soft); }
p { margin: 0 0 1.1em; }

/* ---------- dark stage + the designed seam ---------- */
.stage {
  background: var(--stage);
  color: var(--stage-ink);
  /* The 3px navy-deep rule where light meets dark. Not a border — a seam. */
  border-bottom: 3px solid var(--bee-navy-deep);
}
.stage h1, .stage h2, .stage h3 { color: var(--stage-ink); }
.stage-top { border-top: 3px solid var(--bee-navy-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 700;
  padding: 13px 22px; border-radius: var(--r-md);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent-strong); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); }
.stage .btn-primary { background: var(--bee-gold); color: var(--bee-navy-deep); }
.stage .btn-primary:hover { background: var(--bee-gold-bright); }
.btn-ghost { border-color: var(--n-300); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--n-500); background: var(--n-50); }
.stage .btn-ghost { border-color: var(--stage-line); color: var(--stage-ink); }
.stage .btn-ghost:hover { border-color: var(--stage-ink-soft); background: var(--stage-raised); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
:focus-visible { outline: 3px solid var(--bee-gold); outline-offset: 2px; border-radius: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--n-100);
}
.site-header.on-stage {
  background: rgba(16,29,51,.88); border-bottom-color: var(--stage-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.lockup svg, .lockup img { width: 32px; height: 32px; display: block; }
.lockup .word {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  letter-spacing: -.01em; color: var(--bee-navy); white-space: nowrap;
}
.lockup .word b { color: var(--bee-gold); font-weight: 600; }
.on-stage .lockup .word { color: var(--n-0); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.on-stage .site-nav a { color: var(--stage-ink-soft); }
.on-stage .site-nav a:hover, .on-stage .site-nav a[aria-current="page"] { color: var(--stage-ink); }
.site-nav .btn { font-size: 14px; padding: 9px 16px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--n-0); border: 1px solid var(--n-200);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-1);
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: 16px; }
.stage .card {
  background: var(--stage-raised); border-color: var(--stage-line); box-shadow: none;
}
.stage .card p { color: var(--stage-ink-soft); }

/* ---------- misc ---------- */
.rule-gold { height: 3px; width: 56px; background: var(--bee-gold); border: 0; margin: 0 0 22px; }
.paper { background: var(--bee-paper); }
.n50 { background: var(--n-50); }

.site-footer {
  background: var(--bee-navy-deep); color: var(--stage-ink-soft);
  padding: 48px 0 40px; font-size: 14.5px;
}
.site-footer a { color: var(--stage-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal { width: 100%; border-top: 1px solid var(--stage-line); padding-top: 22px; margin-top: 8px; font-size: 13px; color: var(--stage-ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  :root { --gut: 18px; }
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
  /* Chamber execs open this on phones from a conference hallway.
     Drop the text nav, keep the one CTA. */
  .site-nav .nav-link { display: none; }
  .header-inner { height: 60px; }
  .lockup .word { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
