/* BrightDocs marketing site — shared styles */
:root {
  --brand: #035d99;
  --brand-dark: #024a7a;
  --text: #1f2937;
  --text-light: #555;
  --border: #e5e7eb;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { max-width: 1224px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.pad { padding: 8px 16px 48px; }
.hidden { display: none; }

/* sticky offer bar */
.top-sticky { position: sticky; top: 0; z-index: 60; }
.sticky-bar {
  background: #fff; min-height: 40px;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 16px; text-align: center;
}
.sticky-bar p { margin: 0; font-size: 14px; color: #1a1a1a; }
.sticky-bar a { color: inherit; }

/* header */
.site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 39px;
  min-height: 102px;
}
.logo { display: inline-flex; line-height: 0; }
.logo img { width: 238px; height: auto; }
.site-nav { display: flex; gap: 29px; }
.site-nav a {
  font-family: var(--font-secondary); font-size: 16px; color: #000;
  text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: #000; }
.site-nav a[aria-current="page"] { border-bottom-color: #000; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #000; margin: 5px 0; }

/* hero (builder sections) */
.hero {
  background: #fff;
  padding: 64px 16px;
  text-align: center;
}
.hero-gradient { background: linear-gradient(165deg, rgb(240,247,253) 0%, #fff 100%); padding: 96px 16px; }

.hero-inner { max-width: 1018px; }
.hero h1, .hero h3 {
  font-family: var(--font-primary); font-weight: 500; font-size: 48px; line-height: 1.3;
  color: var(--brand); margin: 0 0 16px;
}
.hero h1 span, .hero h3 span { color: var(--brand) !important; }
.hero-white h1 { font-size: 36px; font-weight: 700; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-white .body-large { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-white .btn { margin-top: 28px; }
.hero p { margin: 0 0 1em; }
.hero p:last-of-type { margin-bottom: 0; }
.hero .body-large, .body-large { font-size: 18px; line-height: 1.5; }
.hero-inner .body-large { max-width: 503px; margin-left: auto; margin-right: auto; }
.hero-inner p + p { margin-top: 0; }
.hero-inner .btn { margin-top: 32px; }
.hero .body { font-size: 16px; }
.btn {
  display: inline-block; background: #000; color: #fff; text-decoration: none;
  font-family: var(--font-secondary); font-weight: 500; font-size: 16px;
  padding: 16px 40px; border-radius: 28px; border: 0; cursor: pointer; line-height: 1.5;
  transition: background .2s ease;
}
.btn:hover { background: #222; }

/* demo form */
.hero-form { padding: 52px 16px 56px; }
.hero-form h3 { margin-bottom: 20px; }
.demo-form {
  max-width: 606px; margin: 36px auto 40px; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px;
}
.demo-form .field { display: flex; flex-direction: column; gap: 6px; }
.demo-form label { font-size: 14px; color: #000; }
.demo-form input {
  font: inherit; font-size: 16px; color: #000; background: #fff;
  border: 1px solid rgb(184,192,204); border-radius: 10px; padding: 12px 14px;
}
.demo-form input:focus { outline: none; border-color: #000; }
.demo-form .btn { grid-column: 1 / -1; justify-self: center; width: auto; }

/* text-only pages (privacy policy) */
.prose { padding: 48px 0 64px; }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-primary); font-weight: 500; color: var(--brand); }
.prose h1 { font-size: 36px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose p, .prose li { font-size: 16px; line-height: 1.6; }

/* embedded sections — each behaves like the stand-alone page it was written as */
.embed {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6; color: var(--text); background: #fff;
  padding: 16px 0;
}

@media (max-width: 920px) {
  .header-inner { min-height: 80px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { width: 156px; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .hero { padding: 64px 16px; }
  .hero h1, .hero h3 { font-size: 40px; }
  .demo-form { grid-template-columns: 1fr; }
  .demo-form .btn { width: 100%; }
}
@media (max-width: 480px) {
  .hero h1, .hero h3 { font-size: 32px; }
}

/* page and section titles in brand blue */
.embed .page-hero h1, .embed .hero-section h1,
.embed .section-header h2, .embed .content-section > .container > h2,
.embed .cta-section h2, .embed .opportunity-header h2, .embed .bd-case-heading { color: var(--brand); }

/* ---- footer ---- */
.e-footer .site-footer{background: #1f2937;
        color: white;
        padding: 48px 0 32px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;}
.e-footer .footer-grid{max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 60px;
        align-items: start;}
.e-footer .footer-brand img{height: 56px;
        width: auto;
        margin-bottom: 12px;}
.e-footer .footer-brand .tagline{font-size: 0.95em;
        color: rgba(255,255,255,0.6);
        line-height: 1.6;
        margin-bottom: 16px;
        max-width: 320px;}
.e-footer .footer-email a{color: rgba(255,255,255,0.8);
        text-decoration: none;
        font-size: 0.95em;
        transition: color 0.2s;}
.e-footer .footer-email a:hover{color: white;}
.e-footer .footer-right{display: flex;
        justify-content: flex-end;}
.e-footer .footer-nav{list-style: none;
        padding: 0;
        margin: 0;}
.e-footer .footer-nav li{margin-bottom: 10px;}
.e-footer .footer-nav a{color: rgba(255,255,255,0.6);
        text-decoration: none;
        font-size: 0.9em;
        transition: color 0.2s;}
.e-footer .footer-nav a:hover{color: white;}
.e-footer .footer-bottom{max-width: 1200px;
        margin: 0 auto;
        padding: 24px 24px 0;
        margin-top: 32px;
        border-top: 1px solid rgba(255,255,255,0.1);
        font-size: 0.8em;
        color: rgba(255,255,255,0.4);}
@media (max-width: 600px){.e-footer .footer-grid{grid-template-columns: 1fr;
            gap: 32px;}
.e-footer .footer-right{justify-content: flex-start;}}
