/* Childhood Matters — low-fi wireframe prototype
   Visual language pulled from Figma (grey-box wireframe kit):
   white canvas, #ccc hairline borders, #eee grey-box sections,
   #333 dark UI elements, orange TBD callouts. */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  min-height: 100vh;
}

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

img.placeholder-box {
  display: block;
  background: #eee;
}

/* ---------- Header / primary nav — §1.1 ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}

.logo-box {
  background: #eee;
  width: 120px;
  height: 36px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
}

.primary-nav > li { position: relative; list-style: none; }
.primary-nav { display: flex; padding: 0; margin: 0; }

.primary-nav a, .primary-nav button.nav-toggle {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.primary-nav a.active { font-weight: 600; }

.cta-button {
  background: #333;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
}

/* Dropdown menus — §1.1 */
.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 16px 20px;
  min-width: 225px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.primary-nav li.dropdown-open .dropdown-panel { display: block; }

.dropdown-panel .dropdown-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.dropdown-panel a {
  display: block;
  font-size: 13px;
  color: #333;
  padding: 6px 0;
}

.dropdown-panel a:hover { text-decoration: underline; }

/* ---------- Generic section rhythm ---------- */

section { padding: 80px; }
section.grey { background: #eee; padding: 60px 80px; }
section.tight { padding: 60px 80px; }

h1.page-h1 { font-size: 48px; font-weight: 700; color: #333; margin: 0 0 24px; }
h2.section-h2 { font-size: 32px; font-weight: 600; color: #333; margin: 0 0 24px; }
h3.card-h3 { font-size: 18px; font-weight: 600; color: #333; margin: 0 0 8px; }
p.body-copy { font-size: 16px; color: #666; line-height: 1.6; margin: 0 0 24px; max-width: 900px; }
p.small-copy { font-size: 13px; color: #666; line-height: 1.6; }
span.section-ref { color: #999; font-weight: 400; }

/* ---------- Buttons / CTAs ---------- */

.btn-dark {
  background: #333;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-block;
}

.btn-dark.large { font-size: 16px; font-weight: 700; padding: 18px 36px; }

.button-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- TBD / coming-soon callouts ---------- */

.tbd-callout {
  background: #fff0d9;
  border: 2px solid #d90000;
  color: #d90000;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 4px;
  display: block;
  margin-bottom: 16px;
}

.coming-soon-banner {
  background: #f4f4f4;
  border: 1px dashed #999;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 24px;
}

/* ---------- Founder / testimonial quote ---------- */

blockquote.quote {
  font-size: 20px;
  color: #333;
  margin: 0 0 16px;
  font-style: normal;
}

p.quote-attribution { font-size: 14px; font-weight: 600; color: #666; margin: 0; }

/* ---------- Placeholder components (Google Doc / Calendly / payment) ---------- */

.placeholder-embed {
  background: #f4f4f4;
  border: 1px dashed #999;
  color: #666;
  font-size: 13px;
  padding: 40px 24px;
  text-align: center;
  border-radius: 4px;
}

/* ---------- Footer — TBD content per Figma ---------- */

.site-footer {
  background: #eee;
  padding: 40px 80px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  background: #fff;
  flex: 1 0 0;
  min-width: 200px;
  padding: 16px;
  border-radius: 4px;
}

.footer-col h4 { font-size: 12px; font-weight: 600; color: #333; margin: 0 0 6px; }
.footer-col p { font-size: 11px; color: #666; margin: 0 0 6px; }

.footer-tbd-note {
  width: 100%;
  font-size: 11px;
  color: #8c4d00;
  background: #fff0d9;
  border: 1px solid #e58c1a;
  border-radius: 3px;
  padding: 6px 10px;
  margin-top: 16px;
}
