    :root {
      /* Typography tokens: line height, letter spacing, weight */
      --lh-display: 1.05;
      --lh-heading: 1.15;
      --lh-ui: 1.35;
      --lh-body: 1.6;
      --ls-display: -0.03em;
      --ls-heading: -0.02em;
      --ls-caps: 0.08em;
      --fw-display: 800;
      --fw-heading: 700;
      --fw-label: 600;
      --fw-body: 500;
      /* Brand Color Palette */
      --white: #FFFFFF;
      --bright-blue: #2DAEE0;
      --deep-teal: #1B6083;
      --muted-blue-gray: #4A6370;
      --accent-orange: #FFA51F;
      --orange-hover: #E58E0B;
      --charcoal-navy: #111827;
      
      /* Surface System */
      --hero-bg: linear-gradient(115deg, #EAF4F8 0%, #EDF7FA 48%, #D7EDF6 100%);
      --card-bg: #FFFFFF;
      --radius-lg: 48px;
      --radius-md: 28px;
      --radius-sm: 16px;
      
      /* Solid Color Fills */
      --card-solid-teal: #EBF5F9;
      --card-solid-sky: #EDF8FC;
      --card-solid-amber: #FFF8EC;

      --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.04);
      --shadow-card: 0 16px 40px rgba(17, 24, 39, 0.08);
      --card-border: 1px solid rgba(27, 96, 131, 0.12);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    #home { scroll-margin-top: 108px; }
    body {
      margin: 0;
      font-weight: var(--fw-body);
      color: var(--charcoal-navy);
      background: var(--white);
      font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }

    /* Hero Banner Wrapper & Container */
    .hero-wrapper {
      padding: 24px clamp(16px, 3vw, 40px) 0;
      background: var(--white);
      overflow: visible;
    }

    .hero {
      position: relative;
      min-height: calc(100vh - 120px);
      border-radius: 60px;
      background: transparent;
      display: flex;
      align-items: center;
      perspective: 1000px;
      border: none;
      overflow: hidden;
      isolation: isolate;
    }

    /* Diagonal background reveal; the existing gradient remains unchanged. */
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background: var(--hero-bg);
      clip-path: polygon(0 0, 0 0, 0 0, 0 0);
      animation: heroBackgroundReveal 1550ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
      pointer-events: none;
    }

    @keyframes heroBackgroundReveal {
      from { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
      to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    }

    /* Vertically Centered Left Hero Content */
    .hero-content {
      position: relative;
      z-index: 2;
      width: min(62%, 900px);
      padding: clamp(32px, 3.5vw, 56px) clamp(32px, 3.5vw, 56px) clamp(32px, 3.5vw, 56px) clamp(40px, 4vw, 68px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 100%;
    }

    .hero h1 {
      margin: 0;
      font-size: clamp(64px, 6.4vw, 88px);
      line-height: var(--lh-display);
      font-weight: var(--fw-display);
      color: var(--charcoal-navy);
    }

    .text-highlight { color: var(--deep-teal); }

    .hero-title-line {
      display: block;
      opacity: 0;
      transform: translate3d(0, 18px, 0);
      animation: heroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-title-line-1 { animation-delay: 520ms; }
    .hero-title-line-2 { animation-delay: 700ms; }
    .hero-title-line-3 { animation-delay: 880ms; }

    .hero-description {
      max-width: 600px;
      margin: 35px 0 35px;
      color: var(--muted-blue-gray);
      font-size: 20px;
      line-height: var(--lh-body);
      font-weight: 500;
      opacity: 0;
      transform: translate3d(0, 18px, 0);
      animation: heroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 1650ms both;
    }

    .hero-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 14px;
    }

    .hero-actions .button {
      opacity: 0;
      translate: 0 18px;
      animation: heroRiseIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-actions .button-primary { animation-delay: 1880ms; }
    .hero-actions .button-secondary { animation-delay: 2020ms; }

    @keyframes heroRiseIn {
      from { opacity: 0; translate: 0 18px; }
      to { opacity: 1; translate: 0 0; }
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 56px;
      padding: 0 32px;
      border-radius: 999px;
      border: 1.5px solid transparent;
      font-size: 16px;
      font-weight: var(--fw-heading);
      transition: all 0.25s ease;
      cursor: pointer;
    }

    .button-primary {
      background: var(--accent-orange);
      color: var(--white);
      box-shadow: 0 4px 16px rgba(255, 165, 32, 0.28);
    }

    .button-primary:hover {
      background: var(--orange-hover);
      color: var(--white);
      transform: translateY(-2px);
    }

    .button-secondary {
      background: var(--white);
      color: var(--deep-teal);
      border-color: rgba(27, 96, 131, 0.25);
    }

    .button-secondary:hover {
      background: var(--white);
      border-color: var(--deep-teal);
      transform: translateY(-2px);
      box-shadow: var(--shadow-sm);
    }

    /* Hero Person Image Contained Within Banner */
    .hero-person-image {
      position: absolute;
      right: 0;
      bottom: 0;
      top: 0;
      width: 48%;
      height: 100%;
      max-width: none;
      z-index: 1;
      object-fit: contain;
      object-position: right bottom;
      pointer-events: none;
      clip-path: none;
      filter: drop-shadow(0 14px 30px rgba(32, 37, 47, 0.09));
      opacity: 0;
      transform: translate3d(56px, 0, 0) scale(1.02);
      animation: heroImageIn 1300ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
    }

    @keyframes heroImageIn {
      from { opacity: 0; transform: translate3d(56px, 0, 0) scale(1.02); }
      to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }

    /* Floating Cards */
    .approved-card {
      position: absolute;
      right: 37%;
      top: 6%;
      z-index: 20;
      width: min(230px, 26%);
      padding: 20px 18px;
      border-radius: var(--radius-md);
      background: var(--white);
      border: 1.5px solid rgba(27, 96, 131, 0.12);
      box-shadow: var(--shadow-card);
      transform: perspective(600px) rotateY(16deg) rotateX(6deg);
      pointer-events: none;
      animation: approvedFloat 4.5s ease-in-out infinite alternate;
    }

    .disbursed-notification-card {
      position: absolute;
      right: 2%;
      top: 10%;
      z-index: 20;
      display: flex;
      align-items: center;
      gap: 12px;
      width: min(240px, 26%);
      padding: 14px 18px;
      border-radius: var(--radius-md);
      background: var(--white);
      border: 1.5px solid rgba(27, 96, 131, 0.12);
      box-shadow: var(--shadow-card);
      transform: perspective(600px) rotateY(-12deg);
      pointer-events: none;
      animation: notificationFloat 4.8s ease-in-out infinite alternate;
    }

    /* Bank Account Card Aligned Vertically with Loan Approved Card */
    .bank-card {
      position: absolute;
      right: 37%;
      bottom: 12%;
      z-index: 22;
      width: min(230px, 26%);
      padding: 16px 16px 12px;
      border-radius: var(--radius-md);
      background: var(--deep-teal);
      color: var(--white);
      box-shadow: 0 16px 40px rgba(17, 24, 39, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.15);
      transform: perspective(600px) rotateY(16deg) rotateX(6deg) rotateZ(1deg);
      pointer-events: none;
      animation: bankCardFloat 5s ease-in-out infinite alternate;
    }

    .bank-card-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }

    .bank-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.15);
      display: grid;
      place-items: center;
      color: var(--bright-blue);
    }

    .bank-card-title {
      font-size: 13px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.95);
    }

    .bank-balance-section {
      margin-bottom: 14px;
    }

    .bank-balance-label {
      font-size: 10px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.65);
      text-transform: uppercase;
      letter-spacing: var(--ls-caps);
    }

    .bank-balance-amount {
      font-size: clamp(17px, 1.5vw, 21px);
      font-weight: var(--fw-heading);
      color: var(--white);
      margin-top: 2px;
    }

    .bank-actions-panel {
      background: var(--white);
      border-radius: 14px;
      padding: 10px 8px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 4px;
      text-align: center;
    }

    .bank-action-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }

    .bank-action-icon {
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      color: var(--deep-teal);
    }

    .bank-action-label {
      font-size: 9px;
      font-weight: 700;
      color: var(--charcoal-navy);
    }

    .notification-icon-circle {
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--accent-orange);
      color: var(--white);
      display: flex; align-items: center; justify-content: center;
    }

    .notification-title { font-size: 14px; font-weight: var(--fw-label); color: var(--charcoal-navy); }
    .notification-subtext { font-size: 11px; font-weight: 500; color: var(--muted-blue-gray); }

    .status-circle {
      width: 40px; height: 40px; border-radius: 50%; background: #22C55E; color: var(--white);
      display: grid; place-items: center; margin: 0 auto 10px; font-size: 18px;
    }

    .approved-title { font-size: 17px; font-weight: var(--fw-heading); text-align: center; margin: 0 0 4px; }
    .approved-copy { font-size: 11px; color: var(--muted-blue-gray); text-align: center; margin: 0; }

    @keyframes approvedFloat {
      0% { transform: perspective(600px) rotateY(16deg) rotateX(6deg) translateY(0); }
      100% { transform: perspective(600px) rotateY(16deg) rotateX(6deg) translateY(-8px); }
    }
    @keyframes notificationFloat {
      0% { transform: perspective(600px) rotateY(-12deg) translateY(0); }
      100% { transform: perspective(600px) rotateY(-12deg) translateY(-6px); }
    }
    @keyframes bankCardFloat {
      0% { transform: perspective(600px) rotateY(16deg) rotateX(6deg) rotateZ(1deg) translateY(0); }
      100% { transform: perspective(600px) rotateY(16deg) rotateX(6deg) rotateZ(1deg) translateY(-6px); }
    }

    /* Stats Section — featured headline stat beside a four-stat grid */
    .stats-wrapper {
      position: relative;
      z-index: 10;
      padding: clamp(56px, 6.5vw, 84px) clamp(24px, 7.5vw, 96px);
      background: #FFFFFF;
    }

    .stats-clean-container {
      max-width: 1440px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      align-items: start;
      gap: clamp(28px, 4vw, 60px);
      text-align: left;
    }

    .stats-header-content {
      min-width: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }

    .stats-header-content h2 {
      max-width: none;
      font-size: clamp(36px, 4.52vw, 65px);
      font-weight: var(--fw-heading);
      color: var(--charcoal-navy);
      letter-spacing: var(--ls-heading);
      margin: 0 0 clamp(28px, 3.5vw, 44px);
    }

    .stats-featured-number {
      display: block;
      width: 100%;
      color: #1B6083;
      font-size: clamp(58px, 7.3vw, 104px);
      font-weight: var(--fw-display);
      line-height: var(--lh-display);
      letter-spacing: var(--ls-display);
      white-space: nowrap;
      margin: 0 0 16px;
    }

    .stats-featured-label {
      color: #111827;
      font-size: clamp(20px, 1.8vw, 24px);
      font-weight: var(--fw-heading);
      line-height: var(--lh-ui);
      margin: 0 0 8px;
    }

    .stats-featured-description {
      color: var(--muted-blue-gray);
      font-size: 16px;
      font-weight: 500;
      line-height: var(--lh-body);
      margin: 0;
    }

    .stats-right-column {
      min-width: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .stats-clean-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: clamp(22px, 3vw, 44px);
      row-gap: clamp(30px, 3.6vw, 48px);
      margin: 0;
      width: 100%;
    }

    .stats-actions {
      max-width: 1440px;
      margin: clamp(28px, 3vw, 40px) auto 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 14px;
    }

    .stats-actions .stats-about-button {
      background: #1A6083;
      color: #FFFFFF;
      border-color: #1A6083;
      box-shadow: none;
    }

    .stats-actions .stats-about-button:hover {
      background: #164F6C;
      border-color: #164F6C;
      color: #FFFFFF;
      transform: translateY(-2px);
    }

    .stat-clean-item {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      column-gap: clamp(14px, 1.5vw, 22px);
      text-align: left;
      padding: 16px;
      min-width: 0;
      box-sizing: border-box;
      border: 1px solid transparent;
      border-radius: 18px;
      background: #FFFFFF;
      box-shadow: 0 4px 20px rgba(17, 24, 39, 0);
      transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
                  box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
                  border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Match the benefit cards: lift and soften the shadow on hover, with no visible resting border. */
    .stats-clean-grid:not(.stats-reveal-ready) .stat-clean-item:hover,
    .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed:hover,
    .stats-clean-grid:not(.stats-reveal-ready) .stat-clean-item:focus-within,
    .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed:focus-within {
      transform: translate3d(0, -4px, 0);
      border-color: #E5EDF1;
      box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
    }

    @media (prefers-reduced-motion: reduce) {
      .stat-clean-item {
        transition: none;
      }
    }

    .stat-clean-icon {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      color: #FFA51F;
      /* Scale with the number/title block, with a responsive minimum and maximum. */
      font-size: 50px;
      line-height: 1;
      width: 1.1em;
      align-self: start;
      grid-row: 1;
      grid-column: 1;
    }

    .stat-clean-content {
      min-width: 0;
      grid-row: 1;
      grid-column: 2;
    }

    .stat-clean-icon svg {
      display: block;
      width: 1em;
      height: 1em;
      stroke: currentColor;
      fill: none;
      /* Preferred statistic icon stroke thickness. */
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .stat-clean-number {
      color: #1B6083;
      font-size: 50px;
      font-weight: 700;
      line-height: var(--lh-display);
      letter-spacing: var(--ls-display);
      white-space: nowrap;
    }

    .stat-clean-label {
      font-size: 26px;
      font-weight: 700;
      line-height: var(--lh-ui);
      color: #111827;
      text-align: left;
      margin-top: 20px;
    }

    .stat-clean-subtext {
      font-size: 18px;
      line-height: var(--lh-body);
      color: var(--muted-blue-gray);
      text-align: left;
      margin-top: 7px;
    }

    /* Loan Products: scroll-driven stacked cards (scoped to this section) */
    .loan-products-wrapper {
      padding: clamp(60px, 8vw, 96px) clamp(20px, 5vw, 60px) clamp(40px, 6vw, 72px);
      max-width: 1440px;
      margin: 0 auto;
    }

    .loan-products-header {
      text-align: center;
      max-width: 720px;
      margin: 0 auto clamp(32px, 5vw, 56px);
    }

    .loan-products-header h2 {
      font-size: clamp(36px, 4.52vw, 65px);
      font-weight: var(--fw-heading);
      color: var(--charcoal-navy);
      letter-spacing: var(--ls-heading);
      margin: 0;
    }

    /* The outer section provides the scroll distance; all cards share one sticky stage. */
    .loan-products-wrapper .loan-stack-scroll {
      position: relative;
      height: 190vh;
      min-height: 1050px;
    }

    .loan-products-wrapper .loan-stack-stage {
      position: sticky;
      top: 104px;
      height: min(590px, calc(100vh - 132px));
      min-height: 440px;
      width: 100%;
      isolation: isolate;
      overflow: visible;
    }

    /* Keep the cards clipped, but let the indicator sit just outside the card edge. */
    .loan-products-wrapper .loan-stack-card-clip {
      position: absolute;
      inset: 0;
      overflow: hidden;
      border-radius: 60px;
      isolation: isolate;
    }

    /* Attached to the sticky stage, so the indicator stays centered beside the card. */
    .loan-products-wrapper .loan-stack-indicators {
      position: absolute;
      z-index: 50;
      left: -42px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .loan-products-wrapper .loan-stack-indicator {
      display: block;
      width: 5px;
      height: 28px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(27, 96, 131, 0.18);
      cursor: pointer;
      transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                  background-color 0.35s ease,
                  transform 0.35s ease;
    }

    .loan-products-wrapper .loan-stack-indicator:hover {
      background: rgba(27, 96, 131, 0.4);
    }

    .loan-products-wrapper .loan-stack-indicator.active {
      height: 56px;
      background: var(--accent-orange);
    }

    .loan-products-wrapper .loan-stack-indicator:focus-visible {
      outline: 2px solid var(--deep-teal);
      outline-offset: 5px;
    }

    .loan-products-wrapper .loan-stack-card {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: stretch;
      overflow: hidden;
      border-radius: 60px;
      background: #FFFFFF;
      border: 1px solid rgba(27, 96, 131, 0.14);
      box-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
      transition: box-shadow 180ms ease;
      transform-origin: center top;
      filter: blur(var(--loan-card-blur, 0px));
      will-change: transform, filter, opacity;
      backface-visibility: hidden;
    }

    .loan-products-wrapper .loan-stack-card-media {
      position: relative;
      min-width: 0;
      min-height: 0;
      margin: 0;
      overflow: hidden;
      border-radius: 60px;
      background: var(--card-solid-sky);
    }

    .loan-products-wrapper .loan-stack-card-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .loan-products-wrapper .loan-stack-card-content {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: clamp(24px, 3vw, 40px);
      min-width: 0;
      background: #FFFFFF;
    }

    .loan-products-wrapper .loan-stack-eyebrow {
      margin: 0 0 16px;
      color: var(--deep-teal);
      font-size: 13px;
      line-height: var(--lh-ui);
      font-weight: var(--fw-label);
      letter-spacing: var(--ls-caps);
      text-transform: uppercase;
    }

    .loan-products-wrapper .loan-stack-title {
      margin: 0;
      color: var(--charcoal-navy);
      font-size: 50px;
      line-height: normal;
      letter-spacing: normal;
      font-weight: 700;
    }

    .loan-products-wrapper .loan-stack-description {
      max-width: 520px;
      margin: 25px 0;
      color: var(--muted-blue-gray);
      font-size: 18px;
      line-height: var(--lh-body);
      font-weight: var(--fw-body);
      text-align: justify;
    }

    .loan-products-wrapper .loan-btn-group {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .loan-products-wrapper .loan-stack-card[data-loan-card="1"] { z-index: 1; }
    .loan-products-wrapper .loan-stack-card[data-loan-card="2"] { z-index: 2; }

    .loan-products-wrapper .loan-stack-card .button {
      min-height: 56px;
      padding: 0 32px;
      font-size: 16px;
      font-weight: var(--fw-heading);
    }

    @media (max-width: 960px) {
      .loan-products-wrapper .loan-stack-scroll {
        height: 175vh;
        min-height: 960px;
      }

      .loan-products-wrapper .loan-stack-stage {
        top: 92px;
        height: min(610px, calc(100vh - 112px));
        min-height: 470px;
      }

      .loan-products-wrapper .loan-stack-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .loan-products-wrapper .loan-stack-card-content {
        padding: clamp(22px, 3.5vw, 36px);
      }

      .loan-products-wrapper .loan-stack-title {
        font-size: 50px;
      }
    }

    @media (max-width: 640px) {
      .loan-products-wrapper {
        padding-inline: 16px;
      }

      /* On small screens use a normal flow: preserves readable content and reliable taps. */
      .loan-products-wrapper .loan-stack-scroll {
        height: auto;
        min-height: 0;
      }

      .loan-products-wrapper .loan-stack-stage {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        display: grid;
        gap: 22px;
        overflow: visible;
      }

      .loan-products-wrapper .loan-stack-card-clip {
        position: relative;
        inset: auto;
        overflow: visible;
        display: grid;
        gap: 22px;
        border-radius: 60px;
      }

      .loan-products-wrapper .loan-stack-indicators {
        display: none;
      }

      .loan-products-wrapper .loan-stack-card {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        min-height: 0;
        border-radius: 60px;
      }

      .loan-products-wrapper .loan-stack-card-media {
        height: clamp(220px, 62vw, 320px);
        flex: 0 0 auto;
        margin: 0;
        border-radius: 60px;
      }

      .loan-products-wrapper .loan-stack-card-content {
        padding: 24px 22px 26px;
      }

      .loan-products-wrapper .loan-stack-title {
        font-size: 50px;
      }

      .loan-products-wrapper .loan-stack-description {
        margin: 25px 0;
        font-size: 18px;
        font-weight: var(--fw-body);
        text-align: justify;
      }

      .loan-products-wrapper .loan-btn-group {
        width: 100%;
      }

      .loan-products-wrapper .loan-btn-group .button {
        flex: 1 1 auto;
        min-height: 56px;
        padding: 0 32px;
        font-size: 16px;
        font-weight: var(--fw-heading);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .loan-products-wrapper .loan-stack-card {
        will-change: auto;
      }
    }

    /* Why Choose Us Section */
    .why-us-wrapper {
      padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
      background: var(--white);
    }

    .why-us-container { max-width: 1280px; margin: 0 auto; }

    .why-us-header {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 56px;
    }

    .why-us-header h2 {
      font-size: clamp(36px, 4.52vw, 65px);
      font-weight: var(--fw-heading);
      color: var(--charcoal-navy);
      letter-spacing: var(--ls-heading);
      margin: 0;
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 36px;
    }

    .benefit-pair-column {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    /* Minimal White Fintech Cards with Center Layout & Overlapping Circular Top Icon */
    .clean-white-card {
      width: 100%;
      border-radius: 18px;
      overflow: hidden;
      background: #FFFFFF;
      border: 1px solid #E5EDF1;
      box-shadow: 0 4px 20px rgba(17, 24, 39, 0.03);
      display: flex;
      flex-direction: column;
      height: 100%;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .clean-white-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
    }

    /* Slow, staggered reveal for benefit-card columns. The wrapper animates so
       the card's own hover transform remains independent and fully functional. */
    .benefit-reveal-enabled .benefit-pair-column {
      opacity: 0;
      visibility: hidden;
      transform: translateY(46px) scale(0.965);
      transition:
        opacity 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--benefit-delay, 0ms),
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--benefit-delay, 0ms),
        visibility 0s linear var(--benefit-delay, 0ms);
      will-change: opacity, transform;
    }

    .benefit-reveal-enabled .benefit-pair-column.is-benefit-revealed {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    @media (prefers-reduced-motion: reduce) {
      .benefit-reveal-enabled .benefit-pair-column,
      .benefit-reveal-enabled .benefit-pair-column.is-benefit-revealed {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        will-change: auto;
      }
    }

    .clean-white-card-img-wrap {
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      position: relative;
    }

    .clean-white-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .clean-white-card-content {
      position: relative;
      background: #FFFFFF;
      padding: 56px 24px 28px; /* 56px top padding ensures 28px clearance below 84px icon (extending 42px into content panel) */
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1;
    }

    .clean-white-card-icon-badge {
      position: absolute;
      top: -42px; /* Moves icon upward by half its height (42px) to straddle image & content boundary */
      left: 50%;
      transform: translateX(-50%);
      width: 84px;
      height: 84px;
      border-radius: 50%;
      background: #1B6083;
      color: #FFFFFF;
      border: 6px solid #FFFFFF;
      box-shadow: none;
      filter: none;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0;
      z-index: 10;
    }

    .clean-white-card-icon-badge svg {
      width: 36px;
      height: 36px;
      box-shadow: none;
      filter: none;
    }

    .clean-white-card-text {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }

    .clean-white-card-title {
      font-size: 26px;
      font-weight: 700;
      color: #111827;
      margin: 0 0 12px;
      text-align: center;
    }

    .clean-white-card-desc {
      font-size: 18px;
      line-height: var(--lh-body);
      color: var(--muted-blue-gray);
      margin: 0;
      text-align: center;
    }

    /* How It Works Section */
    .steps-wrapper {
      padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
      background: var(--white);
    }

    .steps-container { max-width: 1280px; margin: 0 auto; }

    .steps-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }

    .steps-header h2 {
      font-size: clamp(36px, 4.52vw, 65px);
      font-weight: var(--fw-heading);
      color: var(--charcoal-navy);
      letter-spacing: var(--ls-heading);
      margin: 0;
    }

    .steps-two-column-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(32px, 5vw, 64px);
      align-items: center;
    }

    .steps-list-column {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 32px;
    }

    .step-card-item {
      padding: 28px 32px;
      border-radius: var(--radius-md);
      background: #FFFFFF;
      border: 1px solid rgba(27, 96, 131, 0.08);
      box-shadow: none;
      cursor: pointer;
      transition: all 0.35s ease;
      display: flex;
      align-items: flex-start;
      gap: 28px;
      height: auto;
      flex: 0 0 auto;
    }

    .step-card-item.active {
      background: #1B6083;
      border-color: #1B6083;
      box-shadow: none;
    }

    .step-counter-group {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: #E8F5FA;
      transition: background-color 0.3s ease;
    }

    .step-number-huge {
      font-size: 26px;
      line-height: var(--lh-display);
      font-weight: 700;
      color: #1A6083;
      transition: color 0.3s ease;
    }

    .step-card-item.active .step-counter-group {
      background: #FFA51F;
    }

    .step-card-item.active .step-number-huge {
      color: #FFFFFF;
    }

    .step-text-block {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
    }

    .step-card-title {
      font-size: 26px;
      font-weight: 700;
      color: var(--charcoal-navy);
      margin: 0 0 12px;
      transition: color 0.3s ease;
    }

    .step-card-item.active .step-card-title {
      color: #FFFFFF;
    }

    .step-card-desc {
      font-size: 18px;
      line-height: var(--lh-body);
      color: var(--muted-blue-gray);
      margin: 0;
      opacity: 1;
      max-height: none;
      display: block;
      transition: color 0.3s ease;
    }

    .step-card-item.active .step-card-desc {
      color: rgba(255, 255, 255, 0.92);
    }

    .steps-media-column {
      position: relative;
      width: 100%;
      height: 620px;
      border-radius: 60px;
      overflow: hidden;
      box-shadow: var(--shadow-card);
    }

    .step-image-placeholder {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      visibility: hidden;
      transform: translate3d(18px, 0, 0) scale(0.985);
      transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 950ms cubic-bezier(0.22, 1, 0.36, 1),
                  visibility 0s linear 950ms;
      will-change: opacity, transform;
      z-index: 0;
    }

    .step-image-placeholder.active {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0) scale(1);
      transition-delay: 0s;
      z-index: 1;
    }

    /* Scroll-triggered entrance: keyframes ensure each card starts only after its own stagger delay. */
    @keyframes stepCardEntrance {
      0% { opacity: 0; visibility: hidden; transform: translate3d(0, 46px, 0) scale(0.985); }
      1% { visibility: visible; }
      100% { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0) scale(1); }
    }

    #how-it-works.steps-reveal-ready .step-card-item {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0, 46px, 0) scale(0.985);
      will-change: opacity, transform;
    }

    #how-it-works.steps-reveal-ready .step-card-item.is-step-revealed {
      animation: stepCardEntrance 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0ms;
    }

    #how-it-works .step-card-item { position: relative; overflow: hidden; }
    /* Keep progress markup available, but hide the progress indicator visually. */
    #how-it-works .step-card-progress { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; overflow: hidden; opacity: 0; pointer-events: none; }
    #how-it-works .step-card-item.active .step-card-progress { opacity: 1; }
    #how-it-works .step-card-progress-fill { display: block; width: 0; height: 100%; background: #FFA51F; transform-origin: left center; }
    #how-it-works .step-card-item.is-progress-running .step-card-progress-fill { animation: stepCardProgress 4s linear forwards; }
    #how-it-works .step-card-item.is-progress-paused .step-card-progress-fill { animation-play-state: paused; }
    @keyframes stepCardProgress { from { width: 0; } to { width: 100%; } }

    @media (prefers-reduced-motion: reduce) {
      /* Keep the requested entrance effect, but shorten it for reduced-motion preferences. */
      #how-it-works.steps-reveal-ready .step-card-item.is-step-revealed {
        animation-duration: 500ms;
      }
      #how-it-works .step-image-placeholder,
      #how-it-works .step-image-placeholder.active {
        transition-duration: 250ms;
        will-change: auto;
      }
      #how-it-works .step-card-progress { display: none; }
    }

    /* Testimonials Carousel Section */
    .testimonials-wrapper {
      position: relative;
      padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px) clamp(80px, 10vw, 120px);
      background: var(--white);
      overflow: hidden;
    }

    /* World-map background hidden on this page.
    .testimonials-wrapper::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../world-map.png");
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      opacity: 0.25;
      pointer-events: none;
      z-index: 1;
    } */

    .testimonials-container { 
      position: relative;
      z-index: 2;
      max-width: 1280px; 
      margin: 0 auto; 
    }

    .testimonials-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }

    .testimonials-header h2 {
      font-size: clamp(36px, 4.52vw, 65px);
      font-weight: var(--fw-heading);
      color: var(--charcoal-navy);
      letter-spacing: var(--ls-heading);
      margin: 0;
    }

    .carousel-track-viewport { overflow: hidden; width: 100%; position: relative; }

    .carousel-track {
      display: flex;
      gap: 28px;
      transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .testimonial-card {
      flex: 0 0 calc(33.333% - 19px);
      min-width: 300px;
      background: var(--card-bg);
      border-radius: var(--radius-md);
      padding: 36px 30px;
      border: var(--card-border);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .testimonial-rating { display: flex; gap: 4px; color: var(--accent-orange); margin-bottom: 18px; }
    .testimonial-rating svg { width: 18px; height: 18px; fill: currentColor; }

    .testimonial-quote {
      font-size: 16px; line-height: var(--lh-body); font-weight: 500;
      color: var(--muted-blue-gray); margin: 0 0 24px 0; font-style: italic;
    }

    .testimonial-user { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(32, 37, 47, 0.06); padding-top: 20px; }
    .avatar-wrapper { position: relative; width: 48px; height: 48px; }
    .avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

    .user-name { font-size: 15px; font-weight: var(--fw-heading); color: var(--charcoal-navy); }
    .user-role { font-size: 12px; font-weight: 600; color: var(--deep-teal); }

    .carousel-indicators {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      margin-top: 48px;
    }

    .indicator-line {
      height: 5px;
      width: 36px;
      border-radius: 999px;
      background: rgba(27, 96, 131, 0.18);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .indicator-line:hover {
      background: rgba(27, 96, 131, 0.4);
    }

    .indicator-line.active {
      width: 72px;
      background: var(--accent-orange);
    }

    /* Testimonial cards reveal from left to right; later carousel cards remain available. */
    #testimonials.testimonials-reveal-ready .carousel-track > .testimonial-card:nth-child(-n+3) {
      opacity: 0;
      visibility: hidden;
      transform: translateX(-40px);
      transition: opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
                  visibility 0s linear 1000ms;
      will-change: opacity, transform;
    }
    #testimonials.testimonials-reveal-ready.testimonials-revealed .carousel-track > .testimonial-card:nth-child(-n+3) {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
      transition-delay: var(--testimonial-delay, 0ms), var(--testimonial-delay, 0ms), 0s;
    }
    #testimonials.testimonials-reveal-ready .carousel-indicators {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 500ms ease, transform 500ms ease, visibility 0s linear 500ms;
    }
    #testimonials.testimonials-reveal-ready.testimonials-indicators-revealed .carousel-indicators {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition-delay: 0s;
    }

    /* Final CTA entrance reveal. Footer remains static. */
    .final-cta-section.cta-reveal-ready .final-cta-content,
    .final-cta-section.cta-reveal-ready .final-cta-actions {
      opacity: 0;
      visibility: hidden;
      transform: translateY(14px);
      will-change: opacity, transform;
    }
    .final-cta-section.cta-reveal-ready.cta-revealed .final-cta-content {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .final-cta-section.cta-reveal-ready.cta-revealed .final-cta-actions {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1) 160ms, transform 650ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
    }
    .final-cta-section.cta-reveal-ready .final-cta-actions { transform: translateY(12px) scale(0.98); }
    .final-cta-actions .button span { display: inline-block; transition: transform 220ms ease; }
    .final-cta-actions .button:hover { transform: translateY(-2px); }
    .final-cta-actions .button:hover span { transform: translateX(4px); }

    /* Keep the hero title deliberately split into two lines. */
    #testimonial-hero-title > span { display: block; }

    @media (prefers-reduced-motion: reduce) {
      #testimonials .carousel-track > .testimonial-card:nth-child(-n+3),
      #testimonials .carousel-indicators,
      .final-cta-section.cta-reveal-ready .final-cta-content,
      .final-cta-section.cta-reveal-ready .final-cta-actions {
        opacity: 1 !important; visibility: visible !important; transform: none !important; transition: none !important;
      }
    }

/* Redesigned Clean Section CTA */
    .final-cta-section {
      background: #1A6083;
      padding: clamp(60px, 8vw, 96px) clamp(20px, 5vw, 60px);
      position: relative;
      z-index: 10;
    }

    .final-cta-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .final-cta-content {
      max-width: 760px;
      flex: 1 1 auto;
      min-width: 0;
    }

    .final-cta-content h2 {
      font-size: clamp(32px, 3.8vw, 48px);
      font-weight: 700;
      color: #FFFFFF;
      margin: 0 0 16px 0;
      line-height: var(--lh-heading);
      letter-spacing: var(--ls-heading);
    }

    .final-cta-content p {
      font-size: 18px;
      color: rgba(255, 255, 255, 0.92);
      margin: 0;
      line-height: var(--lh-body);
    }

    .final-cta-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    /* Footer Section */

    @media (max-width: 960px) {
      .hero-wrapper { padding-top: 16px; }
      .hero { min-height: auto; border-radius: 44px; }
      .hero-content { width: 100%; padding: 40px 28px 32px; }
      .hero h1 { font-size: clamp(56px, 8vw, 88px); }
      .hero-person-image, .approved-card, .disbursed-notification-card, .bank-card { display: none; }
      .benefits-grid, .steps-two-column-grid { grid-template-columns: 1fr; }
      .stats-wrapper { padding-left: 32px; padding-right: 32px; }
      .stats-clean-container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
      .stats-header-content h2 { max-width: none; font-size: clamp(36px, 5.2vw, 52px); letter-spacing: var(--ls-heading); }
      .stats-featured-number { font-size: clamp(60px, 10vw, 88px); }
      .stats-clean-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
      .stat-clean-icon { font-size: 50px; }
      .stat-clean-item { column-gap: 12px; }
      .stat-clean-number { font-size: 50px; }
      .steps-media-column { height: 380px; }
      .testimonial-card { flex: 0 0 100%; }
      
      .final-cta-container { flex-direction: column; text-align: center; }
      .final-cta-actions { width: 100%; justify-content: center; }

    }

    @media (max-width: 960px) {
      .loan-products-header h2,
      .why-us-header h2,
      .steps-header h2,
      .testimonials-header h2 { font-size: clamp(36px, 5.2vw, 52px); letter-spacing: var(--ls-heading); }
    }

    @media (max-width: 960px) {
      .hero-title-line { transform: translate3d(22px, 0, 0); }
      .hero-title-line-1 { animation-delay: 520ms; }
      .hero-title-line-2 { animation-delay: 700ms; }
      .hero-title-line-3 { animation-delay: 880ms; }
      .hero-description { animation-delay: 1250ms; }
      .hero-actions .button-primary { animation-delay: 1450ms; }
      .hero-actions .button-secondary { animation-delay: 1600ms; }
    }

    @media (max-width: 540px) {
      .hero::before { animation-duration: 1150ms; }
      .hero-title-line { transform: translate3d(16px, 0, 0); animation-duration: 680ms; }
      .hero-title-line-1 { animation-delay: 450ms; }
      .hero-title-line-2 { animation-delay: 650ms; }
      .hero-title-line-3 { animation-delay: 850ms; }
      .hero-description { transform: translate3d(0, 14px, 0); animation-delay: 1080ms; animation-duration: 700ms; }
      .hero-actions .button { translate: 0 14px; animation-duration: 680ms; }
      .hero-actions .button-primary { animation-delay: 1300ms; }
      .hero-actions .button-secondary { animation-delay: 1450ms; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero::before,
      .hero-person-image,
      .hero-title-line,
      .hero-description,
      .hero-actions .button {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        translate: none !important;
        clip-path: none !important;
      }
    }

    @media (max-width: 540px) {
      .loan-products-header h2,
      .why-us-header h2,
      .steps-header h2,
      .testimonials-header h2 { font-size: clamp(34px, 8.5vw, 42px); letter-spacing: var(--ls-heading); }

      .hero { border-radius: 28px; }
      .hero-content { padding: 36px 22px 28px; }
      .hero h1 { font-size: clamp(44px, 11vw, 60px); line-height: var(--lh-display); }
      .stats-wrapper { padding: 48px 20px 56px; }
      .stats-clean-container { gap: 34px; }
      .stats-header-content h2 { font-size: clamp(34px, 8.5vw, 42px); letter-spacing: var(--ls-heading); margin-bottom: 28px; }
      .stats-featured-number { font-size: clamp(54px, 13vw, 72px); letter-spacing: var(--ls-display); }
      .stats-clean-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 25px; }
      .stat-clean-number { font-size: 50px; letter-spacing: var(--ls-display); }
      .stat-clean-icon { font-size: 50px; }
      .stat-clean-item { column-gap: 8px; padding: 12px; }
      .stat-clean-label { font-size: 26px; font-weight: 700; margin-top: 10px; }
      .stat-clean-subtext { font-size: 18px; margin-top: 6px; }
      
    }

    /* Reveal each complete statistic item in order, from below into place. */
    .stats-clean-grid.stats-reveal-ready .stat-clean-item {
      opacity: 0;
      transform: translate3d(0, 24px, 0);
      transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }

    .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    @media (prefers-reduced-motion: reduce) {
      .stats-clean-grid.stats-reveal-ready .stat-clean-item,
      .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto;
      }
    }

    /* Premium section-title word reveal: enhancement is inert until JS prepares a heading. */
    .section-title-reveal.word-reveal-ready .section-title-word {
      display: inline-block;
      opacity: 0;
      transform: translate3d(0, 30px, 0);
      transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: 0ms;
      will-change: opacity, transform;
    }

    .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      transition-delay: var(--word-delay, 0ms);
    }

    @media (max-width: 767px) {
      .section-title-reveal.word-reveal-ready .section-title-word {
        transform: translate3d(0, 22px, 0);
      }
      .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
        transform: translate3d(0, 0, 0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .section-title-reveal.word-reveal-ready .section-title-word,
      .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0ms !important;
        will-change: auto;
      }
    }

/* Help & FAQs page-specific styles */
:root {
  --faq-hero-bg: linear-gradient(135deg, #E5F3F9 0%, #C6E5F1 50%, #A7D5E8 100%);
}

.faq-hero-wrap {
  padding: 24px clamp(16px, 3vw, 40px) 0;
  background: #fff;
}
.faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-radius: 48px;
  /* The existing gradient is revealed by ::before, as in index.html. */
  background: transparent;
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--faq-hero-bg);
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  animation: faqHeroBackgroundReveal 1550ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
  pointer-events: none;
}
@keyframes faqHeroBackgroundReveal {
  from { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes faqHeroRiseIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.faq-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: clamp(48px, 7vw, 88px) clamp(40px, 7vw, 88px);
}
.faq-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}
.faq-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--charcoal-navy);
  font-size: clamp(56px, 8.5vw, 120px);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both;
}
.faq-hero h1 span { color: var(--deep-teal); }
.faq-hero-copy {
  max-width: 640px;
  margin: 24px 0 28px;
  color: var(--muted-blue-gray);
  font-size: 20px;
  font-weight: 500;
  line-height: var(--lh-body);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 1250ms both;
}
.faq-hero-actions { display: none ; }
@media (prefers-reduced-motion: reduce) {
  .faq-hero::before,
  .faq-hero h1,
  .faq-hero-copy {
    animation: none ;
    opacity: 1 ;
    transform: none ;
    clip-path: none ;
  }
}

.faq-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 60px);
  background: #fff;
}
.faq-container { max-width: 1040px; margin: 0 auto; }
.faq-section-heading { text-align:center; max-width:760px; margin:0 auto 34px; }
.faq-section-heading h2, .contact-copy h2, .map-heading h2 {
  margin:0;
  color:var(--charcoal-navy);
  font-size:clamp(36px, 4.52vw, 65px);
  font-weight:var(--fw-heading);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-heading);
}
.faq-section-heading p { display:none; }
.faq-search-wrap { position:relative; max-width:720px; margin:0 auto 30px; }
.faq-search-icon {
  position:absolute; left:22px; top:50%; transform:translateY(-50%);
  width:21px; height:21px; color:var(--deep-teal); pointer-events:none;
}
.faq-search {
  display:block; width:100%; min-height:60px; padding:0 24px 0 56px;
  border:1px solid #D6E4EA; border-radius:999px; background:#fff;
  color:var(--charcoal-navy); font:inherit; font-size:16px;
  outline:none; box-shadow:0 6px 22px rgba(17,24,39,.045);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus { border-color:var(--bright-blue); box-shadow:0 0 0 4px rgba(45,174,224,.14); }
.faq-list { border-top:1px solid #DCE7EC; }
.faq-item { border-bottom:1px solid #DCE7EC; transition:background-color .22s ease, transform .35s ease, opacity .55s ease; }
.faq-item:hover { background:#F7FBFD; }
.faq-list.faq-reveal-ready .faq-item { opacity:0; transform:translate3d(0,22px,0); }
.faq-list.faq-reveal-ready .faq-item.is-faq-revealed { opacity:1; transform:translate3d(0,0,0); }
.contact-reveal-ready .contact-detail, .contact-reveal-ready .contact-socials, .contact-reveal-ready .contact-form-card { opacity:0; transform:translate3d(0,24px,0); transition:opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1); }
.contact-reveal-ready .contact-detail.is-contact-revealed, .contact-reveal-ready .contact-socials.is-contact-revealed, .contact-reveal-ready .contact-form-card.is-contact-revealed { opacity:1; transform:translate3d(0,0,0); }
@media (prefers-reduced-motion: reduce) { .faq-list.faq-reveal-ready .faq-item,.faq-list.faq-reveal-ready .faq-item.is-faq-revealed,.contact-reveal-ready .contact-detail,.contact-reveal-ready .contact-socials,.contact-reveal-ready .contact-form-card { opacity:1!important; transform:none!important; transition:none!important; } }
.faq-question-heading { margin:0; }
.faq-question {
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:24px;
  padding:24px 14px; border:0; background:transparent; color:var(--charcoal-navy);
  text-align:left; font:inherit; font-size:22px; font-weight:600;
  line-height:var(--lh-ui); cursor:pointer;
}
.faq-question:hover { color:var(--deep-teal); }
.faq-question:focus-visible { outline:3px solid rgba(45,174,224,.55); outline-offset:-3px; border-radius:12px; }
.faq-toggle {
  flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center;
  border-radius:0; color:#1B6083; background:transparent;
  font-size:32px; font-weight:var(--fw-heading); line-height:1; transition:transform .2s ease, color .2s ease;
}
.faq-question[aria-expanded="true"] .faq-toggle { background:transparent !important; }
.faq-answer { padding:0 64px 24px 14px; color:var(--muted-blue-gray); font-size:18px; line-height:var(--lh-body); }
.faq-answer p { margin:0; }
.faq-answer[hidden] { display:none; }
.faq-empty { padding:28px 14px; color:var(--muted-blue-gray); text-align:center; }
.faq-controls { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:14px; margin-top:32px; }
.faq-show-more {
  min-height:48px; padding:0 26px; border:1.5px solid #FFA51F; border-radius:999px;
  background:#FFA51F; color:#FFFFFF; font:inherit; font-size:15px; font-weight:var(--fw-heading); cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.faq-show-more.faq-button-reveal-ready { opacity:0; transform:translate3d(0,22px,0); }
.faq-show-more.faq-button-reveal-ready.is-faq-button-revealed {
  opacity:1; transform:translate3d(0,0,0);
  transition:opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1), background .2s ease, border-color .2s ease, color .2s ease;
}
.faq-show-more:hover { background:#E8940D; border-color:#E8940D; color:#fff; transform:translateY(-2px); }
.faq-result-count { display:none !important; }

.contact-section {
  padding:clamp(64px, 8vw, 104px) clamp(20px, 5vw, 60px);
  background:#F6FAFC;
}
.contact-container {
  max-width:1280px; margin:0 auto; display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(32px, 5vw, 76px); align-items:start;
}
.contact-copy { padding-top:14px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; min-height:100%; }
.contact-copy > p { display:none; }
.contact-details { display:grid; gap:20px; margin:0 0 32px; }
.contact-detail { display:flex; align-items:flex-start; gap:14px; color:var(--charcoal-navy); }
.contact-detail-icon {
  flex:0 0 22px; width:22px; height:22px; display:grid; place-items:center;
  background:transparent; color:#1B6083;
}
.contact-detail-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.contact-detail-label { display:none; }
.contact-detail a, .contact-detail-value { color:var(--charcoal-navy); font-size:18px; font-weight:var(--fw-body); line-height:var(--lh-body); overflow-wrap:anywhere; }
.contact-detail a:hover { color:var(--deep-teal); text-decoration:underline; text-underline-offset:3px; }
.contact-socials { display:flex; align-items:center; gap:24px; margin-top:48px; }

.contact-form-card {
  background:#fff; border:1px solid #E5EDF1; border-radius:24px; padding:clamp(24px, 4vw, 42px);
  box-shadow:none; transition:box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.contact-form-card:hover { box-shadow:0 18px 42px rgba(27,96,131,.12); transform:translateY(-3px); border-color:#D4E5ED; }
.contact-form-card h3 { margin:0 0 8px; font-size:26px; color:var(--charcoal-navy); font-weight:var(--fw-heading); }
.contact-form-card > p { margin:0 0 26px; color:var(--muted-blue-gray); font-size:18px; line-height:var(--lh-body); }
.contact-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.form-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.form-field.full-width { grid-column:1 / -1; }
.form-field label { color:var(--charcoal-navy); font-size:18px; font-weight:600; }
.form-field input, .form-field textarea {
  width:100%; border:1px solid #D7E3E9; border-radius:14px; background:#fff;
  padding:14px 16px; color:var(--charcoal-navy); font:inherit; font-size:15px;
  outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.form-field input { min-height:52px; }
.form-field textarea { min-height:150px; resize:vertical; line-height:var(--lh-body); }
.form-field input:focus, .form-field textarea:focus { border-color:var(--bright-blue); box-shadow:0 0 0 4px rgba(45,174,224,.13); }
.form-field input::placeholder, .form-field textarea::placeholder { color:#8A9BA5; }
.contact-submit {
  grid-column:1 / -1; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:54px; padding:0 28px; border:0; border-radius:999px;
  background:#FFA51F; color:#FFFFFF; font:inherit; font-size:16px; font-weight:var(--fw-heading);
  cursor:pointer; box-shadow:0 4px 14px rgba(255,165,32,.2);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-submit:hover { background:#E58E0B; color:#fff; transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,165,32,.25); }
.contact-submit:focus-visible { outline:3px solid rgba(45,174,224,.7); outline-offset:3px; }
.form-note { grid-column:1 / -1; margin:0; color:var(--muted-blue-gray); font-size:13px; line-height:var(--lh-body); }
.form-status { grid-column:1 / -1; padding:12px 14px; border-radius:12px; background:#EAF5FA; color:#1B6083; font-size:14px; line-height:var(--lh-body); }
.map-section { padding:0; margin:0; width:100%; background:#fff; }
.map-container { width:100%; margin:0; }
.map-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.map-heading p { max-width:520px; margin:0; color:var(--muted-blue-gray); font-size:16px; line-height:var(--lh-body); }
.map-frame-wrap { overflow:hidden; border-radius:0; border:0; background:#EAF5FA; box-shadow:none; width:100%; }
.map-frame { display:block; width:100%; height:clamp(380px, 48vw, 600px); border:0; }
.map-address { display:flex; align-items:flex-start; gap:12px; margin-top:18px; color:var(--muted-blue-gray); font-size:15px; line-height:var(--lh-body); }
.map-address svg { flex:0 0 20px; width:20px; height:20px; margin-top:2px; color:var(--deep-teal); }

@media (max-width: 960px) {
  .contact-container { grid-template-columns:1fr; }
  .contact-copy { max-width:760px; }
  .map-heading { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 640px) {
  .faq-hero-wrap { padding:16px 16px 0; }
  .faq-hero { min-height:340px; border-radius:28px; }
  .faq-hero-content { padding:42px 24px; }
  .faq-hero h1 { font-size:clamp(44px, 11vw, 64px); }
  .faq-hero-copy { font-size:18px; }
  .faq-question { font-size:20px; }
  .faq-answer { font-size:17px; }
  .contact-detail a, .contact-detail-value { font-size:18px; }
  .contact-form-card > p, .form-field label { font-size:17px; }
  .faq-section, .contact-section, .map-section { padding-left:18px; padding-right:18px; }
  .faq-question { padding:20px 8px; gap:14px; }
  .faq-answer { padding:0 48px 22px 8px; }
  .contact-form-card { padding:24px 20px; border-radius:20px; }
  .contact-form { grid-template-columns:1fr; }
  .form-field.full-width, .contact-submit, .form-note, .form-status { grid-column:1; }
  .map-frame { height:340px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-toggle, .faq-show-more, .contact-submit, .form-field input, .form-field textarea { transition:none; }
  .faq-show-more.faq-button-reveal-ready { opacity:1!important; transform:none!important; }
}

.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.faq-item[hidden] { display:none !important; }

    .contact-detail-label { text-transform:none; letter-spacing:0; font-size:14px; font-weight:700; color:var(--charcoal-navy); }
    .contact-detail-value { display:block; }
    .faq-section-heading { margin-bottom:34px; }
    .faq-section-heading h2, .contact-copy h2 { font-size:clamp(36px, 4.52vw, 65px); line-height:var(--lh-heading); letter-spacing:var(--ls-heading); }
    @media (max-width:540px) { .faq-hero { border-radius:28px; } .faq-hero-content { padding:40px 24px; } .faq-hero h1 { font-size:clamp(44px, 11vw, 64px); } .map-frame { height:420px; } }

    /* Typography alignment with index.html: clear hierarchy and responsive sizing. */
    .faq-hero h1 {
      font-size: clamp(64px, 6.2vw, 80px);
      line-height: var(--lh-display);
    }
    .faq-hero-copy {
      font-size: clamp(16px, 1.35vw, 18px);
      line-height: var(--lh-body);
    }

    .final-cta-content h2 {
      font-size: clamp(32px, 3.8vw, 48px);
    }
    .final-cta-content p {
      font-size: 18px;
    }

    @media (max-width: 960px) {
      .faq-hero h1 {
        font-size: clamp(52px, 7vw, 68px);
      }
      
    }

    @media (max-width: 640px) {
      .faq-hero h1 {
        font-size: clamp(40px, 8.5vw, 52px);
        line-height: var(--lh-display);
      }
      .faq-hero-copy {
        font-size: 16px;
        line-height: var(--lh-body);
      }

      .final-cta-content h2 {
        font-size: clamp(28px, 8vw, 36px);
      }
      .final-cta-content p {
        font-size: 16px;
      }
    }

    /* Shared Lenderly UI checklist — aligned with index-v8 and help-and-faqs-v3 */
    :root {
      --white: #FFFFFF;
      --bright-blue: #2DAEE0;
      --deep-teal: #1B6083;
      --muted-blue-gray: #4A6370;
      --accent-orange: #FFA51F;
      --orange-hover: #E58E0B;
      --charcoal-navy: #111827;
      --hero-bg: linear-gradient(115deg, #EAF4F8 0%, #EDF7FA 48%, #D7EDF6 100%);
      --radius-lg: 48px;
      --radius-md: 28px;
      --radius-sm: 12px;
    }

    body {
      color: #111827;
      background: #FFFFFF;
      font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    /* Homepage-aligned hero sizing, typography, color and spacing. */
    .faq-hero {
      min-height: clamp(460px, 64svh, 620px);
      border-radius: 48px;
      background: var(--hero-bg);
      overflow: hidden;
    }
    .faq-hero::before {
      animation: none ;
      clip-path: none ;
      background: transparent ;
    }
    .faq-hero-content {
      max-width: 1440px;
      padding: clamp(44px, 5vw, 72px);
    }
    .faq-hero h1 {
      color: #111827;
      font-size: clamp(48px, 5.2vw, 80px);
      line-height: var(--lh-display);
      letter-spacing: var(--ls-display);
      opacity: 1 ;
      transform: none ;
      animation: none ;
    }
    .faq-hero h1 span { color: #1B6083; }
    .faq-hero-copy {
      max-width: 640px;
      margin-top: 22px;
      color: var(--muted-blue-gray);
      font-size: clamp(16px, 1.35vw, 18px);
      line-height: var(--lh-body);
      opacity: 1 ;
      transform: none ;
      animation: none ;
    }

    /* Card and control styling: consistent radius, clean borders, restrained shadows. */
    .testimonial-card {
      border-radius: 16px;
      border-color: rgba(27, 96, 131, 0.12);
      box-shadow: 0 4px 16px rgba(32, 37, 47, 0.04);
    }
    .button,
    .final-cta-section .button {
      border-radius: 999px;
    }
    .button-primary {
      background: #FFA51F;
      color: #FFFFFF;
      border-color: #FFA51F;
      box-shadow: none;
    }
    .button-primary:hover,
    .button-primary:focus-visible {
      background: #E58E0B;
      border-color: #E58E0B;
      color: #FFFFFF;
      box-shadow: none;
      transform: none;
    }
    .button-secondary {
      color: #1B6083;
      border-color: #1B6083;
      box-shadow: none;
    }

    /* Final CTA and footer remain static: no entrance, scroll reveal, or movement effects. */
    .final-cta-section,
    .final-cta-section.cta-reveal-ready,
    .final-cta-section.cta-reveal-ready .final-cta-content,
    .final-cta-section.cta-reveal-ready .final-cta-actions,
    .final-cta-section.cta-reveal-ready.cta-revealed .final-cta-content,
    .final-cta-section.cta-reveal-ready.cta-revealed .final-cta-actions {
      opacity: 1 !important;
      visibility: visible !important;
      transform: none !important;
      animation: none !important;
      transition: none !important;
      will-change: auto !important;
    }
    .final-cta-actions .button span { transition: none !important; }
    .final-cta-actions .button:hover,
    .final-cta-actions .button:focus-visible {
      transform: none !important;
      box-shadow: none !important;
    }

    @media (max-width: 768px) {

      .faq-hero {
        min-height: 0;
        border-radius: 28px;
      }
      .faq-hero-content { padding: 44px 28px; }
      .faq-hero h1 { font-size: clamp(40px, 7vw, 56px); line-height: var(--lh-display); }
      .faq-hero-copy { font-size: 16px; }

    }
    @media (max-width: 480px) {

      .faq-hero-content { padding: 38px 22px; }
      .faq-hero h1 { font-size: clamp(38px, 10vw, 48px); }
      
    }

    /* v3: Match the navigation and hero layout from help-and-faqs-v3.html. */

    .faq-hero-wrap {
      width: 100% ;
      padding: 24px clamp(16px, 3vw, 40px) 0 ;
      background: #FFFFFF ;
    }
    .faq-hero {
      width: 100% ;
      max-width: 1440px ;
      height: clamp(580px, 72svh, 680px) ;
      min-height: 0 ;
      margin: 0 auto ;
      border-radius: 48px ;
      background: transparent ;
      overflow: hidden ;
      isolation: isolate ;
    }
    .faq-hero::before {
      background: var(--hero-bg) ;
      animation: none ;
      clip-path: none ;
    }
    .faq-hero-content {
      width: min(58%, 800px) ;
      max-width: 800px ;
      padding: 32px clamp(32px, 3.5vw, 56px) 32px clamp(40px, 4vw, 68px) ;
    }
    .faq-hero h1 {
      max-width: 760px ;
      color: #111827 ;
      font-size: clamp(56px, 5.8vw, 88px) ;
      line-height: var(--lh-display) ;
      letter-spacing: var(--ls-display) ;
      font-weight: var(--fw-display) ;
      opacity: 1 ;
      transform: none ;
      animation: none ;
    }
    .faq-hero h1 span { display: block ; color: var(--deep-teal) ; }
    .faq-hero-copy {
      max-width: 600px ;
      margin: 28px 0 32px ;
      color: var(--muted-blue-gray) ;
      font-size: 18px ;
      line-height: var(--lh-body) ;
      opacity: 1 ;
      transform: none ;
      animation: none ;
    }

    @media (max-width: 960px) {

      .faq-hero-wrap { padding: 16px 20px 0 ; }
      .faq-hero { height: auto ; min-height: 480px ; border-radius: 36px ; }
      .faq-hero-content { width: 64% ; padding: 48px 32px ; }
      .faq-hero h1 { font-size: clamp(48px, 6vw, 68px) ; }
    }
    @media (max-width: 640px) {

      .faq-hero-wrap { padding: 12px 12px 0 ; }
      .faq-hero { min-height: 0 ; height: auto ; border-radius: 28px ; }
      .faq-hero-content { width: 100% ; max-width: none ; padding: 42px 24px 36px ; }
      .faq-hero h1 { font-size: clamp(40px, 9vw, 56px) ; line-height: var(--lh-display) ; }
      .faq-hero-copy { margin: 22px 0 0 ; font-size: 16px ; }
    }

    /* Testimonial hero animations matched to help-and-faqs-v3.html */
    .faq-hero::before {
      clip-path: polygon(0 0, 0 0, 0 0, 0 0) ;
      animation: faqHeroBackgroundReveal 1550ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards ;
    }
    .faq-hero h1 {
      opacity: 0 ;
      transform: translate3d(0, 18px, 0) ;
      animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both ;
    }
    .faq-hero-copy {
      opacity: 0 ;
      transform: translate3d(0, 18px, 0) ;
      animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 1250ms both ;
    }
    @media (max-width: 640px) {
      .faq-hero::before {
        animation-duration: 1150ms ;
      }
      .faq-hero h1 {
        animation-duration: 680ms ;
        animation-delay: 450ms ;
      }
      .faq-hero-copy {
        transform: translate3d(0, 14px, 0) ;
        animation-duration: 700ms ;
        animation-delay: 1080ms ;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .faq-hero::before,
      .faq-hero h1,
      .faq-hero-copy {
        animation: none ;
        opacity: 1 ;
        transform: none ;
        clip-path: none ;
      }
    }

    /* Reliable testimonial hero motion: start only after the page is ready. */
    body.hero-motion-active .faq-hero::before {
      clip-path: polygon(0 0, 0 0, 0 0, 0 0) ;
      animation: testimonialHeroReveal 1450ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both ;
    }
    body.hero-motion-active .faq-hero h1 {
      opacity: 0 ;
      transform: translate3d(0, 20px, 0) ;
      animation: testimonialHeroRise 800ms cubic-bezier(0.22, 1, 0.36, 1) 420ms both ;
    }
    body.hero-motion-active .faq-hero-copy {
      opacity: 0 ;
      transform: translate3d(0, 18px, 0) ;
      animation: testimonialHeroRise 800ms cubic-bezier(0.22, 1, 0.36, 1) 1050ms both ;
    }
    @keyframes testimonialHeroReveal {
      from { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
      to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    }
    @keyframes testimonialHeroRise {
      from { opacity: 0; transform: translate3d(0, 20px, 0); }
      to { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @media (max-width: 640px) {
      body.hero-motion-active .faq-hero::before { animation-duration: 1050ms ; }
      body.hero-motion-active .faq-hero h1 { animation-duration: 650ms ; animation-delay: 300ms ; }
      body.hero-motion-active .faq-hero-copy { animation-duration: 650ms ; animation-delay: 800ms ; }
    }
    @media (prefers-reduced-motion: reduce) {
      body.hero-motion-active .faq-hero::before { animation-duration: 350ms ; }
      body.hero-motion-active .faq-hero h1,
      body.hero-motion-active .faq-hero-copy { animation-duration: 350ms ; }
    }

    /* ===== Customer stories (matches Our Team page) ===== */
    .stories-section {
      position: relative;
      padding: clamp(52px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(68px, 7vw, 96px);
      background: #FFFFFF;
    }
    .stories-container { max-width: 1280px; margin: 0 auto; }
    .stories-heading { max-width: 780px; margin: 0 auto 28px; text-align: center; }
    .stories-heading h2 {
      margin: 0;
      color: var(--charcoal-navy);
      font-size: clamp(30px, 3.6vw, 48px);
      line-height: var(--lh-heading);
      letter-spacing: var(--ls-heading);
      font-weight: var(--fw-heading);
    }

    /* Filter tabs */
    .stories-tabs {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 auto 40px;
    }
    .stories-tab {
      appearance: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex: 0 0 auto;
      border: 1px solid rgba(27,96,131,.16);
      border-radius: 999px;
      padding: 10px 14px 10px 18px;
      background: #FFFFFF;
      color: var(--muted-blue-gray);
      font: 700 14px/1.2 'Manrope', sans-serif;
      white-space: nowrap;
      cursor: pointer;
      transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
    }
    .stories-tab-count {
      min-width: 24px;
      padding: 3px 7px;
      border-radius: 999px;
      background: #EEF4F7;
      color: var(--muted-blue-gray);
      font-size: 12px;
      text-align: center;
    }
    .stories-tab:hover { border-color: rgba(45,174,224,.65); color: var(--deep-teal); }
    .stories-tab[aria-pressed="true"] { background: var(--deep-teal); border-color: var(--deep-teal); color: #FFFFFF; }
    .stories-tab[aria-pressed="true"] .stories-tab-count { background: rgba(255,255,255,.2); color: #FFFFFF; }
    .stories-tab:focus-visible { outline: 3px solid rgba(45,174,224,.5); outline-offset: 3px; }

    /* Shared card parts */
    .quote-text { margin: 0; color: #111827; font-size: 16px; font-weight: 500; font-style: normal; line-height: var(--lh-body); }
    .quote-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .quote-avatar {
      display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden;
      border-radius: 50%; background: #EAF5FA; color: var(--deep-teal); font-size: 13px; font-weight: var(--fw-label);
    }
    .quote-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .quote-name { display: block; color: #111827; font-size: 15px; font-weight: 700; line-height: var(--lh-ui); }
    .quote-role { display: block; margin-top: 6px; color: var(--muted-blue-gray); font-size: 14px; line-height: var(--lh-ui); }
    .quote-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .quote-loan, .quote-place {
      display: inline-flex; align-items: center; gap: 5px;
      padding: 5px 10px; border-radius: 999px;
      font-size: 13px; font-weight: 700; line-height: var(--lh-heading);
    }
    .quote-loan { background: #EAF5FA; color: #1B6083; transition: background-color 220ms ease; }
    .quote-loan:hover { background: #D7EDF6; }
    .quote-loan:focus-visible { outline: 3px solid rgba(45,174,224,.5); outline-offset: 2px; }
    .quote-place { background: #F4F6F8; color: var(--muted-blue-gray); }
    .quote-place svg { width: 13px; height: 13px; flex: 0 0 13px; }

    /* Star rating */
    .quote-stars { display: flex; gap: 3px; }
    .quote-stars svg { display: block; width: 18px; height: 18px; }
    .quote-stars .is-on { color: #FFA51F; }
    .quote-stars .is-off { color: #DCE6EB; }
    .quote-stars path { fill: currentColor; }
    .story-featured .quote-stars { margin-bottom: 16px; }
    .story-featured .quote-stars svg { width: 22px; height: 22px; }
    .story-featured .quote-stars .is-off { color: #FFFFFF; }
    /* Initials avatar */
    .quote-avatar { letter-spacing: .02em; user-select: none; }
    .story-featured .quote-avatar { background: #FFFFFF; font-size: 17px; }

    /* Featured story */
    .story-featured {
      position: relative;
      overflow: hidden;
      margin: 0 0 32px;
      padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
      border-radius: 28px;
      background: var(--hero-bg, linear-gradient(115deg, #EAF4F8 0%, #EDF7FA 48%, #D7EDF6 100%));
    }
    .story-featured[hidden] { display: none; }
    .story-featured::before {
      content: "\201C";
      position: absolute;
      top: -40px; right: clamp(16px, 4vw, 48px);
      color: rgba(27,96,131,.10);
      font: 800 clamp(180px, 22vw, 280px)/1 Georgia, serif;
      pointer-events: none;
    }
    .story-featured-label {
      display: inline-block;
      margin-bottom: 18px;
      padding: 6px 12px;
      border-radius: 999px;
      background: #FFFFFF;
      color: var(--deep-teal);
      font-size: 12px;
      font-weight: var(--fw-label);
      letter-spacing: var(--ls-caps);
      text-transform: uppercase;
    }
    .story-featured .quote-text {
      position: relative;
      max-width: 880px;
      font-size: clamp(20px, 2.2vw, 28px);
      font-weight: 600;
      line-height: var(--lh-ui);
      letter-spacing: 0;
    }
    .quote-footer {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
      gap: 16px 24px; margin-top: 28px;
    }
    .story-featured .quote-avatar { flex-basis: 56px; width: 56px; height: 56px; }
    .story-featured .quote-name { font-size: 17px; }
    .story-featured .quote-loan, .story-featured .quote-place { background: #FFFFFF; }

    /* Cards grid: CSS grid without JS, left-to-right masonry with JS */
    .stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
    .stories-grid.is-masonry { display: flex; align-items: flex-start; gap: 24px; }
    .stories-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
    .quote-card {
      display: flex; flex-direction: column; gap: 20px;
      padding: 28px;
      /* Soft light-blue card, no border (same as the home page cards). */
      background: #F4F9FB;
      border: 0;
      border-radius: 20px;
      transition: background-color 300ms ease,
                  opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1);
    }
    .quote-card:hover { background: #EAF3F8; }
    .quote-card .quote-person { padding-top: 18px; border-top: 1px solid rgba(27,96,131,.10); }
    /* White tags and avatar so they stand out on the light-blue card. */
    .quote-card .quote-avatar, .quote-card .quote-loan, .quote-card .quote-place { background: #FFFFFF; }
    .quote-card .quote-loan:hover { background: #D7EDF6; }

    /* Entrance animation (JS adds .is-pending, then .is-in when visible) */
    .quote-card.is-pending { opacity: 0; transform: translateY(24px); }
    .quote-card.is-pending.is-in { opacity: 1; transform: none; }
    .story-featured.is-entering, .stories-grid.is-entering { animation: stories-fade-in 420ms ease both; }
    @keyframes stories-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

    /* Show more */
    .stories-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
    .stories-more-wrap[hidden] { display: none; }
    .stories-more {
      appearance: none; border: 1px solid rgba(27,96,131,.2); border-radius: 999px;
      padding: 14px 26px; background: #FFFFFF; color: var(--deep-teal);
      font: 800 15px/1.2 'Manrope', sans-serif; cursor: pointer;
      transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
    }
    .stories-more:hover { background: var(--deep-teal); border-color: var(--deep-teal); color: #FFFFFF; }
    .stories-more:focus-visible { outline: 3px solid rgba(45,174,224,.5); outline-offset: 3px; }
    .stories-more-count { font-weight: 600; opacity: .75; }

    .visually-hidden {
      position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
      overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }

    /* Final CTA as a card aligned with the navigation / hero width */
    .final-cta-section { background: #FFFFFF; padding: 0 clamp(16px, 3vw, 40px) clamp(48px, 6vw, 80px); }
    .final-cta-container {
      position: relative; max-width: 1440px;
      padding: clamp(48px, 6vw, 80px) clamp(28px, 6vw, 80px);
      border-radius: 48px; overflow: hidden; isolation: isolate;
      background: #1A6083;
      box-shadow: 0 24px 60px -28px rgba(19,47,62,.45);
    }
    .final-cta-container::before, .final-cta-container::after {
      content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
    }
    .final-cta-container::before {
      width: 520px; height: 520px; top: -260px; right: -120px;
      background: radial-gradient(circle, rgba(45,174,224,.45), transparent 70%);
    }
    .final-cta-container::after {
      width: 420px; height: 420px; bottom: -260px; left: -140px;
      background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
    }

    @media (max-width: 960px) {
      .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
      .stories-grid.is-masonry, .stories-col { gap: 20px; }
      .final-cta-section { padding: 0 20px 56px; }
      .final-cta-container { border-radius: 36px; padding: 48px 32px; }
    }
    @media (max-width: 640px) {
      .stories-section { padding-inline: 18px; }
      .stories-grid { grid-template-columns: 1fr; gap: 16px; }
      .stories-grid.is-masonry, .stories-col { gap: 16px; }
      .quote-card { padding: 24px; border-radius: 18px; }
      .story-featured { border-radius: 24px; }
      .story-featured::before { font-size: 160px; top: -24px; }
      .stories-tabs {
        flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
        margin: 0 -18px 30px; padding: 2px 18px 6px; scrollbar-width: none;
      }
      .stories-tabs::-webkit-scrollbar { display: none; }
      .final-cta-section { padding: 0 16px 40px; }
      .final-cta-container { border-radius: 28px; padding: 40px 24px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .stories-tab, .quote-card, .stories-more, .quote-loan { transition: none !important; }
      .quote-card.is-pending { opacity: 1; transform: none; }
      .story-featured.is-entering, .stories-grid.is-entering { animation: none; }
    }
