/* ============================================================
   Bad Day Detector — LIGHT theme.
   Matches the new Breezeway marketing site: warm cream surface,
   navy ink, bright-blue accent, yellow marker highlight, heavy
   rounded display type (Gabarito), Inter body, mint sticky notes,
   floating white nav pill, navy pill buttons.
   Self-contained "bl-" namespace — never touches the dark page.
   ============================================================ */

.bl-page {
  --cream:     #FAF8F1;
  --cream-2:   #F1ECE0;   /* alternating section */
  --cream-3:   #F5F1E7;
  --white:     #FFFFFF;
  --navy:      #0C1E3C;   /* ink, primary buttons, footer */
  --navy-deep: #081730;
  --ink:       #102543;   /* headlines */
  --body:      #57606F;   /* body text */
  --body-2:    #828B99;   /* muted */
  --blue:      #2F6BFF;   /* accent — emphasis words, links */
  --blue-700:  #1E54DB;
  --blue-soft: rgba(47,107,255,0.10);
  --yellow:    #FBD24A;   /* marker highlight */
  --green:     #16A34A;
  --green-soft:#CFF6DD;   /* mint sticky / check bg */
  --rust:      #C2410C;
  --rust-soft: #F6E3D4;
  --border:    # EAE3D4;
  --border-1:  #E8E1D2;   /* warm hairline on cream */
  --border-card:#EEE8DB;
  --shadow-card: 0 1px 2px rgba(12,30,60,0.05), 0 1px 0 rgba(12,30,60,0.02);
  --shadow-float: 0 26px 60px -28px rgba(12,30,60,0.30), 0 8px 22px -14px rgba(12,30,60,0.14);
  --shadow-screen: 0 50px 90px -38px rgba(12,30,60,0.42), 0 18px 40px -22px rgba(12,30,60,0.20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Gabarito', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  width: 100%;
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* faint dot-grid texture, like the new site's hero */
.bl-dotgrid {
  background-image: radial-gradient(rgba(12,30,60,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------------------------------------------------------------
   BUTTONS — navy pill primary, ghost secondary
--------------------------------------------------------------- */
.bl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 999px;
  font: 700 15px/1 var(--font-body); letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
}
.bl-btn svg { width: 17px; height: 17px; }
.bl-btn-sm { padding: 10px 18px; font-size: 14px; }
.bl-btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(12,30,60,0.7);
}
.bl-btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(12,30,60,0.8); }
.bl-btn-primary:active { transform: translateY(0); }
.bl-btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(47,107,255,0.7); }
.bl-btn-blue:hover { background: var(--blue-700); transform: translateY(-1px); }
.bl-btn-ghost { background: transparent; color: var(--navy); border-color: rgba(12,30,60,0.16); }
.bl-btn-ghost:hover { border-color: rgba(12,30,60,0.32); background: rgba(12,30,60,0.03); }
.bl-btn-text { background: transparent; color: var(--navy); padding: 10px 8px; font-weight: 600; }
.bl-btn-text:hover { color: var(--blue); }

/* shield secondary link in hero */
.bl-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 15px/1 var(--font-body); color: var(--navy); text-decoration: none;
}
.bl-secondary svg { width: 17px; height: 17px; color: var(--green); }
.bl-secondary u { text-underline-offset: 3px; text-decoration-thickness: 2px; }
.bl-secondary:hover { color: var(--blue); }
.bl-secondary:hover svg { color: var(--blue); }

/* ---------------------------------------------------------------
   NAV — floating white pill
--------------------------------------------------------------- */
.bl-nav-shell { padding: 22px 24px 0; position: relative; z-index: 30; }
.bl-nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 11px 14px 11px 26px;
  box-shadow: 0 8px 30px -16px rgba(12,30,60,0.22);
}
.bl-nav .left { display: flex; align-items: center; gap: 38px; }
.bl-nav-logo img { height: 22px; display: block; }
.bl-nav-links { display: flex; gap: 28px; }
.bl-nav-links a {
  font: 500 14.5px/1 var(--font-body); color: #43506A; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.18s var(--ease);
}
.bl-nav-links a:hover, .bl-nav-links a.active { color: var(--navy); font-weight: 600; }
.bl-nav .right { display: flex; align-items: center; gap: 8px; }
.bl-new-pill {
  font: 800 9px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: 3px 6px; border-radius: 5px;
}

/* ---------------------------------------------------------------
   MONITOR STRIP — recency hook, just under the nav.
   Light cream pill-strip with a pulsing dot.
--------------------------------------------------------------- */
.bl-monitor-shell { display: flex; justify-content: center; padding: 26px 24px 0; position: relative; z-index: 12; }
.bl-monitor {
  display: inline-flex; align-items: center; gap: 11px; white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  font: 700 11.5px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase;
  color: #43506A;
  box-shadow: var(--shadow-card);
}
.bl-monitor b { color: var(--navy); font-weight: 800; }
.bl-monitor .pulse {
  width: 9px; height: 9px; border-radius: 999px; background: var(--rust); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(194,65,12,0.5);
  animation: blPulse 1.8s var(--ease) infinite;
}
@keyframes blPulse {
  0% { box-shadow: 0 0 0 0 rgba(194,65,12,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(194,65,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(194,65,12,0); }
}
@media (prefers-reduced-motion: reduce) { .bl-monitor .pulse { animation: none; } }

/* ---------------------------------------------------------------
   SHARED section scaffolding
--------------------------------------------------------------- */
.bl-sec { padding: 92px 24px; position: relative; }
.bl-sec.tight { padding: 64px 24px; }
.bl-sec.cream2 { background: var(--cream-2); }
.bl-inner { max-width: 1200px; margin: 0 auto; }
.bl-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 20px;
}
.bl-eyebrow .gdot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.bl-eyebrow .bars { display: inline-flex; flex-direction: column; gap: 2px; }
.bl-eyebrow .bars i { height: 2px; border-radius: 1px; display: block; }
.bl-eyebrow .bars i:nth-child(1){ width: 12px; background: #7CC4FA; }
.bl-eyebrow .bars i:nth-child(2){ width: 18px; background: var(--blue); }
.bl-eyebrow .bars i:nth-child(3){ width: 10px; background: #5660F0; }

.bl-h2 { font: 800 46px/1.04 var(--font-display); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px; }
.bl-lead { font: 400 19px/1.6 var(--font-body); color: var(--body); margin: 0; max-width: 60ch; }
.bl-lead b { color: var(--ink); font-weight: 600; }
.bl-blue { color: var(--blue); }

/* marker highlight (matches the new site's yellow swipe) */
.bl-mark { position: relative; display: inline-block; white-space: nowrap; }
.bl-mark:after {
  content: ""; position: absolute; left: -3px; right: -3px; bottom: 6px;
  height: 38%; z-index: -1; border-radius: 3px;
  background: var(--yellow); transform: rotate(-1deg);
}

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.bl-hero { padding: 46px 24px 78px; position: relative; }
.bl-hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.bl-h1 {
  font: 800 60px/1.0 var(--font-display); letter-spacing: -0.025em; color: var(--ink); margin: 0;
}
.bl-hero .bl-lead { margin-top: 24px; font-size: 19.5px; max-width: 48ch; }
.bl-hero-cta { display: flex; align-items: center; gap: 26px; margin-top: 30px; flex-wrap: wrap; }

/* single-column inline hero (matches the dark page) */
.bl-hero.inline { padding: 50px 24px 80px; }
.bl-hero-inline-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.bl-hero-inline-inner .bl-eyebrow { margin-bottom: 20px; }
.bl-hero-inline-inner .bl-h1 { font-size: 64px; }
.bl-hero-inline-inner .bl-lead { margin: 22px auto 0; max-width: 56ch; font-size: 19.5px; }
.bl-hero-inline-inner .bl-platforms { justify-content: center; margin-top: 26px; }
.bl-hero-inline-inner .bl-shot { margin-top: 46px; max-width: 900px; margin-left: auto; margin-right: auto; }

/* inline form bar */
.bl-inline-wrap { margin: 30px auto 0; max-width: 880px; }
.bl-inline-form {
  display: flex; gap: 10px; align-items: stretch;
  background: var(--white); border: 1px solid var(--border-card);
  border-radius: 16px; padding: 10px; box-shadow: var(--shadow-float);
}
.bl-inline-field { flex: 1 1 0; min-width: 0; position: relative; display: flex; }
.bl-inline-field:first-child { flex: 0.72 1 0; }
.bl-inline-field .bl-input { width: 100%; box-sizing: border-box; }
.bl-inline-field.has-affix .bl-input.affix { padding-left: 78px; }
.bl-inline-field.has-affix .affix-label {
  position: absolute; left: 1px; top: 1px; bottom: 1px;
  display: flex; align-items: center; padding: 0 13px;
  font: 600 14px/1 var(--font-body); color: #A7AEB9;
  border-right: 1px solid #E2DCCD; border-radius: 11px 0 0 11px; background: #F3EFE5;
}
.bl-inline-submit { flex: 0 0 auto; white-space: nowrap; padding-left: 22px; padding-right: 22px; border-radius: 11px; }
.bl-inline-proof {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 16px; flex-wrap: wrap;
}
.bl-inline-proof .txt { font: 500 13px/1.4 var(--font-body); color: var(--body); display: inline-flex; align-items: center; gap: 7px; }
.bl-inline-proof .txt b { color: var(--ink); font-weight: 700; }
.bl-inline-proof .txt svg { width: 14px; height: 14px; color: var(--green); }
.bl-inline-proof .dotsep { width: 4px; height: 4px; border-radius: 999px; background: rgba(12,30,60,0.2); }
.bl-hero-inline-inner .bl-shot { max-width: 900px; margin-left: auto; margin-right: auto; }

/* platform chips */
.bl-platforms { display: flex; align-items: center; gap: 9px; margin-top: 28px; flex-wrap: wrap; }
.bl-platform {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-card); background: var(--white);
  font: 600 13px/1 var(--font-body); color: #43506A;
  box-shadow: var(--shadow-card);
}
.bl-platform svg { flex-shrink: 0; }
.bl-platform .plogo { height: 18px; width: auto; display: block; flex-shrink: 0; object-fit: contain; }

/* dashboard screenshot in window chrome */
.bl-shot { position: relative; }
.bl-screen {
  background: #fff; border-radius: 18px; border: 1px solid var(--border-card);
  padding: 13px; box-shadow: var(--shadow-screen); position: relative;
}
.bl-screen .chrome { display: flex; gap: 7px; padding: 2px 4px 12px; }
.bl-screen .chrome span { width: 11px; height: 11px; border-radius: 999px; background: #2A3550; }
.bl-screen .chrome span:nth-child(1){ background: #EF4444; }
.bl-screen .chrome span:nth-child(2){ background: #FACC15; }
.bl-screen .chrome span:nth-child(3){ background: #22C55E; }
.bl-screen img { display: block; width: 100%; border-radius: 9px; }

/* sticky-note annotations — mint + amber, like the new site */
.bl-sticky {
  position: absolute; z-index: 6;
  background: var(--green-soft); color: #06311C;
  padding: 13px 15px; border-radius: 6px;
  box-shadow: 0 18px 34px -12px rgba(12,30,60,0.34);
  font: 600 13.5px/1.4 var(--font-body); max-width: 210px;
  transform: rotate(-2.4deg);
}
.bl-sticky b { font-weight: 800; }
.bl-sticky .meta { display: block; margin-top: 8px; font: 700 10.5px/1 var(--font-body); letter-spacing: 0.07em; text-transform: uppercase; color: #15803D; }
.bl-sticky.amber { background: #FDEBC8; color: #5A3206; transform: rotate(2deg); }
.bl-sticky.amber .meta { color: #B45309; }

/* ---------------------------------------------------------------
   OPT-IN FORM CARD (light)
--------------------------------------------------------------- */
.bl-form-card {
  background: var(--white); border: 1px solid var(--border-card); border-radius: 22px;
  box-shadow: var(--shadow-float); overflow: hidden; position: relative;
}
.bl-form-head { padding: 24px 26px 18px; }
.bl-form-head .title { font: 800 21px/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.bl-form-head .sub { font: 400 14px/1.45 var(--font-body); color: var(--body); margin-top: 7px; }
.bl-form-body { padding: 6px 26px 24px; }
.bl-form-card > .bl-form-body:first-child { padding-top: 26px; }
.bl-field { margin-bottom: 13px; }
.bl-field label { display: block; font: 600 11.5px/1 var(--font-body); color: #5A6470; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 7px; }
.bl-input {
  width: 100%; box-sizing: border-box; padding: 13px 15px; border-radius: 11px;
  border: 1px solid #E2DCCD; background: #FCFBF7;
  font: 500 15px/1.2 var(--font-body); color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.bl-input::placeholder { color: #A7AEB9; font-weight: 400; }
.bl-input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }
.bl-field.has-affix { position: relative; }
.bl-input.affix { padding-left: 80px; }
.bl-field .affix-label {
  position: absolute; left: 1px; bottom: 1px; top: 25px; display: flex; align-items: center; padding: 0 14px;
  font: 600 14px/1 var(--font-body); color: #A7AEB9; border-right: 1px solid #E2DCCD;
  border-radius: 11px 0 0 11px; background: #F3EFE5;
}
.bl-submit { width: 100%; margin-top: 8px; padding: 16px 22px; font-size: 16px; }
.bl-fineprint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; font: 500 12.5px/1.4 var(--font-body); color: var(--body-2); }
.bl-fineprint svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.bl-form-proof { display: flex; align-items: center; gap: 12px; padding: 15px 26px; background: var(--cream-3); border-top: 1px solid var(--border-card); }
.bl-form-proof .txt { font: 500 12.5px/1.45 var(--font-body); color: var(--body); }
.bl-form-proof .txt b { color: var(--ink); font-weight: 700; }

/* avatars */
.bl-avatars { display: flex; align-items: center; }
.bl-avatars .av {
  width: 34px; height: 34px; border-radius: 999px; border: 2px solid var(--white); margin-left: -10px;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 12px/1 var(--font-body); color: var(--navy); position: relative; overflow: hidden;
}
.bl-avatars .av:first-child { margin-left: 0; }
.bl-avatars .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }

/* ---------------------------------------------------------------
   STATS strip
--------------------------------------------------------------- */
.bl-stats { display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: wrap; }
.bl-stat { padding: 0 44px; text-align: center; position: relative; }
.bl-stat + .bl-stat:before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border-1); }
.bl-stat .n { font: 800 46px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.bl-stat .l { font: 500 13.5px/1.4 var(--font-body); color: var(--body); margin-top: 8px; }

/* ---------------------------------------------------------------
   CARDS — "what the Detector checks"
--------------------------------------------------------------- */
.bl-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.bl-card { background: var(--white); border: 1px solid var(--border-card); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-card); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.bl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.bl-card .icn { width: 48px; height: 48px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.bl-card .icn svg { width: 23px; height: 23px; }
.bl-card h3 { font: 800 21px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); margin: 0 0 9px; }
.bl-card p { font: 400 15px/1.6 var(--font-body); color: var(--body); margin: 0; }
.bl-card p b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------
   FINAL CTA
--------------------------------------------------------------- */
.bl-final { padding: 100px 24px; text-align: center; position: relative; }
.bl-final .mark { height: 44px; margin-bottom: 26px; }
.bl-final h2 { font: 800 64px/1.0 var(--font-display); letter-spacing: -0.03em; color: var(--ink); margin: 0 auto 18px; max-width: 16ch; }
.bl-final .bl-lead { margin: 0 auto 36px; text-align: center; max-width: 52ch; }
.bl-final-form { max-width: 460px; margin: 0 auto; }

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.bl-footer { background: var(--navy); color: #93A4C2; padding: 44px 24px; }
.bl-footer .row { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bl-footer img { height: 22px; }
.bl-footer .tag { font: 500 13px/1.5 var(--font-body); color: #93A4C2; }
.bl-footer .tag b { color: #fff; font-weight: 600; }
.bl-footer .links { display: flex; gap: 22px; }
.bl-footer .links a { font: 500 13px/1 var(--font-body); color: #93A4C2; text-decoration: none; }
.bl-footer .links a:hover { color: #fff; }

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 980px) {
  .bl-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .bl-h1 { font-size: 46px; }
  .bl-hero-inline-inner .bl-h1 { font-size: 44px; }
  .bl-h2 { font-size: 36px; }
  .bl-cards { grid-template-columns: 1fr; }
  .bl-nav-links { display: none; }
  .bl-final h2 { font-size: 46px; }
  .bl-stat { padding: 14px 28px; }
  .bl-stat + .bl-stat:before { display: none; }
}
@media (max-width: 760px) {
  .bl-inline-form { flex-direction: column; }
  .bl-inline-submit { width: 100%; justify-content: center; }
}
@media (max-width: 550px) {
  .bl-inline-proof { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .bl-inline-proof .dotsep { display: none; }
}
@media (max-width: 600px) {
  .bl-inline-proof .txt { display: block; }
  .bl-shot .bl-sticky {
    position: relative !important;
    width: 100% !important; max-width: none !important;
    left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
    transform: none !important;
    margin: 0 0 12px !important;
    box-sizing: border-box;
  }
}
