
    *,
    *::before,
    *::after,
    html,
    body,
    input,
    select,
    textarea,
    button {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    }
  


    /* Top state: transparent navbar over the hero. */
    #siteHeader {
      background: transparent !important;
      transition: padding .28s ease, background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
    }

    /* Scrolled state: reduce navbar padding and make only the logo/action buttons slightly smaller. */
    #siteHeader.nav-scrolled {
      padding-top: 8px !important;
      padding-bottom: 8px !important;
      background: #191615 !important;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    #siteHeader.nav-scrolled img[alt="CoachNow Logo"] {
      height: 2.25rem !important;
    }

    #siteHeader.nav-scrolled .nav-action {
      transform: scale(0.92);
      transform-origin: center;
    }

    @media (max-width: 1279px) {
      #about .about-feature-copy { font-size: 12.8px !important; }
    }

    @media (max-width: 1023px) {
      #siteHeader.nav-scrolled {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
      }

      #siteHeader.nav-scrolled img[alt="CoachNow Logo"] {
        height: 2rem !important;
      }
    }
  


    /* Stronger typography for the availability + About CoachNow section */
    #availabilityBar .availability-title { font-size: 15px !important; }
    #availabilityBar .availability-copy { font-size: 12px !important; }
    #availabilityBar .availability-time { font-size: 12px !important; }
    #availabilityBar .availability-link { font-size: 13px !important; }

    #about .about-feature-title { font-size: 18.5px !important; line-height: 1.2 !important; }
    #about .about-feature-copy { font-size: 13.44px !important; line-height: 1.6 !important; font-weight: 300 !important; }
    #about .about-community-copy { font-size: 9.5px !important; line-height: 1.45 !important; font-weight: 300 !important; }
    #about .about-media-copy { font-size: 13.44px !important; line-height: 1.6 !important; font-weight: 300 !important; }
    #about .about-badge { font-size: 13px !important; }
    #about .about-main-title { font-size: 2.65rem !important; line-height: 1.03 !important; }
    #about .about-main-copy { font-size: 14.5px !important; line-height: 1.65 !important; }
    #about .about-cta { font-size: 14px !important; }

    #coaches .coaches-badge { font-size: 13px !important; }
    #coaches .coaches-main-title { font-size: 2.65rem !important; line-height: 1.03 !important; }

    @media (max-width: 1023px) {
      #about .about-feature-title { font-size: 18px !important; }
      #about .about-feature-copy { font-size: 12px !important; }
      #about .about-media-copy { font-size: 12px !important; }
      #about .about-community-copy { font-size: 10.5px !important; }
      #about .about-main-title { font-size: 2.3rem !important; }
      #coaches .coaches-main-title { font-size: 2.3rem !important; }
      #about .about-main-copy { font-size: 13.5px !important; }
    }

    @media (max-width: 1279px) and (min-width: 1024px) {
      #about .about-feature-copy { font-size: 12.8px !important; }
      #about .about-media-copy { font-size: 12.8px !important; }
    }

    @media (max-width: 767px) {
      #about .about-feature-title { font-size: 17px !important; }
      #about .about-community-copy { font-size: 10px !important; }
    }

    @media (max-width: 639px) {
      #about .about-main-copy { font-size: 12.5px !important; line-height: 1.6 !important; }
      #about .about-feature-title { font-size: 16px !important; }
      #about .about-feature-copy { font-size: 11px !important; }
      #about .about-media-copy { font-size: 11px !important; }
      #about .about-community-copy { font-size: 9.5px !important; }
      #about .about-main-title { font-size: 1.95rem !important; }
      #coaches .coaches-main-title { font-size: 1.95rem !important; }
    }

    /* Unified page/section heading size (hero excluded) */
    .section-main-title { font-size: 2.65rem !important; }
    @media (max-width: 1023px) {
      .section-main-title { font-size: 2.3rem !important; }
    }
    @media (max-width: 639px) {
      .section-main-title { font-size: 1.95rem !important; }
    }
  


    /*
      Laptop and normal desktop sizes remain exactly as designed.
      Only larger screens get a wider canvas + proportional scaling of
      text, cards, images, icons, buttons and spacing inside 1220px sections.
    */
    @media (min-width: 1600px) and (max-width: 1919px) {
      body { overflow-x: hidden; }

      [class*="max-w-[1220px]"] {
        max-width: 1320px !important;
        zoom: 1.04;
      }

      #siteHeader > div {
        max-width: 1480px !important;
      }
    }

    @media (min-width: 1920px) {
      body { overflow-x: hidden; }

      [class*="max-w-[1220px]"] {
        max-width: 1450px !important;
        zoom: 1.08;
      }

      #siteHeader > div {
        max-width: 1600px !important;
      }
    }

    @media (min-width: 2400px) {
      [class*="max-w-[1220px]"] {
        max-width: 1650px !important;
        zoom: 1.10;
      }

      #siteHeader > div {
        max-width: 1800px !important;
      }
    }
  


    /* Two-card viewport that fills the available testimonial column */
    #testimonialsViewport {
      overflow: hidden;
      width: 100%;
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    #testimonialsTrack {
      display: flex;
      gap: 20px;
      width: 100%;
      will-change: transform;
      transform: translate3d(0,0,0);
    }

    /* Exactly two larger cards fill the available width */
    .testimonial-card {
      flex: 0 0 calc((100% - 20px) / 2);
      width: calc((100% - 20px) / 2);
      min-width: calc((100% - 20px) / 2);
    }

    @media (min-width: 1600px) {
      #testimonialsTrack { gap: 24px; }
      .testimonial-card {
        flex-basis: calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
      }
    }

    @media (max-width: 767px) {
      #testimonialsTrack { gap: 14px; }
      .testimonial-card {
        flex: 0 0 min(84vw, 320px);
        width: min(84vw, 320px);
        min-width: min(84vw, 320px);
      }
    }
  


    html.preloader-active,
    html.preloader-active body {
      overflow: hidden !important;
    }

    #coachnowPreloader {
      position: fixed;
      inset: 0;
      z-index: 99999;
      display: flex;
      pointer-events: all;
      overflow: hidden;
      background: transparent;
    }

    #coachnowPreloader .preloader-bars {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
    }

    #coachnowPreloader .preloader-bar {
      height: 100%;
      background: #191615;
      border-right: 1px solid rgba(255,255,255,0.025);
      transform: translateY(0);
      will-change: transform;
      transition: transform .78s cubic-bezier(.76,0,.24,1);
      transition-delay: var(--exit-delay);
    }

    #coachnowPreloader .preloader-bar:nth-child(even) {
      background: #171413;
    }

    #coachnowPreloader .preloader-center {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
      transition: opacity .28s ease, transform .28s ease;
    }

    #coachnowPreloader .preloader-logo-ring {
      width: 112px;
      height: 112px;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      background: rgba(255,255,255,.045);
      border: 1px solid rgba(255,255,255,.09);
      box-shadow: 0 16px 50px rgba(0,0,0,.28);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    #coachnowPreloader .preloader-logo-ring::before {
      content: "";
      position: absolute;
      inset: -7px;
      border-radius: inherit;
      border: 2px solid rgba(255,255,255,.15);
      border-top-color: #DA020C;
      border-right-color: #DA020C;
      animation: coachnowPreloaderSpin .85s linear infinite;
    }

    #coachnowPreloader .preloader-logo-ring::after {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      box-shadow: inset 0 0 24px rgba(218,2,12,.08);
      pointer-events: none;
    }

    #coachnowPreloader .preloader-logo {
      width: 76px;
      height: auto;
      object-fit: contain;
      display: block;
    }

    @keyframes coachnowPreloaderSpin {
      to { transform: rotate(360deg); }
    }

    /* Loaded sequence: logo disappears first, then bars leave from RIGHT to LEFT. */
    #coachnowPreloader.is-loaded {
      background: transparent;
    }

    #coachnowPreloader.is-loaded .preloader-center {
      opacity: 0;
      transform: scale(.88);
    }

    #coachnowPreloader.is-loaded .preloader-bar {
      transform: translateY(-105%);
    }

    #coachnowPreloader.is-finished {
      visibility: hidden;
      pointer-events: none;
    }

    @media (max-width: 767px) {
      #coachnowPreloader .preloader-logo-ring {
        width: 90px;
        height: 90px;
      }
      #coachnowPreloader .preloader-logo {
        width: 60px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #coachnowPreloader .preloader-logo-ring::before { animation-duration: 1.6s; }
      #coachnowPreloader .preloader-bar { transition-duration: .35s; }
    }
  


    /* Hero elements are prepared while the preloader is still covering the page. */
    #hero .hero-fade-target {
      opacity: 0;
      transform: translate3d(0, 18px, 0);
      filter: blur(5px);
      will-change: opacity, transform, filter;
    }

    html.hero-motion-started #hero .hero-fade-target {
      animation: coachnowHeroFadeUp .78s cubic-bezier(.22,1,.36,1) forwards;
      animation-delay: var(--hero-delay, 0ms);
    }

    #hero .hero-type-heading {
      opacity: 0;
      transform: translate3d(0, 10px, 0);
      transition: opacity .22s ease, transform .35s ease;
      min-height: 2.05em;
    }

    html.hero-motion-started #hero .hero-type-heading {
      opacity: 1;
      transform: translate3d(0,0,0);
    }

    #hero .hero-type-line {
      position: relative;
      display: block;
      width: fit-content;
      min-height: 1em;
    }

    #hero .hero-type-line.is-typing::after {
      content: "";
      display: inline-block;
      width: .085em;
      height: .78em;
      margin-left: .12em;
      vertical-align: -.04em;
      background: #DA020C;
      box-shadow: 0 0 10px rgba(218,2,12,.35);
      animation: coachnowTypeCaret .72s steps(1,end) infinite;
    }

    #hero .hero-type-line.is-glitching {
      text-shadow:
        .035em 0 rgba(218,2,12,.92),
        -.035em 0 rgba(255,255,255,.42);
      transform: translateX(.012em) skewX(-.7deg);
    }

    /* Section-specific reveal system. Prepared before load, triggered only after the preloader. */
    .motion-section .motion-item {
      opacity: 0;
      filter: blur(3px);
      will-change: opacity, transform, filter, clip-path;
      transition:
        opacity .78s cubic-bezier(.22,1,.36,1),
        transform .92s cubic-bezier(.22,1,.36,1),
        filter .78s ease,
        clip-path 1.02s cubic-bezier(.22,1,.36,1);
      transition-delay: var(--motion-delay, 0ms);
    }

    .motion-section .motion-from-left  { transform: translate3d(-46px,0,0); }
    .motion-section .motion-from-right { transform: translate3d(46px,0,0); }
    .motion-section .motion-from-up    { transform: translate3d(0,34px,0); }
    .motion-section .motion-soft-up    { transform: translate3d(0,22px,0); }
    .motion-section .motion-pop        { transform: translate3d(0,20px,0) scale(.94); }
    .motion-section .motion-scale      { transform: scale(.965); }
    .motion-section .motion-rotate     { transform: translate3d(0,24px,0) rotate(-4deg) scale(.96); }

    /* Used by How It Works arrows to create a drawn/revealed path effect. */
    .motion-section .motion-arrow-draw {
      opacity: 1;
      filter: none;
      transform: none;
      clip-path: inset(0 100% 0 0);
      transform-origin: left center;
    }

    .motion-section.is-visible .motion-item {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1) rotate(0deg);
      filter: blur(0);
    }

    .motion-section.is-visible .motion-arrow-draw {
      clip-path: inset(0 0 0 0);
    }

    /* Availability times feel like a quick cascade instead of a generic fade. */
    #availabilityBar.motion-section .availability-time-motion {
      transform: translate3d(0,18px,0) scale(.96);
    }

    /* A tiny overshoot for profile bubbles, ratings and step icons. */
    @keyframes coachnowMicroPop {
      0% { transform: scale(.9); }
      70% { transform: scale(1.045); }
      100% { transform: scale(1); }
    }

    .motion-section.is-visible .motion-micro-pop {
      animation: coachnowMicroPop .62s cubic-bezier(.22,1,.36,1) both;
      animation-delay: var(--motion-delay, 0ms);
    }

    @keyframes coachnowHeroFadeUp {
      0% {
        opacity: 0;
        transform: translate3d(0,18px,0);
        filter: blur(5px);
      }
      100% {
        opacity: 1;
        transform: translate3d(0,0,0);
        filter: blur(0);
      }
    }

    @keyframes coachnowTypeCaret {
      0%, 48% { opacity: 1; }
      49%, 100% { opacity: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      #hero .hero-fade-target,
      #hero .hero-type-heading,
      .motion-section .motion-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
      }

      #hero .hero-type-line.is-typing::after { display: none; }
    }
  


    #coachnowScrollProgress {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      z-index: 100000;
      pointer-events: none;
      opacity: 0;
      transition: opacity .35s ease;
    }

    #coachnowScrollProgressBar {
      display: block;
      width: 100%;
      height: 100%;
      background: #DA020C;
      transform: scaleX(0);
      transform-origin: left center;
      will-change: transform;
      box-shadow: 0 0 10px rgba(218,2,12,.35);
    }

    #coachnowScrollBubble {
      position: fixed;
      right: 0;
      top: 82px;
      width: 48px;
      height: 48px;
      z-index: 9998;
      /* Morphing edge shape: top-right starts square, bottom-right starts round. */
      border-radius: 24px 0 24px 24px;
      border: 1px solid rgba(255,255,255,.24);
      border-right: 0;
      background: #DA020C;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translate3d(16px,0,0) scale(.92);
      opacity: 0;
      pointer-events: none;
      cursor: pointer;
      box-shadow: 0 10px 28px rgba(0,0,0,.18), 0 0 0 5px rgba(218,2,12,.08);
      transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
      will-change: top, border-radius, transform, opacity;
    }

    #coachnowScrollBubble:hover {
      transform: translate3d(0,0,0) scale(1.06);
      box-shadow: 0 14px 34px rgba(0,0,0,.22), 0 0 0 7px rgba(218,2,12,.10);
    }

    #coachnowScrollBubble:focus-visible {
      outline: 3px solid rgba(218,2,12,.28);
      outline-offset: 4px;
    }

    #coachnowScrollBubble .scroll-bubble-percent {
      font-size: 10px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: -.01em;
      transition: opacity .2s ease, transform .2s ease;
    }

    #coachnowScrollBubble .scroll-bubble-arrow {
      position: absolute;
      width: 18px;
      height: 18px;
      opacity: 0;
      transform: translateY(5px);
      transition: opacity .2s ease, transform .2s ease;
    }

    #coachnowScrollBubble:hover .scroll-bubble-percent {
      opacity: 0;
      transform: translateY(-5px);
    }

    #coachnowScrollBubble:hover .scroll-bubble-arrow {
      opacity: 1;
      transform: translateY(0);
    }

    html.scroll-progress-ready #coachnowScrollProgress {
      opacity: 1;
    }

    /* Bubble visibility is controlled by active scrolling, not simply page load. */

    @media (max-width: 767px) {
      #coachnowScrollProgress { height: 2px; }
      #coachnowScrollBubble {
        right: 0;
        width: 42px;
        height: 42px;
      }
      #coachnowScrollBubble .scroll-bubble-percent { font-size: 9px; }
      #coachnowScrollBubble .scroll-bubble-arrow { width: 16px; height: 16px; }
    }

    @media (prefers-reduced-motion: reduce) {
      #coachnowScrollProgress,
      #coachnowScrollBubble,
      #coachnowScrollBubble .scroll-bubble-percent,
      #coachnowScrollBubble .scroll-bubble-arrow {
        transition: none !important;
      }
    }
  


  html { scroll-behavior: smooth; }

  /* Bubble stays hidden until the user is actively scrolling. */
  #coachnowScrollBubble {
    opacity: 0;
    pointer-events: none;
    transform-origin: top right;
  }

  #coachnowScrollBubble.is-scrolling {
    pointer-events: auto;
    animation: bubbleInflateIn .46s cubic-bezier(.18,.89,.32,1.28) both;
  }

  #coachnowScrollBubble.is-idle {
    pointer-events: none;
    animation: bubblePopOut .38s cubic-bezier(.55,.06,.68,.19) both;
  }

  @keyframes bubbleInflateIn {
    0% {
      opacity: 0;
      transform: translate3d(0,0,0) scale(.08);
      filter: blur(2px);
    }
    62% {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1.10);
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes bubblePopOut {
    0% {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1);
      filter: blur(0);
    }
    42% {
      opacity: 1;
      transform: translate3d(0,0,0) scale(1.13);
      filter: blur(0);
    }
    100% {
      opacity: 0;
      transform: translate3d(0,0,0) scale(.06);
      filter: blur(2px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #coachnowScrollBubble.is-scrolling,
    #coachnowScrollBubble.is-idle { animation: none !important; }
    #coachnowScrollBubble.is-scrolling { opacity: 1 !important; }
    #coachnowScrollBubble.is-idle { opacity: 0 !important; }
  }
