@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2'),
      url('../fonts/inter/Inter-Regular.woff') format('woff');
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/Inter-Medium.woff2') format('woff2'),
      url('../fonts/inter/Inter-Medium.woff') format('woff');
  }
   @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2'),
      url('../fonts/inter/Inter-SemiBold.woff') format('woff');
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/Inter-Bold.woff2') format('woff2'),
      url('../fonts/inter/Inter-Bold.woff') format('woff');
  }
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display/playfairdisplay-regular-webfont.woff2') format('woff2'),
      url('../fonts/playfair-display/playfairdisplay-regular-webfont.woff') format('woff');
  }

*,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  :root {
    --navy: #0D1B2E;
    --navy-mid: #152436;
    --navy-light: #1E3250;
    --white: #FFFFFF;
    --off-white: #F4F6F8;
    --muted: rgba(255, 255, 255, 0.45);
    --accent: #FFFFFF;
    --border: rgba(255, 255, 255, 0.1);
    --blue-100: #E8EEFB;
    --blue-700: #223556;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--body-font);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
  }

  /* ─── NAV ─────────────────────────────── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s;
  }

  nav.scrolled {
    background: rgba(13, 27, 46, 0.92);
    backdrop-filter: blur(12px);
    border-color: var(--border);
  }

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

  .logo svg {
    display: block;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
  }

  nav ul a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }

  nav ul a:hover {
    color: var(--white);
  }

  .nav-cta {
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .nav-cta:hover {
    opacity: 0.85;
  }

  /* ─── HERO ────────────────────────────── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 56px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  }

  .hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s forwards;
  }

  .hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--muted);
  }

  h1 {
    font-family: var(--heading-font);
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 0.9s 0.25s forwards;
  }

  h1 em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
  }

  .hero-sub {
    margin-top: 36px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s forwards;
  }

  .hero-actions {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.9s 0.55s forwards;
  }

  .btn {
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
  }

  .btn-primary {
    background: var(--white);
    color: var(--navy);
    border: none;
  }

  .btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }

  .btn-ghost {
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    background: none;
    border: none;
  }

  .btn-ghost:hover {
    color: var(--white);
  }

  .btn-ghost::after {
    content: '→';
    transition: transform 0.2s;
  }

  .btn-ghost:hover::after {
    transform: translateX(4px);
  }


  /* ─── SECTION SHARED ─────────────────── */
  section {
    padding: 120px 56px;
  }

  .section-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-tag.dark {
    color: var(--navy);
  }

  .section-light {
    background: var(--off-white);
  }


  /* ── HOW IT WORKS ── */

  .section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.98px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
  }

  .section-heading {
    font-family: var(--heading-font);
    font-size: 60px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 60px;
  }

  .cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .feature-card {
    background: var(--blue-700);
    border: 1px solid var(--slate-grey);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    min-height: 340px;
  }

  .card-number {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.54px;
    color: var(--white-45);
    margin-bottom: 1rem;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }

  .card-icon svg {
    width: 100%;
    height: 100%;
  }

  .card-title {
    font-size: 32px;
    font-weight: 400;
    color: #f7f8fa;
    margin-bottom: 14px;
  }

  .card-desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #f7f8fa;
  }

  /* ── STATS SECTION ── */

  .stats-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;

  }

  .stats-header-heading {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: var(--navy);
  }

  .stats-header-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--navy);
    align-self: center;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }

  .stat-card {
    background: var(--blue-100);
    border-radius: 1rem;
    padding: 32px;
  }

  .stat-card-number {
    font-size: 80px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -2.15px;
    color: var(--navy);
    margin-bottom: 48px;
    font-family: var(--body-font);
  }
  .stat-card-quote {
    font-size: 1.75rem;
    color: var(--navy);
  }
  .stat-card-title {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.26px;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .stat-card-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--navy);
  }

  .stat-tall {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .stat-tall .stat-card-number {
    margin-bottom: 0;
  }

  .stat-tall .stat-card-content {
    margin-top: auto;
  }

  .placeholder-img {
    width: 100%;
    aspect-ratio: 405 / 270;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .placeholder-img img {
    width: 100%;
    border-radius: 1rem;
  }

  .stat-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }



  /* ─── DASHBOARD PREVIEW ──────────────── */
  .preview {
    background: var(--off-white);
  }

  .preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .preview-copy {
    color: var(--navy);
  }

  .preview-copy h2 {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .preview-copy p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--navy);
    font-weight: 300;
    margin-bottom: 40px;
  }

  .preview-feature {

    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
  }

  .pf-dot {
    width: 5px;
    height: 5px;
    background: var(--navy);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
  }

  .pf-text {
    font-size: 13px;
    color: var(--navy);
    line-height: 1.6;
  }

  .pf-text strong {
    font-weight: 500;
  }

  /* Dashboard mock */
  .dashboard-mock {
    background: var(--navy);
    border: 1px solid var(--border);
    padding: 32px;
    position: relative;
    border-radius: 1rem;
  }

  .mock-header {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
  }

  .mock-fi-number {
    font-family: var(--body-font);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
  }

  .mock-fi-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-bottom: 36px;
  }

  .mock-bar-group {
    margin-bottom: 16px;
  }

  .mock-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .mock-bar-track {
    height: 3px;
    background: var(--border);
    width: 100%;
  }

  .mock-bar-fill {
    height: 3px;
    background: var(--white);
    transition: width 1.5s ease;
  }

  .mock-divider {
    height: 1px;
    background: var(--border);
    margin: 28px 0;
  }

  .mock-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
  }

  .mock-row span:last-child {
    color: var(--white);
  }

  /* ─── CTA ────────────────────────────── */
  .cta-section {
    text-align: center;
    padding: 140px 56px;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
    pointer-events: none;
  }

  .cta-section h2 {
    font-family: var(--heading-font);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-section p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 48px;
  }

  /* ─── FOOTER ─────────────────────────── */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
  }

  /* ─── ANIMATIONS ─────────────────────── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── MOBILE NAV ─────────────────────── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-size: 28px;
    font-family: var(--heading-font);
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: var(--muted);
  }

  .mobile-menu .mobile-cta {
    margin-top: 16px;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
  }

  /* ─── RESPONSIVE ─────────────────────── */
  @media (max-width: 900px) {
    nav {
      padding: 20px 28px;
    }

    nav ul {
      display: none;
    }

    .nav-cta {
      display: none;
    }

    .nav-hamburger {
      display: flex;
    }

    .hero {
      padding: 120px 28px 60px;
    }

    .hero-stat-strip {
      flex-wrap: wrap;
      margin-top: 60px;
    }

    .stat {
      flex: 1 1 50%;
      padding: 24px 0;
    }

    .stat:nth-child(2) {
      border-right: none;
    }

    .stat:nth-child(3) {
      border-top: 1px solid var(--border);
    }

    .stat:nth-child(4) {
      border-top: 1px solid var(--border);
      border-right: none;
    }

    section {
      padding: 72px 28px;
    }

    .how-steps {
      grid-template-columns: 1fr;
    }

    .step {
      padding: 36px 28px;
    }

    .values-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      max-width: 100%;
    }

    .preview-inner {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .dashboard-mock {
      margin-top: 0;
    }

    .mock-fi-number {
      font-size: 40px;
    }

    .cta-section {
      padding: 80px 28px;
    }

    footer {
      flex-direction: column;
      gap: 20px;
      text-align: center;
      padding: 32px 28px;
    }

    footer>div:last-child {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    nav {
      padding: 18px 20px;
    }

    .hero {
      padding: 100px 20px 48px;
    }

    section {
      padding: 60px 20px;
    }

    .hero-stat-strip {
      flex-direction: column;
    }

    .stat {
      flex: 1 1 100%;
      border-right: none !important;
      border-top: 1px solid var(--border);
    }

    .stat:first-child {
      border-top: none;
    }

    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .btn-primary {
      width: 100%;
      text-align: center;
      padding: 16px 24px;
    }

    .step {
      padding: 28px 20px;
    }

    .mock-fi-number {
      font-size: 34px;
    }

    footer {
      padding: 28px 20px;
    }
  }

  /* ── TABLET (≤1024px) ── */
  @media (max-width: 1024px) {

    .cards-row {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .feature-card {
      min-height: auto;
    }

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

    .stat-card-number {
      font-size: 64px;
      margin-bottom: 32px;
    }

    /* Tall stat card resets to normal on tablet */
    .stat-card.stat-tall {
      min-height: auto !important;
      grid-column: 1 / -1;
    }

    .stats-header {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .stats-header-body {
      font-size: 17px;
    }

  }

  /* ── MOBILE (≤640px) ── */
  @media (max-width: 640px) {

    /* How it works */
    #how-it-works {
      padding: 64px var(--page-px);
    }

    .section-heading {
      font-size: 36px;
      line-height: 1.15;
      margin-bottom: 40px;
    }

    .cards-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .feature-card {
      padding: 36px 28px 32px;
    }

    /* Stats */
    #stats {
      padding: 64px var(--page-px);
    }

    .stats-header {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 48px;
    }

    .stats-header-heading {
      font-size: 30px;
    }

    .stats-header-body {
      font-size: 15px;
    }

    .stats-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .stat-card.stat-tall {
      grid-column: auto;
      min-height: auto !important;
    }

    .stat-card-number {
      font-size: 56px;
      margin-bottom: 24px;
    }

    .stat-card-title {
      font-size: 22px;
    }

    .stat-card-desc {
      font-size: 15px;
    }


  }

  /* ── VERY SMALL (≤375px) ── */
  @media (max-width: 375px) {
    .hero-heading {
      font-size: 36px;
    }

    .cta-heading {
      font-size: 36px;
    }

    .stat-card-number {
      font-size: 48px;
    }
  }