/* ============================================
   Build to Multiply — style.css
   ============================================ */

:root {
  --white: #ffffff;
  --navy: #071A2F;
  --blue: #0066B1;
  --light-gray: #F5F7FA;
  --medium-gray: #6B7280;
  --black: #111827;
  --font: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1140px;
  --header-height: 72px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  font-size: 0.938rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #005299;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

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

.btn-white:hover {
  background: var(--light-gray);
  text-decoration: none;
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: var(--white);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 24px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}

.section-gray {
  background: var(--light-gray);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2 {
  color: var(--white);
}

.section-navy p {
  color: #c9d1d9;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--medium-gray);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ---- PROBLEM SECTION ---- */
.problem-copy {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.problem-copy p {
  font-size: 1.0625rem;
  color: var(--medium-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.problem-copy .emphasis {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---- FRAMEWORK / PILLARS ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.pillar-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ---- SCORECARD CTA SECTION ---- */
.scorecard-cta {
  text-align: center;
}

.scorecard-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--medium-gray);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ---- NEWSLETTER SECTION ---- */
.newsletter {
  text-align: center;
}

.newsletter h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.newsletter p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.938rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--blue);
}

.newsletter-form button {
  font-family: var(--font);
}

/* ---- FINAL CTA ---- */
.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  margin-bottom: 32px;
  color: #c9d1d9;
  font-size: 1.0625rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 64px 0;
  text-align: center;
  background: var(--light-gray);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- CONTENT BLOCK ---- */
.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
}

.content-block p {
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-block ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-block ul li {
  color: var(--medium-gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- EMBED PLACEHOLDER ---- */
.embed-placeholder {
  background: var(--light-gray);
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 60px 24px;
  text-align: center;
  color: var(--medium-gray);
  font-size: 0.938rem;
  margin: 32px 0;
}

/* ---- RESOURCE CARDS ---- */
.resources-section {
  margin-bottom: 56px;
}

.resources-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.resource-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.resource-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.938rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.contact-info {
  margin-top: 48px;
  text-align: center;
}

.contact-info p {
  color: var(--medium-gray);
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-info a {
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.938rem;
}

.social-links a:hover {
  color: var(--blue);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: #9ca3af;
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-nav h4,
.footer-connect h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-connect a {
  color: #9ca3af;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-connect a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: #6b7280;
}

.footer-bottom p {
  margin-bottom: 6px;
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .pillars-grid .pillar-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- FOUNDER BLOCK ---- */
.founder-block { display: flex; gap: 40px; align-items: flex-start; margin-top: 24px; }
.founder-photo { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.founder-photo-placeholder { width: 180px; height: 180px; border-radius: 12px; flex-shrink: 0; background: var(--light-gray); border: 2px dashed #d1d5db; display: flex; align-items: center; justify-content: center; }
.founder-photo-placeholder span { font-size: 2rem; font-weight: 700; color: var(--medium-gray); letter-spacing: 0.05em; }
.founder-bio p { margin-bottom: 16px; }
@media (max-width: 600px) {
  .founder-block { flex-direction: column; }
  .founder-photo { width: 100%; height: 240px; }
}

/* ---- SCORECARD QUIZ ---- */
#scorecard { max-width: 720px; margin: 0 auto; }
.sc-card { background: var(--white); border: 1px solid #e5e7eb; border-radius: 12px; padding: 48px 40px; }
.sc-label { font-size: 0.813rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 16px; }
.sc-card h2 { font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.3; }
.sc-card > p { color: var(--medium-gray); font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.sc-intro-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.sc-intro-list li { background: var(--light-gray); color: var(--navy); font-size: 0.875rem; font-weight: 600; padding: 6px 16px; border-radius: 100px; }
.sc-btn { width: 100%; padding: 16px; font-size: 1rem; }
.sc-progress-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.sc-progress-bar { flex: 1; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.sc-progress-fill { height: 100%; background: var(--blue); border-radius: 3px; transition: width 0.3s ease; }
.sc-progress-text { font-size: 0.813rem; color: var(--medium-gray); white-space: nowrap; }
.sc-pillar-label { font-size: 0.813rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); margin-bottom: 12px; }
.sc-question-text { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.4; }
.sc-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.sc-option { text-align: left; padding: 16px 20px; border: 2px solid #e5e7eb; border-radius: 8px; background: var(--white); font-size: 0.938rem; color: var(--black); font-family: var(--font); cursor: pointer; transition: border-color 0.15s, background 0.15s; line-height: 1.5; }
.sc-option:hover { border-color: var(--blue); }
.sc-option.selected { border-color: var(--blue); background: #f0f7ff; color: var(--navy); font-weight: 600; }
.sc-score-display { text-align: center; margin: 24px 0; }
.sc-score-number { font-size: 5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.sc-score-max { font-size: 1.5rem; color: var(--medium-gray); margin-left: 8px; }
.sc-stage-badge { display: block; color: var(--white); font-size: 0.875rem; font-weight: 700; padding: 8px 20px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 auto 20px; text-align: center; width: fit-content; }
.sc-stage-desc { color: var(--medium-gray); font-size: 1rem; line-height: 1.7; margin-bottom: 40px; text-align: center; }
.sc-pillar-results { margin-bottom: 40px; }
.sc-pillar-results h3 { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.sc-pillar-row { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 16px; margin-bottom: 14px; }
.sc-pillar-name { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.sc-pillar-bar-wrap { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.sc-pillar-bar-fill { height: 100%; background: var(--blue); border-radius: 4px; transition: width 0.6s ease; }
.sc-pillar-score { font-size: 0.813rem; color: var(--medium-gray); text-align: right; }
.sc-results-cta { border-top: 1px solid #e5e7eb; padding-top: 32px; text-align: center; }
.sc-results-cta h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.sc-results-cta p { color: var(--medium-gray); margin-bottom: 24px; line-height: 1.7; }

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.375rem;
  }

  .page-hero h1 {
    font-size: 1.625rem;
  }

  .sc-card {
    padding: 32px 20px;
  }
}

/* ---- ACTIVE NAV ---- */
.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
}

/* ---- MOBILE MENU X ANIMATION ---- */
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue);
}

/* ---- WHO THIS IS FOR (homepage) ---- */
.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.for-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.for-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}
.for-card p {
  font-size: 0.938rem;
  color: var(--medium-gray);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .for-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

/* ---- RESOURCE CATEGORY BADGES ---- */
.resource-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.resource-badge--book      { background: #eff6ff; color: #1d4ed8; }
.resource-badge--tool      { background: #f0fdf4; color: #15803d; }
.resource-badge--framework { background: #fef3c7; color: #b45309; }
.resource-badge--principle { background: #fdf4ff; color: #7e22ce; }

/* ---- CONTACT FORM SELECT ---- */
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.938rem;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select:focus {
  border-color: var(--blue);
}

/* ---- 404 PAGE ---- */
.not-found {
  text-align: center;
  padding: 100px 0;
  min-height: calc(100vh - var(--header-height) - 280px);
  display: flex;
  align-items: center;
}
.not-found-inner {
  max-width: 480px;
  margin: 0 auto;
}
.not-found-number {
  font-size: 7rem;
  font-weight: 800;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 8px;
  -webkit-text-stroke: 2px #e5e7eb;
}
.not-found h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.not-found p {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 40px;
}
.not-found-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FADE-UP ANIMATION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
