/* Global styles */
html, body {
      height: 100%;
      margin: 0;
    }

    body {
      margin: 0;
      font-family: 'Open Sans', Arial, sans-serif;
      background: #444;
      color: #111;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 100vh;

    }
    h1, h2, h3, h4{
      font-family: 'Open Sansw', Arial, sans-serif;
      font-size: 2.5rem;
      margin: 0;
      line-height: 1.2;
      font-weight: 500;
      color: #231942;
    }
    h1.with-subtitle {
      font-family: 'Open Sansw', Arial, sans-serif;
      font-size: 2.5rem;
      margin: 0;
      line-height: 1.2;
      font-weight: 500;
      color: #231942;
      margin-bottom: 0rem;
      margin-top:0rem;
    }

    h2{
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    h3{
      font-size: 1.75rem;
      margin-bottom: 1rem;
    }
    h3.subtitle {
      font-size: 1.75rem;
      margin-top: 0;
      margin-bottom: 0;
      color: #555;
    }
    .micro-note {
      font-size: 0.9rem;
      color: #666;
      font-style: italic;
      margin-top: 0.5rem;
      margin-bottom: 1rem;
    }
    @media (max-width: 600px) {
      h1 {
        font-size: 1.8rem;
      }
      h1.with-subtitle{
        font-size: 1.7rem;
      }
      h2 {
        font-size: 1.4rem;
      }
      h3 {
        font-size: 1.2rem;
      }
      h4 {
        font-size: 1rem;
      }
    }

    .subtitle {
      display: block;
      margin-top: 0rem; /* or 0 for no gap */
      font-size: 1.15rem;
      color: #555;
    }
    .max-width {
      max-width: 1200px;
      margin: 0 auto;
      background: #f8faf5;
      flex: 1;
      flex-direction: column;
      width: 100%
    }

    strong.semibold {
      font-weight: 600;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: top;
      text-align: left;
    }
    .container {
      max-width: 100%;
      width: 100%;
      margin: 0;
      padding: 1.5rem 1.5rem 0 1.5rem;
      box-sizing: border-box;
      background: #f8faf5;
    }
    @media (max-width: 700px) {
      .container {
        padding: 1rem 0.5rem;
      }
    }
    .padding-2rem {
      padding: 2rem;
    }
    .en-header {
      background:#231942; 
      color:#fff; 
      padding:0;
    }
    .logo {
      height: 100%;
    }

    /* button styles */
    .nav {
      display: flex;
      justify-content: center;
      margin-top: 2rem;
      gap: 1rem;

    }
    .cta-container {
      text-align: center;
    }
    .cta-stack {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
    }
    .cta-container--stacked {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
    }
    .cta-container--stacked .impact-btn {
      margin-bottom: 0.25rem;
    }
    .cta-container--stacked span {
      display: block;
      text-align: center;
      margin: 0;
      font-size: 1rem;
      color: #231942;
    }
    .image {
      width: 100%;
      height: auto;
      max-width: 1200px;
      display: block;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .image-chip{
      max-width: 600px; /* or your preferred max */
    }
   
    .image img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    .story-panels {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1rem;
      margin-top: 1rem;
    }
    .story-panels figure.list {
      display:block;
      width:100%;
      height:auto;
      aspect-ratio:16/9;
      background:#f3f4f6;
      object-fit:cover;
    }
     .card-row {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem; /* gutter between cards */
        justify-content: center;
      }
      .card {
        flex: 1 1 300px; /* grow, shrink, min width */
        max-width: 600px; /* or your preferred max */
      }

    .card {
      display: block;
      width: 100%;
      max-width: 600px;
      aspect-ratio: 16/9;
      background: #f3f4f6;
      object-fit: cover;
      margin: 0 auto;
      box-sizing: border-box;
      padding-left: 1rem;
      padding-right: 1rem;
    }
    .card img, .image-chip img {
      display: block;
      width: 100%;
      height: auto;
      margin: 0 auto;
      border-radius: .75em;
      box-sizing: border-box;
    }

    /* Calendly sizing */
    #calendar {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .calendly-inline-widget {
      min-width: 320px;
      height: 700px;
    }
    @media (max-width: 600px) {
      .calendly-inline-widget {
        height: 1000px !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        overflow: visible !important;
      }
      html, body, #calendar, section {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
      }
    }
    li{
      text-align: left;
      margin-bottom: .5rem;
    }

    strong{
      font-weight: 600;
    }

    .primary-btn {
      background: #5b2366;
      color: #fff;
      border: none;
      border-radius: 2rem;
      padding: 1rem 2.5rem;
      font-size: 1.25rem;
      margin-top: 2rem;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.2s ease;
    }
    .primary-btn:hover, .primary-btn:focus-visible {
      transform: scale(1.03);
    }

    .secondary-btn {
      background: #0063B9;
      color: #fff;
      border: none;
      border-radius: 2rem;
      padding: 1rem 2.5rem;
      font-size: 1.0rem;
      margin-top: 2rem;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.2s ease;
      text-decoration: none;
      margin: 2rem auto 0 auto;
    }
    .secondary-btn:hover, .secondary-btn:focus-visible {
      transform: scale(1.03);
    }


    .impact-btn {
      background: #5b2366;
      color: #fff;
      border: none;
      border-radius: 3rem;
      padding: 1rem 1rem;
      font-size: 1.25rem;
      margin-top: 2rem;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.2s ease;
      display: inline-block;
      width: auto;
      min-width: 0;
      align-self: flex-start; /* or center if you want it centered */
    }
    .impact-btn:hover, .impact-btn:focus-visible {
      transform: scale(1.03);
    }
    .impact-note {
      margin-top: 0.5rem;
      color: #444;
      font-size: 1rem;
    }
    a.impact-btn {
      text-decoration: none;
      display: inline-block;
      font-size: 1rem;
    }
    .progress-wrapper {
    width: 95%;
    height: 10px;
    background-color: #471E60; /* Purple track */
    border-radius: 999px;
    overflow: hidden;
    margin: 1rem .5rem;
  }

  .progress-bar {
    height: 100%;
    width: var(--progress, 0%);
    background-color: #BEDA5E; /* Lime green fill */
    border-radius: 999px;
    transition: width 0.3s ease;
  }
  /* Visually hidden but accessible text */
    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    }

  /* Form elements */
  .options{
    display: block;
    flex-direction: column;
    gap: 1rem;
    counter-reset: option -1; /* reset counter for custom A/B/C/D */
    width: 100%;
  }
  .opt{
    background: #fae2fc; /*button color*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: .85rem;
    font-size: 1.25rem;
    border-radius: 2rem;
    border:#d68ee0 solid 1px;
    gap: .5rem;
    transition: transform 0.2s ease;
    width: 100%;
  }
  .opt:hover{
    transform: scale(1.03);

  }
  .options input[type="radio"] {
    opacity: 0;
    position: absolute;
    inset: 0;
  }
  .options label{
     display: flex;
    align-items: center;
    width: 100%;
    inline-size: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    counter-increment: option; /* count up */
  }

/* custom circle showing A/B/C/D */
  .options label:before{ 
    content: counter(option, upper-alpha);    /* A, B, C... */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #d68ee0;
    border-radius: 50%;
    background: #FAFDF6;
    color: #5D1E60;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  /* checked state */
  .options > label:has(input[type="radio"]:checked)::before{
    background-color: #231942;
    background: #5D1E60;
    border-color: #5D1E60;
    color: #FAFDF6;
  }

  /* reset counter for each group */
  .options {
    counter-reset: option;
  }
  /* minimal, tweak to your system */
    .error-banner{
    background:#FDE8E8; border:1px solid #F8B4B4; color:#611A15;
    padding:10px 12px; border-radius:8px; margin:0 0 12px 0; font-size:.95rem;
    }
    .is-invalid { outline:2px solid #F8B4B4; outline-offset:2px; border-radius:6px; }
    .error-text{ color:#B91C1C; font-size:.85rem; margin-top:6px; }

    @media (min-width: 600px) {
      .impact-btn {
        font-size: 1.0rem;
        padding: 1.25rem 3rem;
      }
    }

    /* range slider */
  .range{
    -webkit-appearance: none; /* removes default WebKit styles */
  -moz-appearance: none;    /* removes default Firefox styles */
  appearance: none;
  background: transparent;  /* let the track styles show */
}

/* Track (rail) */
.range::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: #471E60;   /* purple rail */
}
.range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: #471E60;   /* purple rail */
}

/* Thumb (knob) — Chrome/Safari/Edge */
    .range::-webkit-slider-thumb {
      -webkit-appearance: none; /* 👈 critical */
      appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #BEDA5E;      /* lime knob */
      border: 2px solid #000;   /* black border */
      cursor: pointer;
      margin-top: -7px;         /* centers on 10px track */
    }

    /* Thumb (knob) — Firefox */
    .range::-moz-range-thumb {
      -moz-appearance: none; /* 👈 critical */
      appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #BEDA5E;      /* lime knob */
      border: 2px solid #000;   /* black border */
      cursor: pointer;
    }

    /* Q12 range: centered, responsive length, brand styling */
   /* Center, responsive length */
    .step[data-step="6"] .range {
      display: block;
      margin: 12px auto;
      width: min(100%, 640px);
      background: transparent;
      -webkit-appearance: none;
      appearance: none;

      /* Mobile touch */
      touch-action: pan-y;                 /* allow vertical scroll, smooth horizontal slide */
      -webkit-tap-highlight-color: transparent;
    }

    /* Track */
    .step[data-step="6"] .range::-webkit-slider-runnable-track {
      height: 12px;                        /* a bit taller for touch */
      border-radius: 999px;
      background: #471E60;
    }
    .step[data-step="6"] .range::-moz-range-track {
      height: 12px;
      border-radius: 999px;
      background: #471E60;
    }

    /* Thumb (knob) – base */
    .step[data-step="6"] .range::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none;
      width: 28px; height: 28px;          /* larger touch target */
      margin-top: -8px;                   /* (28 - 12) / 2 */
      border-radius: 50%;
      background: #BEDA5E;
      border: 2px solid #fff;
      box-shadow: 0 0 0 2px #471E60;
      cursor: pointer;
    }
    .step[data-step="6"] .range::-moz-range-thumb {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: #BEDA5E;
      border: 2px solid #fff;
      box-shadow: 0 0 0 2px #471E60;
      cursor: pointer;
    }

    /* Focus / hover */
    .step[data-step="6"] .range:focus-visible::-webkit-slider-thumb,
    .step[data-step="6"] .range:focus-visible::-moz-range-thumb {
      outline: 3px solid #BEDA5E; outline-offset: 2px;
    }
    .step[data-step="6"] .range:hover::-webkit-slider-thumb,
    .step[data-step="6"] .range:hover::-moz-range-thumb {
      filter: brightness(0.95);
    }

    /* Very small phones: scale down the thumb slightly */
    @media (max-width: 380px) {
      .step[data-step="6"] .range { width: min(100%, 520px); }
      .step[data-step="6"] .range::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -6px; }
      .step[data-step="6"] .range::-moz-range-thumb { width: 24px; height: 24px; }
    }
 /* Footer styles */

    .logo_sm {
      height: 50px;
    }
    .site-footer {
    color: #E5E7EB;
    width: 100%;
    max-width: 1200px;
    margin-top: auto;       /* pins footer to bottom in flex layout */
    margin-left: auto;
    margin-right: auto;
    }

  .site-footer > .footer-inner {
    background-color: #231942;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .footer-links {
    flex: 1;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    gap: 8px;
  }

  .footer-nav {
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left;
    padding-right: 1rem;
    padding-bottom: 1rem;
  }
    

    .footer-nav a {
    color: #E5E7EB;
    text-decoration: none;
    text-underline-offset: 2px;
    }

    .footer-nav a:focus-visible {
    outline: 2px solid #BEDA5E;
    outline-offset: 3px;
    border-radius: 4px;
    }

  .copyright {
    justify-self: start;
    margin: 0;
    color: #D1D5DB;
    text-align: left;
    white-space: normal;
    word-break: break-word;
  }
    

  @media (max-width: 640px) {
    .footer-inner {
      grid-template-columns: 1fr;
      text-align: left;
    }
    .footer-links {
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
    }
    .footer-nav {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 6px;
    }
    .brand-mark,
    .copyright {
      justify-self: start;
      text-align: left;
    }
  }

  /* Flex row for Why Stories Stick section */
.why-stories-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.why-stories-content {
  flex: 1 1 320px;
  min-width: 0;
}
/* Make the image card take up more space in the row */
.why-stories-row .card {
  flex: 1 1 400px;
  max-width: 600px;
  min-width: 240px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-stories-row .card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
@media (max-width: 800px) {
  .why-stories-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  .why-stories-row .card {
    max-width: 100%;
    width: 100%;
    align-self: center;
  }
  .why-stories-row .card img {
    max-width: 100%;
    width: 100%;
  }
}

/* Video embed styles */

 .responsive-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  }
  .responsive-video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
  }


/* Storyboard panel styles */
.storyboard-panel {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 #23194211;
}

.storyboard-img.fill-panel {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.storyboard-caption {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
}

/* Responsive 2x2 grid for What You Get section */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.benefit-item {
  text-align: left;
}

/* Left-align text in Impact & AI section */
#proof-process .container .subtitle,
#proof-process .container span.subtitle,
#proof-process .container p,
#proof-process .container ul.benefits-list,
#proof-process .container li.benefit-item {
  text-align: left;
}

/* Responsive spacing for the secondary CTA container */
.secondary-cta-container {
  padding: 0rem 0 2.0rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .secondary-cta-container {
    padding: 1.25rem 0 1.75rem 0;
  }
}

/* Center the submit button in the PDF download form */
.pdf-download-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.pdf-download-form .impact-btn {
  margin-left: auto;
  margin-right: auto;
  margin-bottom:2rem;
  display: block;
}
  
/* Centered, rounded, floating form container */
.form-container {
  max-width: 420px;
  margin: 5vh auto;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 4px 32px 0 #23194222;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pdf-download-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.pdf-download-form .impact-btn {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-input {
  font-size: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: 2rem;
  border: 1px solid #e0e0e0;
  background: #fafdf6;
  color: #231942;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px 0 #23194211;
}
.form-input:focus {
  border: 1.5px solid #662566;
  box-shadow: 0 2px 12px 0 #66256622;
}

@media (max-width: 600px) {
  .form-container {
    max-width: 98vw;
    padding: 1.25rem 0.5rem 1.5rem 0.5rem;
  }
}

/* Responsive card grid for benefits */
.benefits-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}
@media (min-width: 600px) {
  .benefits-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .benefits-card-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.benefit-card {
  background: #fafdf6;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px 0 #23194211;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 0;
}
.benefit-card-content {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card-icon {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: block;
}
.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #231942;
}
.benefit-text {
  font-size: 1rem;
  color: #444;
}



