/* ==========================================================================
   Double Your Ecommerce - Base Styles
   Color scheme extracted from current site: green + white + dark gray
   ========================================================================== */

:root {
  --color-primary: #1a8a5c;       /* Green from nav CTA and buttons */
  --color-primary-dark: #14704a;
  --color-dark: #1a1a2e;          /* Dark sections */
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-light: #f7f9fc;
  --color-border: #e2e8f0;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1200px;
  --content-narrow: 720px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 18px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Underline links in body content for clarity */
.content-narrow h3 a,
.content-narrow p:not(.article-promo) a,
.content-narrow li a,
.article-content p a,
.article-content li a,
.article-content blockquote a,
.guide-content__inner p a,
.guide-content__inner li a,
.guide-section__inner p a,
.guide-section__inner li a,
.sales-section__inner p a,
.sales-section__inner li a,
.featured-content__inner p a,
.featured-content__inner li a,
.featured-section__inner p a,
.featured-section__inner li a {
  text-decoration: underline;
  text-decoration-color: rgba(26, 138, 92, 0.35);
  text-underline-offset: 2px;
}
.content-narrow h3 a:hover,
.content-narrow p:not(.article-promo) a:hover,
.content-narrow li a:hover,
.article-content p a:hover,
.article-content li a:hover,
.guide-content__inner p a:hover,
.guide-content__inner li a:hover,
.guide-section__inner p a:hover,
.guide-section__inner li a:hover,
.sales-section__inner p a:hover,
.sales-section__inner li a:hover,
.featured-content__inner p a:hover,
.featured-content__inner li a:hover,
.featured-section__inner p a:hover,
.featured-section__inner li a:hover {
  text-decoration-color: var(--color-primary);
}
/* Article body links — bold with solid underline, Dan Sinker style */
.article-content p a,
.article-content li a,
.article-content blockquote a {
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: underline;
  text-decoration-color: var(--color-dark);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.article-content p a:hover,
.article-content li a:hover,
.article-content blockquote a:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

/* CTA shortcode wrapper */
.cta-wrapper { text-align: center; margin: 1.5rem 0; }
.cta-wrapper .btn { display: inline-block; }

/* No underline on CTA buttons */
.sales-page .cta-wrapper > a,
.guide-index .cta-wrapper > a,
.featured-page .cta-wrapper > a {
  text-decoration: none;
}
.sales-page .cta-wrapper > a:hover,
.guide-index .cta-wrapper > a:hover,
.featured-page .cta-wrapper > a:hover {
  text-decoration: none;
}

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.content-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 1.5rem; line-height: 1.8; }
.content-narrow p { margin-bottom: 1.5rem; }
.content-narrow h2 { font-size: 1.75rem; font-weight: 800; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--color-dark); }
.content-narrow h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); margin-top: 2rem; margin-bottom: 0.75rem; }
.content-narrow h4 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.content-narrow ul, .content-narrow ol { margin: 1rem 0 1.5rem 1.5rem; }
.content-narrow li { margin-bottom: 0.5rem; }
.content-narrow img { border-radius: 8px; margin: 1.5rem 0; }
.content-narrow strong { color: var(--color-dark); }
.content-narrow blockquote { border-left: 3px solid var(--color-primary); margin: 1.5rem 0; padding: 0.75rem 1.25rem; color: var(--color-text-light); background: var(--color-bg-light); border-radius: 0 8px 8px 0; }
.text-center { text-align: center; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { color: var(--color-text); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--color-primary); text-decoration: none; }
.main-nav a.active { color: var(--color-primary); }
.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--color-primary-dark) !important; text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; }

/* ==========================================================================
   Mega Menu
   ========================================================================== */
.nav-item {
  position: static;
  display: flex;
  align-items: center;
}
.nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-chevron { transition: transform 0.2s ease; }
.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 99;
}
.nav-item.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-panel-inner { padding: 2rem 1.5rem; }

.mega-columns {
  display: flex;
  gap: 3rem;
}
.mega-col {
  min-width: 220px;
}
.mega-col-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.mega-links { list-style: none; padding: 0; margin: 0; }
.mega-links li { margin-bottom: 0.25rem; }
.mega-links a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}
.mega-links a:hover { color: var(--color-primary); }
.mega-link-name { display: inline; font-weight: 500; font-size: 0.95rem; }
.mega-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
}
.mega-badge--new {
  background: var(--color-primary);
  color: #fff;
}
.mega-badge--hot {
  background: #e53e3e;
  color: #fff;
}
.mega-link-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 0.1rem;
  line-height: 1.4;
}

.mega-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 1.5rem;
}
.mega-footer-link { font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }
.mega-footer-link:hover { text-decoration: underline; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 4rem 0; }
.bg-light { background: var(--color-bg-light); }
.bg-dark { background: var(--color-dark); color: #fff; }
.bg-dark a { color: #7dd3a8; }

/* ==========================================================================
   Wave Dividers
   ========================================================================== */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 6rem 0 4rem;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.hero u { text-decoration-thickness: 4px; text-underline-offset: 4px; }
.hero-sub { font-size: 1.25rem; margin-top: 1rem; opacity: 0.9; font-weight: 400; line-height: 1.5; }
.hero-media { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.video-embed { position: relative; padding-bottom: 56.25%; border-radius: 12px; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Inline Vimeo embeds (raw embed code) */
.sales-section__inner div[style*="padding:56.25%"],
.content-narrow div[style*="padding:56.25%"],
.featured-section__inner div[style*="padding:56.25%"],
.featured-content__inner div[style*="padding:56.25%"] {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin: 1.5rem 0;
}
/* Vertical video embeds */
.sales-section__inner div[style*="padding:75%"],
.content-narrow div[style*="padding:75%"],
.featured-section__inner div[style*="padding:75%"],
.featured-content__inner div[style*="padding:75%"] {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin: 1.5rem auto;
  max-width: 320px;
  padding-top: 178% !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  margin-top: 1.5rem;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.btn:focus:not(:focus-visible) { outline: none; }
.btn-primary { background: var(--color-primary); color: #fff; border: none; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-outline-light { border: 2px solid #fff; color: #fff !important; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--color-dark) !important; }

/* ==========================================================================
   Logo Grid
   ========================================================================== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin: 2.5rem auto;
  max-width: 800px;
  align-items: center;
  justify-items: center;
}
.logo-grid img { height: 64px; width: auto; max-width: 140px; transition: all 0.2s; mix-blend-mode: multiply; }
.logo-grid img:hover { opacity: 0.7; }
.logo-grid img.logo-large { height: 80px; max-width: 180px; }

/* ==========================================================================
   Card Grid
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.card img { border-radius: 8px; margin-bottom: 1rem; }
.card h4 { color: var(--color-primary); font-size: 1.1rem; margin-bottom: 0.75rem; }
.card p { color: var(--color-text-light); margin-bottom: 1.5rem; }

/* ==========================================================================
   Confession / About Section
   ========================================================================== */
.confession-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: start; }
.confession-text ul { margin: 1rem 0 1.5rem 1.5rem; }
.confession-text li { margin-bottom: 0.75rem; line-height: 1.6; }
.confession-text p { line-height: 1.7; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial { margin-bottom: 1.5rem; padding: 1.75rem; background: rgba(255,255,255,0.08); border-radius: 12px; display: flex; gap: 1.25rem; align-items: flex-start; }
.testimonial img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial blockquote { font-size: 1rem; font-style: italic; margin-bottom: 0.5rem; line-height: 1.5; }
.testimonial cite { display: block; font-size: 0.85rem; opacity: 0.7; font-style: normal; margin-top: 0.25rem; }

/* Testimonial Card (standalone, no avatar required) */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  text-align: left;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0 0 1rem;
}
.testimonial-card cite {
  display: block;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--color-text-light);
}
.testimonial-card--with-avatar {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  gap: 0 1.25rem;
}
.testimonial-card--with-avatar img {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
  align-self: start;
}
.testimonial-card--with-avatar blockquote {
  grid-column: 2;
}
.testimonial-card--with-avatar cite {
  grid-column: 2;
}

/* Upsell Callout */
.upsell-callout {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* ==========================================================================
   Article / Blog
   ========================================================================== */
/* Article promo bar */
.article-promo {
  max-width: 75%;
  margin: 0 auto;
}
.article-promo a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.article-promo a:hover {
  opacity: 0.6;
  text-decoration: none;
}
.article-promo a::after {
  content: "\2192";
  font-size: 1.25rem;
  font-style: normal;
}
.article-promo em {
  font-style: normal;
}
.article-rule {
  width: 40px;
  height: 4px;
  background: var(--color-dark);
  margin: 2rem auto 1.5rem;
}

/* Article header */
.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  border-bottom: none;
  text-align: center;
  padding-top: 0;
}
.article-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}
.article-dek {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.article-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}
.article-byline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.article-byline strong {
  font-weight: 700;
  letter-spacing: 0.1em;
}
.article-header time {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Article body typography */
.article-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: #333;
}
.article-content p {
  margin-bottom: 1.5rem;
}
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}
.article-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content img {
  border-radius: 4px;
  margin: 2rem 0;
}
.article-content blockquote {
  border-left: 3px solid var(--color-dark);
  padding: 0.25rem 1.5rem;
  margin: 2rem 0;
  background: none;
  border-radius: 0;
  font-style: italic;
  color: var(--color-text);
}
.article-content blockquote p {
  margin-bottom: 0.75rem;
}
.article-content strong {
  font-weight: 700;
  color: var(--color-dark);
}
.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(26, 138, 92, 0.35);
  text-underline-offset: 2px;
}
.article-content a:hover {
  text-decoration-color: var(--color-primary);
}
.article-content hr {
  margin: 2.5rem 0;
  border-color: var(--color-border);
}

/* Article CTA */
.article-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding-top: 1rem;
}
.article-cta {
  margin-bottom: 1rem;
  padding: 2.5rem;
  background: var(--color-bg-light);
  border-radius: 12px;
  text-align: left;
}
.article-cta > p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.article-cta-form, .home-newsletter-form { display: flex; gap: 1rem; align-items: stretch; }
.article-cta-input { flex: 1; border: 1px solid var(--color-border); border-radius: 8px; padding: 0.5rem 1rem; display: flex; flex-direction: column; justify-content: center; }
.article-cta-input label { font-size: 0.75rem; font-weight: 700; color: var(--color-dark); margin-bottom: 0.15rem; }
.article-cta-input input { border: none; outline: none; font-size: 1rem; color: var(--color-text-light); background: transparent; padding: 0; }
.article-cta-form .btn, .home-newsletter-form .btn { padding: 1rem 2rem; font-size: 1.1rem; white-space: nowrap; border-radius: 8px; }

/* Related Posts */
.related-posts { padding: 3rem 0; }
.related-posts-heading {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--color-dark);
}
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.related-post-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.related-post-card:hover { opacity: 0.7; text-decoration: none; }
.related-post-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}
.related-post-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0;
  flex: 1;
}
.related-posts-byline {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* Articles Index — Featured */
.articles-featured { padding: 0 0 2rem; max-width: 900px; margin: 0 auto; }
.articles-featured-item {
  text-align: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.articles-featured-item:last-child { border-bottom: none; }
.articles-featured-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.articles-featured-item time {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  vertical-align: middle;
}
.articles-featured-item h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0.75rem 0 0.5rem;
}
.articles-featured-item h2 a {
  color: var(--color-dark);
  text-decoration: none;
}
.articles-featured-item h2 a:hover { color: var(--color-primary); }
.articles-featured-byline {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.articles-featured-byline strong { color: var(--color-primary); }
.articles-featured-excerpt {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 780px;
  margin: 0 auto;
}

/* Articles Index — More grid */
.articles-more {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}
.articles-more-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.articles-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.articles-more-item {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}
.articles-more-item:nth-child(-n+2) { border-top: none; }
.articles-more-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.articles-more-item h3 a {
  color: var(--color-dark);
  text-decoration: none;
}
.articles-more-item h3 a:hover { color: var(--color-primary); }
.articles-more-byline {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.articles-more-byline strong { color: var(--color-primary); }
.articles-more-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.articles-more-item time {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.articles-more-item time.date-old {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Articles Index — Explore blurb */
.articles-explore {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: var(--color-bg-light);
}
.articles-explore p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* Articles Index — Page 2+ simple list */
.articles-simple-list { padding-bottom: 1rem; }
.articles-simple-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}
.articles-simple-item:last-child { border-bottom: none; }
.articles-simple-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.articles-simple-item h3 a {
  color: var(--color-primary);
  text-decoration: none;
}
.articles-simple-item h3 a:hover { text-decoration: underline; }
.articles-simple-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.35rem;
}
.articles-simple-excerpt {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .article-header h1 { font-size: 2rem; }
  .article-dek { font-size: 1.05rem; }
  .article-content { font-size: 1.05rem; }
  .article-cta-form, .home-newsletter-form { flex-direction: column; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .articles-featured-item h2 { font-size: 1.5rem; }
  .articles-more-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page List
   ========================================================================== */
/* Section Headers (list pages) */
.page > .container > .section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding-top: 3rem;
  margin-bottom: 0.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.page > .container > .section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  padding-bottom: 2rem;
}
.section-page-indicator {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.page-list-item { padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.page-list-item h3 { margin-bottom: 0.25rem; }
.page-list-item p { color: var(--color-text-light); margin-bottom: 0.25rem; }
.page-list-item time { font-size: 0.85rem; color: var(--color-text-light); }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); flex-direction: row-reverse; }
.pagination-numbers { display: flex; gap: 0.75rem; align-items: center; }
.pagination-numbers a, .pagination-numbers span { font-size: 1rem; padding: 0.25rem 0.5rem; text-decoration: none; color: var(--color-text-light); }
.pagination-numbers a:hover { color: var(--color-primary); }
.pagination-current { color: var(--color-primary) !important; font-weight: 700; }
.pagination-older { text-decoration: none; color: var(--color-text-light); font-size: 1rem; }
.pagination-older:hover { color: var(--color-primary); }

/* ==========================================================================
   Sales Page
   ========================================================================== */
.sales-page { padding: 0; }

/* Section structure with alternating backgrounds */
.sales-section { padding: 4rem 0; }
.sales-section--alt { background: var(--color-bg-light); }
.sales-section__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Eyebrow text — from {{< section >}} shortcode */
.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Section headings (h2) */
.sales-page h2 {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Body text */
.sales-page p { margin-bottom: 1.25rem; }
.sales-page ul, .sales-page ol { margin: 1rem 0 1.5rem 1.5rem; }
.sales-page li { margin-bottom: 0.5rem; }

/* Feature items (h3) */
.sales-page h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}
.sales-page h3 + p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* FAQ and testimonial headings (h4) */
.sales-page h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
/* FAQ separators between h4 items */
.sales-page h4 {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
/* No border on testimonial h4s (preceded by image) */
.sales-page p:has(> img:only-child) + h4 {
  border-top: none;
  padding-top: 0;
}

/* Testimonial card: image paragraph followed by h4 quote */
.sales-page p:has(> img:only-child):has(+ h4) {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.75rem 0;
  margin-top: 2.5rem;
  margin-bottom: 0;
  text-align: left;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.sales-page p:has(> img:only-child):has(+ h4) > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}
.sales-page p:has(> img:only-child) + h4 {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  padding: 0 1.75rem 0;
  margin: 0;
  text-align: left;
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-dark);
  max-width: none;
  clear: none;
}
/* Testimonial: first p after h4 — card bottom by default (2-part testimonials) */
.sales-page p:has(> img:only-child) + h4 + p {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 1.75rem 1.25rem;
  margin: 0 0 2.5rem;
  text-align: left;
  color: var(--color-text-light);
  font-size: 0.92rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
/* When followed by attribution p, restyle as quote body (3-part testimonials) */
.sales-page p:has(> img:only-child) + h4 + p:has(+ p:not(:has(> img:only-child))) {
  border-bottom: none;
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.5rem 1.75rem 0.25rem;
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.65;
  box-shadow: none;
}
/* Testimonial attribution (second p after h4) — exclude image paragraphs */
.sales-page p:has(> img:only-child) + h4 + p + p:not(:has(> img:only-child)) {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 1.75rem 1.25rem;
  margin: 0 0 2.5rem;
  text-align: left;
  color: var(--color-text-light);
  font-size: 0.92rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

/* CTA buttons: standalone links in their own paragraph */
.sales-page .cta-wrapper > a {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.sales-page .cta-wrapper > a:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}
.sales-page p:has(> a:only-child) {
  text-align: center;
  margin-top: 1.5rem;
  cursor: pointer;
}

/* Video embeds — wrapper div from Hugo shortcode */
.sales-page div[style*="padding-bottom"] {
  border-radius: 12px;
  margin: 1.5rem 0;
}
.sales-page iframe {
  border: none;
}

/* Non-testimonial images (full-width, like product screenshots) */
.sales-page img {
  border-radius: 8px;
  margin: 1.5rem auto;
}

/* Logo rows (multiple images in one paragraph) */
.sales-page p:has(> img:not(:only-child)) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.sales-page p:has(> img:not(:only-child)) > img {
  height: 48px;
  width: auto;
  border-radius: 0;
  filter: grayscale(30%);
  opacity: 0.8;
  margin: 0;
}

/* Pricing card shortcode */
.pricing-card {
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 480px;
  margin: 2rem auto;
  box-shadow: 0 4px 24px rgba(26, 138, 92, 0.1);
}
.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}
.pricing-card__period {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.pricing-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.pricing-card__desc p { margin-bottom: 0.5rem; }
.pricing-card__cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.pricing-card__cta:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

/* Strong text in sales context */
.sales-page strong { color: var(--color-dark); }

/* ==========================================================================
   Featured Pages
   ========================================================================== */

/* Featured header */
.featured-header {
  padding: 3rem 0 0;
  text-align: center;
}
.featured-header__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.featured-header__eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.featured-header__title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 2rem;
}

/* Featured content (no color blocking) */
.featured-content {
  padding: 0 0 3rem;
}
.featured-content__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.featured-content__inner p { margin-bottom: 1.25rem; }
.featured-content__inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}
.featured-content__inner h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.featured-content__inner ul, .featured-content__inner ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.featured-content__inner li { margin-bottom: 0.5rem; }
.featured-content__inner img {
  border-radius: 8px;
  margin: 1.5rem 0;
}
.featured-content__inner strong { color: var(--color-dark); }

/* Featured color-blocked sections */
.featured-section { padding: 3rem 0; }
.featured-section--alt { background: var(--color-bg-light); }
.featured-section__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.featured-section__inner p { margin-bottom: 1.25rem; }
.featured-section__inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}
.featured-section__inner h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.featured-section__inner h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.featured-section__inner ul, .featured-section__inner ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.featured-section__inner li { margin-bottom: 0.5rem; }
.featured-section__inner img {
  border-radius: 8px;
  margin: 1.5rem auto;
}
.featured-section__inner strong { color: var(--color-dark); }

/* Testimonial cards on featured pages */
/* Card: green left accent, avatar top-left, quote + attribution below */
.featured-section__inner p:has(> img:only-child):has(+ h4) {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1.5rem 1.75rem 0.5rem;
  margin-top: 1.75rem;
  margin-bottom: 0;
  text-align: left;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.featured-section__inner p:has(> img:only-child):has(+ h4) > img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
}
.featured-section__inner p:has(> img:only-child) + h4 {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  padding: 0.25rem 1.75rem 0;
  margin: 0;
  text-align: left;
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-dark);
  border-top: none;
}
/* Quote body */
.featured-section__inner p:has(> img:only-child) + h4 + p {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  padding: 0.5rem 1.75rem 0.25rem;
  margin: 0;
  text-align: left;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
}
/* Attribution line (second p after h4) */
.featured-section__inner p:has(> img:only-child) + h4 + p + p:not(:has(> img:only-child)) {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 1.75rem 1.25rem;
  margin: 0 0 2.5rem;
  text-align: left;
  color: var(--color-text-light);
  font-size: 0.92rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
/* Testimonials with lists inside (img > h4 > p > ul > p > attribution) */
.featured-section__inner p:has(> img:only-child) + h4 + p + ul {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  padding: 0.25rem 1.75rem 0.25rem 3rem;
  margin: 0;
  text-align: left;
  font-size: 1rem;
  color: var(--color-text);
}
.featured-section__inner p:has(> img:only-child) + h4 + p + ul li {
  margin-bottom: 0.25rem;
}
.featured-section__inner p:has(> img:only-child) + h4 + p + ul + p {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-right: 1px solid var(--color-border);
  padding: 0.5rem 1.75rem 0.25rem;
  margin: 0;
  text-align: left;
  color: var(--color-text);
  font-size: 1rem;
}
.featured-section__inner p:has(> img:only-child) + h4 + p + ul + p + p {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 1.75rem 1.25rem;
  margin: 0 0 0.25rem;
  text-align: left;
  color: var(--color-text-light);
  font-size: 0.92rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

/* CTA buttons on featured pages */
.featured-page .cta-wrapper > a {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.featured-page .cta-wrapper > a:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}
.featured-page p:has(> .cta-button) { text-align: center; margin-top: 1.5rem; }

/* Logo grid in featured sections (multiple images in a single paragraph) */
.featured-section__inner p:has(> img + img) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.featured-section__inner p:has(> img + img) > img {
  height: 64px;
  width: auto;
  border-radius: 0;
  margin: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.2s;
}
.featured-section__inner p:has(> img + img) > img:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .featured-header__title { font-size: 1.75rem; }
}

/* ==========================================================================
   Guide Pages (Collection SEO)
   ========================================================================== */

/* Guide header (chapter pages) */
.guide-header {
  background: var(--color-dark);
  color: #fff;
  padding: 3rem 0 3.5rem;
}
.guide-header__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.guide-header__back {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.guide-header__back:hover { text-decoration: underline; }
.guide-header__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}
.guide-header__desc {
  font-size: 1.1rem;
  color: #9999aa;
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Guide content (chapter body) */
.guide-content {
  padding: 3rem 0 4rem;
}
.guide-content__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.guide-content__inner p { margin-bottom: 1.5rem; }
.guide-content__inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: var(--color-dark);
}
.guide-content__inner h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.guide-content__inner h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.guide-content__inner ul, .guide-content__inner ol {
  margin: 1rem 0 1.75rem 1.5rem;
}
.guide-content__inner li { margin-bottom: 0.5rem; }
.guide-content__inner img {
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.guide-content__inner strong { color: var(--color-dark); }
.guide-content__inner blockquote {
  border-left: 3px solid var(--color-primary);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  color: var(--color-text-light);
  background: var(--color-bg-light);
  border-radius: 0 8px 8px 0;
}
.guide-content__inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.guide-content__inner th {
  background: var(--color-dark);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.guide-content__inner td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.guide-content__inner tr:nth-child(even) td {
  background: var(--color-bg-light);
}
.guide-content__inner hr {
  margin: 2.5rem 0;
}

/* Guide prev/next nav */
.guide-nav {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
}
.guide-nav__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.guide-nav__link {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-nav__link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(26, 138, 92, 0.1);
  text-decoration: none;
}
.guide-nav__link--next { text-align: right; }
.guide-nav__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.guide-nav__title {
  display: block;
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1rem;
}

/* Guide index (section page with color-blocked sections) */
.guide-index { padding: 0; }

.guide-section { padding: 3.5rem 0; }
.guide-section--alt { background: var(--color-bg-light); }
.guide-section__inner {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Index page heading styles */
.guide-index h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}
.guide-index h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.25rem;
}
.guide-index h3 + p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}
.guide-index p { margin-bottom: 1.25rem; }
.guide-index ul, .guide-index ol { margin: 1rem 0 1.5rem 1.5rem; }
.guide-index li { margin-bottom: 0.5rem; }
.guide-index img {
  border-radius: 8px;
  margin: 1.5rem auto;
  max-width: 400px;
}
.guide-index strong { color: var(--color-dark); }

/* Index table */
.guide-index table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.guide-index th {
  background: var(--color-dark);
  color: #fff;
  padding: 0.6rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.guide-index td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.guide-index tr:nth-child(even) td { background: var(--color-bg-light); }

/* CTA button on guide pages */
.guide-index .cta-wrapper > a {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.guide-index .cta-wrapper > a:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}
.guide-index p:has(> a:only-child) { text-align: center; margin-top: 1.5rem; }

/* Kai photo on index */
.guide-index p:has(> img:only-child) {
  text-align: center;
}
.guide-index p:has(> img:only-child) > img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  box-shadow: none;
}

/* Guide responsive */
@media (max-width: 768px) {
  .guide-header__title { font-size: 1.75rem; }
  .guide-nav__inner { grid-template-columns: 1fr; }
  .guide-content__inner { font-size: 1.05rem; }
  .guide-section__inner { font-size: 1.05rem; }
  .guide-index table { font-size: 0.8rem; }
  .guide-index th, .guide-index td { padding: 0.5rem; }
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-text); }
.form-group .form-hint { display: block; font-weight: 400; font-size: 0.85rem; color: var(--color-text-light); margin-top: 0.25rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--color-primary); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group .radio-group,
.form-group .checkbox-group { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.25rem; }
.form-group .radio-group label,
.form-group .checkbox-group label { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.form-group .radio-group input,
.form-group .checkbox-group input { margin: 0; }
.form-submit {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.form-submit:hover { background: var(--color-primary-dark); }
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
/* Site Forms (Netlify) */
.site-form {
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
}
.form-field {
  margin-bottom: 1.5rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  cursor: pointer;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-dark);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 138, 92, 0.15);
  background: #fff;
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9ca3af;
}
.form-radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}
.form-radio-group label {
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-radio-group input[type="radio"] {
  accent-color: var(--color-primary);
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}
.site-form .btn {
  margin-top: 0.5rem;
}
.form-hint {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

/* Newsletter Form (Bento) */
.newsletter-form {
  max-width: 540px;
  margin: 1.5rem auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-align: center;
}
.article-cta .newsletter-form { max-width: 100%; }
.newsletter-form-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}
.newsletter-form-subheading {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}
.newsletter-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-form-input-group {
  display: flex;
  gap: 0.75rem;
}
.newsletter-form-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-dark);
  background: #fff;
  box-sizing: border-box;
}
.newsletter-form-input-group input::placeholder {
  color: #9ca3af;
}
.newsletter-form-input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 138, 92, 0.15);
}
.newsletter-form .btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.newsletter-form-disclosure {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .newsletter-form-input-group { flex-direction: column; }
  .newsletter-form .btn { margin-top: 0; }
}

/* 404 Page */
.page-404 { text-align: center; padding: 5rem 0 4rem; }
.page-404-code { font-size: 6rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0; line-height: 1; opacity: 0.3; }
.page-404 h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.page-404-message { font-size: 1.15rem; color: var(--color-text-light); line-height: 1.7; max-width: 520px; margin: 0 auto 2rem; }
.page-404-divider { width: 60px; height: 3px; background: var(--color-primary); margin: 2rem auto; }
.page-404 h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.page-404-links { list-style: none; padding: 0; margin: 0 auto 2.5rem; max-width: 600px; text-align: left; }
.page-404-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); font-size: 1rem; line-height: 1.5; }
.page-404-links li:last-child { border-bottom: none; }
.page-404-links a { text-decoration: none; color: var(--color-dark); }
.page-404-links a:hover { color: var(--color-primary); }
.page-404-links strong { color: var(--color-primary); }

.site-footer { background: var(--color-bg-light); padding: 4rem 0 2rem; margin-top: 0; border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; color: var(--color-text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--color-text-light); font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); text-align: center; font-size: 0.85rem; color: var(--color-text-light); }
.footer-bottom p { margin-bottom: 0.5rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { gap: 2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .confession-grid { grid-template-columns: 1fr; gap: 2rem; }
  /* Mobile nav */
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    background: var(--color-bg);
    border-left: none;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    padding: 4rem 2rem 2rem;
    gap: 0.25rem;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 0.6rem 0; font-size: 1.05rem; }
  .main-nav .nav-cta { text-align: center; margin-top: 1rem; padding: 0.75rem 1.5rem; font-size: 0.95rem; display: block; }
  .nav-toggle { display: flex; z-index: 201; }
  .mega-panel {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    transition: none;
  }
  .nav-item.is-open .mega-panel {
    display: block;
  }
  .mega-panel-inner {
    padding: 0 0 0.5rem 1rem;
  }
  .mega-columns {
    flex-direction: column;
    gap: 0.25rem;
  }
  .mega-col {
    min-width: 0;
  }
  .mega-col-heading {
    font-size: 0.7rem;
    margin-bottom: 0.15rem;
    margin-top: 0.5rem;
  }
  .mega-links li {
    margin-bottom: 0;
  }
  .mega-links a {
    font-size: 0.95rem;
    padding: 0.25rem 0;
    display: block;
  }
  .mega-link-desc {
    display: none;
  }
  .mega-footer {
    padding: 0.25rem 0 0;
    border-top: none;
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
  }
  .mega-footer-link {
    font-size: 0.9rem;
    padding: 0.25rem 0;
    display: block;
  }
  .mega-columns {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .mega-badge { font-size: 0.55rem; padding: 0.1rem 0.3rem; }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .confession-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-footer-link {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    display: block;
  }
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 280px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  .sales-section { padding: 3rem 0; }
  .sales-page h2 { font-size: 1.75rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .pricing-card__price { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-overlay, .article-cta, .related-posts, .newsletter-form, .cta-wrapper { display: none !important; }
  .container, .content-narrow { max-width: 100%; padding: 0; }
  body { font-size: 12pt; line-height: 1.5; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
