/* ==========================================================================
   BizBright — Shared Stylesheet
   Palette: Bright Blue #1E88E5 · Sunshine Yellow #FFC928 · Fresh Green #34B26B
            Deep Navy #12355B · White #FFFFFF · Soft Gray #F4F6FA
   Type:    Bricolage Grotesque (display) · Inter (body)
   ========================================================================== */

:root {
  --blue: #1e88e5;
  --blue-dark: #1668b3;
  --blue-tint: #e6f2fd;
  --yellow: #ffc928;
  --yellow-tint: #fff4d6;
  --green: #34b26b;
  --green-tint: #e3f6ec;
  --navy: #12355b;
  --ink: #24344a;
  --muted: #5b6b80;
  --gray: #f4f6fa;
  --line: #e3e9f2;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(18, 53, 91, 0.10);
  --shadow-lift: 0 14px 34px rgba(18, 53, 91, 0.16);
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p  { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 760px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section.alt { background: var(--gray); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.eyebrow.sun { color: #9a6b00; background: var(--yellow-tint); }
.eyebrow.grow { color: #1c7a48; background: var(--green-tint); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { color: var(--white); }

/* ============================ Header ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
}
.brand span { color: var(--blue); }
.brand svg { width: 38px; height: 38px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { background: var(--blue-tint); color: var(--blue-dark); }
.nav-links a.active { background: var(--navy); color: var(--white); }
.nav-links a.nav-cta { background: var(--yellow); color: var(--navy); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}

/* ============================ Hero ============================ */
.hero {
  background:
    radial-gradient(720px 380px at 88% -10%, rgba(255, 201, 40, 0.35), transparent 60%),
    radial-gradient(640px 400px at -8% 110%, rgba(52, 178, 107, 0.18), transparent 55%),
    linear-gradient(160deg, var(--blue-tint), var(--white) 65%);
  padding: 74px 0 60px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.hero h1 .hl { color: var(--blue); }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art { position: relative; }
.page-hero { padding: 58px 0 46px; }

/* ============================ Cards ============================ */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 2px 8px rgba(18, 53, 91, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  font-size: 26px;
  margin-bottom: 16px;
}
.icon.blue { background: var(--blue-tint); }
.icon.sun { background: var(--yellow-tint); }
.icon.grow { background: var(--green-tint); }
.icon.navy { background: #e5eaf1; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 8px; }
.card .card-link { font-weight: 700; font-size: 15px; text-decoration: none; }
.card.feature { border-top: 6px solid var(--blue); }
.card.feature.sun-top { border-top-color: var(--yellow); }
.card.feature.grow-top { border-top-color: var(--green); }
.card.feature.navy-top { border-top-color: var(--navy); }

a.cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
a.cat-card .dot { font-size: 20px; }

/* Resource rows */
.resource-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.resource-block h3 { display: flex; align-items: center; gap: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 4px; }
.chip {
  display: inline-block;
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.chip:hover { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-dark); }
.best-for { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.best-for strong { color: var(--green); }

/* Blog cards */
.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.post-thumb { height: 120px; display: grid; place-items: center; font-size: 42px; }
.post-thumb.t1 { background: linear-gradient(135deg, var(--blue-tint), #cfe6fb); }
.post-thumb.t2 { background: linear-gradient(135deg, var(--yellow-tint), #ffe49a); }
.post-thumb.t3 { background: linear-gradient(135deg, var(--green-tint), #c4ecd6); }
.post-body { padding: 22px; }
.post-tag { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--blue); }

/* Checklist */
ul.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
ul.checklist li { padding: 9px 0 9px 34px; position: relative; border-bottom: 1px dashed var(--line); }
ul.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  display: grid; place-items: center;
}

/* Steps */
.step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-num {
  flex: 0 0 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin-bottom: 6px; }

/* ============================ Forms ============================ */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.field input[type="text"], .field input[type="email"], .field input[type="url"],
.field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.form-success {
  display: none;
  background: var(--green-tint);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 18px;
  font-weight: 600;
  color: #1c5c39;
}

/* Newsletter band */
.news-band {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 38px;
  color: var(--white);
  background-image: radial-gradient(420px 220px at 92% 0%, rgba(255, 201, 40, 0.25), transparent 60%);
}
.news-band h2 { color: var(--white); }
.news-band p { color: #c6d4e4; max-width: 620px; }
.news-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.news-form input[type="email"] {
  flex: 1 1 260px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 16px;
  font-family: var(--font-body);
}

/* ============================ Scorecard ============================ */
.scorecard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
  max-width: 860px;
}
.scorecard .bb-question { padding: 15px 0; border-bottom: 1px solid var(--line); }
.scorecard .bb-question p { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.scorecard label { display: inline-flex; align-items: center; gap: 7px; margin-right: 20px; font-size: 16px; cursor: pointer; }
.scorecard input[type="radio"] { accent-color: var(--blue); width: 18px; height: 18px; }
.bb-progress { height: 10px; background: var(--gray); border-radius: 999px; margin: 18px 0 6px; overflow: hidden; }
.bb-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 999px; transition: width 0.3s ease; }
.bb-progress-label { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.bb-result {
  display: none;
  margin-top: 26px;
  padding: 26px;
  border-radius: 18px;
  background: var(--blue-tint);
  border-left: 6px solid var(--blue);
}
.bb-result h3 { font-size: 26px; }
.bb-result ul { margin: 8px 0 16px; padding-left: 22px; }
.bb-result li { margin-bottom: 6px; }
.bb-score-dial { font-family: var(--font-display); font-size: 44px; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.bb-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Mini tools */
.tool-output {
  display: none;
  margin-top: 16px;
  background: var(--yellow-tint);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green), #2a9459);
  border-radius: var(--radius);
  color: var(--white);
  padding: 42px 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: #dff5e9; margin: 0; max-width: 560px; }

/* ============================ Footer ============================ */
.site-footer { background: var(--navy); color: #b9c8da; padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b9c8da; text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--white); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand span { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 40px; padding-top: 22px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ============================ Responsive ============================ */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .scorecard { padding: 24px 18px; }
  .news-band, .cta-banner { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
