/* ============================================================
   LeveragePoint Development — Legal Forms of Business
   strategic-planning.org  |  Dr. Jennifer R. Madden, PhD
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand palette — from strategic-planning.org */
  --navy:      #1B3A6B;
  --navy-dark: #142d54;
  --navy-lt:   #2a4f8a;
  --orange:    #EFA201;
  --orange-dk: #d48e00;
  --orange-lt: #fdf0cc;
  --cream:     #fdf4e0;
  --cream-dk:  #f5ede0;
  --charcoal:  #34322D;
  --gray-dk:   #5e5e5b;
  --gray-md:   #858481;
  --gray-lt:   #e8e8e8;
  --white:     #ffffff;
  --off-white: #f8f8f7;

  /* Semantic */
  --text:      var(--charcoal);
  --muted:     var(--gray-dk);
  --border:    #ddd9d0;
  --danger:    #b91c1c;
  --success:   #15803d;
  --warn-bg:   #fffbeb;
  --warn-bd:   #f59e0b;

  --radius:    6px;
  --radius-lg: 10px;
  --shadow:    0 2px 12px rgba(27,58,107,.08);
  --shadow-md: 0 4px 20px rgba(27,58,107,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-lt);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(27,58,107,.08);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .brand-main {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand-text .brand-sub {
  font-size: .7rem;
  color: var(--gray-md);
  letter-spacing: .03em;
}

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: .15rem;
  align-items: center;
}

nav a {
  display: block;
  padding: .45rem .7rem;
  color: var(--charcoal);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  background: var(--orange-lt);
  color: var(--navy);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: .45rem 1rem !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .65rem; opacity: .7; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-lg);
  min-width: 230px;
  box-shadow: var(--shadow-md);
  z-index: 200;
  overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  padding: .6rem 1.1rem;
  border-radius: 0;
  border-bottom: 1px solid var(--gray-lt);
  font-size: .82rem;
  color: var(--charcoal);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--orange-lt); color: var(--navy); }

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5.5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
  opacity: .6;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: opacity .2s, transform .15s, background .15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: var(--orange-dk); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-inner { max-width: 960px; margin: 0 auto; position: relative; }

.breadcrumb {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .85rem;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .65rem;
  color: var(--white);
}

.page-hero .subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 660px;
}

/* ── SECTION LABEL ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--orange);
  opacity: .5;
}

/* ── MAIN ── */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ── SECTION TITLE ── */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ── CONTENT CARDS ── */
.content-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.content-section h3 {
  font-size: .72rem;
  font-weight: 700;
  color: var(--orange-dk);
  margin: 1.4rem 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.content-section p {
  margin-bottom: .75rem;
  font-size: .95rem;
  color: var(--charcoal);
}

.content-section ul {
  list-style: none;
  margin: .25rem 0 .5rem;
}

.content-section ul li {
  padding: .3rem 0 .3rem 1.5rem;
  position: relative;
  font-size: .93rem;
  color: var(--charcoal);
}

.content-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: .8rem;
  top: .45rem;
}

.content-section ul.sub-list { margin-left: 1rem; }
.content-section ul.sub-list li::before { color: var(--gray-md); }

/* ── BADGE LABELS ── */
.badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 4px;
  margin-bottom: .85rem;
}
.badge-navy    { background: var(--navy); color: var(--white); }
.badge-orange  { background: var(--orange); color: var(--navy); }
.badge-cream   { background: var(--cream); color: var(--navy); border: 1px solid var(--border); }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger  { background: #fee2e2; color: var(--danger); }

/* ── CALLOUT BOXES ── */
.callout {
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: .9rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.callout-icon { font-size: 1.05rem; flex-shrink: 0; margin-top: .1rem; }
.callout.info    { background: #eff6ff; border-left: 4px solid #3b82f6; }
.callout.warn    { background: var(--warn-bg); border-left: 4px solid var(--warn-bd); }
.callout.danger  { background: #fee2e2; border-left: 4px solid var(--danger); }
.callout.success { background: #dcfce7; border-left: 4px solid var(--success); }
.callout.action  { background: var(--orange-lt); border-left: 4px solid var(--orange); }
.callout strong  { display: block; margin-bottom: .2rem; color: var(--navy); }

/* ── TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--orange-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.card p {
  font-size: .88rem;
  color: var(--muted);
  flex: 1;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--orange-dk);
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ── OUTCOMES LIST ── */
.outcomes-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.outcomes-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem 1rem 3.5rem;
  position: relative;
  font-size: .93rem;
  box-shadow: var(--shadow);
}
.outcomes-list li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 26px;
  height: 26px;
  background: var(--orange);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
}
@media (max-width: 600px) { .outcomes-list { grid-template-columns: 1fr; } }

/* ── STRUCTURE ITEMS ── */
.structures-group h3 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-md);
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}
.structure-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal);
  transition: background .15s;
  margin-bottom: .2rem;
}
.structure-item:hover { background: var(--orange-lt); }
.s-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.s-dot.navy   { background: var(--navy); }
.s-dot.orange { background: var(--orange); }
.s-dot.green  { background: #15803d; }
.s-dot.gray   { background: var(--gray-md); }

.structure-item .s-name { font-weight: 600; font-size: .93rem; flex: 1; }
.structure-item .s-tag  { font-size: .7rem; color: var(--gray-md); }

.faith-badge {
  font-size: .68rem;
  font-weight: 700;
  background: var(--orange-lt);
  color: var(--orange-dk);
  border: 1px solid rgba(239,162,1,.3);
  padding: .15rem .5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── DECISION TABLE ── */
.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-top: 1rem;
}
.decision-table th {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.decision-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.decision-table tr:last-child td { border-bottom: none; }
.decision-table tr:nth-child(even) td { background: var(--off-white); }
.decision-table tr:hover td { background: var(--orange-lt); }
.decision-table td:last-child a { color: var(--navy); font-weight: 600; }
.decision-table td strong { color: var(--navy); }

/* ── FOUR QUESTIONS ── */
.questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.question-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}
.q-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.q-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  text-transform: none;
  letter-spacing: 0;
}
.q-body p { font-size: .87rem; color: var(--muted); }
@media (max-width: 680px) { .questions-grid { grid-template-columns: 1fr; } }

/* ── CREAM SECTION ── */
.cream-section {
  background: var(--cream);
  padding: 4rem 2rem;
  margin: 0;
}
.cream-section-inner { max-width: 1120px; margin: 0 auto; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 3rem 2rem 2rem;
  margin-top: 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer-brand-block .footer-logo { height: 44px; width: auto; margin-bottom: .5rem; }
.footer-brand-block p { font-size: .8rem; color: rgba(255,255,255,.5); max-width: 240px; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .82rem;
  transition: color .15s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
}
.footer-bottom a { color: var(--orange); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-lt);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  nav a { font-size: .9rem; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    border-radius: var(--radius);
    margin-top: .25rem;
  }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  header { position: relative; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  main { padding: 2rem 1rem 3rem; }
  .content-section { padding: 1.5rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .page-hero { padding: 2.5rem 1.25rem 2rem; }
  .cream-section { padding: 3rem 1.25rem; }
}
