/* Bigrise shared stylesheet.
 * Extracted 30 July 2026 from the 11 inline <style> blocks, which were
 * eleven diverging copies of the same nav, footer and base layer.
 * Page-specific CSS stays in each page's own <style> block, which is
 * emitted after this file and therefore still wins the cascade.
 */

* {
  margin: 0; padding: 0; box-sizing: border-box;
}
*::before {
  margin: 0; padding: 0; box-sizing: border-box;
}
*::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
:root {
  /* layout widths: the site previously used 680/720/1000/1100/1260px
     ad hoc, which is how the homepage services block drifted 190px out
     of line with everything else. Named here so it stays deliberate. */
  --w-nav: 1260px;
  --w-page: 1100px;
  --w-prose: 720px;
  --w-form: 620px;

  --accent: #2563eb;
  --accent-border: #bfdbfe;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff4ff;
  --amber: #d97706;
  --amber-border: #fde68a;
  --amber-soft: #fffbeb;
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --bg-warm: #f3f1ed;
  --border: #e5e3df;
  --green: #059669;
  --green-border: #a7f3d0;
  --green-soft: #ecfdf5;
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --ink-muted: #737373;
  --radius: 8px;
  --radius-lg: 12px;
  --red: #dc2626;
  --red-border: #fecaca;
  --red-soft: #fef2f2;
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
}
html {
  scroll-behavior: smooth; font-size: 17px;
}
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: var(--w-nav); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  height: 58px;
}
.nav-brand {
  text-decoration: none; display: flex; align-items: center; flex-shrink: 0;
}
.nav-logo {
  width: 400px; height: auto;
}

@media (max-width: 768px) {
  .nav-logo {
    width: 330px;
  }
}
.nav-links {
  display: flex; align-items: center; gap: 0.15rem; white-space: nowrap;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--ink-muted);
  font-size: 0.82rem; font-weight: 500;
  padding: 0.4rem 0.6rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink); background: var(--bg-warm);
}
.nav-links a.active {
  color: var(--accent);
}
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 0.4rem 1rem !important; border-radius: 6px !important;
  font-weight: 500 !important; transition: background 0.2s !important;
  margin-left: 0.4rem;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
}
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none; position: absolute;
    top: 58px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.7rem 1rem; width: 100%;
  }
  .nav-cta {
    margin-left: 0 !important; margin-top: 0.5rem; text-align: center;
  }
}
.page-header {
  padding: 7.5rem 2rem 2rem;
  max-width: var(--w-prose); margin: 0 auto;
  text-align: center;
}
.page-header-eyebrow {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72rem; font-weight: 500;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.page-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 0.8rem;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem; text-align: center;
  font-size: 0.78rem; color: var(--ink-muted);
}
.footer-links {
  display: flex; justify-content: center; gap: 1.5rem;
  margin-bottom: 0.8rem; list-style: none; flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-muted); text-decoration: none;
  font-size: 0.78rem; transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  .page-header {
    padding: 6.5rem 1.2rem 1.5rem;
  }
}

/* Buttons.
   Shared once readiness.html needed them too; previously these lived
   only in the homepage inline block, so the quiz CTA rendered as a
   plain link. */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: #fff;
  padding: 0.75rem 1.6rem; border-radius: 6px;
  text-decoration: none; font-size: 0.9rem;
  font-weight: 600; transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--ink);
  padding: 0.75rem 1.6rem; border-radius: 6px;
  text-decoration: none; font-size: 0.9rem;
  font-weight: 500; border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
