/* =============================================
   MOBILE STYLES (768px and below)
   Gadura - Mobile Responsive Overrides
   ============================================= */

/* =============================================
   KEYFRAMES - Must be at root level for proper loading
   ============================================= */
@-webkit-keyframes founder-shine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

@keyframes founder-shine {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

@-webkit-keyframes founder-fade-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes founder-fade-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page fade-in animation for smooth transitions */
@keyframes page-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Page transition overlay - matches nav menu background */
#page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg, #faf8f6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 99999;
}

#page-transition-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Apply fade-in to body on page load (mobile only) */
@media (max-width: 768px) {
  body {
    animation: page-fade-in 0.2s ease-out;
  }
}

/* Disable tap highlight on all interactive elements */
a,
button,
input,
select,
textarea,
[role="button"],
.nav-link,
.brand,
.faq-question,
.unlimited-card {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Lock body scroll when menu is open */
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* Force center alignment on mobile */
@media (max-width: 768px) {
  /* Prevent horizontal scroll on mobile */
  html, body {
    overflow-x: clip; /* Use clip instead of hidden - doesn't break sticky */
    width: 100%;
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }
  
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
}






/* =============================================
   HEADER & HAMBURGER MENU (MOBILE)
   Squarespace-inspired slide-from-right menu
   ============================================= */

.hamburger {
  display: none;
}

/* No overlay needed - full screen dark menu */

@media (max-width: 768px) {

  /* Header - stays on top of everything */
  /* Transparent at top, glass effect on scroll (matches desktop behavior) */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10002 !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.3s ease, backdrop-filter 0.3s ease, transform 0.3s ease;
  }

  .site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* Hide header on scroll down, show on scroll up */
  .site-header.header-hidden {
    transform: translateY(-100%);
  }

  /* Add padding to body so content doesn't go under fixed header */
  body {
    padding-top: 70px;
  }

  .header-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 1.25rem !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
  }

  /* make sure the logo nudges away from the edge cleanly */
  .site-header .brand {
    margin-left: 0.5rem;
  }

  /* ========== HAMBURGER BUTTON ========== */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10003;
    position: relative;
    margin-right: 0.5rem;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  /* X transformation when open */
  .hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* ========== MOBILE NAV - FULL SCREEN SLIDE FROM RIGHT ========== */
  .nav,
  .site-nav {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: calc(100vh - 70px) !important;
    height: calc(100dvh - 70px) !important;
    background: var(--bg, #faf8f6) !important;
    z-index: 10001 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 0 0 2rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: none !important;
    border-top: none !important;

    /* Slide from right animation */
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
    visibility: hidden;
  }

  .nav.is-open,
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }

  /* Staggered fade-in for nav items */
  .site-nav .nav-item,
  .site-nav .nav-auth-buttons {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .site-nav.is-open .nav-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }

  .site-nav.is-open .nav-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
  }

  .site-nav.is-open .nav-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  .site-nav.is-open .nav-item:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
  }

  .site-nav.is-open .nav-item:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }

  .site-nav.is-open .nav-auth-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
  }

  /* Nav list */
  .site-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 1.75rem !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* Nav items */
  .site-nav .nav-item,
  .nav .nav-item {
    width: 100%;
    text-align: left;
  }

  /* Nav links - uppercase like desktop */
  .site-nav .nav-link,
  .nav .nav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500;
    color: var(--text-main, #2a2623) !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 100%;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
  }

  /* Hide desktop underline */
  .site-nav .nav-link::after,
  .nav .nav-link::after {
    display: none !important;
  }

  /* First nav item - same padding as others, just add separator above */
  .site-nav-list > .nav-item:first-child > .nav-link {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  /* Pricing link - no border, no extra spacing */
  .site-nav-list > .nav-item:last-of-type:not(.nav-has-panel) {
    margin-top: 0 !important;
  }

  .site-nav-list > .nav-item:last-of-type:not(.nav-has-panel) > .nav-link {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 1.25rem 0 !important;
  }

  /* ========== AUTH BUTTONS - Clean at bottom ========== */
  .nav-auth-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1.5rem 1.75rem !important;
    margin-top: auto !important;
    border-top: none !important;
    background: transparent !important;
    width: 100% !important;
  }

  .site-nav.is-open .nav-auth-buttons {
    display: flex !important;
  }

  /* Login button - outlined style on light bg */
  .nav-auth-buttons .login-btn {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 1rem 1.5rem !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: var(--text-main, #2a2623) !important;
    background: transparent !important;
    width: 100% !important;
    box-shadow: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .nav-auth-buttons .login-btn:active {
    background: rgba(0, 0, 0, 0.05) !important;
  }

  /* Get Started button - brand brown CTA */
  .nav-auth-buttons .get-started-btn {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    background: var(--accent-strong, #b47b68) !important;
    color: #fff !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .nav-auth-buttons .get-started-btn:active {
    background: #9a6858 !important;
    transform: scale(0.98);
  }

  /* ========== ACCORDION DROPDOWNS ========== */

  .nav-item.nav-has-panel {
    flex-direction: column;
  }

  .nav-item.nav-has-panel > .nav-link {
    justify-content: space-between !important;
  }

  /* Chevron container - aligned with hamburger X */
  .nav-link-chevron {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    margin-right: 0.8rem;
  }

  /* Chevron arrow - same weight as hamburger (2px) */
  .nav-link-chevron::before {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-main, #2a2623);
    border-bottom: 2px solid var(--text-main, #2a2623);
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  /* Open state: rotate up */
  .nav-item.nav-has-panel.is-open .nav-link-chevron::before {
    transform: rotate(-135deg);
  }

  .nav-item.nav-has-panel.is-open > .nav-link {
    color: var(--accent-strong, #b47b68) !important;
  }

  /* Panel - COLLAPSED by default */
  .site-nav .nav-panel,
  .nav .nav-panel {
    position: static !important;
    left: unset !important;
    top: unset !important;
    transform: none !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  /* Panel - EXPANDED */
  .nav-item.nav-has-panel.is-open .nav-panel {
    max-height: 2000px;
    padding: 0.5rem 0 1rem !important;
  }

  /* Panel inner - single column layout */
  .site-nav .nav-panel-inner,
  .nav .nav-panel-inner {
    padding: 0 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Panel columns - single column, no grid */
  .nav-panel-column {
    text-align: left;
    width: 100% !important;
  }

  .nav-panel-column:not(:first-child) {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-panel-column:first-child {
    padding-top: 0.25rem;
  }

  .nav-panel-column--wide {
    width: 100% !important;
  }

  /* Section eyebrows - show on mobile */
  .nav-panel-eyebrow {
    display: block !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #999 !important;
    margin-bottom: 0.35rem !important;
    padding-left: 0.5rem !important;
  }

  .nav-panel-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main, #2a2623);
    margin-bottom: 0.5rem;
  }

  /* Platform columns - single column */
  .platform-columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Panel links - dark text */
  .nav-panel-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .nav-panel-links li {
    margin: 0 !important;
  }

  .nav-panel-links a {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0.35rem 0.5rem !important;
    border-radius: 0.4rem;
    text-decoration: none;
    color: var(--text-main, #2a2623) !important;
    transition: background 0.15s ease;
  }

  .nav-panel-links a:active {
    background: rgba(200, 158, 138, 0.12) !important;
  }

  /* Hide icons on mobile */
  .nav-panel-link-icon {
    display: none !important;
  }

  /* Link title - dark */
  .nav-panel-link-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main, #2a2623) !important;
  }

  /* Hide descriptions on mobile */
  .nav-panel-link-desc {
    display: none !important;
  }

  .nav-panel-link-text {
    display: block;
  }

  /* Overview link */
  .nav-panel-overview-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-strong, #b47b68) !important;
    font-weight: 600;
    text-decoration: none;
  }

  /* Hide promo */
  .nav-panel-promo {
    display: none !important;
  }

  /* Hide demo form on mobile */
  .nav-panel-demo {
    display: none !important;
  }

  /* Products footer - show Platform overview, hide Letter from founder (moved to main nav) */
  .nav-panel-products-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0.5rem 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  }

  .nav-panel-products-footer .nav-panel-footer-link {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--text-main, #2a2623) !important;
    text-decoration: none !important;
  }

  /* Hide the founder link inside products - it's in main nav now */
  .nav-panel-products-footer .nav-panel-founder-link {
    display: none !important;
  }

  /* Mobile-only founder link - standalone, centered with shimmer + fade-in */
  .mobile-founder-link {
    display: block !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
    padding: 0.5rem 1.75rem !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    /* Hidden by default, fades in when nav opens */
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  /* Fade in when nav is open - with delay (after auth buttons) */
  .site-nav.is-open .mobile-founder-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
  }

  /* Inner span handles the shimmer gradient - avoids animation conflicts */
  .mobile-founder-link span {
    background: linear-gradient(
      90deg,
      #0f172a 0%,
      #8b5a4a 20%,
      #d4a896 40%,
      #f5d4c8 50%,
      #d4a896 60%,
      #8b5a4a 80%,
      #0f172a 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    -webkit-animation: founder-shine 4s linear infinite;
    animation: founder-shine 4s linear infinite;
  }

}


/* Remove panel column borders on mobile */
@media (max-width: 768px) {
  .nav-panel-column::before,
  .nav-panel-column::after {
    display: none !important;
  }

  .nav-panel-column {
    border-left: none !important;
    border-right: none !important;
  }

  /* Make sure link titles are dark on mobile */
  .nav-panel-link-title {
    color: var(--text-main) !important;
  }

  .nav-panel-links a {
    color: var(--text-main) !important;
  }
}










/* =============================================
   GLOBAL / SHARED LAYOUT
   ============================================= */

@media (max-width: 640px) {
  .three-col,
  .four-col {
    grid-template-columns: 1fr;
  }

  .card,
  .feature-item {
    padding: 1.25rem 1.1rem;
  }

  .unlimited-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unlimited-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-metrics-grid {
    grid-template-columns: 1fr;
  }

  .features-layout {
    grid-template-columns: 1fr;
  }

  .feature-display {
    order: -1;
  }

  .plan-card-featured {
    transform: none;
  }
}


/* =============================================
   HOME PAGE
   ============================================= */

@media (max-width: 768px) {
  /* Hero section */
  .hero {
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
  }

  .hero-inner {
    padding: 0;
  }

  .hero-text {
    padding: 0;
    max-width: 100%;
  }


.hero h1 {
  font-size: clamp(4rem, 14vw, 3.5rem);
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}

.mobile-br {
  display: block;
}

/* Add space before "Now EARN" */
.hero h1 .highlight-word:last-of-type {
  margin-top: 2rem;
  display: inline-block;
}

}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.45rem;
  }
}

  .hero p {
    font-size: 0.9rem;
    padding: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
  }

 .hero-actions .btn {
  width: 75%;
  max-width: 320px;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

  .hero-subtext {
    font-size: 0.65rem;
    padding: 0;
  }

  /* Who is Gadura for - section header */
  .section-dark .section-header {
    padding: 0 1rem;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-dark .section-header h2 {
    font-size: 1.75rem;   /*who is gadura for font*/
    text-align: center !important;
    width: 100%;
  }

  .section-dark .section-header p {
    font-size: 0.75rem;
    max-width: 19rem;      /* limits width while staying readable */
    margin: 0.5rem auto 0; /* centers it */
    line-height: 1.6;      /* better readability */
    text-align: center;
  }

  /* Profession slider - mobile adjustments */
  .profession-slider {
    margin-top: -1rem;
    margin-bottom: -3rem;
    height: 32px;
    padding: 1rem 0 1.1rem;  /* reduces height (was 1.2rem 0 1.6rem) */
    background: radial-gradient(circle at center,
    rgba(200, 158, 138, 0.16),
    #1b1c21 30%);  /* 40% = smaller brown radius (was 60%) */
  }

  .profession-slider::before,
  .profession-slider::after {
    width: 40px;
  }

  .profession-track {
    animation-duration: 16s;
    height: 32px;
  }

  .profession-track span {
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    margin: 0 0.25rem;
    border-radius: 2rem;
  }

  /* Who section scroll indicator dots - hide if no cards */
  .who-scroll-dots {
    display: none;
  }




/* =============================================
   FEATURES SECTION - MOBILE
   ============================================= */

@media (max-width: 768px) {
  /* Section header */
  .section-alt .section-header h2 {
    font-size: 1.5rem;
  }

  .section-alt .section-header p {
    font-size: 0.85rem;
    margin-bottom: -1rem;
  }

  /* Stack layout vertically */
  #features .features-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Feature cards - horizontal scroll */
  #features .features-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 0;
    padding-left: calc((100vw - 280px) / 2);
    padding-right: calc((100vw - 280px) / 2);
    order: 1;
    height: auto;
    touch-action: pan-x;
    overflow-x: scroll;
    scroll-behavior: smooth;
  }

  /* Hide scrollbar */
  #features .features-list::-webkit-scrollbar {
    display: none;
  }

  #features .features-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Feature tabs - compact cards */
  #features .feature-tab {
    flex: 0 0 320px;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    height: auto;
    min-height: 0;
    scroll-snap-align: center;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: box-shadow 0.3s ease;
    color: var(--text-main);
  }

  #features .feature-tab .feature-tab-kicker {
    font-size: 0.65rem;
    color: var(--text-muted);
  }

  #features .feature-tab .feature-tab-title {
    font-size: 1rem;
    color: var(--text-main);
  }

  #features .feature-tab .feature-tab-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
  }

  /* Active/highlighted card */
  #features .feature-tab.is-active {
    transform: none;
    border-color: var(--accent-strong);
    background: linear-gradient(135deg, #ffffff, #faf3ef);
    box-shadow: 0 14px 32px rgba(180, 123, 104, 0.18);
  }

  /* Scroll dots - centered, order 2 */
  #features .features-scroll-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem auto;
    order: 2;
    width: 100%;
  }

  #features .features-scroll-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(200, 158, 138, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  #features .features-scroll-dots .dot.active {
    background: var(--accent-strong);
    width: 24px;
    border-radius: 4px;
  }

  /* Feature display area - order 3 */
  #features .feature-display {
    order: 3;
    height: auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Screen frame wrapper - centered */
  #features .screen-frame-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Screen frame - centered */
  #features .screen-frame {
  min-height: 200px;
  max-height: 280px;
  width: 100%;
  max-width: 398px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
}

  /* Hide desktop dots on mobile */
  #features .features-desktop-dots {
    display: none !important;
  }

  /* Feature copy - contains the button, centered */
  #features .feature-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: auto;
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
  }

  /* Hide the text copy on mobile */
  #features .feature-copy .feature-eyebrow,
  #features .feature-copy h3,
  #features .feature-copy p#feature-body {
    display: none;
  }

  /* Style the CTA button on mobile - centered below screen */
  #features .feature-cta-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Feature cards - pure CSS scroll snap */
#features .features-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding: 0.5rem 1rem;
  margin: 0 -1rem;
  width: calc(100% + 2rem);
  order: 1;
  height: auto;
   padding-left: calc((100vw - 320px) / 2);
  padding-right: calc((100vw - 320px) / 2);
}

#features .features-list::before,
#features .features-list::after {
  content: '';
  flex: 0 0 calc(50vw - 160px - 1rem);
}

#features .feature-tab {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
}


/* =============================================
     UNLIMITED / PLANS SECTION
     ============================================= */

  /* Title - fit on one line */
  #plans .section-header h2 {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  #plans .section-header p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Unlimited cards - single column, slim premium */
  .unlimited-grid {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .unlimited-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    opacity: 0;
    transform: translateY(20px);
    transition: 
      opacity 0.5s ease, 
      transform 0.5s ease,
      background 0.2s ease;
    cursor: pointer;
  }

  .unlimited-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .unlimited-card:active {
    background: rgba(0, 0, 0, 0.02);
  }

  .unlimited-card.is-expanded {
    background: rgba(0, 0, 0, 0.02);
  }

  .unlimited-card .unlimited-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-strong);
    border-radius: 8px;
    color: white;
    box-shadow: none;
  }

  .unlimited-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
  }

  /* Plus/minus indicator - minimal */
  .unlimited-card h3::after {
    content: '+';
    font-size: 0.9rem;
    font-weight: 300;
    color: #bbb;
    margin-left: 0.5rem;
    transition: all 0.2s ease;
  }

  .unlimited-card.is-expanded h3::after {
    content: '−';
    color: #999;
  }

  .unlimited-card p {
    display: none;
    width: 100%;
    margin: 0.25rem 0 0 0;
    padding: 0.25rem 0 0;
    padding-left: 44px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
  }

  .unlimited-card.is-expanded p {
    display: block;
    animation: expandText 0.2s ease;
  }

  @keyframes expandText {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Plan stage section */
  .plan-scale-heading {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding: 0 1rem;
  }

  .plan-scale-heading h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
  }

  .plan-scale-heading p {
    font-size: 0.8rem;
    margin: 0;
  }

  .plan-stage-toggle {
    justify-content: center;
    margin-bottom: 1rem;
  }

  /* Plan metrics card - 4 items in a row */
  .plan-metrics-card {
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .plan-metrics-header {
    margin-bottom: 1.25rem;
  }

  .plan-metrics-tagline {
    font-size: 0.8rem;
  }

  .plan-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .plan-metric {
    padding: 0.6rem 0.25rem;
    border-radius: 0.6rem;
  }

  .plan-metric .metric-label {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
  }

  .plan-metric .metric-value {
    font-size: 1.1rem;
  }

  .plan-metrics-note {
    font-size: 0.7rem;
    margin-top: 1rem;
  }











/* =============================================
   PRICING PAGE
   ============================================= */

@media (max-width: 768px) {
 
  /* Pricing Hero Section */
  .pricing-hero {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .pricing-hero-inner {
    flex-direction: column;
    gap: 0;
  }

  /* Hero Copy - Left Aligned */
  .pricing-hero-copy {
    max-width: 100%;
    min-width: 100%;
  }

  .pricing-eyebrow {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .pricing-hero h1 {
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .pricing-hero-sub {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Billing Toggle Card - Right Aligned on Mobile */
  .billing-toggle-card {
    max-width: 100%;
    min-width: 100%;
    min-height: auto;
    align-items: flex-end;
    margin-top: -0.75rem;
  }

  .billing-switch-row {
    margin-top: 1.5rem;
    flex-direction: row;
    justify-content: flex-end;
  }

  .billing-switch-text {
    text-align: right;
  }

  .billing-toggle-note {
    text-align: right;
    margin-top: 0.5rem;
  }

  .pricing-value-strip {
    grid-template-columns: 1fr;
  }

  /* Pricing Cards - Horizontal Scroll */
.pricing-plans-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  gap: 1rem;

  /* make section visually full-bleed */
  margin: 0 -1.25rem;        /* pulls slider to the phone edges */
  padding: 1rem 1.25rem 1.5rem;
  margin-top: -3rem !important;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pricing-plans-grid::-webkit-scrollbar {
  display: none;
}

/* Remove fake spacers */
.pricing-plans-grid::before,
.pricing-plans-grid::after {
  content: '';
  flex: 0 0 0;
}

/* 🔹 Keep your original card width */
.pricing-plans-grid .pricing-plan-card {
  flex: 0 0 300px;
  min-width: 300px;
  max-width: 300px;
  scroll-snap-align: center;
}

/* Disable lift on mobile */
.pricing-plans-grid .pricing-plan-featured {
  transform: translateY(0);
}

.pricing-plan-featured::after {
  display: none;
}


  /* Annual billing callout */
  .annual-callout {
    display: none;
  }

  /* Scroll indicator dots */
  .scroll-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .scroll-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(200, 158, 138, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .scroll-dots .dot.active {
    background: var(--accent-strong);
    width: 24px;
    border-radius: 4px;
  }


  

 /* ========================================
     Comparison Table - Mobile
     ======================================== */

  /* CRITICAL: Force overflow visible on all ancestors for sticky to work */
  .pricing-compare,
  .pricing-compare .container,
  .pricing-compare .section-header,
  .comparison-table-wrap,
  .comparison-table,
  .comparison-table tbody {
    overflow: visible !important;
  }

  /* Also ensure section doesn't clip */
  .section.section-alt.pricing-compare {
    overflow: visible !important;
  }
  
  .comparison-table-wrap {
    overflow: visible !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 0 0 12px 12px;
    border-width: 1px;
  }

  /* Base table */
  .comparison-table {
    font-size: 0.75rem;
    table-layout: fixed;
    width: 100%;
    overflow: visible !important;
  }

  /* Sticky header - same as desktop, just different top value */
  .comparison-table thead {
    position: sticky !important;
    top: 72px !important; /* Below the sticky nav */
    z-index: 10 !important;
  }

  .comparison-table thead th {
    padding: 0.75rem 0.5rem;
    font-size: 0.65rem;
    background: var(--text-main);
  }

  .comparison-table thead th.feature-col {
    padding-left: 0.75rem;
    width: 28%;
    font-size: 0.55rem;
    letter-spacing: 0.05em;
  }

  /* Plan names */
  .plan-header-content {
    gap: 0.5rem;
  }

  .plan-name {
    font-size: 1rem;
    font-weight: 700;
  }

  /* Plan header buttons on mobile - show arrow only */
  .plan-header-btn {
    font-size: 0;
    padding: 0.35rem 0.6rem;
    min-width: 0;
    width: auto;
    border-radius: 4px;
  }

  .plan-header-btn::after {
    content: "→";
    font-size: 0.7rem;
  }

  /* Keep button colors on mobile */
  .plan-btn-starter::after {
    color: var(--text-main);
  }

  .plan-btn-pro::after,
  .plan-btn-elite::after {
    color: #ffffff;
  }

  /* Body cells */
  .comparison-table tbody th[scope="row"] {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
  }

  .comparison-table tbody td {
    padding: 0.75rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 350;
    text-align: center;
  }

  /* Keep group and subgroup headers bold */
  .comparison-table tbody tr.comparison-group td,
  .comparison-table tbody tr.comparison-subgroup td {
    font-weight: 600 !important;
  }

  /* Icons */
  .icon-check,
  .icon-cross {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.6rem;
  }

  /* Main group headers (Build & Engage, etc.) - sticky like desktop */
  .comparison-group td {
    position: sticky !important;
    top: 160px !important; /* nav (~55px) + thead (~75px) this must match json script return isMobile()*/
    z-index: 9 !important;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    box-shadow: 0 1px 0 0 var(--accent), 0 -1px 0 0 var(--accent);
  }

  /* Subgroup headers (Courses & Learning, etc.) */
  .comparison-subgroup td {
    padding: 1.5rem 0.5rem 0.15rem 0.5rem !important;
    font-size: 0.55rem !important;
    letter-spacing: 0.1em;
  }

  /* First subgroup after main group - less top padding */
  .comparison-group + .comparison-subgroup td {
    padding-top: 1rem !important;
  }

  /* Zero fee badge */
  .zero-fee {
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
  }

  /* Footnote */
  .comparison-footnote {
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }

  /* Rounded corners on header at table end */
  .comparison-table thead.at-table-end th:first-child {
    border-bottom-left-radius: 12px;
  }

  .comparison-table thead.at-table-end th:last-child {
    border-bottom-right-radius: 12px;
  }

  /* Hide the JS-created fixed headers on mobile - we're using CSS sticky now */
  .mobile-fixed-header,
  .mobile-fixed-group {
    display: none !important;
  }











/* Replaces Section - mobile */
.section-replaces {
  padding: 3.25rem 0;
}

.replaces-header {
  margin-bottom: 2.25rem;
}

.replaces-header h2 {
  font-size: 2rem; /* keep your heading size */
}

/* IMPORTANT: keep ONE category per row on mobile */
.replaces-grid {
  display: grid;
  grid-template-columns: 1fr;   /* single column */
  gap: 1.5rem;
}

/* Slightly tighter category card */
.replaces-category {
  padding: 1.3rem 1.1rem;
}

/* Tools: same font + centered alignment as desktop,
   but smaller pills and TWO per row */
.replaces-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.replaces-tools .tool-logo {
  flex: 0 1 calc(50% - 0.5rem);      /* two per row */
  padding: 0.45rem 0.6rem;           /* scaled down, but same font-size from desktop */
  background: rgba(200, 158, 138, 0.04); /* a bit softer than desktop */
  border-radius: 0.4rem;
  box-shadow: none;                  /* avoid “big block” feel on mobile */
  text-align: center;                /* keep centered like desktop */
}

/* Optional: very soft hover (won't really matter on touch) */
.replaces-tools .tool-logo:hover {
  background: rgba(200, 158, 138, 0.08);
}

/* Replaces Section — tighter card height on mobile */

/* Reduce top/bottom padding of the card itself */
.replaces-category {
  padding: 1rem 1rem;        /* was 1.3rem+ */
}

/* Slightly reduce vertical gap inside the card */
.replaces-tools {
  gap: 0.35rem 0.45rem;      /* tighter spacing */
}

/* Make each pill a bit shorter (same font!) */
.replaces-tools .tool-logo {
  padding: 0.35rem 0.55rem;  /* shorter pill height */
  border-radius: 0.35rem;    /* visually matches reduced height */
}

/* Replaces Section — smaller competitor font on mobile */
.replaces-tools .tool-logo {
  font-size: 0.75rem;   /* try 0.8–0.9 depending on taste */
  line-height: 1.25;    /* keeps it readable while smaller */
}








  /* Help / Quiz Section */
  .section-help-dark {
    padding: 4rem 0;
  }

  .section-help-dark h2 {
    font-size: 1.8rem;
  }

  .section-help-dark p {
    font-size: 1rem;
  }

  .help-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .help-btn-outline,
  .help-btn-primary {
    width: 100%;
    max-width: 300px;
  }

  .email-capture-form {
    flex-direction: column;
    gap: 1rem;
  }

  .email-input {
    min-width: 100%;
  }

  .email-submit {
    width: 100%;
  }

  .quiz-form-inner {
    padding: 2rem 1.5rem;
  }
}




/* =============================================
   QUIZ QUESTION PAGE – COMPACT MOBILE LAYOUT
   ============================================= */

@media (max-width: 640px) {

  /* Section spacing */
  .quiz-section {
    padding: 1.2rem 0 1.4rem !important;  /* was 4rem 0 6rem */
  }

  .quiz-container {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }

  /* Header – a bit tighter vertically */
  .site-header .header-inner {
    padding: 0.5rem 1.25rem !important;
    min-height: 70px !important;
    box-sizing: border-box !important;
  }

  /* The white quiz card */
  .quiz-card {
    padding: 1.4rem 1.2rem !important;   /* was 3rem 2.5rem */
    min-height: 0 !important;           /* override 500px */
    border-radius: 1.2rem !important;
    box-shadow: 0 10px 26px rgba(42, 38, 35, 0.08) !important;
  }

  /* Question text */
  .quiz-question-title {
    font-size: 1.3rem !important;       /* down from 1.8rem */
    margin-bottom: 0.35rem !important;
  }

  .quiz-question-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;     /* was 2.5rem */
  }

  /* Options list & items */
  .quiz-options {
    gap: 0.55rem !important;            /* was 1rem */
  }

  .quiz-option {
    padding: 0.75rem 0.9rem !important; /* was 1.25rem 1.5rem */
    font-size: 0.8rem !important;
    border-radius: 0.9rem !important;
  }

  .option-icon {
    width: 30x !important;
    height: 30px !important;
  }

  .option-icon img {
    width: 30px !important;
    height: 30px !important;
  }

  /* “Question 1 of 6” text */
  .quiz-progress-text {
    font-size: 0.8rem !important;
    margin-bottom: 0.8rem !important;
  }

  /* Footer – compress so it can share the screen */
  .site-footer {
    padding: 1.1rem 1rem 1.2rem !important;  /* down from 2.5–2.75rem */
  }

  .footer-inner {
    gap: 0.25rem !important;
    font-size: 0.75rem !important;
  }

  .footer-company-name {
    font-size: 0.7rem !important;
    margin: 0 0 0.2rem !important;
  }
}



/* =============================================
       QUIZ RESULTS PAGE – compact premium mobile
============================================= */
  @media (max-width: 768px) {

    /* No sideways scroll */
    html, body {
      overflow-x: hidden;
    }

    /* Tighten header area */
    .site-header {
      padding: 0;
    }
    .site-header .header-inner {
      padding: 0.5rem 1.25rem;
      min-height: 70px;
      box-sizing: border-box;
    }

    /* Section layout */
    .quiz-section {
      padding: 1.8rem 0 2.6rem;
    }

    .results-wrapper {
      max-width: 100%;
      padding: 0 1rem;
    }

    /* Header */
    .results-header {
      margin-bottom: 1.5rem;
    }

    .results-icon {
      width: 56px;
      height: 56px;
      margin-bottom: 0.75rem;
    }

    .results-icon svg {
      width: 24px;
      height: 24px;
    }

    .results-title {
      font-size: 1.6rem;
      margin-bottom: 0.25rem;
    }

    .results-subtitle {
      font-size: 0.9rem;
    }

    /* Card */
    .results-card {
      border-radius: 1rem;
    }

    .results-badge {
      padding: 1.05rem 1.25rem;
    }

    .results-badge-label {
      font-size: 0.6rem;
    }

    .results-badge-name {
      font-size: 1.6rem;
    }

    .results-body {
      padding: 1.1rem 1.25rem 1.25rem;
    }

    .results-description {
      font-size: 0.85rem;
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    /* Price */
    .results-price {
      padding-bottom: 1rem;
      margin-bottom: 1rem;
    }

    .results-price-amount {
      font-size: 2.1rem;
    }

    .results-price-period {
      font-size: 0.8rem;
    }

    /* Features */
    .results-features {
      gap: 0.4rem;
      margin-bottom: 1rem;
    }

    .results-features li {
      font-size: 0.82rem;
      gap: 0.55rem;
    }

    .results-check {
      width: 16px;
      height: 16px;
      min-width: 16px;
    }

    .results-check svg {
      width: 11px;
      height: 11px;
    }

    /* Buttons */
    .results-buttons {
      gap: 0.55rem;
    }

    .results-btn-primary {
      width: 100%;
      padding: 0.85rem 1.25rem;
      font-size: 0.9rem;
      border-radius: 0.5rem;
    }

    .results-btn-primary svg {
      width: 14px;
      height: 14px;
    }

    .results-btn-secondary {
      padding: 0.8rem 1.25rem;
      font-size: 0.85rem;
    }

    /* Note */
    .results-note {
      margin-top: 1rem;
      padding: 0.5rem;
    }

    .results-note p {
      font-size: 0.75rem;
    }

    /* Footer – smaller typography so it shares the screen nicely */
    .site-footer {
      padding: 1.25rem 1.25rem 1.5rem;
    }

    .footer-company-name,
    .footer-address,
    .footer-contact,
    .footer-links,
    .footer-copy {
      font-size: 0.78rem;
      line-height: 1.35;
    }
  }

  /* Remove global sticky-header padding on quiz flows */
@media (max-width: 768px) {
  body.quiz-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .quiz-page .site-header,
  .quiz-page .quiz-header {
    margin-top: 0 !important;
    top: 0 !important;
  }
}

    
  












/* =============================================
   CHECKOUT PAGE – MOBILE
   ============================================= */

@media (max-width: 768px) {

  /* Hero + section spacing */
  .checkout-hero-image {
    margin-bottom: -7rem !important;      /* remove big gap under image */
    margin-top: 0.1rem !important;
  }

  .checkout-hero-image img {
    max-height: 180px;
    object-fit: cover;
    display: block;
    width: 100%;
  }

  .checkout-section {
    padding: 0.75rem 0 2.3rem !important;
  }

  .checkout-section .container {
    margin-top: 0 !important;
  }

  /* Layout + ordering */
  .checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .order-summary {
    order: 1;
    width: 100%;
  }

  .checkout-form-container {
    order: 2;
    width: 100%;
    margin-top: 0;
  }

  /* Order summary card */
  .order-summary-inner {
    padding: 0.9rem 1rem !important;   /* tighter */
    border-radius: 1.25rem;
  }

  .order-summary-inner .billing-option {
    min-height: 0 !important;
  }

  .order-summary-inner h2 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem !important;  /* tighter */
  }

  .plan-badge {
    padding: 0.45rem 0.8rem !important;
    border-radius: 0.9rem !important;
    margin-bottom: 1rem !important; /*gap between plan badge and toggle*/
  }

  .plan-badge-name {
    font-size: 0.92rem !important;  
  }

  /* Billing toggle */
  .checkout-billing-toggle {
    gap: 0.6rem;
    margin: 0.35rem 0 0.6rem !important;  /* tighter */
  }

  .billing-option {
    flex: 1;
    border-radius: 0.9rem !important;      /* squarish, not pill */
    padding: 0.45rem 0.65rem !important;   /* thinner */
  }

  .billing-option-label {
    font-size: 0.72rem !important;
  }

  .billing-option-price {
    font-size: 0.88rem !important;
  }

  .billing-option-badge {
    font-size: 0.68rem !important;
    padding: 0.18rem 0.45rem !important;
  }

  /* Price rows */
  .order-total {
  border-top: 1px solid rgba(42, 38, 35, 0.12);
  margin-top: 1.1rem !important;   /* push divider down */
  padding-top: 0.3rem !important;  /* keep spacing consistent */
  }

  .order-total-row {
    font-size: 0.8rem;
    padding: 0.15rem 0 !important;
  }

  .order-total-row.total span:last-child {
    font-size: 1rem;
  }

  .order-note {
    font-size: 0.7rem;
    margin-top: 0rem !important;
  }

  /* FORM SIDE -------------------------------------------------- */

  .checkout-form-container .checkout-form {
    padding-top: 0.5rem;
  }

  .checkout-header h1 {
    font-size: 1.25rem;
  }

  .checkout-header p {
    font-size: 0.8rem;
    margin-bottom: -1.5rem; /* gap between first field and header section */
  }

  .checkout-form .form-group label {
    font-size: 0.8rem;
  }

  .checkout-form .form-input {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  /* Gap between fields + above button */
  .checkout-form .form-group {   /* gap between fields */
    margin-bottom: 0.4rem;
    margin-top: -0.6rem;
  }

  .checkout-form .form-group:last-of-type {
    margin-bottom: 0.4rem;   /* “Card information” group */
  }

  /*Password requirements*/
  .password-requirements ul {
    flex-direction: column;
    gap: 0.35rem;
  }
  
  .password-requirements li {
  font-size: 0.78rem;   /* font size of password requirements */
  }


  .checkout-submit {
    margin-top: -1rem;  /* gap above subscribe button */
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 999px;
  }

  .checkout-terms-agreement .terms-text {
    font-size: 0.78rem;
  }

    /* Secure checkout row – inline like desktop */
  .security-badges {
    margin-top: 0.7rem !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.5rem !important;     /* space between the two pieces */
    flex-wrap: nowrap !important;
    text-align: left !important;
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .security-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
  }





  /* “Every plan includes” – desktop & mobile variants ------------ */

  /* Hide sidebar version on mobile */
  .all-plans-include-desktop {
    display: none;
  }

  /* Separate card version below the form – full width like other cards */
  .all-plans-include-mobile {
    display: block;
    margin: 1.3rem 0 0;
    margin-top: 0rem;
    padding: 1.1rem 1.25rem 1.3rem;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow:
      0 8px 24px rgba(42, 38, 35, 0.12),
      0 1px 2px rgba(42, 38, 35, 0.06);
  }

  .all-plans-include-mobile .all-plans-label {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
  }

  .all-plans-include-mobile .all-plans-list {
    margin-top: 0.4rem;
    gap: 0.4rem;
  }

  .all-plans-include-mobile .all-plans-list li {
    font-size: 0.82rem;
  }

  .all-plans-include-mobile .all-plans-check {
    font-size: 0.8rem;
  }

  /* Force "Every plan includes" card to always be last on mobile */
  .checkout-layout .all-plans-include-mobile {
    order: 3;
  }

  /* Optional: tighten the Total row slightly too */
.order-total-row.total {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

}






/* =============================================
   FOOTER
   ============================================= */

@media (max-width: 640px) {
  .footer-inner {
    padding-inline: 0.25rem;
  }
}


/* =============================================
   UTILITY - HIDE ON DESKTOP /Mobile
   ============================================= */

@media (min-width: 769px) {
  .scroll-dots {
    display: none;
  }

  .who-scroll-dots {
    display: none;
  }

  .features-scroll-dots {
    display: none;
  }

  .mobile-menu-brand {
    display: none;
  }

  /* Hide mobile-only founder link on desktop */
  .mobile-founder-link {
    display: none !important;
  }

  /* Hide desktop dots on mobile */
.features-desktop-dots {
  display: none;
}

}


