/* ============================================
   MOBILE.CSS - Comprehensive Mobile Overrides
   Loads AFTER premium.css. All rules via media queries.
   Light theme: bg #f7f5f1, cards #fff, text #222
   ============================================ */

/* ============================================
   TABLET & BELOW (max-width: 991px)
   ============================================ */
@media screen and (max-width: 991px) {

  /* ------------------------------------------
     GENERAL LAYOUT
     ------------------------------------------ */
  body .padding-global {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  body .container-large {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body .w-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  body img {
    max-width: 100%;
    height: auto;
  }

  /* ------------------------------------------
     NAVIGATION - Hide desktop nav, show mobile nav
     ------------------------------------------ */

  /* Hide desktop nav entirely - JS builds #m-nav instead */
  body .nav_mobile {
    display: none !important;
  }

  /* Hamburger button */
  body .navbar .menu-button,
  body .navbar .w-nav-button {
    background-color: transparent;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body .nav-button_component {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 18px;
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  body .nav-button_line {
    width: 24px;
    height: 2px;
    background-color: #222;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0;
    position: static;
  }

  /* Hamburger X animation */
  body .menu-button.w--open .is-first {
    transform: translateY(7px) rotate(45deg);
  }

  body .menu-button.w--open .is-second {
    opacity: 0;
  }

  body .menu-button.w--open .is-third {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ------------------------------------------
     #m-nav - Mobile-native navigation overlay
     Built by mobile-interactions.js
     ------------------------------------------ */
  #m-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #m-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  /* Sticky header: logo left, X right */
  #m-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .m-nav-logo-link {
    display: flex;
    align-items: center;
  }

  .m-nav-logo {
    height: 28px;
    width: auto;
  }

  #m-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
  }

  #m-nav-close:active {
    background: #f5f5f5;
  }

  #m-nav-items {
    padding: 0.5rem 1.5rem 2rem;
    flex: 1;
  }

  /* Top-level nav items (Studio, Impact) */
  .m-nav-item {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Inter', system-ui, sans-serif;
  }

  .m-nav-item:active {
    color: #555;
  }

  /* Sections with expandable sub-nav */
  .m-nav-section {
    border-bottom: 1px solid #f0f0f0;
  }

  .m-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    text-align: left;
  }

  .m-nav-toggle svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .m-nav-toggle.is-active svg {
    transform: rotate(180deg);
  }

  /* Sub-nav (hidden by default, shown on toggle) */
  .m-nav-sub {
    display: none;
    padding: 0 0 0.75rem 0;
  }

  .m-nav-sub.is-open {
    display: block;
  }

  /* Group labels (Validate, Research, Protect) */
  .m-nav-group-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 0 0.25rem;
    font-family: 'Inter', system-ui, sans-serif;
  }

  /* Sub-nav links */
  .m-nav-link {
    display: block;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Inter', system-ui, sans-serif;
  }

  .m-nav-link:last-child {
    border-bottom: none;
  }

  .m-nav-link:active {
    color: #000;
  }

  /* Login CTA at bottom */
  .m-nav-cta {
    padding-top: 1.5rem;
  }

  .m-nav-login {
    display: block;
    text-align: center;
    padding: 0.875rem;
    background: #ebf213;
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
  }

  .m-nav-login:active {
    background: #d9e011;
  }

  /* Old desktop nav dropdown overrides removed -
     desktop nav is now hidden entirely via display:none on .nav_mobile,
     and #m-nav replaces it with clean mobile-native markup */

  /* Hide login button on mobile */
  body .hide-mobile-landscape {
    display: none;
  }

  /* ------------------------------------------
     HERO SECTION
     ------------------------------------------ */
  body .section_hero {
    min-height: auto;
  }

  body .section_hero-product h1 br {
    display: none;
  }

  /* Product hero: product name prominent, subhead clearly subordinate */
  body .section_hero-product h1.heading-style-h2 {
    font-family: Host Grotesk, sans-serif;
    font-size: 2.25rem !important;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }

  body .section_hero-product h2.heading-style-h4 {
    font-family: Host Grotesk, sans-serif;
    font-size: 1.15rem !important;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: #555;
    margin-bottom: 0;
  }

  body .section_hero .hero_content {
    text-align: center;
    align-items: center;
  }

  body .section_hero .text-max,
  body .section_hero .button-wrap,
  body .section_hero .button-group,
  body .section_hero .main_button-group {
    justify-content: center;
    text-align: center;
  }

  body .hero_space {
    display: none;
  }

  /* ------------------------------------------
     (1) LOGOS - Horizontal scrolling ribbon
     ------------------------------------------ */
  body .section_logos .consulting_logos {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 2.5rem;
    padding: 1rem 1.5rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: flex-start !important;
    width: 100%;
  }

  body .section_logos .consulting_logos::-webkit-scrollbar {
    display: none;
  }

  body .section_logos .consulting_logos img,
  body .section_logos .consulting_logos [class*="logos-image"] {
    flex-shrink: 0;
    height: 40px;
    width: auto;
    min-width: 120px;
    scroll-snap-align: center;
    object-fit: contain;
  }

  /* (2) "THE NEW STANDARD" - Fix tight spacing */
  body .section_hero-stats .spacer-medium {
    height: 1.5rem;
  }

  body .section_hero-stats .consulting_card-copy {
    padding: 1.25rem;
    margin-bottom: 0.5rem;
  }

  /* (3) TIMELINE - Remove gradient/color overlay from titles
     interactions.js sets inline backgroundColor on .title-2 for
     background-clip:text effect. Kill it all on mobile. */
  body .timeline_card .title-2 {
    -webkit-text-fill-color: #222 !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #222 !important;
  }

  body .timeline_card .title-2 .text-4xl,
  body .timeline_card .title-2 .host-grotesk {
    -webkit-text-fill-color: #222 !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #222 !important;
  }

  /* (4) PRODUCTS & SERVICES - hide header + 5 pricing cards on mobile
     (redundant with horizontal scroll product cards above)
     Keep Studio Services + Enterprise License banners */
  body .section_blog .text_title,
  body .section_blog h2.scroll-into-view,
  body .section_blog .text-color-tertiary.scroll-into-view,
  body .section_blog .spacer-huge,
  body .section_blog .ptnt-pricing.ptnt-pricing--5col {
    display: none;
  }

  /* (5) TRUST - Hide 4 security cards, keep eyebrow + heading + CTA */
  body .section_trust .consulting-two_content > .w-layout-grid.grid-col-2 {
    display: none !important;
  }

  body .section_trust .consulting_card {
    display: none !important;
  }

  /* (6) CUSTOMER PRAISE - Desktop section hidden, JS builds mobile version */
  body .section_combined .section_testimonials {
    display: none !important;
  }

  /* Mobile testimonials built by JS */
  #m-testimonials {
    padding: 0 1rem 2rem;
  }

  #m-testimonials .m-test-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
  }

  #m-testimonials .m-test-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.22;
    font-family: Host Grotesk, sans-serif;
  }

  #m-testimonials .m-test-subtitle {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-family: 'Inter', system-ui, sans-serif;
  }

  #m-testimonials .m-test-card {
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
  }

  #m-testimonials .m-test-card.bg-pink {
    background: var(--brand--blue, #dbeafe);
  }

  #m-testimonials .m-test-card.bg-lilac {
    background: var(--brand--lilac, #ede9fe);
  }

  #m-testimonials .m-test-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #222;
    margin-bottom: 1.25rem;
    font-family: 'Inter', system-ui, sans-serif;
  }

  #m-testimonials .m-test-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  #m-testimonials .m-test-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
  }

  #m-testimonials .m-test-author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
  }

  #m-testimonials .m-test-author-role {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.15rem;
  }

  #m-testimonials .m-test-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  #m-testimonials .m-test-nav button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  #m-testimonials .m-test-nav button:active {
    background: #e8e8e8;
  }

  /* (7) FAQ - OK as-is */

  /* (8) FINAL CTA - Hide inventor image, fix heading word break */
  body .section_cta-banner .join_image {
    display: none;
  }

  body .section_cta-banner .title-max.is-32rem {
    max-width: 100%;
  }

  body .section_cta-banner .heading-style-h2 {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  body .section_cta-banner .w-layout-grid.grid-col-2 {
    grid-template-columns: 1fr;
  }

  body .section_cta-banner .join_left {
    text-align: center;
    align-items: center;
  }

  /* ------------------------------------------
     TIMELINE "HOW IT WORKS" - Kill scroll animation
     ------------------------------------------ */
  body .timeline-scroll-container {
    height: auto;
    position: relative;
  }

  body .timeline-sticky-inner {
    position: relative;
    top: auto;
  }

  body .section_stage {
    height: auto;
  }

  body .section_story-sticky-7,
  body .section_story-sticky-2,
  body .section_story-sticky {
    position: relative;
    height: auto;
    top: auto;
  }

  /* Timeline grid: stack vertically */
  body .timeline_wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  body .timeline_wrap.scroll-into-view {
    display: flex;
    flex-direction: column;
  }

  /* Hide horizontal progress bars */
  body .timeline_progress-second-7.is-horizontal,
  body .timeline_progress-second-7.is-horizontal.is-path,
  body .timeline_progress-second-7.is-h-hide,
  body .timeline_progress-second-7.is-h-hide.is-2,
  body .timeline_progress-second.is-horizontal,
  body .timeline_progress-second.is-horizontal.is-path,
  body .timeline_progress-second.is-h-hide,
  body .timeline_progress-second.is-h-hide.is-2,
  body .timeline_progress-second-2.is-horizontal,
  body .timeline_progress-second-2.is-horizontal.is-path,
  body .timeline_progress-second-2.is-h-hide,
  body .timeline_progress-second-2.is-h-hide.is-2 {
    display: none;
  }

  /* Timeline cards: vertical layout */
  body .timeline_card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e8e8e8;
  }

  body .time_top {
    text-align: left;
    align-items: flex-start;
    white-space: normal;
  }

  body .time_top.is-last {
    text-align: left;
    align-items: flex-start;
  }

  /* Force ALL descriptions visible on mobile.
     These use text-fill-color:transparent + background-clip:text for gradient.
     We must override BOTH to make text readable. */
  body .process_description-2.show-tablet {
    display: block;
    opacity: 1;
    position: static;
    -webkit-text-fill-color: #666;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  body .process_description.show-tablet {
    display: block;
    opacity: 1;
    position: static;
    -webkit-text-fill-color: #666;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  /* Hide the desktop-only descriptions that JS toggles */
  body .max-text.is-about.hide-tablet {
    display: none;
  }

  /* Hide circle/line decorations (progress dots between cards) */
  body .line-wrap {
    display: none;
  }

  /* Fix text-fill-color on titles inside timeline cards */
  body .timeline_card .title-2,
  body .timeline_card .title {
    -webkit-text-fill-color: #222;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
  }

  /* ------------------------------------------
     HORIZONTAL SCROLL PRODUCTS — hide desktop, JS rebuilds
     ------------------------------------------ */
  body .section_features {
    display: none !important;
  }

  /* Mobile product cards built by JS */
  #m-products {
    padding: 3rem 1.25rem;
  }

  #m-products .m-product-card {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }

  #m-products .m-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  #m-products .m-product-card-body {
    padding: 1.5rem;
  }

  #m-products .m-product-card h3 {
    font-family: Host Grotesk, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #222;
    margin: 0 0 0.75rem;
  }

  #m-products .m-product-card p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 1rem;
  }

  #m-products .m-product-card a {
    display: inline-block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border: 1px solid #222;
    border-radius: 100px;
    padding: 0.5rem 1.25rem;
  }

  /* ------------------------------------------
     PRICING GRID
     ------------------------------------------ */
  body .ptnt-pricing.ptnt-pricing--5col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  body .ptnt-pricing.ptnt-pricing--2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body .ptnt-pricing__card {
    width: 100%;
  }

  body .ptnt-pricing__banner {
    width: 100%;
  }

  /* ------------------------------------------
     STATS SECTION - 2x2 grid on tablet
     ------------------------------------------ */
  body .grid-col-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  body .grid-col-4.is-consulting {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  body .section_stats .consulting_card {
    padding: 1.25rem;
    margin-bottom: 0.75rem;
  }

  /* ------------------------------------------
     PRODUCT FEATURES - Single column on mobile
     ------------------------------------------ */
  body .portfolio_dash-copy {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  body .dash_icon {
    display: none !important;
  }

  /* ------------------------------------------
     STUDIO / ABOUT PAGE HERO - Hide desktop, JS rebuilds
     ------------------------------------------ */
  body .section_hero-about {
    display: none !important;
  }

  #m-hero-about {
    background-color: var(--bg-color--bg-primary, #f7f5f1);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
  }

  #m-hero-about h1 {
    font-family: Host Grotesk, sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #222;
    margin: 0 0 0.75rem;
  }

  #m-hero-about .m-hero-sub {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #777;
    margin: 0 0 1.5rem;
  }

  #m-hero-about .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* Studio service cards spacing */
  body .service-card-copy {
    margin-bottom: 0.75rem;
  }

  /* Team card tap-to-reveal overlay (premium.css hides at 767px, we restore) */
  body .team_card_overlay {
    display: flex !important;
  }

  body .team_card_img.is-tapped .team_card_overlay {
    opacity: 1;
  }

  body .team_card_img.is-tapped .team_card_overlay p {
    opacity: 1;
    transform: translateY(0);
  }

  body .team_card_img.is-tapped .team_card_socials {
    opacity: 1;
    transform: translateY(0);
  }

  /* ------------------------------------------
     GRIDS
     ------------------------------------------ */
  body .grid-col-2 {
    grid-template-columns: 1fr;
  }

  body .grid-col-2.is-consulting {
    min-width: auto;
    grid-template-columns: 1fr;
  }

  body .grid-col-3 {
    grid-template-columns: 1fr 1fr;
  }

  /* ------------------------------------------
     TESTIMONIALS SLIDER
     ------------------------------------------ */
  body .section_testimonials {
    overflow: hidden;
  }

  body .testimonials_item {
    flex-direction: column;
  }

  body .testimonial_left {
    width: 100%;
  }

  body .testimonial_right {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  body .slider-mask {
    overflow: hidden;
    width: 100%;
  }

  body .slide-item {
    width: 100%;
  }

  /* Touch-friendly arrows */
  body .arrow,
  body .arrow.is-right {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ------------------------------------------
     FAQ SECTION
     ------------------------------------------ */
  body .section_faq {
    border-radius: 0.75rem;
  }

  body .qa_item {
    padding: 1.25rem 0;
  }

  body .qa_item .question {
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* ------------------------------------------
     CTA BANNER
     ------------------------------------------ */
  body .section_cta-banner .grid-col-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body .section_cta-banner .join_left {
    align-items: center;
    text-align: center;
  }

  /* ------------------------------------------
     BUTTONS - Touch targets
     ------------------------------------------ */
  body .button,
  body .w-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}


/* ============================================
   MOBILE LANDSCAPE & BELOW (max-width: 767px)
   ============================================ */
@media screen and (max-width: 767px) {

  /* ------------------------------------------
     GENERAL
     ------------------------------------------ */
  body .padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ------------------------------------------
     TYPOGRAPHY - Override desktop sizes for 480-767px range
     ------------------------------------------ */
  body h1,
  body .heading-style-h1 {
    font-size: clamp(1.75rem, 7vw, 3rem);
    line-height: 1.05;
  }

  body h2,
  body .heading-style-h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.1;
  }

  body h3,
  body .heading-style-h3 {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  body h4,
  body .heading-style-h4 {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
  }

  /* ------------------------------------------
     ARTICLE / BLOG BODY TEXT
     ------------------------------------------ */
  body .text-rich-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  body .text-rich-text h1,
  body .text-rich-text h2,
  body .text-rich-text h3,
  body .text-rich-text h4 {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
  }

  body .text-rich-text ul,
  body .text-rich-text ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
  }

  body .text-rich-text blockquote {
    margin: 1rem 0;
    padding: 0 0.75rem;
  }

  /* Article layout - stack and reduce gaps */
  body .article_content {
    flex-direction: column;
    grid-column-gap: 1.5rem;
    grid-row-gap: 1.5rem;
  }

  body .article_overview {
    max-width: 100%;
  }

  /* Article image aspect ratio */
  body .article_img {
    padding-top: 62.5%;
  }

  /* Floating/sticky sidebars - disable on mobile */
  body .floating {
    position: static;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Blog slider - reduce bottom padding */
  body .slider_blog {
    padding-bottom: 3rem;
  }

  /* ------------------------------------------
     IMPACT ROW FONT SIZE
     ------------------------------------------ */
  body .ptnt-impact-row__text h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.22;
  }

  /* ------------------------------------------
     ENTERPRISE CTA
     ------------------------------------------ */
  body .ptnt-enterprise-cta {
    padding: 2.5rem 1.5rem;
  }

  /* ------------------------------------------
     PRICING - Single column
     ------------------------------------------ */
  body .ptnt-pricing.ptnt-pricing--5col {
    grid-template-columns: 1fr;
  }

  body .ptnt-pricing__btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
  }

  /* ------------------------------------------
     GRIDS
     ------------------------------------------ */
  body .grid-col-3 {
    grid-template-columns: 1fr;
  }

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

  /* ------------------------------------------
     TESTIMONIALS
     ------------------------------------------ */
  body .testimonials_img.hide-mobile-portrait {
    display: none;
  }

  body .text-testimonial {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* ------------------------------------------
     COMPARISON TABLE
     ------------------------------------------ */
  body .ptnt-t thead th {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  body .ptnt-t tbody td {
    padding: 16px;
  }

  body .ptnt-t__old,
  body .ptnt-t__new {
    font-size: 1rem;
  }

  body .ptnt-t__detail {
    font-size: 0.7rem;
  }

  body .ptnt-t__badge {
    font-size: 0.45rem;
    padding: 2px 5px;
  }

  /* ------------------------------------------
     TIMELINE CARDS - tighter padding
     ------------------------------------------ */
  body .timeline_card {
    padding: 1.25rem;
  }

  /* (horizontal blocks now rebuilt via JS — see #m-products) */

  /* ------------------------------------------
     IMPACT / VERTICALS
     ------------------------------------------ */
  body .ptnt-impact-row {
    gap: 1.5rem;
  }

  body .ptnt-vertical {
    padding: 2rem 1.5rem;
  }

  /* ------------------------------------------
     COOKIE BANNER
     ------------------------------------------ */
  body .consent-text {
    font-size: 0.85rem;
  }
}


/* ============================================
   SMALL PHONE (max-width: 479px)
   ============================================ */
@media screen and (max-width: 479px) {

  /* ------------------------------------------
     TYPOGRAPHY - Override Webflow's oversized mobile vars
     ------------------------------------------ */
  body h1,
  body .heading-style-h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1.05;
  }

  body h2,
  body .heading-style-h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.1;
  }

  body h3,
  body .heading-style-h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* ------------------------------------------
     HERO
     ------------------------------------------ */
  body .section_hero {
    min-height: auto;
  }

  body .section_hero-product h1 br {
    display: none;
  }

  body .hero_space {
    display: none;
  }

  /* ------------------------------------------
     STATS - Single column
     ------------------------------------------ */
  body .grid-col-4 {
    grid-template-columns: 1fr;
  }

  body .grid-col-4.is-consulting {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* ------------------------------------------
     TIMELINE CARDS
     ------------------------------------------ */
  body .timeline_card {
    padding: 1rem;
  }

  body .timeline_card .text-4xl {
    font-size: 1.5rem;
  }

  /* ------------------------------------------
     PRICING
     ------------------------------------------ */
  body .ptnt-pricing__card {
    padding: 1.25rem;
  }

  body .ptnt-pricing__price {
    font-size: 2rem;
  }

  /* ------------------------------------------
     COMPARISON TABLE - Tighter
     ------------------------------------------ */
  body .ptnt-t thead th {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  body .ptnt-t tbody td {
    padding: 12px;
  }

  /* ------------------------------------------
     COOKIE BANNER
     ------------------------------------------ */
  body .consent-buttons {
    width: 100%;
  }

  body .consent-btn {
    flex: 1;
    min-height: 44px;
  }

  /* ------------------------------------------
     GENERAL SPACING
     ------------------------------------------ */
  body .padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* ------------------------------------------
     ENTERPRISE CTA - tighter on small phones
     ------------------------------------------ */
  body .ptnt-enterprise-cta {
    padding: 2rem 1rem;
  }

  /* ------------------------------------------
     VERTICAL CARDS - tighter on small phones
     ------------------------------------------ */
  body .ptnt-vertical {
    padding: 1.5rem 1rem 1rem;
  }

  /* ------------------------------------------
     IMPACT ROW
     ------------------------------------------ */
  body .ptnt-impact-row__text h3 {
    font-size: 1.375rem;
  }

  /* ------------------------------------------
     STAT HERO NUMBER
     ------------------------------------------ */
  body .ptnt-stat-hero__number {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  /* ------------------------------------------
     BLOG SLIDER
     ------------------------------------------ */
  body .slider_blog {
    padding-bottom: 2rem;
  }

  /* ------------------------------------------
     HORIZONTAL SCROLL CARDS - tighter gap
     ------------------------------------------ */
  body .features_horizontal {
    gap: 1rem;
  }

  /* Stack CTA buttons vertically */
  body .main_button-group {
    flex-direction: column;
    width: 100%;
  }

  body .main_button-group .button,
  body .main_button-group .w-button {
    width: 100%;
    text-align: center;
  }
}
