/* MindFormFunction — house styles
   Palette: warm, calm, editorial. Matches the original brand look —
   cream backgrounds, serif headlines, terracotta accent, soft photography. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
  --bg: #faf3ec;
  --bg-alt: #f2e7d9;
  --text: #2e2a26;
  --text-muted: #6f6459;
  --accent: #c08457;
  --accent-dark: #a66b42;
  --accent-soft: #a69485;
  --border: #e4d5c3;
  --max-width: 960px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .brand { font-family: var(--font-serif); font-weight: 600; }

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand span { color: var(--accent); font-style: italic; }

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.primary-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.primary-nav a:hover { color: var(--accent-dark); }

/* Mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page banner — full-width photo strip under the header, above the title */
.page-banner {
  height: 260px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero.photo-hero {
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,243,236,0.35) 0%, rgba(250,243,236,0.85) 78%, var(--bg) 100%);
}
.hero.photo-hero .wrap { position: relative; z-index: 1; }

.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.framework {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--accent-dark);
  margin-bottom: 28px;
}
.framework span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--border);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}
.btn.secondary:hover { background: var(--bg-alt); }

/* Value props / cards */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 64px;
}
.value-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
}
.value-card h3 { margin-top: 0; font-size: 1.15rem; }
.value-card p { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.85rem; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-top: 0; margin-bottom: 32px; }

/* Product */
.price-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 8px 0 20px;
}
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.phase {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  background: var(--bg);
}
.phase .num {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Product showcase (cover image beside copy) */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.product-showcase img {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .product-showcase { grid-template-columns: 1fr; }
}

/* Testimonial */
blockquote.testimonial {
  border-left: 3px solid var(--accent);
  margin: 32px 0;
  padding: 8px 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
}
blockquote.testimonial cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
}

/* Forms */
form.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
}
form.stack label {
  font-size: 0.9rem;
  font-weight: 700;
}
form.stack input,
form.stack textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
form.stack textarea { min-height: 120px; resize: vertical; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.checkbox-row input { width: auto; }

/* Signup band */
.signup-band {
  background: var(--accent-soft);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.signup-band h2 { color: #fff; }
.signup-band p { color: #f6efe8; }
.signup-band form.stack {
  flex-direction: row;
  margin: 24px auto 0;
  max-width: 480px;
}
.signup-band input[type="email"] { flex: 1; }
.signup-band .btn { background: var(--accent); }
.signup-band .btn:hover { background: var(--accent-dark); }

/* FAQ accordion (plain, no JS dependency required) */
details.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}
details.faq-item p { color: var(--text-muted); margin-top: 12px; }

/* Blog */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.post-list .post-date { color: var(--text-muted); font-size: 0.85rem; }
.post-list h3 { margin: 4px 0; }

.placeholder-note {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Blog post body */
.post-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}
.post-body {
  max-width: 680px;
  margin: 0 auto;
}
.post-body .post-header-image {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 0 36px;
}
.post-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 14px;
}
.post-body h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.post-body p {
  margin: 0 0 16px;
}
.post-body ul {
  margin: 0 0 20px 20px;
  padding: 0;
}
.post-body li {
  margin-bottom: 6px;
}
.post-body .signoff {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}
.post-nav {
  max-width: 680px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
}
.post-nav a { font-weight: 700; }
.post-nav span {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
  margin-bottom: 4px;
}
.post-nav .next { text-align: right; margin-left: auto; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav.primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(46, 42, 38, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  nav.primary-nav.open { max-height: 400px; }
  nav.primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  nav.primary-nav li { border-top: 1px solid var(--border); }
  nav.primary-nav li:first-child { border-top: none; }
  nav.primary-nav a { display: block; padding: 14px 0; }
  header.site-header .wrap { position: relative; }
  .values, .phases { grid-template-columns: 1fr; }
  .signup-band form.stack { flex-direction: column; }
  footer.site-footer .wrap { flex-direction: column; }
  .post-nav { flex-direction: column; }
  .post-nav .next { text-align: left; }
  .page-banner { height: 160px; }
  .hero.photo-hero { padding: 80px 0 56px; }
}
