/* Shared Landing Page Styles */

/* Logo styling */
.hero img {
  height: 80px;
  margin: 10px auto 20px auto;
  display: block;
}

/* Base styles for the entire page */
body {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 20px;
}

/* Hero section - wider */
.hero {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

/* Standard content - narrower */
.hero ~ * {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* HubSpot CTA styling - general for all instances */
.hs-cta-embed {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
}

/* HubSpot CTA spacing and centering - specific to hero */
.hero .hs-cta-embed {
  margin: 0 auto 30px auto !important;
  text-align: center !important;
  display: block !important;
}

/* Hide anchor links */
body .anchor {
  display: none !important;
}

/* Typography */
body p:first-of-type strong {
  font-size: 1.25rem;
}

body h1 {
  font-size: 3.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #1a1a1a;
}

body h2 {
  font-size: 2.625rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2d2d2d;
}

/* Hero-specific h2 styling */
.hero h2 {
  font-size: 1.75rem;
  padding: 0 12%;
}

body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #404040;
}

body p {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

body strong {
  font-weight: 700;
  color: #1a1a1a;
}

body em {
  font-style: italic;
  color: #555;
}

/* Lists */
body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

body li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

/* Blockquotes */
body blockquote {
  margin: 4rem 0 2rem 0;
  padding: 1rem 12rem 1.875rem 0;
  font-weight: 700;
  font-style: normal;
  position: relative;
  font-size: 1.25rem;
}

body blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 8px;
  background: linear-gradient(
    90deg,
    #f59e0b 0%,
    #fbbf24 40%,
    #f59e0b 70%,
    #d97706 100%
  );
  border-radius: 3px 0 2px 1px;
  transform: rotate(-0.5deg);
}

body blockquote p {
  margin: 0;
  padding-left: 0.75em;
  text-indent: -0.75em;
}

body blockquote p::before {
  content: '"';
  font-size: 1.5rem;
  font-weight: 900;
  color: #f59e0b;
  margin-right: 0.25rem;
}

body blockquote p::after {
  content: '"';
  font-size: 1.5rem;
  font-weight: 900;
  color: #f59e0b;
}

/* Testimonial container - hide title */
body .remark-container-title.testimonial {
  display: none;
}

/* Testimonial blockquote styling */
body .remark-container.testimonial blockquote {
  margin: 3rem 0 1rem 0;
}

/* Testimonial attribution - style list items after blockquotes */
body .remark-container.testimonial blockquote + ul {
  list-style: none;
  padding-left: 0;
  margin-top: -2rem;
  margin-bottom: 2rem;
  margin-left: 1rem;
}

body .remark-container.testimonial blockquote + ul li {
  font-style: italic;
  font-size: 1rem;
  color: #555;
  text-align: left;
  padding-right: 1.875rem;
}

body .remark-container.testimonial blockquote + ul li::before {
  content: "— ";
  color: #555;
}

/* Legacy support: Quote attribution for paragraphs (in case any remain) */
body blockquote + p {
  margin-top: -3rem;
  margin-bottom: 2rem;
  margin-left: 3rem;
  font-style: italic;
  font-size: 1rem;
  color: #555;
  text-align: left;
  padding-right: 1.875rem;
}

/* Links */
body a {
  color: #2563eb;
  text-decoration: underline;
}

body a:hover {
  color: #1d4ed8;
}

/* Flow transformation diagram */
body .remark-container.flow {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  padding: 2rem;
  margin: 2.5rem 0 4rem 0;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hide the title for flow containers */
body .remark-container-title.flow {
  display: none;
}

/* Transform the content into a vertical flow */
body .remark-container.flow p {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  font-weight: 400;
  position: relative;
  text-align: left;
}

/* Remove margin from last item */
body .remark-container.flow p:last-child {
  margin-bottom: 0;
}

/* Add connecting arrows between items */
body .remark-container.flow p:not(:last-child)::after {
  content: "↓";
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: #f8fafc;
  color: #64748b;
  font-size: 1.25rem;
  font-weight: 600;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}

/* Hide the title for checklist containers */
body .remark-container-title.checklist {
  display: none;
}

/* Style checklist items - just replace bullets with checkmarks */
body .remark-container.checklist ul {
  list-style: none;
}

body .remark-container.checklist li {
  position: relative;
}

/* Add checkmarks */
body .remark-container.checklist li::before {
  content: "✓";
  position: absolute;
  left: -1.2rem;
  top: 0;
  color: #10b981;
  font-weight: bold;
}

/* Hide the title for checklist-exclusion containers */
body .remark-container-title.checklist-exclusion {
  display: none;
}

/* Style checklist-exclusion items - replace bullets with prohibition symbols */
body .remark-container.checklist-exclusion ul {
  list-style: none;
}

body .remark-container.checklist-exclusion li {
  position: relative;
}

/* Add prohibition symbols (circle with slash) */
body .remark-container.checklist-exclusion li::before {
  content: "⊘";
  position: absolute;
  left: -1.2rem;
  top: 0;
  color: #ef4444;
  font-weight: bold;
  font-size: 1.1em;
}

/* Step headings with marker highlight - using proper marker technique */
body h3 strong {
  margin: 0 -0.4em;
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(
    to right,
    rgba(245, 215, 110, 0.3),
    rgba(245, 215, 110, 0.9) 4%,
    rgba(245, 215, 110, 0.5)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Responsive - Mobile Styles */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  /* HubSpot CTA - make responsive */
  .hs-cta-embed {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .hs-cta-embed a {
    display: block !important;
    width: 100% !important;
  }

  .hs-cta-embed img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  /* Logo - specifically target hero logo, not CTA images */
  .hero > p > img,
  .hero > img {
    height: 60px;
    margin: 8px auto 16px auto;
  }

  /* Typography */
  body p:first-of-type strong {
    font-size: 1.1rem;
  }

  body h1 {
    font-size: 2rem;
  }

  body h2 {
    font-size: 1.75rem;
  }

  /* Hero h2 - remove side padding */
  .hero h2 {
    font-size: 1.25rem;
    padding: 0 5%;
  }

  body h3 {
    font-size: 1.25rem;
  }

  body p,
  body li {
    font-size: 1rem;
  }

  /* Blockquotes - reduce padding */
  body blockquote {
    padding: 1rem 1rem 1.5rem 1rem;
    font-size: 1.1rem;
  }

  /* Blockquote decoration bar - smaller */
  body blockquote::before {
    left: 1rem;
    width: 120px;
    height: 6px;
  }

  /* Quote marks - smaller */
  body blockquote p::before,
  body blockquote p::after {
    font-size: 1.25rem;
  }

  /* Quote attribution - adjust margins */
  body blockquote + p {
    margin-top: -2rem;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
    font-size: 0.9rem;
  }

  /* Testimonial attribution - mobile adjustments */
  body .remark-container.testimonial blockquote + ul {
    margin-top: -1.5rem;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
  }

  body .remark-container.testimonial blockquote + ul li {
    padding-right: 1rem;
    font-size: 0.9rem;
  }

  /* Flow container - reduce padding */
  body .remark-container.flow {
    padding: 1.25rem;
    margin: 2rem 0 3rem 0;
  }

  /* Flow items - reduce padding */
  body .remark-container.flow p {
    padding: 1rem;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
  }

  /* Flow label - adjust position */
  body .remark-container.flow::before {
    left: 1rem;
    font-size: 0.7rem;
  }

  /* Checklist - adjust checkmark position */
  body .remark-container.checklist li::before {
    left: -1rem;
  }

  /* Checklist-exclusion - adjust prohibition symbol position */
  body .remark-container.checklist-exclusion li::before {
    left: -1rem;
  }

  /* Step headings - reduce negative margins */
  body h3 strong {
    margin: 0 -0.2em;
    padding: 0.1em 0.3em;
  }
}
