@media (min-width: 768px) {

    section h1:first-of-type {
        max-width: 90% !important; 
    }

    section h2:first-of-type {
        max-width: 90% !important;
    }

    section h3:first-of-type {
        max-width: 90% !important;
    }

    section h4:first-of-type {
        max-width: 90% !important;
    }
}

@media (min-width: 1100px) {

    section h1:first-of-type {
        max-width: 1080px !important; 
    }

    section h2:first-of-type {
        max-width: 1080px !important; 
    }

    section h3:first-of-type {
        max-width: 1080px !important; 
    }

    section h4:first-of-type {
        max-width: 1080px !important; 
    }
    section p:first-of-type {
        max-width: 1080px !important; 
    }
}
.section-divider--flipped svg {
    transform: scaleX(-1) !important;
}
[class*="stat"] {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-in { opacity: 0; transition: opacity 0.7s ease; }
.animate-fade-in.is-visible { opacity: 1; }
.animate-slide-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-slide-left.is-visible { opacity: 1; transform: translateX(0); }
.animate-slide-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-slide-right.is-visible { opacity: 1; transform: translateX(0); }
.animate-scale-in { opacity: 0; transform: scale(0.92); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-scale-in.is-visible { opacity: 1; transform: scale(1); }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

section:not(.section-divider):not(.hero):not([class*="hero"]):not(footer):not([class*="footer"]):not([class*="stats"]):not([class*="metric"]):not(:first-of-type) {
  padding-top: 100px;
  padding-bottom: 100px;
  border: none;
  outline: none;
  position: relative;
}
main > section:not(:first-of-type):not([class*="stats"]):not([class*="metric"]) {
  padding-top: 100px;
  padding-bottom: 100px;
  border: none;
  outline: none;
  position: relative;
}
@media (max-width: 767px) {
  section:not(.section-divider):not(.hero):not([class*="hero"]):not(footer):not([class*="footer"]):not([class*="stats"]):not([class*="metric"]):not(:first-of-type) {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  main > section:not(:first-of-type):not([class*="stats"]):not([class*="metric"]) {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}
.btn--primary {
  padding: 1rem 2.45rem;
}
.btn--sm {
  padding: 0.7rem 1.3rem;
}
.final-cta-btn {
  margin-bottom: 10px;
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}
.card {
  padding: 24px;
}
.icon-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--space-md);
}
.icon-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.icon-row .icon-wrap {
  margin-bottom: 0;
}
.hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
}
@media (max-width: 1024px) {
  .hero__inner--split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}
.eyebrow {
  display: inline-block;
  width: auto;
  max-width: max-content;
  padding: 0.55rem 1.05rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.eyebrow-wrap {
  width: 100%;
  margin-bottom: 25px;
}
#registration {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) var(--space-md);
  overflow: hidden;
}
.reg-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.reg-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  position: relative;
}
.field {
  position: relative;
  width: 100%;
  display: block;
  margin-bottom: 1rem;
  box-sizing: border-box;
}
.field-inner {
  position: relative;
  width: 100%;
  display: block;
}
#register-form {
  width: 100%;
  display: block;
  box-sizing: border-box;
}
#register-form input {
  width: 100%;
  text-align: center;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}
.field-inner > i.fa, .field-inner > i.fas, .field-inner > i[class*="fa-"] {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
}
[data-toggle-password] {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  z-index: 3;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}
@media (max-width: 767px) {
  #registration {
    padding: clamp(2rem, 8vw, 4rem) var(--space-mobile-edge);
  }
  .reg-card {
    padding: 1.5rem 1rem;
  }
  #register-form input {
    font-size: 16px;
  }
}
.proof-bar {
  padding: var(--space-md) 0;
  overflow: hidden;
}
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.75rem var(--space-md);
  transform: translateY(100%);
}
p { line-height: 1.5rem; }
.btn, tempbutton { 
  display:inline-flex;
  align-items:center;
  justify-content:center; 
 min-width: 180px;
min-height: 50px;
padding-left: 24px;
padding-right: 24px;
gap: 0.5rem; 
border: none;
cursor: pointer;
}
.form-group {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1rem;
}
.form-group--icon { position: relative; }
.input-icon-wrap { position: relative; width: 100%; display: block; }
.form-group--icon input, .form-group--icon textarea {
  width: 100%; box-sizing: border-box; font-size: 16px; line-height: normal;
  padding-left: 12px; padding-right: 44px;
}
.form-card {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-group--icon input { height: 48px ; }
.form-group--icon textarea { height: auto; padding-top: 12px; padding-bottom: 12px; }
.form-icon {
  position: absolute; right: 0.65rem ; top: 50% ;
  transform: translateY(-50%) ; width: 1.5rem; height: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem ; line-height: 1; pointer-events: none;
  opacity: 0.6; color: var(--color-accent);
}
.input-icon-wrap:has(textarea) .form-icon { top: 1rem ; transform: none ; }

/* === NAV-INNER BASELINE LAYOUT (platform-owned) ===
   navigation.md instructs the model to wrap nav content in <nav class="nav-inner">,
   but no rule anywhere — prompt or static CSS — actually defines this element's layout.
   Without this, the model must reinvent flex/spacing for logo + links + CTA + hamburger
   from scratch on every generation, and when it's omitted the four children default-flow
   as stacked block elements with no enforced row structure, which is what was causing the
   hamburger to render in the wrong place / not visibly function on mobile. This is a
   baseline default the model's own CSS can still override per-page if it writes more
   specific rules — it is not !important. */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-md);
}
@media (max-width: 767px) {
  .nav-inner {
    flex-wrap: nowrap;
  }
  /* On mobile, only the logo and the hamburger occupy the visible row — nav-links is
     hidden by the drawer rule and nav-cta is hidden per navigation.md, but if either
     somehow remains in flow it must not push the hamburger out of the row. */
  .nav-inner > .nav-links,
  .nav-inner > .nav-cta,
  .nav-inner > .btn--primary {
    order: 2;
  }
  .nav-inner > .nav-toggle {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  section, header, footer, nav, .section, .hero, .site-nav, .site-footer {
    padding-left: var(--space-mobile-edge) ;
    padding-right: var(--space-mobile-edge) ;
    width: 100% ; max-width: 100% ; box-sizing: border-box ;
  }
  .container, .section__inner, .hero__inner, .cta__inner, .features__inner,
  .testimonials__inner, .pricing__inner, .faq__inner, .footer__inner {
    padding-left: 0 ; padding-right: 0 ;
    width: 100% ; max-width: 100% ; box-sizing: border-box ;
  }
  * { grid-template-columns: 1fr ; }
  .grid, .features-grid, .benefits-grid, .testimonials-grid, .pricing-grid,
  [class*="grid"], [class*="columns"], [class*="row"] {
    display: flex ; flex-direction: column ; gap: 1rem ;
  }
  .card, .feature-row, .pricing-card, [class*="card"], [class*="col-"] {
    width: 100% ; max-width: 100% ; flex-basis: 100% ;
  }
  [style*="display:flex"], [style*="display: flex"] {
    flex-wrap: wrap ; flex-direction: column ;
  }
  h1, .hero h1, .hero__headline { font-size: clamp(1.75rem, 7vw, 2.1875rem) ; line-height: 1.15 ; }
  h2, .section-headline { font-size: clamp(1.4rem, 5.5vw, 1.875rem) ; line-height: 1.2 ; }
  h3 { font-size: clamp(1.1rem, 4vw, 1.5rem) ; }
  .btn--primary, a.btn--primary, tempbutton.btn--primary {
    width: auto ; max-width: 100% ; padding: 0.875rem 1.5rem ;
    font-size: clamp(16px, 4vw, 18px) ; white-space: normal ;
  }
}
.faq-answer { max-height: none; overflow: hidden; display: block; }
.avatar, [class*="avatar"], [class*="testimonial-photo"], [class*="author-photo"] {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  min-height: 56px;
  max-height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  object-fit: cover;
}
@media (min-width: 768px) {
  [class*="col-"] h1, [class*="col-"] h2, [class*="col-"] h3, [class*="col-"] h4,
  [class*="columns"] h1, [class*="columns"] h2, [class*="columns"] h3, [class*="columns"] h4,
  [class*="grid"] h1, [class*="grid"] h2, [class*="grid"] h3, [class*="grid"] h4 {
    font-size: min(2.5rem, 100%);
  }
}
@media (max-width: 767px) {
  [class*="col-"] h1, [class*="col-"] h2, [class*="col-"] h3, [class*="col-"] h4,
  [class*="columns"] h1, [class*="columns"] h2, [class*="columns"] h3, [class*="columns"] h4,
  [class*="grid"] h1, [class*="grid"] h2, [class*="grid"] h3, [class*="grid"] h4 {
    font-size: min(1.875rem, 100%);
  }
}
.grid, .features-grid, .benefits-grid, .testimonials-grid, .pricing-grid,
[class*="grid"], [class*="columns"], [class*="row"] {
  gap: min(25px, 100%);
}

section > *:not(.card):not([class*="card"]):not([class*="pricing"]):not([class*="testimonial"]):not([class*="bonus"]):not([class*="callout"]):not([class*="highlight"]):not(.section-divider) {
  background: transparent;
}
[style*="text-align:center"],
[style*="text-align: center"],
.text-center,
[class*="text-center"] {
  text-wrap: balance;
}
[style*="text-align:left"],
[style*="text-align: left"],
.text-left,
[class*="text-left"] {
  text-wrap: unset;
}
* {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
[class*="pill"]:not([class*="-wrap"]):not([class*="-wrapper"]),
[class*="badge"]:not([class*="-wrap"]):not([class*="-wrapper"]):not([class*="badges"]),
[class*="tag"]:not([class*="-wrap"]):not([class*="-wrapper"]):not([class*="section-tag"]):not([class*="tagline"]),
[class*="eyebrow"]:not([class*="-wrap"]):not([class*="-wrapper"]),
[class*="kicker"]:not([class*="-wrap"]):not([class*="-wrapper"]) {
  display: inline-block;
  width: auto;
  max-width: max-content;
}
@media (min-width: 768px) {
  [class*="stats-row"], [class*="stat-row"], [class*="stats-bar"], [class*="metrics"] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
