/* StillBloom shared stylesheet
   Design tokens match the landing page exactly.
   Does NOT own: inline landing page styles (those stay in index.html). */

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

:root {
  --sage: #4A6741;
  --sage-light: #6B8F62;
  --gold: #C4956A;
  --gold-light: #E8C9A8;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal: #2D2D2D;
  --charcoal-light: #5A5A5A;
  --white: #FFFFFF;
  --max-width: 1100px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
}

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

/* ─── Navigation ─────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: -0.5px;
  text-decoration: none;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal-light);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-cta {
  padding: 10px 20px !important;
  background: var(--sage) !important;
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: #3a5533 !important; color: var(--white) !important; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--charcoal);
}

/* ─── Blog List ──────────────────────────────────────── */
.blog-header {
  padding: 80px 80px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-header .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.blog-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.blog-header p {
  font-size: 18px;
  color: var(--charcoal-light);
  font-weight: 300;
  max-width: 560px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 0 80px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(74, 103, 65, 0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.blog-card-step {
  padding: 6px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--white);
}

.blog-card-body { padding: 28px; flex: 1; }

.blog-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.blog-card p {
  font-size: 15px;
  color: var(--charcoal-light);
  font-weight: 300;
  line-height: 1.65;
}

.blog-card-footer {
  padding: 16px 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  letter-spacing: -0.2px;
}

.read-link::after { content: ' →'; }

.blog-card-date {
  font-size: 12px;
  color: var(--charcoal-light);
  opacity: 0.7;
}

/* ─── Blog Post ──────────────────────────────────────── */
.post-hero {
  padding: 80px 80px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--cream-dark);
}

.post-step-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--white);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.post-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  max-width: 780px;
  margin-bottom: 20px;
}

.post-hero .excerpt {
  font-size: 20px;
  color: var(--charcoal-light);
  font-weight: 300;
  max-width: 660px;
  line-height: 1.55;
}

.post-body {
  padding: 60px 80px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.post-content {
  max-width: 680px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--charcoal);
}

.post-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
}

.post-content p { margin-bottom: 20px; }

.post-content ul {
  margin: 0 0 24px 24px;
}

.post-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.post-content strong { font-weight: 600; color: var(--charcoal); }

.post-cta-block {
  margin-top: 64px;
  padding: 48px;
  background: linear-gradient(140deg, var(--sage) 0%, #3a5533 100%);
  border-radius: 20px;
  color: var(--white);
  max-width: 680px;
}

.post-cta-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-cta-block p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
  font-weight: 300;
}

.post-cta-block form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-cta-block input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.post-cta-block button {
  padding: 12px 24px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.15s;
  white-space: nowrap;
}

.post-cta-block button:hover { background: #b0844f; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-light);
  text-decoration: none;
  margin-top: 40px;
  transition: color 0.15s;
}

.back-link:hover { color: var(--charcoal); text-decoration: none; }
.back-link::before { content: '←'; }

/* ─── Starter Kit Page ───────────────────────────────── */
.kit-hero {
  background: linear-gradient(160deg, var(--sage) 0%, #3A5535 60%, #2E4429 100%);
  padding: 100px 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.kit-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -150px;
}

.kit-hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }

.kit-hero .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.kit-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  max-width: 640px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.kit-hero p {
  font-size: 18px;
  opacity: 0.85;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 0;
  line-height: 1.55;
}

.kit-body {
  padding: 80px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.kit-guide h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.kit-guide .subtitle {
  font-size: 16px;
  color: var(--charcoal-light);
  font-weight: 300;
  margin-bottom: 40px;
}

.kit-steps { display: flex; flex-direction: column; gap: 0; }

.kit-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.kit-step:last-child { border-bottom: none; }

.kit-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream-dark);
  line-height: 1;
  padding-top: 4px;
}

.kit-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--sage);
}

.kit-step .mantra {
  font-size: 13px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 10px;
}

.kit-step p {
  font-size: 15px;
  color: var(--charcoal-light);
  font-weight: 300;
  line-height: 1.65;
}

.kit-step ul {
  margin: 8px 0 0 18px;
  font-size: 14px;
  color: var(--charcoal-light);
  font-weight: 300;
}

.kit-step li { margin-bottom: 6px; }

.kit-sidebar { position: sticky; top: 80px; }

.kit-form-box {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(74, 103, 65, 0.1);
  padding: 40px 36px;
}

.kit-form-box .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.kit-form-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.kit-form-box .desc {
  font-size: 15px;
  color: var(--charcoal-light);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.6;
}

.kit-includes {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}

.kit-includes li {
  font-size: 14px;
  color: var(--charcoal-light);
  padding: 7px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.kit-includes li:last-child { border-bottom: none; }

.kit-includes li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

.kit-form-box input[type="email"] {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  margin-bottom: 12px;
  transition: border-color 0.15s;
  outline: none;
}

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

.kit-form-box button {
  width: 100%;
  padding: 14px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.15s;
}

.kit-form-box button:hover { background: #3a5533; }

.kit-form-box .privacy {
  font-size: 12px;
  color: var(--charcoal-light);
  opacity: 0.7;
  text-align: center;
  margin-top: 10px;
}

.success-msg {
  display: none;
  background: var(--cream);
  border: 1px solid rgba(74,103,65,0.2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: var(--sage);
  font-weight: 500;
}

/* ─── Thank You ──────────────────────────────────────── */
.thank-you {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
}

.thank-you .icon { font-size: 56px; margin-bottom: 24px; }

.thank-you h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.thank-you p {
  font-size: 18px;
  color: var(--charcoal-light);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--sage);
  color: var(--white);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover { background: #3a5533; text-decoration: none; color: var(--white); }

/* ─── Alerts ─────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

.alert-success { background: #e8f5e3; color: #2d5a1e; border: 1px solid #b2d9a3; }
.alert-error   { background: #fdf0f0; color: #8b2222; border: 1px solid #f0b4b4; }

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 36px 80px;
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* ─── Mobile ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav {
    padding: 16px 24px;
    flex-wrap: wrap;
  }

  .nav-hamburger { display: block; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 0;
  }

  .site-nav.open .nav-links { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--cream-dark);
    font-size: 16px;
  }

  .nav-cta {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 12px 0 !important;
  }

  .blog-header, .blog-grid, .post-hero, .post-body { padding-left: 24px; padding-right: 24px; }

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

  .kit-hero { padding: 72px 24px; }

  .kit-body {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 48px;
  }

  .kit-sidebar { position: static; }

  .site-footer { padding: 28px 24px; }

  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .post-cta-block { padding: 32px 24px; }
  .post-cta-block form { flex-direction: column; }
  .post-cta-block input[type="email"], .post-cta-block button { width: 100%; }
}
