/* ============================================================
   Page-specific additions (waitlist, about, contact, posts)
   ============================================================ */

.steps-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .steps-grid { grid-template-columns: 1fr; } }

.blog-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .blog-grid--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid--three { grid-template-columns: 1fr; } }

.blog-card__link { display: block; color: inherit; text-decoration: none; }
.blog-card__img { width: 100%; height: 180px; object-fit: cover; display: block; }

.center-link { text-align: center; margin-top: 2rem; }
.empty-state { text-align: center; color: var(--gray-soft); font-size: 1.05rem; padding: 2rem 0; }

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

/* Story card on home */
.story-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.story-card p { color: var(--dark-3); line-height: 1.7; }

/* Final CTA centered (no image column) */
.final-cta__inner--center { grid-template-columns: 1fr; text-align: center; }
.final-cta__inner--center .final-cta__content { margin: 0 auto; max-width: 640px; }

/* Waitlist and contact form */
.waitlist-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
.waitlist-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--dark-2); }
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px var(--green-pale);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.85rem; color: var(--gray-soft); text-align: center; }
.form-status { font-size: 0.95rem; text-align: center; min-height: 1.2em; }
.form-status.is-ok { color: var(--green-dark); font-weight: 600; }
.form-status.is-error { color: var(--orange-dark); font-weight: 600; }

/* About page */
.about-page { padding: var(--section-py) 0; }
.about-page__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-page__photo img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about-page__text h2 { font-size: 1.6rem; font-weight: 800; margin: 1.5rem 0 0.75rem; }
.about-page__text h2:first-child { margin-top: 0; }
.about-page__text p { color: var(--dark-3); line-height: 1.8; margin-bottom: 1rem; }
.about-page__text .btn { margin-top: 1rem; }
@media (max-width: 800px) {
  .about-page__inner { grid-template-columns: 1fr; }
  .about-page__photo { max-width: 320px; }
}

.contact-page { padding: var(--section-py) 0; background: var(--gray-light); }

/* Blog post */
.post { padding: var(--section-py) 0; }
.post__inner { max-width: 780px; }
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  background: var(--dark);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post__content h2 { font-size: 1.6rem; font-weight: 800; margin: 2rem 0 0.75rem; }
.post__content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.post__content p,
.post__content li { color: var(--dark-3); line-height: 1.8; margin-bottom: 1rem; }
.post__content ul,
.post__content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.post__content a { color: var(--green-dark); text-decoration: underline; }
.post__cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--green-bg);
  border: 1.5px solid var(--green-pale);
  text-align: center;
}
.post__cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.post__cta p { color: var(--gray-soft); margin-bottom: 1.25rem; }

.story-lead { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); }

/* Blog hero, breadcrumb, featured card (Blotato-style layout) */
.breadcrumb { font-size: 0.85rem; color: var(--gray-soft); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--gray-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb span { margin: 0 0.25rem; }
.blog-hero__title em.highlight { font-style: italic; }

.blog-grid--three .blog-card--featured { grid-column: 1 / -1; }
.blog-card--featured .blog-card__link {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.blog-card__meta .blog-card__category { margin-bottom: 0; }
.blog-card[hidden] { display: none; }
@media (max-width: 700px) {
  .blog-card--featured .blog-card__link { grid-template-columns: 1fr; }
}

.form-check { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--green-mid); flex-shrink: 0; }
.form-check label { font-size: 0.92rem; line-height: 1.5; color: var(--dark-2); }

/* Story readability: lists, pull quotes, spacing */
.about-page__text h2 { margin-top: 2.5rem; }
.about-page__text h2:first-child { margin-top: 0; }
.about-page__text p { font-size: 1.05rem; }
.about-page__photo { position: sticky; top: 6rem; }
.story-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.story-list li {
  position: relative;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--dark-2);
  line-height: 1.5;
  margin: 0;
}
.story-list li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}
.story-list--steps li::before { background: var(--green-mid); }
.story-quote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 5px solid var(--orange);
  background: var(--orange-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dark);
}
@media (max-width: 800px) { .about-page__photo { position: static; } }

.price-line {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Blog page: clean grid of cards (thumbnail, title, excerpt, button) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-page { padding: 2.5rem 0 var(--section-py); background: var(--white); }
.blog-page .blog-grid { gap: 1.5rem; }

.post-card {
  background: #fffaf2;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--green-pale); }
.post-card__img--empty { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; gap: 0.75rem; }
.post-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__btn {
  align-self: flex-end;
  margin-top: auto;
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-full);
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background var(--transition);
}
.post-card:hover .post-card__btn { background: var(--orange-mid); }

.contact-email { text-align: center; margin-top: 1.5rem; color: var(--gray-soft); }
.contact-email a { color: var(--green-dark); font-weight: 700; }

/* Waitlist: big confirmation panel shown instead of the form after sending */
.waitlist-success[hidden], .waitlist-form[hidden] { display: none; }
.waitlist-success { text-align: center; padding: 1rem 0.5rem; outline: none; }
.waitlist-success__icon { font-size: 3.5rem; line-height: 1; margin-bottom: 0.75rem; }
.waitlist-success h3 { font-size: 1.9rem; font-weight: 900; color: var(--green-dark); margin-bottom: 0.75rem; }
.waitlist-success p { font-size: 1.1rem; line-height: 1.6; color: var(--dark-2); margin-bottom: 0.9rem; }
.waitlist-success__lead strong { color: var(--dark); word-break: break-all; }
.waitlist-success__note { font-size: 0.95rem !important; color: var(--gray-soft) !important; background: var(--orange-pale); border-radius: var(--radius-md); padding: 0.8rem 1rem; }
.waitlist-success__retry { background: none; border: none; color: var(--gray-soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; margin-top: 0.5rem; }
.waitlist-success__retry:hover { color: var(--dark); }

/* Email list block on the home page */
.newsletter { padding: var(--section-py) 0; background: var(--green-bg); }
.newsletter-card { max-width: 640px; }
.newsletter-form { display: flex; flex-direction: column; gap: 1.1rem; align-items: stretch; }
.newsletter-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.newsletter-form .btn { align-self: center; }
@media (max-width: 600px) {
  .newsletter-form__fields { grid-template-columns: 1fr; }
  .newsletter-form .btn { align-self: stretch; }
}
