    .blog-post-content ul,
    .blog-post-content ol {
      padding-left: 1rem;
    }
/* ==============================================
   Global Reset & Base Styles
   ============================================== */
   *,
   *::before,
   *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
  html {
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
  }
  /* Blog palette tokens to support purple gradient accents */
  :root {
    --bf-navy: #1e3a5f;
    --bf-purple-600: #7b5bff;
    --bf-purple-500: #9238f6;
    --bf-purple-400: #c84bc4;
    --bf-muted: #2f4f82;
    --bf-surface: #ffffff;
    --bf-surface-alt: #f7f9fc;
  }
   body {
     font-family: 'Poppins', sans-serif;
     color: #1e3a5f;      /* Dark Navy from logo */
     background-color: #ffffff;
     -webkit-font-smoothing: antialiased;
     overflow-x: hidden;
     width: 100%;
     margin: 0;
     padding: 0;
   }

   /* Utility Containers */
   .container {
     width: 90%;
     max-width: 1100px;
     margin-left: auto;
     margin-right: auto;
     overflow-x: hidden;
   }

   /* ==============================================
      Header
      ============================================== */
   .site-header {
     background-color: #ffffff;
     border-bottom: 1px solid #e1e5ea;
     position: sticky;
     top: 0;
     z-index: 100;
   }
   .header-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
    gap: 2rem;
    padding: 0.25rem 0; /* Minimal padding - let logo fill the space */
   }
   .logo {
     height: 120px; /* Larger logo that fills header height */
     width: auto;
   }
  /* Header nav updates to accommodate Blog link */
  .header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .nav-link {
    color: var(--bf-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  .nav-link:hover,
  .nav-link:focus-visible {
    color: var(--bf-purple-500);
  }
  .nav-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6bc1ff 0%, #5ab3f0 50%, #4a9ee2 100%);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(74, 158, 226, 0.25);
  }
  .nav-signin:hover,
  .nav-signin:focus-visible {
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(74, 158, 226, 0.35);
  }

   /* ==============================================
      Hero Section
      ============================================== */
   .hero-section {
     display: flex;
     align-items: center;
     background: linear-gradient(135deg, #f7f9fc 0%, #e8f4fc 50%, #e0eef7 100%);
     padding: 4rem 0;
   }
   .hero-inner {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 2rem;
   }
   /* Hero Text */
   .hero-text {
     flex: 1 1 350px;
     max-width: 550px;
   }
   .hero-heading {
     font-size: 2.5rem;
     font-weight: 600;
     color: #1e3a5f; /* Dark Navy */
     margin-bottom: 1rem;
   }
   .hero-subhead {
     font-size: 1.125rem;
     color: #2f4f82; /* Slightly lighter navy */
     margin-bottom: 1.75rem;
   }
   .btn-primary {
     display: inline-block;
     background: linear-gradient(180deg, #6bc1ff 0%, #5ab3f0 100%);
     color: #ffffff;
     font-weight: 600;
     padding: 0.75rem 1.75rem;
     border-radius: 4px;
     text-decoration: none;
     font-size: 1rem;
     transition: all 0.3s ease;
     box-shadow: 0 4px 12px rgba(107, 193, 255, 0.3), 0 2px 4px rgba(107, 193, 255, 0.2);
   }
   .btn-primary:hover {
     background-color: #59a8e0; /* Darker light-blue on hover */
   }

   /* Hero Image (Optional) */
   .hero-image {
     flex: 1 1 300px;
     text-align: center;
   }
   .hero-mockup {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
   }

  /* Blog surface & gradient utilities */
  .gradient-panel {
    background: linear-gradient(135deg, var(--bf-purple-600) 0%, var(--bf-purple-500) 50%, var(--bf-purple-400) 100%);
    color: #ffffff;
  }
  .blog-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.06);
    position: sticky;
    top: 0;
    z-index: 90;
  }
  .blog-header .header-inner {
    padding: 0.75rem 0;
  }
  .blog-header .logo {
    height: 88px;
  }
  .blog-header .nav-link {
    color: var(--bf-muted);
  }
  .blog-header .nav-link:hover,
  .blog-header .nav-link:focus-visible {
    color: var(--bf-purple-500);
  }
  .gradient-border {
    background:
      linear-gradient(var(--bf-surface), var(--bf-surface)) padding-box,
      linear-gradient(135deg, rgba(123, 91, 255, 0.75), rgba(200, 75, 196, 0.75)) border-box;
    border: 2px solid transparent;
  }
  .surface-card {
    background: var(--bf-surface);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
    border: 1px solid rgba(30, 58, 95, 0.08);
  }
  .btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--bf-purple-600) 0%, var(--bf-purple-500) 50%, var(--bf-purple-400) 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(123, 91, 255, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .btn-gradient:hover,
  .btn-gradient:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(123, 91, 255, 0.35);
    color: #ffffff;
  }

  /* Blog shared layout */
  .blog-page {
    background-color: var(--bf-surface-alt);
    min-height: 100vh;
  }
  .blog-hero {
    padding: 3rem 0 2.5rem;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  }
  .blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
    text-align: left;
    margin: 0 auto;
  }
  .blog-hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--bf-navy);
  }
  .blog-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--bf-muted);
    margin-bottom: 1.5rem;
  }
  .blog-section {
    padding: 3.5rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  main.container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .blog-section-header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
  }
  .blog-section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--bf-navy);
    margin-bottom: 0.75rem;
  }
  .blog-section-header p {
    color: var(--bf-muted);
    font-size: 1rem;
    line-height: 1.6;
  }
  .blog-card-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 3rem auto;
  }
  .blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    row-gap: 1.25rem;
    background: var(--bf-surface);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
    border: 1px solid rgba(30, 58, 95, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .blog-card:hover,
  .blog-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(30, 58, 95, 0.15);
  }
  .blog-card-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(30, 58, 95, 0.6);
  }
  .blog-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bf-navy);
    text-decoration: none;
    line-height: 1.3;
  }
  .blog-card-summary {
    font-size: 1rem;
    color: var(--bf-muted);
    line-height: 1.6;
    flex: 1 1 auto;
  }
  .blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--bf-purple-500);
  }
  .blog-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--bf-purple-500);
    text-decoration: none;
  }
  .blog-card-action svg {
    width: 1rem;
    height: 1rem;
  }
  .blog-card-link {
    text-decoration: none;
    color: inherit;
  }
  .blog-card-link.stretched-link {
    position: absolute;
    inset: 0;
    pointer-events: auto;
  }
  .blog-category-card {
    overflow: hidden;
    color: var(--bf-navy);
  }
  .blog-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123, 91, 255, 0.18) 0%, rgba(200, 75, 196, 0.18) 100%);
    pointer-events: none;
  }
  .blog-category-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  .blog-category-card p {
    color: var(--bf-muted);
    margin-bottom: 1.5rem;
  }
  .blog-breadcrumb {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(30, 58, 95, 0.6);
    margin-bottom: 1.25rem;
  }
  .blog-breadcrumb a {
    color: inherit;
    text-decoration: none;
  }
  .blog-breadcrumb a:hover,
  .blog-breadcrumb a:focus-visible {
    color: var(--bf-purple-500);
  }
  .blog-post-header {
    margin-bottom: 2rem;
    text-align: center;
  }
  .blog-post-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--bf-navy);
  }
  .blog-post-meta {
    font-size: 0.95rem;
    color: rgba(30, 58, 95, 0.7);
    text-align: center;
  }
  .blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--bf-muted);
    display: grid;
    gap: 1.5rem;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .blog-post-content ul,
  .blog-post-content ol {
    margin: 1rem 0;
    padding-left: 1.25rem;
  }
  .blog-post-content ul li,
  .blog-post-content ol li {
    padding-left: 0.25rem;
  }
  .blog-post-content img {
    display: block;
    width: 100%;
    max-width: 680px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(30, 58, 95, 0.16);
    margin: 0 auto;
    object-fit: contain;
    box-sizing: border-box;
  }
  .blog-post-content figure {
    margin: 0;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .blog-post-content figure img {
    display: block;
    width: 100%;
    max-width: 680px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(30, 58, 95, 0.16);
    margin: 0 auto;
    object-fit: contain;
    box-sizing: border-box;
    /* Prevent image from forcing container wider */
    min-width: 0;
    /* Force image to respect container width */
    flex-shrink: 1;
  }
  .blog-post-content figure figcaption {
    font-size: 0.9rem;
    color: rgba(30, 58, 95, 0.6);
    text-align: center;
  }
  .blog-post-content p strong:first-child {
    display: inline-block;
    font-weight: 700;
    color: var(--bf-navy);
    margin-right: 0.35rem;
  }
  .blog-post-content p em:first-child {
    display: inline-block;
    font-style: italic;
    color: var(--bf-purple-500);
    margin-right: 0.35rem;
  }
  .blog-post-content h2,
  .blog-post-content h3,
  .blog-post-content h4 {
    color: var(--bf-navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  .blog-post-content pre {
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
  .blog-post-content pre,
  .blog-post-content code {
    font-family: 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace;
    background: rgba(123, 91, 255, 0.08);
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
  .blog-post-content blockquote {
    border-left: 4px solid rgba(123, 91, 255, 0.4);
    padding-left: 1rem;
    color: rgba(30, 58, 95, 0.8);
    font-style: italic;
  }
  .blog-post-content .quick-tip {
    display: grid;
    gap: 0.5rem;
    background: rgba(123, 91, 255, 0.08);
    border: 1px solid rgba(123, 91, 255, 0.25);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.12);
  }
  .blog-post-content .quick-tip-title {
    font-weight: 700;
    color: var(--bf-purple-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
  }
  .blog-attachments {
    margin-top: 2rem;
  }
  .blog-attachments h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--bf-navy);
  }
  .blog-attachments ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
  }
  .blog-attachments a {
    color: var(--bf-purple-500);
    text-decoration: none;
    font-weight: 600;
  }
  .blog-attachments a:hover,
  .blog-attachments a:focus-visible {
    text-decoration: underline;
  }

   /* ==============================================
      Features Section
      ============================================== */
   .features-section {
     background-color: #ffffff;
     padding: 4rem 0;
   }
   .section-title {
     font-size: 2rem;
     font-weight: 600;
     text-align: center;
     margin-bottom: 2rem;
     color: #1e3a5f;
   }
   .features-list {
     list-style: none;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
     gap: 1.75rem;
   }
   .features-list li {
     display: flex;
     align-items: flex-start;
     gap: 0.75rem;
   }
   .feature-icon {
     color: #6bc1ff;
     font-size: 1.5rem;
     line-height: 1;
     margin-top: 0.2rem;
   }
   .feature-text {
     font-size: 1rem;
     color: #2f4f82;
   }

   /* ==============================================
      Testimonials Section with Carousel
      ============================================== */
   .testimonials-section {
     background-color: #f7f9fc;
     padding: 4rem 0;
   }

   /* Carousel Container */
   .testimonial-carousel {
     max-width: 900px;
     margin: 2rem auto 0;
     position: relative;
   }

   .carousel-container {
     position: relative;
     overflow: hidden;
     border-radius: 8px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
     height: 350px; /* Reduced height to match vignette proportions */
     background-color: #ffffff;
     max-width: 500px; /* Match vignette media max-width */
     margin: 0 auto; /* Center the carousel */
   }

   .carousel-track {
     display: flex;
     transition: transform 0.5s ease-in-out;
     height: 100%;
   }

   .carousel-slide {
     min-width: 100%;
     height: 100%;
     display: none;
     align-items: center;
     justify-content: center;
   }

   .carousel-slide.active {
     display: flex;
   }

   .testimonial-image {
     width: 100%;
     height: 100%;
     display: block;
     border-radius: 8px;
     object-fit: contain; /* Maintains aspect ratio without cropping */
     object-position: center;
   }

   /* Navigation Arrows */
   .carousel-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background-color: rgba(30, 58, 95, 0.8);
     color: #ffffff;
     border: none;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 2rem;
     line-height: 1;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background-color 0.3s ease, transform 0.3s ease;
     z-index: 10;
   }

   .carousel-btn:hover {
     background-color: rgba(30, 58, 95, 1);
     transform: translateY(-50%) scale(1.1);
   }

   .carousel-btn-prev {
     left: 20px;
   }

   .carousel-btn-next {
     right: 20px;
   }

   .carousel-btn span {
     display: block;
     margin-top: -4px;
   }

   /* Carousel Indicators (dots) */
   .carousel-indicators {
     display: flex;
     justify-content: center;
     gap: 12px;
     margin-top: 1.5rem;
   }

   .indicator {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background-color: #cbd2d9;
     border: none;
     cursor: pointer;
     transition: background-color 0.3s ease, transform 0.3s ease;
     padding: 0;
   }

   .indicator:hover {
     background-color: #6bc1ff;
     transform: scale(1.2);
   }

   .indicator.active {
     background-color: #1e3a5f;
     transform: scale(1.3);
   }

   /* Responsive adjustments for carousel */
   @media (max-width: 768px) {
     .carousel-container {
       height: 300px; /* Reduced height for mobile to match proportions */
       max-width: 400px; /* Slightly smaller max-width on tablet */
     }

     .carousel-btn {
       width: 40px;
       height: 40px;
       font-size: 1.5rem;
     }

     .carousel-btn-prev {
       left: 10px;
     }

     .carousel-btn-next {
       right: 10px;
     }

     /* Reduce carousel spacing on mobile */
     .testimonial-carousel {
       margin: 1rem auto 0; /* Much tighter - reduced from 1.5rem */
     }
   }

   @media (max-width: 480px) {
     .carousel-container {
       height: 250px; /* Even smaller for very small screens */
       max-width: 350px; /* Smaller max-width on mobile */
     }

     .testimonial-carousel {
       margin: 0.75rem auto 0; /* Very tight */
     }
   }

   /* ==============================================
      Invite-Only Section
      ============================================== */
   .invite-section {
     background-color: #ffffff;
     padding: 4rem 0;
   }
   .invite-desc {
     text-align: center;
     font-size: 1rem;
     color: #2f4f82;
     margin-bottom: 2rem;
   }
   .invite-form {
     max-width: 500px;
     margin: 0 auto;
     background-color: #f7f9fc;
     padding: 2rem;
     border-radius: 6px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
   }
   .form-group {
     margin-bottom: 1.5rem;
   }
   .form-group label {
     display: block;
     font-weight: 600;
     margin-bottom: 0.5rem;
     color: #1e3a5f;
   }
   .form-group input,
   .form-group select {
     width: 100%;
     padding: 0.625rem 0.75rem;
     border: 1px solid #cbd2d9;
     border-radius: 4px;
     font-size: 1rem;
     color: #1e3a5f;
     transition: border-color 0.3s ease;
   }
   .form-group input:focus,
   .form-group select:focus {
     outline: none;
     border-color: #6bc1ff;
   }
   .error-message {
     color: #d64545;
     font-size: 0.875rem;
     margin-top: 0.25rem;
     display: none;
   }
   .required {
     color: #d64545;
   }

   /* Invite Button */
   .btn-secondary {
     display: inline-block;
     background: linear-gradient(180deg, #1e3a5f 0%, #163049 100%);
     color: #ffffff;
     font-weight: 600;
     padding: 0.75rem 1.75rem;
     border-radius: 4px;
     border: none;
     cursor: pointer;
     font-size: 1rem;
     transition: all 0.3s ease;
     box-shadow: 0 2px 8px rgba(30, 58, 95, 0.2);
   }
   .btn-secondary:hover {
     background-color: #163049;
   }

   /* Success Message (hidden by default) */
   .form-success-message {
     display: none;
     text-align: center;
     color: #1e3a5f;
     background-color: #d4edda;
     border: 1px solid #c3e6cb;
     padding: 1rem;
     border-radius: 4px;
     margin-top: 1.5rem;
     font-size: 1rem;
   }

   /* ==============================================
      Footer Section
      ============================================== */
   .site-footer {
     background-color: #1e3a5f;
     color: #ffffff;
     padding: 1.5rem 0;
   }
   .footer-inner {
     text-align: center;
   }
   .footer-text {
     font-size: 0.875rem;
   }

   /* Footer link group */
   .site-footer .footer-links {
     margin: 0;
     padding: 0;
     font-size: 0.9rem;
     display: flex;
     gap: 0.75rem;
     justify-content: center;
   }

   /* Individual links */
   .site-footer .footer-links a {
     color: #ffffff;          /* White for maximum contrast */
     text-decoration: none;
     transition: color 0.2s ease;
   }

   .site-footer .footer-links a:hover {
     color: rgba(255, 255, 255, 0.75);  /* Slight fade on hover */
     text-decoration: underline;
   }

   /* ---------------------------------------------
   Features Grid & Floating Card Styles
   --------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  /* Each Feature Card */
  .feature-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
  }

  /* Hover effect: lift and slightly deepen the shadow */
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  /* Image / GIF at top of the card */
  .feature-media {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Text content below media */
  .feature-content {
    padding: 1.25rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  /* Feature Title (subheading style) */
  .feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a5f; /* Dark Navy */
    margin-bottom: 0.5rem;
  }

  /* Feature Description (body copy) */
  .feature-desc {
    font-size: 0.95rem;
    color: #2f4f82; /* Navy-Gray accent */
    line-height: 1.4;
    margin-top: auto; /* push description text to bottom if the card grows */
  }

   /* ==============================================
      Narrative Section
      ============================================== */
   .narrative-section {
     background: linear-gradient(135deg, #1e3a5f 0%, #2f4f82 100%);
     padding: 3rem 0;
     margin: 0;
   }
   .narrative-content {
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
   }
   .narrative-text {
     font-size: 1.25rem;
     line-height: 1.7;
     color: #ffffff;
     margin: 0;
   }
   .narrative-text strong {
     font-weight: 600;
     color: #6bc1ff;
   }

   /* ==============================================
      Vignette Sections
      ============================================== */
   .vignette-section {
     padding: 5rem 0;
     background-color: #ffffff;
     margin: 0; /* Ensure no default margins */
   }
   .vignette-alt {
     background-color: #f7f9fc;
     margin: 0; /* Ensure no default margins */
   }
   .vignette-inner {
     display: flex;
     align-items: center;
     gap: 3rem;
     flex-wrap: wrap;
   }
   .vignette-reverse {
     flex-direction: row-reverse;
   }

   /* Vignette Content (text side) */
   .vignette-content {
     flex: 1 1 400px; /* Desktop sizing - restore original */
     min-width: 300px; /* Desktop sizing - restore original */
     padding: 0; /* Remove any default padding */
     margin: 0; /* Remove any default margins */
   }
   .vignette-heading {
     font-size: 2rem;
     font-weight: 600;
     color: #1e3a5f;
     margin-bottom: 1rem;
     line-height: 1.2;
   }
   .vignette-description {
     font-size: 1.125rem;
     color: #2f4f82;
     line-height: 1.6;
     margin-bottom: 1.75rem;
   }
  .btn-vignette {
    display: inline-block;
    background: linear-gradient(180deg, #6bc1ff 0%, #5ab3f0 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 193, 255, 0.3), 0 2px 4px rgba(107, 193, 255, 0.2);
    margin: 0; /* Remove any default margins */
  }
   .btn-vignette:hover {
     background-color: #59a8e0;
     transform: translateY(-2px);
     box-shadow: 0 6px 16px rgba(107, 193, 255, 0.4);
   }

   /* Vignette Media (image/video side) */
   .vignette-media {
     flex: 0 0 auto; /* Don't grow, size to content */
     max-width: 500px; /* Reasonable maximum width */
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 0; /* Remove any default padding */
     margin: 0; /* Remove any default margins */
   }
   .vignette-image {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     margin: 0; /* Remove any default margins */
     display: block;
   }
   .vignette-image:hover {
     transform: translateY(-4px);
     box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
   }
   .vignette-video {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
     margin: 0; /* Remove any default margins */
     display: block;
   }

   /* ==============================================
      Progressive Reveal Animation
      ============================================== */
   .vignette-reveal {
     opacity: 0;
     transform: translateY(40px);
     transition: opacity 0.8s ease, transform 0.8s ease;
   }
   .vignette-reveal.is-visible {
     opacity: 1;
     transform: translateY(0);
   }

   /* ==============================================
      Enhanced Hero Section
      ============================================== */
   .hero-section {
     background: linear-gradient(135deg, #f7f9fc 0%, #e8f0f7 100%);
   }

   /* ==============================================
      Reduced Motion Support (Accessibility)
      ============================================== */
   @media (prefers-reduced-motion: reduce) {
     .vignette-reveal {
       opacity: 1;
       transform: none;
       transition: none;
     }
     .vignette-image,
     .btn-vignette,
     .btn-primary {
       transition: none;
       transform: none;
     }
     .vignette-image:hover,
     .btn-vignette:hover {
       transform: none;
     }
   }

   /* ==============================================
      Feature Carousel Section
      ============================================== */
   .feature-carousel-section {
     background-color: #ffffff;
     padding: 4rem 0;
   }

   .carousel-video-container {
     max-width: 500px; /* Match vignette media max-width */
     margin: 0 auto;
     border-radius: 8px;
     overflow: hidden;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
   }

   .feature-carousel-video {
     width: 100%;
     height: auto;
     display: block;
   }

   /* Vignette Feature Cards */
   .vignette-feature-card {
     width: 100%;
     max-width: 300px;
     margin: 0 auto 2rem auto;
     display: flex;
     justify-content: center;
   }

   .feature-card-image {
     width: 100%;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
   }

   /* ==============================================
      Back to Top Button
      ============================================== */
   .back-to-top-btn {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     width: 50px;
     height: 50px;
     background-color: #6bc1ff;
     color: #ffffff;
     border: none;
     border-radius: 50%;
     font-size: 1.5rem;
     font-weight: 600;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(107, 193, 255, 0.3);
     transition: all 0.3s ease;
     opacity: 0;
     visibility: hidden;
     z-index: 1000;
   }

   .back-to-top-btn.visible {
     opacity: 1;
     visibility: visible;
   }

   .back-to-top-btn:hover {
     background-color: #59a8e0;
     transform: translateY(-2px);
     box-shadow: 0 6px 16px rgba(107, 193, 255, 0.4);
   }

   /* Responsive adjustments for back to top button */
   @media (max-width: 768px) {
     .back-to-top-btn {
       bottom: 1.5rem;
       right: 1.5rem;
       width: 45px;
       height: 45px;
       font-size: 1.25rem;
     }
   }

   /* ==============================================
      Responsive Adjustments
      ============================================== */
  @media (max-width: 768px) {
    html, body {
      overflow-x: hidden;
      width: 100%;
      position: relative;
    }
    .container {
      width: 100%;
      padding-left: 1rem;
      padding-right: 1rem;
      box-sizing: border-box;
      overflow-x: hidden;
    }
    .blog-post-content {
      padding: 0;
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
      word-wrap: break-word;
    }
    .blog-post-content img,
    .blog-post-content figure img {
      width: auto !important;
      max-width: calc(100vw - 2rem) !important;
      height: auto !important;
      box-shadow: 0 12px 24px rgba(30, 58, 95, 0.12);
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .blog-post-content figure {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }
    .blog-post-content pre,
    .blog-post-content code {
      overflow-x: auto;
      word-wrap: break-word;
      max-width: 100%;
    }
    .blog-header .header-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.4rem;
      padding: 0.35rem 0;
    }
    .blog-header .logo {
      height: 60px;
    }
    .header-nav {
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .blog-hero {
      padding: 2.5rem 0 2rem;
    }
    .blog-hero-title {
      font-size: 2.1rem;
    }
    .blog-card-grid {
      grid-template-columns: 1fr;
      margin: 2.25rem auto;
    }
    .blog-card {
      padding: 1.75rem;
    }
     .features-grid {
        grid-template-columns: 1fr;
     }
     .hero-inner {
       flex-direction: column;
       text-align: center;
     }
     .hero-image {
       flex: 1 1 auto;
       max-width: 100%;
       width: 100%;
     }
     .hero-mockup {
       max-width: 300px;
       width: 100%;
       height: auto;
     }
     .hero-heading {
       font-size: 2rem;
     }
     .logo {
       height: 100px; /* Larger mobile logo that fills header height */
     }
     .features-list {
       grid-template-columns: 1fr;
     }
     .invite-form {
       padding: 1.5rem;
     }

     /* Feature carousel mobile adjustments */
     .feature-carousel-section {
       padding: 2.5rem 0;
     }

     /* Vignette feature cards mobile adjustments */
     .vignette-feature-card {
       max-width: 250px;
       margin-bottom: 1.5rem;
     }

     /* Mobile spacing adjustments */
     .vignette-section {
       padding: 1.5rem 0; /* Increased from 0.5rem - better spacing between vignettes */
     }

     /* Mobile-specific vignette sizing */
     .vignette-content {
       flex: 1 1 auto; /* Let it size naturally on mobile */
       min-width: 0; /* Remove minimum width constraint on mobile */
       padding: 1rem 0; /* Add some vertical breathing room */
     }
     .vignette-media {
       flex: 1 1 auto; /* Let it size naturally on mobile */
       min-width: 0; /* Remove minimum width constraint on mobile */
       padding: 0.5rem 0; /* Add some vertical breathing room */
     }
     .vignette-inner,
     .vignette-reverse {
       flex-direction: column;
       gap: 0.5rem; /* Increased from 0.125rem - more comfortable spacing */
       align-items: stretch; /* Ensure content fills width */
     }
     .vignette-heading {
       font-size: 1.75rem;
       margin-bottom: 0.5rem; /* Reduced from 0.75rem */
     }
     .vignette-description {
       font-size: 1rem;
       margin-bottom: 0.25rem; /* Much tighter - this affects button spacing */
     }
     .narrative-text {
       font-size: 1.125rem;
     }

     /* Reduce spacing in other sections */
     .hero-section {
       padding: 2rem 0; /* Increased from 1.5rem */
     }
     .narrative-section {
       padding: 1.5rem 0; /* Increased from 1rem */
     }
     .testimonials-section {
       padding: 2rem 0; /* Increased from 1.5rem */
     }
     .invite-section {
       padding: 2rem 0; /* Increased from 1.5rem */
     }
   }

   /* Extra tight spacing for very small screens */
  @media (max-width: 480px) {
    html, body {
      overflow-x: hidden;
      width: 100%;
      position: relative;
    }
    .container {
      width: 100%;
      padding-left: 0.75rem;
      padding-right: 0.75rem;
      box-sizing: border-box;
      overflow-x: hidden;
    }
    .blog-post-content {
      padding: 0;
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
      word-wrap: break-word;
    }
    .blog-post-content img,
    .blog-post-content figure img {
      width: auto !important;
      max-width: calc(100vw - 1.5rem) !important;
      height: auto !important;
      border-radius: 12px;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .blog-post-content figure {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }
    .blog-post-content pre,
    .blog-post-content code {
      overflow-x: auto;
      word-wrap: break-word;
      max-width: 100%;
    }
    .blog-header .header-inner {
      gap: 0.3rem;
    }
    .blog-header .logo {
      height: 52px;
    }
    .blog-hero {
      padding: 2.25rem 0 1.75rem;
    }
    .blog-hero-title {
      font-size: 1.9rem;
    }
    .blog-hero-subtitle {
      font-size: 1rem;
    }
    .blog-card {
      padding: 1.5rem;
    }
     .vignette-section {
       padding: 1rem 0; /* Increased from 0.25rem - better spacing between vignettes */
     }
     .vignette-inner {
       gap: 0.5rem; /* Increased from 0.125rem - more comfortable spacing */
     }
     .vignette-heading {
       margin-bottom: 0.25rem;
     }
     .vignette-description {
       margin-bottom: 0.125rem; /* Extremely tight */
     }
     .hero-section {
       padding: 1rem 0;
     }
     .hero-mockup {
       max-width: 250px; /* Smaller on very small screens */
     }
     .narrative-section {
       padding: 0.75rem 0;
     }
     .testimonials-section {
       padding: 1rem 0;
     }
     .invite-section {
       padding: 1rem 0;
     }
   }
