/* Crissy Collective v1. Brand: cream #FAF6EC, deep forest #1E4B3F, mustard #D9A441 */
/* Mobile-first, dependency-free. */

:root {
  --cream: #FAF6EC;
  --cream-deep: #F3ECDA;
  --forest: #1E4B3F;
  --forest-soft: #2A5A4C;
  --mustard: #D9A441;
  --mustard-deep: #B9862F;
  --sage: #9DB08C;
  --body: #33413A;
  --white: #FFFFFF;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--body);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.96);
  border-bottom: 1px solid rgba(30, 75, 63, 0.14);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem; max-width: 1080px; margin: 0 auto;
}
.wordmark {
  font-family: var(--serif); font-size: 1.25rem; color: var(--forest);
  text-decoration: none; letter-spacing: 0.02em;
}
.wordmark span { color: var(--mustard-deep); }
.nav-links { display: flex; gap: 1.1rem; align-items: center; }
.nav-links a {
  color: var(--forest); text-decoration: none; font-weight: 600;
  font-size: 0.95rem; padding: 0.4rem 0.1rem;
}
.nav-links a:hover { color: var(--mustard-deep); }
.nav-links .nav-btn {
  display: inline-block; font-weight: 700; font-size: 0.9rem;
  background: var(--forest); color: var(--cream);
  padding: 0.55rem 1.4rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(30,75,63,0.22);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.nav-links .nav-btn:hover { color: var(--cream); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,75,63,0.3); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--forest); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mustard-deep); margin-bottom: 0.9rem;
}
.lede { font-size: 1.15rem; color: var(--forest-soft); }

/* ---------- Sections ---------- */
section { padding: 3.25rem 0; }
.section-alt { background: var(--white); border-top: 1px solid rgba(30,75,63,0.1); border-bottom: 1px solid rgba(30,75,63,0.1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 1.05rem; padding: 0.95rem 1.9rem; border-radius: 999px;
  min-height: 52px; line-height: 1.3; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: 0 4px 14px rgba(30,75,63,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,75,63,0.3); }
.btn-secondary { background: transparent; color: var(--forest); border: 2px solid var(--mustard); }
.btn-secondary:hover { background: rgba(217,164,65,0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 3.5rem; text-align: center; position: relative; overflow: hidden; }
.hero .flourish { margin: 0 auto 1.4rem; }
.hero p.lede { max-width: 640px; margin: 0 auto 1rem; }

/* ---------- Flourish divider (botanical line art) ---------- */
.flourish { display: block; width: 180px; height: 28px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
.card {
  background: var(--white); border: 1px solid rgba(30,75,63,0.14);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  box-shadow: 0 3px 12px rgba(30,75,63,0.06);
}
.card .card-icon { font-size: 1.9rem; margin-bottom: 0.6rem; }
.card p { font-size: 1rem; margin-bottom: 1.25rem; }
.card .btn { font-size: 0.98rem; padding: 0.8rem 1.5rem; min-height: 48px; }

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 1.5rem; align-items: start; }
.story-initial {
  font-family: var(--serif); font-size: 3.4rem; line-height: 1;
  color: var(--mustard); float: left; margin: 0.35rem 0.7rem 0 0;
}

/* ---------- Inside list (protein page) ---------- */
.inside-list { list-style: none; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.inside-list li {
  background: var(--white); border-left: 4px solid var(--mustard);
  border-radius: 0 10px 10px 0; padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(30,75,63,0.05);
}
.inside-list strong { color: var(--forest); font-family: var(--serif); font-size: 1.08rem; display: block; margin-bottom: 0.2rem; }
.inside-list p { margin: 0; font-size: 0.99rem; }

.rules { counter-reset: rule; list-style: none; margin-top: 1.5rem; display: grid; gap: 1rem; }
.rules li {
  background: var(--forest); color: var(--cream); border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.25rem 3.6rem; position: relative;
}
.rules li::before {
  counter-increment: rule; content: counter(rule);
  position: absolute; left: 1.1rem; top: 1.05rem;
  font-family: var(--serif); font-size: 1.6rem; color: var(--mustard);
}
.rules strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.2rem; }
.rules p { margin: 0; font-size: 0.98rem; color: #EDE6D2; }

/* ---------- Form embed ---------- */
.form-panel {
  background: var(--white); border: 2px solid var(--mustard);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: 0 6px 24px rgba(217,164,65,0.18);
  margin-top: 1.75rem;
}
.form-embed { margin-top: 1.25rem; }
.form-note { font-size: 0.88rem; color: var(--forest-soft); margin-top: 1rem; text-align: center; }

/* Kit embed default form styling hooks (kept light so her form inherits the page) */
.form-embed input[type="email"],
.form-embed input[type="text"] {
  width: 100%; padding: 0.9rem 1rem; font-size: 1.05rem;
  border: 1px solid rgba(30,75,63,0.3); border-radius: 10px; margin-bottom: 0.75rem;
}
.form-embed button, .form-embed input[type="submit"] {
  width: 100%; background: var(--forest); color: var(--cream);
  font-weight: 700; font-size: 1.08rem; padding: 1rem;
  border: none; border-radius: 999px; cursor: pointer; min-height: 52px;
}

/* ---------- Links grid ---------- */
.link-grid { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.link-row {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid rgba(30,75,63,0.14);
  border-radius: var(--radius); padding: 1.05rem 1.25rem;
  text-decoration: none; color: var(--forest);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-row:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,75,63,0.12); }
.link-row .dot {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-deep); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.link-row strong { font-family: var(--serif); font-size: 1.08rem; display: block; }
.link-row small { color: var(--body); font-size: 0.9rem; }
.link-row .arrow { margin-left: auto; color: var(--mustard-deep); font-weight: 700; }

/* ---------- Footer ---------- */
footer {
  background: var(--forest); color: #D8DFD4;
  padding: 2.5rem 0; margin-top: 1rem; text-align: center;
}
footer .wordmark { color: var(--cream); }
footer p { font-size: 0.9rem; margin: 0.4rem 0 0; }
footer a { color: var(--mustard); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  section { padding: 4.5rem 0; }
  .hero { padding: 5.5rem 0 4.5rem; }
}

/* ---------- Sticky signup bar ---------- */
.signup-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--forest); color: var(--cream);
  padding: 0.65rem 1rem; display: flex; align-items: center; justify-content: center;
  gap: 0.9rem; box-shadow: 0 -4px 18px rgba(30,75,63,0.25);
}
.signup-bar p { margin: 0; font-weight: 600; font-size: 0.92rem; }
.signup-bar .bar-cta {
  display: inline-block; font-weight: 700; font-size: 0.85rem; text-decoration: none;
  background: var(--mustard); color: var(--forest);
  padding: 0.5rem 1.25rem; border-radius: 999px; white-space: nowrap;
}
.signup-bar .bar-close {
  background: none; border: none; color: var(--cream); font-size: 1.25rem;
  cursor: pointer; padding: 0.2rem 0.4rem; line-height: 1;
}
body.has-bar { padding-bottom: 58px; }
@media (max-width: 560px) { .signup-bar p { font-size: 0.78rem; } .signup-bar .bar-cta { font-size: 0.78rem; padding: 0.45rem 1rem; } }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin: 2rem 0 0.5rem; text-align: center; }
.stat-band .stat { background: var(--white); border: 1px solid rgba(30,75,63,0.14); border-radius: var(--radius); padding: 1.2rem 0.6rem; }
.stat-band .num { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--forest); display: block; line-height: 1.1; }
.stat-band .lbl { font-size: 0.82rem; color: var(--body); display: block; margin-top: 0.3rem; }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid rgba(30,75,63,0.14); border-radius: var(--radius); padding: 1rem 1.25rem; }
.faq summary { font-family: var(--serif); font-weight: 700; color: var(--forest); cursor: pointer; font-size: 1.04rem; }
.faq details p { margin: 0.6rem 0 0; font-size: 0.96rem; }

/* ---------- Results gallery ---------- */
.results-grid { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.results-grid figure { margin: 0; background: var(--white); border: 1px solid rgba(30,75,63,0.14); border-radius: var(--radius); overflow: hidden; }
.results-grid img { width: 100%; height: auto; display: block; }
.results-grid figcaption { padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--body); }
.results-grid figcaption strong { color: var(--forest); display: block; margin-bottom: 0.2rem; }
.disclosure { font-size: 0.8rem; color: var(--body); opacity: 0.85; margin-top: 1.25rem; }
@media (min-width: 720px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Hero email capture ---------- */
.hero-form { max-width: 500px; margin: 1.75rem auto 0; background: var(--white); border: 1px solid rgba(30,75,63,0.14); border-radius: var(--radius); padding: 1.25rem 1.25rem 0.75rem; box-shadow: 0 6px 20px rgba(30,75,63,0.1); }
.hero-form .form-note { font-size: 0.82rem; text-align: center; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { padding-left: 2rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mustard-deep); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center; margin-top: 2.5rem; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: #EDE6D2; }
.cta-band .btn-secondary { color: var(--cream); }

/* ---------- Mobile nav ---------- */
@media (max-width: 719px) {
  .nav { flex-wrap: wrap; gap: 0.5rem; }
  .nav-links { flex-wrap: wrap; gap: 0.55rem 0.9rem; }
  .nav-links a { font-size: 0.85rem; }
  .nav-links .nav-btn { font-size: 0.82rem; padding: 0.45rem 1.1rem; }
}

/* ---------- Kit form restyle (tame the default button) ---------- */
.formkit-form .formkit-submit {
  width: auto !important;
  min-width: 0 !important;
  display: inline-block !important;
  padding: 0.7rem 2.1rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  background: #1E4B3F !important;
  color: #FAF6EC !important;
  border: none !important;
  cursor: pointer;
  margin: 0.6rem auto 0 !important;
  transition: transform 0.12s ease;
}
.formkit-form .formkit-submit:hover {
  transform: translateY(-2px);
}
.formkit-form .formkit-input,
.formkit-form input[type="email"],
.formkit-form input[type="text"] {
  border-radius: 999px !important;
  padding: 0.75rem 1.25rem !important;
  border: 2px solid rgba(30,75,63,0.2) !important;
  font-size: 1rem !important;
  width: 100% !important;
  box-sizing: border-box;
}
.formkit-form .formkit-powered-by-convertkit {
  font-size: 0.72rem !important;
  opacity: 0.6;
}

/* ---------- About photo ---------- */
.about-photo {
  width: 220px; height: 220px; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--mustard); margin: 1.25rem auto; display: block;
}
