@font-face {
  font-family: 'Cal Sans UI';
  src: url('fonts/CalSansUI%5Bwght%2CGEOM%5D.woff2') format('woff2-variations'),
       url('fonts/CalSansUI%5Bwght%2CGEOM%5D.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

    /* Avoid scroll jump when fonts / hero entrance reflow content above the fold */
    html {
      overflow-anchor: none;
      overflow-x: hidden;
    }

    html.lenis,
    html.lenis body {
      height: auto;
    }

    .lenis.lenis-smooth {
      scroll-behavior: auto !important;
    }

    .lenis.lenis-smooth [data-lenis-prevent] {
      overscroll-behavior: contain;
    }

    .lenis.lenis-stopped {
      overflow: hidden;
    }

    .lenis.lenis-smooth iframe {
      pointer-events: none;
    }

    :root {
      --surface-blend: #e8f8ff;
      --section-content-max: 1200px;
      /* Match roadmap / features gutters; keeps nav + hero copy on one column */
      --section-pad-x: clamp(20px, 4vw, 48px);
      /* Hero header: breathing room under viewport top; safe-area wins when larger */
      --hero-nav-top-pad: clamp(12px, 1.5vw, 20px);
      /* Hero stat “glass” panels (tunable) */
      --stat-card-blur: 22px;
      --stat-card-saturate: 1.2;
      /* Feature tiles: horizontal gap between icon column and copy */
      --card-icon-text-gap: clamp(14px, 1.8vw, 22px);
      /* Features intro + bento: inset from section edges & space above grid */
      --features-inner-pad-x: clamp(28px, 5vw, 64px);
      /* Features (section 2): default matches inner; mobile bumps via --section-2-pad-x */
      --section-2-pad-x: var(--features-inner-pad-x);
      --features-inner-gap: clamp(52px, 6vw, 92px);
      /* Section intro headers (roadmap-left, features-left, footer CTA copy) */
      --section-header-gap-kicker-title: clamp(12px, 1.8vw, 14px);
      --section-header-gap-title-body: 20px;
      --section-header-gap-desc-tail: clamp(28px, 4.5vw, 36px);
      /* Hero waitlist: full width on mobile; capped on tablet/desktop */
      --hero-waitlist-max-width: 420px;
      /* Hero stats: unified value size on tablet/mobile (overrides desktop lead/large split) */
      --hero-stat-value-size-tablet: clamp(24px, 2.8vw, 32px);
      --hero-stat-value-size-mobile: clamp(16px, 4.2vw, 22px);
      /* Visual overlap so the footer appears to “come from under” Roadmap */
      --footer-roadmap-overlap: clamp(56px, 6vw, 110px);
      --footer-top-radius: clamp(24px, 3.2vw, 42px);
      /* Footer hero image cropping */
      --footer-visual-object-position: 50% 50%;
      --footer-visual-y: 60px;
      --footer-visual-right: -300px;
      /* Footer mountains placement (tuned for leftMt/righMt assets) */
      --footer-mountains-bottom: clamp(-420px, -30vw, -260px);
      --footer-mountains-width: clamp(520px, 44vw, 760px);
      --footer-mountains-side-shift: 40%;
      --footer-mountains-left-y-offset: -16px;
      --site-footer-bg: rgba(0, 20, 31, 1);
      /* Hero treasury preview: bottom fade fallback for smaller breakpoints */
      --hero-dash-mask-image: linear-gradient(
        180deg,
        #000 0%,
        #000 74%,
        rgba(0, 0, 0, 0.86) 88%,
        transparent 100%
      );
      /* Bottom tint over treasury preview; blends into hero / next section */
      --hero-dash-overlay-h: clamp(96px, 13vw, 156px);
      --hero-dash-overlay-0: rgba(232, 248, 255, 0);
      --hero-dash-overlay-55: rgba(232, 248, 255, 0.56);
      --hero-dash-overlay-100: #e8f8ff;
      --hero-dash-desktop-window-h: clamp(480px, 38vw, 546px);
    }

    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--surface-blend);
      color: #141313;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* ─── HERO ─── */

    .hero {
      position: relative;
      background: #e8f8ff;
      overflow: hidden;
      padding-bottom: 0;

      /* Scroll parallax Y only (set by script; 0 when reduced motion) */
      --rock-parallax-left-y: 0px;
      --rock-parallax-right-y: 0px;

      /* ═══ Hero rocks (desktop) — also use the in-page “Rock layout” tuner ═══ */
      /* ROCK_TUNER_DESKTOP_START */
      --rock-right-top: clamp(48px, 14vh, 160px);
      --rock-right-right: max(-4vw, -32px);
      --rock-right-left: auto;
      --rock-right-width: min(48vw, 580px);
      --rock-right-tx: 4%;
      --rock-right-ty: 75%;
      --rock-right-rotate: 5deg;
      --rock-right-scale: 3;
      --rock-right-blend: normal;
      --rock-right-origin: center center;
      --rock-left-top: clamp(180px, 30vh, 380px);
      --rock-left-left: max(-19vw, -48px);
      --rock-left-right: auto;
      --rock-left-width: min(36vw, 440px);
      --rock-left-tx: -33%;
      --rock-left-ty: 60%;
      --rock-left-rotate: -3deg;
      --rock-left-scale: 2.2;
      --rock-left-blend: normal;
      --rock-left-origin: center center;
      /* ROCK_TUNER_DESKTOP_END */
    }

    /* background rocks */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .hero-bg picture {
      display: contents;
    }

    .hero-rock-stage {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .hero-rock-stage picture {
      display: contents;
    }

    /* Side rocks: WebP + alpha. Placement/size/rotation/blend via .hero vars. */
    .hero-rock {
      position: absolute;
      height: auto;
      max-width: none;
      pointer-events: none;
      user-select: none;
      display: block;
    }

    .hero-rock--right {
      transform-origin: var(--rock-right-origin);
      top: var(--rock-right-top);
      right: var(--rock-right-right);
      left: var(--rock-right-left);
      width: var(--rock-right-width);
      mix-blend-mode: var(--rock-right-blend);
      transform: translate(
          var(--rock-right-tx),
          calc(var(--rock-right-ty) + var(--rock-parallax-right-y, 0px))
        )
        rotate(var(--rock-right-rotate)) scale(var(--rock-right-scale));
    }

    .hero-rock--left {
      transform-origin: var(--rock-left-origin);
      top: var(--rock-left-top);
      left: var(--rock-left-left);
      right: var(--rock-left-right);
      width: var(--rock-left-width);
      mix-blend-mode: var(--rock-left-blend);
      transform: translate(
          var(--rock-left-tx),
          calc(var(--rock-left-ty) + var(--rock-parallax-left-y, 0px))
        )
        rotate(var(--rock-left-rotate)) scale(var(--rock-left-scale));
    }

    /* On very wide screens, keep the left rock closer to the hero UI */
    @media (min-width: 1200px) {
      .hero {
        --rock-left-left: calc((100vw - min(100vw, var(--section-content-max))) / 4 + clamp(48px, 6vw, 120px));
        --rock-left-tx: -98%;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-rock-stage {
        opacity: 1;
        filter: none;
        transform: none;
      }
    }

    /* ─── SITE HEADER NAV (scoped — avoid hitting dashboard sidebar nav) ─── */

    .hero > nav {
      position: relative;
      z-index: 10;
      box-sizing: border-box;
      /* margin-top: visible gap under viewport/section top (padding alone keeps layout top at 0). */
      margin-top: var(--hero-nav-top-pad);
      /* When safe-area exceeds that margin, add the remainder as padding inside the bar. */
      --nav-safe-extra: max(0px, calc(env(safe-area-inset-top, 0px) - var(--hero-nav-top-pad)));
      min-height: calc(57px + var(--nav-safe-extra));
      padding: var(--nav-safe-extra) 0 0;
      border-bottom: 1px solid rgba(112, 112, 112, 0.24);
    }

    .hero-nav-pad {
      box-sizing: border-box;
      padding: 0 var(--section-pad-x);
    }

    .hero-nav-inner {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-sizing: border-box;
      width: 100%;
      max-width: var(--section-content-max);
      margin-left: auto;
      margin-right: auto;
    }

    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      line-height: 0;
    }

    .logo svg {
      display: block;
      height: 25px;
      width: auto;
      flex-shrink: 0;
    }

    .nav-buttons {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .nav-btn-icon {
      display: none;
      flex-shrink: 0;
      width: 20px;
      height: 20px;
    }

    .nav-btn-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 9px 32px;
      border-radius: 30px;
      border: 1px solid #000;
      background:
        linear-gradient(#141313 0 0) left / 0 100% no-repeat,
        transparent;
      color: #141313;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition:
        background-size 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease,
        color 0.2s ease;
    }
    .nav-btn-outline:hover {
      background-size: 100% 100%;
      border-color: #141313;
      color: #fff;
    }
    .nav-btn-outline:focus-visible {
      outline: 2px solid rgba(20, 19, 19, 0.32);
      outline-offset: 3px;
    }

    .nav-btn-dark {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 9px 32px;
      border-radius: 30px;
      background: #141313;
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.15s;
    }
    .nav-btn-dark:hover { opacity: 0.82; }

    /* ─── HERO CONTENT ─── */

    .hero-inner {
      position: relative;
      z-index: 10;
      display: flex;
      justify-content: center;
      box-sizing: border-box;
      padding: 102px var(--section-pad-x) 0;
    }

    .hero-container {
      position: relative;
      width: 100%;
      max-width: var(--section-content-max);
      margin-left: auto;
      margin-right: auto;
      padding: 0;
      box-sizing: border-box;
    }

    .hero-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 32px;
    }

    /* Left */
    .hero-left {
      display: flex;
      flex-direction: column;
      gap: 16px;
      flex: 1;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(208, 230, 239, 0.58);
      border: 1px solid rgba(232, 236, 240, 0.3);
      border-radius: 99px;
      padding: 6px 15px;
      width: fit-content;
    }

    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 3px;
      background: #22c55e;
      flex-shrink: 0;
    }

    .badge-text {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(20, 19, 19, 0.9);
    }

    .headline {
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: clamp(32px, 4vw, 56px);
      font-weight: 600;
      line-height: 1;
      color: #141313;
      padding-top: 8px;
      max-width: 980px;
    }

    .headline-line {
      display: block;
      will-change: transform, opacity, filter;
    }

    .headline-word {
      display: inline;
    }

    .subtext {
      font-size: 15px;
      line-height: 1.4;
      color: #141313;
      font-weight: 400;
      max-width: 685px;
      padding-top: 6px;
    }

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

    .cta-buttons {
      display: flex;
      gap: 12px;
      align-items: center;
      padding-top: 20px;
      flex-wrap: wrap;
    }

    .btn-primary-dark {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      border-radius: 30px;
      background: #141313;
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.15s;
    }
    .btn-primary-dark:hover { opacity: 0.82; }

    .btn-secondary-outline {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 32px;
      border-radius: 30px;
      background:
        linear-gradient(#141313 0 0) left / 0 100% no-repeat,
        transparent;
      border: 1px solid #000;
      color: #141313;
      font-size: 16px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      transition:
        background-size 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease,
        color 0.2s ease;
    }
    .btn-secondary-outline:hover {
      background-size: 100% 100%;
      border-color: #141313;
      color: #fff;
    }
    .btn-secondary-outline:focus-visible {
      outline: 2px solid rgba(20, 19, 19, 0.32);
      outline-offset: 3px;
    }

    @media (prefers-reduced-motion: reduce) {
      .nav-btn-outline,
      .btn-secondary-outline {
        transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
      }
      .nav-btn-outline:hover,
      .btn-secondary-outline:hover {
        background: #141313;
      }
    }

    .demo-link {
      font-size: 13px;
      color: #141313;
      text-decoration: none;
      padding-top: 3px;
    }
    .demo-link u {
      font-weight: 500;
      text-underline-offset: 2px;
      text-decoration-color: rgba(20, 19, 19, 0.42);
      transition: text-decoration-color 0.2s ease, color 0.2s ease;
    }
    .demo-link:hover u {
      color: #000;
      text-decoration-color: #141313;
    }

    .waitlist-form {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding-top: 20px;
      width: 100%;
      max-width: 520px;
    }

    .waitlist-form-shell {
      display: flex;
      gap: 10px;
      align-items: stretch;
      width: 100%;
    }

    .waitlist-input {
      flex: 1 1 auto;
      min-width: 0;
      height: 50px;
      padding: 0 18px;
      border-radius: 30px;
      border: 1px solid rgba(20, 19, 19, 0.18);
      background: rgba(255, 255, 255, 0.8);
      color: #141313;
      font-family: inherit;
      font-size: 16px;
      line-height: 1;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
      appearance: none;
    }

    .waitlist-input::placeholder {
      color: rgba(20, 19, 19, 0.46);
    }

    .waitlist-input:focus-visible {
      border-color: #6f9db3;
      box-shadow:
        0 0 0 3px rgba(111, 157, 179, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
      outline: none;
    }

    .waitlist-input:focus {
      border-color: #6f9db3;
      box-shadow:
        0 0 0 3px rgba(111, 157, 179, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
      outline: none;
    }

    .waitlist-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 156px;
      height: 50px;
      padding: 0 22px;
      border-radius: 30px;
      border: 0;
      background: #141313;
      color: #fff;
      font-family: inherit;
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: opacity 0.15s, transform 0.15s, background-color 0.2s;
    }

    .waitlist-submit:hover {
      opacity: 0.88;
    }

    .waitlist-submit:disabled {
      cursor: wait;
      opacity: 0.72;
    }

    .waitlist-status {
      margin: 0;
      min-height: 18px;
      font-size: 13px;
      line-height: 1.35;
      color: rgba(20, 19, 19, 0.72);
    }

    .waitlist-state {
      display: none;
    }

    .waitlist-form[data-state="idle"] .waitlist-state--idle,
    .waitlist-form[data-state="saving"] .waitlist-state--saving,
    .waitlist-form[data-state="success"] .waitlist-state--success,
    .waitlist-form[data-state="error"] .waitlist-state--error {
      display: inline;
    }

    .waitlist-form[data-state="success"] .waitlist-status {
      color: #15803d;
    }

    .waitlist-form[data-state="error"] .waitlist-status {
      color: #b91c1c;
    }

    .waitlist-form--footer {
      max-width: 620px;
      padding-top: 0;
    }

    .waitlist-form--hero {
      width: 100%;
      max-width: var(--hero-waitlist-max-width);
    }

    @media (min-width: 1025px) {
      :root {
        /* Email field ~15% narrower than prior desktop width (381px → ~324px) */
        --hero-waitlist-max-width: 490px;
      }
    }

    .site-footer .waitlist-form {
      max-width: 620px;
      padding-top: 0;
      gap: 12px;
    }

    .site-footer .waitlist-form-shell {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
    }

    .site-footer .waitlist-input {
      flex: none;
      width: 100%;
      background: transparent;
      border: 1px solid #a8c6d4;
      box-shadow: none;
      color: #fff;
    }

    .site-footer .waitlist-input::placeholder {
      color: rgba(168, 198, 212, 0.72);
    }

    .site-footer .waitlist-input:focus-visible {
      border-color: #88b2c6;
      box-shadow:
        0 0 0 3px rgba(136, 178, 198, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
      outline: none;
    }

    .site-footer .waitlist-input:focus {
      border-color: #88b2c6;
      box-shadow:
        0 0 0 3px rgba(136, 178, 198, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
      outline: none;
    }

    .site-footer .waitlist-submit {
      width: 100%;
      min-width: 0;
      background: #fff;
      color: #001a2e;
    }

    .site-footer .waitlist-status {
      color: rgba(168, 198, 212, 0.74);
    }

    /* Right — hero stats (<ul>); glass on <li>, GSAP on .hero-stat-inner.
       Desktop: bento grid. Tablet: compact horizontal list rows. Mobile: flex-wrap, full width. */
    .hero-right {
      width: min(354px, 100%);
      flex: 0 0 min(354px, 100%);
      max-width: 100%;
      min-width: 0;
      align-self: flex-start;
    }

    .hero-stats {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 204px minmax(0, 1fr);
      grid-template-rows: 1fr auto;
      gap: 7px;
      min-height: 297px;
    }

    .hero-stat {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      background: rgba(255, 255, 255, 0.52);
      backdrop-filter: blur(var(--stat-card-blur)) saturate(var(--stat-card-saturate));
      -webkit-backdrop-filter: blur(var(--stat-card-blur)) saturate(var(--stat-card-saturate));
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-top-color: rgba(255, 255, 255, 0.62);
      box-shadow:
        0px 18px 12.3px rgba(81, 126, 128, 0.07),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.48);
      border-radius: 12px;
      overflow: hidden;
      isolation: isolate;
      min-height: 0;
    }

    .hero-stat--lead {
      grid-column: 1 / -1;
      grid-row: 1;
    }

    .hero-stat:not(.hero-stat--lead):nth-of-type(2) {
      grid-column: 1;
      grid-row: 2;
    }

    .hero-stat:not(.hero-stat--lead):nth-of-type(3) {
      grid-column: 2;
      grid-row: 2;
    }

    .hero-stat-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      min-width: 0;
      min-height: 0;
      height: 100%;
      padding: 28px 48px;
      box-sizing: border-box;
    }

    .hero-stat .hero-stat-inner {
      padding: 28px 20px;
    }

    .stat-value {
      font-family: 'DM Sans', system-ui, sans-serif;
      font-weight: 700;
      color: #141313;
      letter-spacing: -0.5px;
      line-height: 1.1;
      text-align: center;
    }

    .hero-stat .stat-value {
      white-space: nowrap;
    }

    .hero-stat--lead .stat-value {
      font-size: 48px;
    }

    .hero-stat:not(.hero-stat--lead) .stat-value {
      font-size: 32px;
    }

    .stat-label {
      font-size: 12px;
      font-weight: 400;
      color: #141313;
      line-height: 1.3;
      text-align: center;
    }

    .stat-label--compact {
      display: none;
    }

    /* Tablet only — horizontal metric strip beneath the copy */
    @media (max-width: 1024px) and (min-width: 641px) {
      .hero-top {
        flex-direction: column;
        gap: 0;
      }

      .hero-left {
        width: 100%;
        max-width: none;
      }

      .hero-right {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        align-self: stretch;
        margin-top: 22px;
      }

      .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        min-height: 0;
      }

      .hero-stat--lead,
      .hero-stat:not(.hero-stat--lead):nth-of-type(2),
      .hero-stat:not(.hero-stat--lead):nth-of-type(3) {
        grid-column: unset;
        grid-row: unset;
      }

      .hero-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        position: relative;
      }

      .hero-stat:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 48px;
        background: rgba(15, 58, 79, 0.14);
        transform: translateY(-50%);
      }

      .hero-stat-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        gap: 5px;
        padding: 0 10px;
        min-width: 0;
        text-align: center;
      }

      .hero-stat--lead .stat-value,
      .hero-stat:not(.hero-stat--lead) .stat-value {
        font-size: var(--hero-stat-value-size-tablet);
      }

      .stat-label {
        text-align: center;
        font-size: 11px;
        line-height: 1.25;
      }

      .stat-label--full {
        display: none;
      }

      .stat-label--compact {
        display: block;
      }
    }

    /* ─── HERO DASHBOARD (markup preview — Paper frame 432-0) ─── */

    .hero-dashboard {
      position: relative;
      margin-top: 48px;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: none;
      width: 100%;
      height: var(--hero-dash-desktop-window-h);
      line-height: normal;
      isolation: isolate;
      -webkit-mask-image: var(--hero-dash-mask-image);
      mask-image: var(--hero-dash-mask-image);
    }

    @keyframes dash-shadow-in {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Fade shadow in slightly after .dash-ui starts animating in */
    .hero-dashboard::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      pointer-events: none;
      z-index: 1;
      box-shadow: 0px 31px 44.4px 0px rgba(43, 52, 73, 0.095);
      opacity: 0;
      animation: dash-shadow-in 0.65s cubic-bezier(0.33, 1, 0.36, 1) 0.48s both;
    }

    /* Hero sky tint over the masked preview (pairs with --hero-dash-mask-image) */
    .hero-dashboard::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: var(--hero-dash-overlay-h);
      border-radius: 0 0 16px 16px;
      pointer-events: none;
      z-index: 2;
      background: linear-gradient(
        180deg,
        var(--hero-dash-overlay-0) 0%,
        var(--hero-dash-overlay-55) 55%,
        var(--hero-dash-overlay-100) 100%
      );
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-dashboard::before { animation: none; opacity: 1; }
    }

    @keyframes dash-ui-load-in {
      from {
        opacity: 0;
        transform: translate3d(0, 32px, 0);
      }
      to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
    }

    .dash-ui {
      position: relative;
      z-index: 0;
      display: flex;
      width: 100%;
      max-width: 1440px;
      margin: 0 auto;
      min-height: 520px;
      font-family: 'Inter', system-ui, sans-serif;
      background: linear-gradient(90deg, #f2f5f7 0%, #ffffff 100%);
      border-radius: 16px 16px 0 0;
      box-sizing: border-box;
      box-shadow:
        inset 0 0 0 1px #dad7cf,
        0 1px 0 rgba(0, 0, 0, 0.01),
        0 18px 50px -22px rgba(30, 41, 59, 0.1);
      animation: dash-ui-load-in 1.22s cubic-bezier(0.33, 1, 0.36, 1) 0.28s both;
    }

    @media (min-width: 1025px) {
      .hero-dashboard {
        --hero-dash-overlay-h: clamp(240px, 28vw, 380px);
        -webkit-mask-image: none;
        mask-image: none;
      }

      .hero-dashboard::after {
        background: linear-gradient(
          180deg,
          rgba(232, 248, 255, 0) 0%,
          rgba(232, 248, 255, 0.38) 28%,
          rgba(232, 248, 255, 0.78) 62%,
          var(--surface-blend) 100%
        );
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .dash-ui {
        animation: none;
      }
    }

    .dash-sidebar {
      flex: 0 0 216px;
      width: 216px;
      background-color: rgba(241, 246, 249, 1);
      border-right: 1px solid #d5d7df;
      display: flex;
      flex-direction: column;
      min-height: 0;
      border-top-left-radius: 16px;
      overflow: clip;
    }

    .dash-sidebar-head {
      padding: 22px 18px 18px;
    }

    .dash-brand {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .dash-brand-mark {
      width: 35px;
      height: auto;
      flex-shrink: 0;
      display: block;
    }

    .dash-brand-text {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .dash-brand-name {
      font-size: 14px;
      font-weight: 700;
      color: #0f172a;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }

    .dash-brand-sub {
      font-size: 11px;
      color: #94a3b8;
      line-height: 1.45;
    }

    .dash-nav {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      height: auto;
      min-height: 0;
      overflow: auto;
      padding: 0;
      border: none;
      scrollbar-width: thin;
    }

    .dash-nav-group {
      margin-bottom: 2px;
    }

    .dash-nav-group:last-child {
      margin-bottom: 0;
    }

    .dash-nav-label {
      padding: 8px 18px 3px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #94a3b8;
    }

    .dash-nav-item {
      display: flex;
      align-items: center;
      gap: 9px;
      width: 100%;
      padding: 7px 18px;
      box-sizing: border-box;
      border-left: 2px solid transparent;
      color: #64748b;
      font-size: 13px;
      line-height: 1.5;
      font-weight: 400;
      text-decoration: none;
      cursor: default;
    }

    .dash-nav-item:hover {
      background: rgba(0, 26, 46, 0.04);
      color: #0f172a;
    }

    .dash-nav-item.is-active {
      background: #001a2e0f;
      border-left-color: #818ebb;
      color: #0f172a;
      font-weight: 600;
    }

    .dash-nav-item--tall {
      min-height: 54px;
    }

    .dash-nav-item-row {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .dash-nav-item-label {
      flex: 1;
      min-width: 0;
      font-size: inherit;
      line-height: inherit;
      font-weight: inherit;
      color: inherit;
    }

    .dash-nav-item.is-active .dash-nav-item-label {
      font-weight: 600;
    }

    .dash-nav-item-label--multiline {
      max-width: 101px;
      white-space: normal;
      line-height: 1.25;
    }

    .dash-nav-icon {
      width: 16px;
      text-align: center;
      flex-shrink: 0;
      opacity: 0.85;
    }

    .dash-nav-item.is-active .dash-nav-icon {
      opacity: 1;
    }

    .dash-soon {
      flex-shrink: 0;
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.45px;
      text-transform: uppercase;
      color: #94a3b8;
      background: #e5e6eb;
      padding: 2px 6px;
      border-radius: 4px;
      line-height: 1.4;
    }

    .dash-nav-item.is-muted {
      opacity: 0.55;
    }

    .dash-sidebar-foot {
      margin-top: auto;
      border-top: 1px solid #dad7cf;
      padding: 10px 8px 12px;
    }

    .dash-user {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px;
      border-radius: 10px;
    }

    .dash-user-avatar {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: #818ebb;
      color: #fff;
      font-size: 11.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .dash-user-meta {
      min-width: 0;
      flex: 1;
    }

    .dash-user-name {
      font-size: 12.5px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dash-user-role {
      font-size: 11px;
      color: #64748b;
      margin-top: 2px;
    }

    .dash-user-theme {
      width: 26px;
      height: 26px;
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      border-radius: 6px;
      flex-shrink: 0;
      font-size: 13px;
      cursor: default;
      transition: background 0.12s;
    }

    .dash-user-theme:hover {
      background: rgba(15, 23, 42, 0.06);
    }

    .dash-main {
      flex: 1;
      min-width: 0;
      background: #fff;
      padding: 28px 32px 32px;
      overflow: visible;
    }

    .dash-main-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    @keyframes dash-main-entrance {
      from {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
      }
      to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
    }

    .dash-main-inner > .dash-header {
      animation: dash-main-entrance 0.82s cubic-bezier(0.33, 1, 0.36, 1) 0.46s both;
    }

    .dash-main-inner .dash-kpi {
      animation: dash-main-entrance 0.76s cubic-bezier(0.33, 1, 0.36, 1) both;
    }

    .dash-main-inner .dash-kpi:nth-child(1) {
      animation-delay: 0.58s;
    }

    .dash-main-inner .dash-kpi:nth-child(2) {
      animation-delay: 0.67s;
    }

    .dash-main-inner .dash-kpi:nth-child(3) {
      animation-delay: 0.76s;
    }

    .dash-main-inner .dash-kpi:nth-child(4) {
      animation-delay: 0.85s;
    }

    .dash-main-inner .dash-card {
      animation: dash-main-entrance 0.8s cubic-bezier(0.33, 1, 0.36, 1) both;
    }

    .dash-main-inner .dash-card:nth-child(1) {
      animation-delay: 0.94s;
    }

    .dash-main-inner .dash-card:nth-child(2) {
      animation-delay: 1.04s;
    }

    @media (prefers-reduced-motion: reduce) {
      .dash-main-inner > .dash-header,
      .dash-main-inner .dash-kpi,
      .dash-main-inner .dash-card {
        animation: none !important;
        opacity: 1;
        transform: none;
      }
    }

    .dash-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .dash-portfolio-label {
      font-size: 12px;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 4px;
    }

    .dash-portfolio-value {
      font-size: 36px;
      font-weight: 700;
      letter-spacing: -1px;
      color: #1e293b;
      line-height: 1.15;
    }

    .dash-portfolio-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 6px;
    }

    .dash-pill {
      background: #dcfce7;
      color: #15803d;
      font-size: 12px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 99px;
    }

    .dash-sync {
      font-size: 12px;
      color: #64748b;
    }

    .dash-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 20px;
      border-radius: 999px;
      background: #001a2e;
      color: #fff;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      pointer-events: none;
    }

    .dash-kpis {
      display: flex;
      gap: 14px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .dash-kpi {
      flex: 1 1 200px;
      min-width: 160px;
      background: #fff;
      border: 1px solid #e8ecf0;
      border-radius: 12px;
      padding: 18px 22px;
    }

    .dash-kpi-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .dash-kpi-label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.24px;
      text-transform: uppercase;
      color: #64748b;
    }

    .dash-kpi-icon {
      font-size: 16px;
      color: #1e293b;
      opacity: 0.4;
      line-height: 1;
    }

    .dash-kpi-value {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: #1e293b;
      margin-top: 10px;
      line-height: 1.2;
    }

    .dash-kpi-sub {
      font-size: 12px;
      margin-top: 4px;
      line-height: 1.4;
    }

    .dash-kpi-sub.pos {
      color: #15803d;
    }

    .dash-kpi-sub.muted {
      color: #64748b;
    }

    .dash-grid {
      display: grid;
      grid-template-columns: 1.8fr 1fr;
      gap: 16px;
    }

    .dash-card {
      background: #fff;
      border: 1px solid #e8ecf0;
      border-radius: 12px;
      padding: 20px 24px;
    }

    .dash-card-title {
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.7px;
      text-transform: uppercase;
      color: rgba(30, 41, 59, 0.65);
      margin-bottom: 6px;
    }

    .dash-chart-hint {
      font-size: 12px;
      color: #64748b;
      margin-bottom: 12px;
      line-height: 1.45;
    }

    .dash-chart-tabs {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .dash-chart-tab {
      padding: 3px 10px;
      border-radius: 6px;
      border: 1px solid #e8ecf0;
      font-size: 12px;
      font-weight: 500;
      color: #64748b;
      background: #fff;
    }

    .dash-chart-tab.is-active {
      background: #001a2e;
      border-color: #001a2e;
      color: #fff;
    }

    .dash-chart-svg {
      width: 100%;
      height: 90px;
      display: block;
    }

    .dash-chart-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 6px;
      font-size: 10px;
      color: #64748b;
      gap: 4px;
      flex-wrap: wrap;
    }

    .dash-donut-hint {
      font-size: 12px;
      color: #64748b;
      margin-bottom: 14px;
      line-height: 1.45;
    }

    .dash-donut-row {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .dash-donut-svg {
      width: 80px;
      height: 80px;
      flex-shrink: 0;
    }

    .dash-legend {
      flex: 1;
      min-width: 0;
    }

    .dash-legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 7px;
      font-size: 12px;
      color: #1e293b;
    }

    .dash-legend-item:last-child {
      margin-bottom: 0;
    }

    .dash-dot {
      width: 8px;
      height: 8px;
      border-radius: 2px;
      flex-shrink: 0;
    }

    .dash-legend-label {
      flex: 1;
      min-width: 0;
    }

    .dash-legend-pct {
      font-weight: 600;
    }

    /* Stack chart + breakdown only between tablet and mobile; true mobile uses scaled desktop (see 640px hero rules). */
    @media (max-width: 900px) and (min-width: 641px) {
      .dash-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ─── ROADMAP ─── */

    .roadmap-band {
      background: var(--surface-blend);
      padding: 0 var(--section-pad-x) 160px;
      position: relative;
      z-index: 2;
    }

    .roadmap-inner {
      max-width: var(--section-content-max);
      margin: 0 auto;
      padding-top: 88px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) var(--roadmap-path-col);
      grid-template-rows: auto 1fr;
      /* Per-milestone --roadmap-separator-tail is set in JS from path geometry (fallback if no JS) */
      --roadmap-path-col: 460px;
      --roadmap-h-gap: 56px;
      --roadmap-separator-tail-fallback: calc(var(--roadmap-h-gap) + 160px);
      /* Unfilled rail + dots; filled progress + active dots + marker icons */
      --roadmap-track: #b8d6e4;
      --roadmap-accent-fill: #7fb1c9;
      gap: 28px var(--roadmap-h-gap);
      /* Stretch row-2 cells so the path column matches list height (fixes path ending “early”) */
      align-items: stretch;
      position: relative;
      overflow: visible;
    }

    /* ── Left sticky column ── */
    .roadmap-left {
      position: relative;
      z-index: 1;
      grid-column: 1 / -1;
      grid-row: 1;
    }

    .roadmap-right {
      position: relative;
      z-index: 1;
      grid-column: 1;
      grid-row: 2;
      max-width: 760px;
      min-height: 0;
      align-self: stretch;
      overflow: visible;
      display: flex;
      flex-direction: column;
    }

    .roadmap-mountain {
      display: block;
      height: 36px;
      width: auto;
      margin-bottom: 28px;
      opacity: 0.85;
    }

    .roadmap-kicker {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0.36px;
      text-transform: uppercase;
      color: #92b5c5;
      margin: 0 0 var(--section-header-gap-kicker-title);
    }

    .roadmap-title {
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 900;
      line-height: 1;
      color: #003a56;
      margin: 0 0 var(--section-header-gap-title-body);
    }

    .roadmap-intro {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 18px;
      line-height: 1.4;
      color: rgba(15, 58, 79, 0.6);
      margin: 0 0 var(--section-header-gap-desc-tail);
      max-width: 720px;
    }

    .roadmap-svg-wrap {
      position: relative;
      width: var(--roadmap-path-col);
      /* No explicit height — determined by align-self: stretch from the items row */
      min-height: 0;
      align-self: stretch;
      pointer-events: none;
      z-index: 2;
      grid-column: 2;
      grid-row: 2;
    }

    .roadmap-left {
      grid-column: 1 / -1;
      grid-row: 1;
    }

    .roadmap-svg {
      /* Absolutely fill the wrap so its intrinsic aspect ratio
         doesn't inflate the grid row height */
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .rpath-base {
      stroke: var(--roadmap-track);
      stroke-width: 1.5;
      fill: none;
      stroke-miterlimit: 10;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: 0.6;
    }

    .rpath-fill {
      stroke: var(--roadmap-accent-fill);
      stroke-width: 2.6;
      fill: none;
      stroke-miterlimit: 10;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: stroke-dashoffset 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rdot {
      fill: var(--roadmap-track);
      stroke: #e8f8ff;
      stroke-width: 2;
      transition: fill 0.4s ease, r 0.3s ease;
    }

    .rdot.is-active {
      fill: var(--roadmap-accent-fill);
      r: 6;
    }

    #roadmap-tent path, #roadmap-tent-line path,
    #roadmap-mountain path, #roadmap-mountain-line path {
      fill: var(--roadmap-track);
      transition: fill 0.5s ease;
    }
    #roadmap-tent.is-active path, #roadmap-tent-line.is-active path,
    #roadmap-mountain.is-active path, #roadmap-mountain-line.is-active path {
      fill: var(--roadmap-accent-fill);
    }

    /* ── Milestone list column (left); path rail is grid column 2 ── */
    .roadmap-right {
      padding-top: 0;
    }

    .roadmap-item {
      position: relative;
      border: none;
      padding: 22px 0 28px;
      display: grid;
      grid-template-columns: 40px minmax(0, 1fr);
      column-gap: 16px;
      align-items: start;
    }

    .roadmap-item-icon {
      width: 32px;
      height: 32px;
      display: block;
      object-fit: contain;
      flex: 0 0 auto;
      /* Push icon past the meta line so it sits level with the title */
      margin-top: 22px;
      align-self: start;
      justify-self: center;
    }

    .roadmap-item-body {
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .roadmap-item::after {
      content: '';
      position: absolute;
      left: 0;
      right: calc(
        -1 * var(
          --roadmap-separator-tail-bottom,
          var(--roadmap-separator-tail, var(--roadmap-separator-tail-fallback))
        )
      );
      bottom: 0;
      height: 1px;
      background: #cee3ec;
      pointer-events: none;
    }

    .roadmap-item:first-child::before {
      content: '';
      position: absolute;
      left: 0;
      right: calc(
        -1 * var(
          --roadmap-separator-tail-top,
          var(--roadmap-separator-tail, var(--roadmap-separator-tail-fallback))
        )
      );
      top: 0;
      height: 1px;
      background: #cee3ec;
      pointer-events: none;
    }

    .roadmap-item-meta {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.2;
      color: rgba(15, 58, 79, 0.5);
      margin-bottom: 10px;
    }

    .roadmap-item-title {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 22px;
      font-weight: 700;
      color: #003a56;
      margin: 0 0 8px;
      line-height: 1.12;
      letter-spacing: -0.01em;
      text-align: left;
    }

    .roadmap-item-desc {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 16px;
      line-height: 1.5;
      color: rgba(15, 58, 79, 0.65);
      margin: 0;
      max-width: 640px;
      text-align: left;
    }

    .roadmap-item.is-active .roadmap-item-title {
      color: #1a7a9c;
    }

    /* Straight vertical line (tablet / mobile) — hidden on desktop */
    .roadmap-line-wrap {
      display: none;
      position: relative;
      width: 28px;
      min-height: 160px;
      height: 100%;
      align-self: stretch;
      grid-column: 2;
      grid-row: 2;
      pointer-events: none;
      z-index: 2;
    }

    .roadmap-line-svg {
      display: block;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    .rline-base {
      stroke: var(--roadmap-track);
      stroke-width: 2;
      stroke-linecap: round;
      opacity: 0.6;
    }

    .rline-fill {
      stroke: var(--roadmap-accent-fill);
      stroke-width: 4.5;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rdot-line {
      fill: var(--roadmap-track);
      stroke: #e8f8ff;
      stroke-width: 2.5;
      transition: fill 0.4s ease, r 0.3s ease;
    }

    .rdot-line.is-active {
      fill: var(--roadmap-accent-fill);
      r: 7;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .roadmap-inner {
        grid-template-columns: minmax(0, 1fr) var(--roadmap-path-col);
        grid-template-rows: auto 1fr;
        --roadmap-path-col: 28px;
        --roadmap-h-gap: 16px;
        --roadmap-separator-tail-fallback: calc(var(--roadmap-h-gap) + 20px);
        gap: 20px var(--roadmap-h-gap);
        align-items: stretch;
      }
      .roadmap-left {
        position: relative;
        top: auto;
        margin-bottom: 0;
        grid-column: 1 / -1;
        grid-row: 1;
      }
      .roadmap-mountain { display: none; }
      .roadmap-svg-wrap {
        display: none !important;
      }
      .roadmap-line-wrap {
        display: block;
      }
      .roadmap-right {
        grid-column: 1;
        grid-row: 2;
        max-width: none;
        width: 100%;
      }

      /* Thinner rail + more air between list items */
      .rline-base {
        stroke-width: 1;
      }
      .rline-fill {
        stroke-width: 2.25;
      }
      .rdot-line {
        stroke-width: 1.75;
      }
      .roadmap-item {
        padding: 28px 0 36px;
      }
      .roadmap-item-icon {
        width: 28px;
        height: 28px;
      }
      .roadmap-item-title {
        font-size: 20px;
      }
    }

    @media (max-width: 480px) {
      .roadmap-band { padding: 0 20px 112px; }
      .roadmap-inner { padding-top: 60px; }
      .roadmap-kicker { font-size: 12px; line-height: 1; letter-spacing: 0.24px; }
      .roadmap-title { font-size: 30px; }
      .roadmap-intro { max-width: 100%; font-size: 15px; line-height: 1.4; }
      .rline-base {
        stroke-width: 0.875;
      }
      .rline-fill {
        stroke-width: 2;
      }
      .roadmap-item {
        padding: 30px 0 40px;
      }
      .roadmap-item-icon {
        width: 24px;
        height: 24px;
      }
      .roadmap-item-meta {
        font-size: 13px;
      }
      .roadmap-item-title {
        font-size: 18px;
      }
      .roadmap-item-desc {
        font-size: 15px;
      }
    }

    /* old visual placeholder — kept for transition compat */
    .roadmap-visual {
      display: none;
      box-shadow: 0 30px 90px rgba(0, 58, 86, 0.12);
    }

    .roadmap-visual img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      filter: saturate(0.95) brightness(1.08);
    }

    .roadmap-map-trail {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      overflow: visible;
    }

    .roadmap-map-trail .trail-halo,
    .roadmap-map-trail .trail-line {
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .roadmap-map-trail .trail-halo {
      stroke: rgba(0, 58, 86, 0.22);
      stroke-width: 1.5;
    }

    .roadmap-map-trail .trail-line {
      stroke: rgba(255, 255, 255, 0.92);
      stroke-width: 0.7;
    }

    .roadmap-map-trail .trail-dot {
      fill: #fff;
      stroke: rgba(0, 58, 86, 0.38);
      stroke-width: 0.35;
    }

    /* ─── FOOTER ─── */
    .site-footer {
      background-color: var(--site-footer-bg);
      background-image: none;
      position: relative;
      /* Keep oversized footer artwork from widening the scrollable page. */
      overflow: hidden;
      overflow: clip;
      contain: paint;
      z-index: 1;
      /* Pull the footer up under Roadmap, but keep content position the same */
      margin-top: calc(-1 * var(--footer-roadmap-overlap));
      padding-top: var(--footer-roadmap-overlap);
      border-top-left-radius: var(--footer-top-radius);
      border-top-right-radius: var(--footer-top-radius);
      /* 0..1 scroll-driven reveal (set by JS) */
      --footer-reveal-t: 0;
      /* Clip only the bottom edge of the axe visual (not the right side). */
      --footer-visual-clip-bottom: 0px;
    }

    .site-footer-inner {
      position: relative;
      width: 100%;
      max-width: var(--section-content-max);
      margin-left: auto;
      margin-right: auto;
      transform: translate3d(0, calc((1 - var(--footer-reveal-t)) * 56px), 0);
      filter: blur(calc((1 - var(--footer-reveal-t)) * 6px));
      opacity: calc(0.86 + (0.14 * var(--footer-reveal-t)));
      transition: opacity 0.2s ease;
      will-change: transform, filter, opacity;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    @media (prefers-reduced-motion: reduce) {
      .site-footer { --footer-reveal-t: 1; }
      .site-footer-inner { transform: none; filter: none; opacity: 1; }
    }

    .site-footer-upper {
      position: relative;
      width: 100%;
      min-width: 0;
      height: 589px;
      overflow: visible;
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      column-gap: 24px;
      align-items: center;
      padding: 88px 0;
      margin: 0 !important;
    }

    .site-footer-cta {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 40px;
      max-width: 620px;
      padding-right: clamp(32px, 4vw, 72px);
      grid-column: 2 / span 4;
      transform: translate3d(0, var(--footer-cta-py, 0px), 0);
      will-change: transform;
    }

    .site-footer-cta-copy {
      display: flex;
      flex-direction: column;
      gap: 0;
      align-items: flex-start;
    }

    .site-footer-kicker {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.36px;
      text-transform: uppercase;
      color: #a8c6d4;
      margin: 0 0 var(--section-header-gap-kicker-title);
    }

    h2.site-footer-cta-title {
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: clamp(40px, 4.4vw, 60px);
      font-weight: 700;
      letter-spacing: 0px;
      line-height: 1.05;
      color: #ffffff;
      margin: 0 0 var(--section-header-gap-title-body);
    }

    .site-footer-cta-subtitle {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 18px;
      line-height: 1.5;
      font-weight: 500;
      color: #a8c6d4;
      margin: 0;
      max-width: 420px;
    }

    .site-footer-visual {
      position: absolute;
      right: var(--footer-visual-right);
      top: var(--footer-visual-y);
      bottom: 0;
      width: 817px;
      height: auto;
      pointer-events: none;
      z-index: 0;
      transform: translate3d(
        var(--footer-visual-px, 0px),
        var(--footer-visual-py, 0px),
        0
      );
      will-change: transform;
    }

    .site-footer-visual img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: var(--footer-visual-object-position);
      /* Clip only the bottom so the axe doesn't spill into the bottom bar,
         while still allowing free overflow on the right side. */
      clip-path: inset(0 0 var(--footer-visual-clip-bottom, 0px) 0);
    }

    .site-footer-mountains {
      position: absolute;
      bottom: var(--footer-mountains-bottom);
      width: var(--footer-mountains-width);
      pointer-events: none;
      z-index: 0;
      will-change: transform;
      /* fade out the bottom edge of the visible peak region */
      -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 75%);
      mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 75%);
    }

    /* Footer bottom mountains disabled */
    .site-footer-mountains {
      display: none !important;
    }

    .site-footer-mountains.is-left {
      left: 0;
      transform: translate3d(
        calc(-1 * var(--footer-mountains-side-shift)),
        calc(var(--mountains-py, 0px) + var(--footer-mountains-left-y-offset)),
        0
      );
    }

    .site-footer-mountains.is-right {
      right: 0;
      transform: translate3d(
        var(--footer-mountains-side-shift),
        var(--mountains-py, 0px),
        0
      );
    }

    .site-footer-mountains img {
      display: block;
      width: 100%;
      height: auto;
    }

    /* Single full-bleed rule above the bottom bar (100vw); no extra separator on the links row. */
    .site-footer-bottom {
      width: 100%;
      box-sizing: border-box;
      margin: 0;
      border-top: none;
    }

    .site-footer-bottom::before {
      content: '';
      display: block;
      width: 100vw;
      height: 1px;
      margin: 0;
      background: rgba(168, 198, 212, 0.15);
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }

    .site-footer-bottom > .site-footer-inner {
      min-width: 0;
      box-sizing: border-box;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      padding: 24px 48px 58px;
    }

    .site-footer-brand {
      display: flex;
      flex-direction: column;
      gap: 4px;
      max-width: 320px;
    }

    .site-footer-logo {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #fff;
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: 17.71px;
      line-height: 1;
      letter-spacing: 0.177px;
      width: fit-content;
    }

    .site-footer-logo img {
      display: block;
      width: 18.595px;
      height: 17.5px;
    }

    .site-footer-meta {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 13px;
      line-height: 1.5;
      margin: 0;
      color: rgba(168, 198, 212, 0.6);
    }

    .site-footer-links {
      display: flex;
      gap: 65px;
      align-items: center;
      flex-wrap: wrap;
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 13px;
    }

    .site-footer-links a {
      color: rgba(168, 198, 212, 0.7);
      text-decoration: none;
      transition: color 0.15s;
      white-space: nowrap;
    }
    .site-footer-links a:hover { color: #a8c6d4; }

    @media (max-width: 1024px) {
      .site-footer-upper {
        height: auto;
        min-height: 540px;
        overflow: visible;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 74px 48px;
      }
      .site-footer-cta {
        grid-column: 1 / span 3;
        padding-right: clamp(24px, 4vw, 56px);
      }
      .site-footer-visual {
        width: 660px;
        height: auto;
        right: -100px;
        top: 60px;
        bottom: 0;
        opacity: 0.72;
      }
      .site-footer {
        --footer-visual-clip-bottom: 0px;
      }
    }

    @media (max-width: 1024px) {
      .roadmap-header,
      .roadmap-layout { grid-template-columns: 1fr; gap: 36px; }
      .roadmap-intro { max-width: 560px; margin-top: 0; }
      .roadmap-visual {
        position: relative;
        top: auto;
        max-width: none;
        height: 520px;
        min-height: 520px;
        order: -1;
      }
      .roadmap-visual img {
        height: 100%;
      }
      .roadmap-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 28px;
      }
      .roadmap-feature:nth-last-child(2) { border-bottom: 1.5px solid #c9dee8; }
    }

    @media (max-width: 640px) {
      :root {
        --footer-mountains-bottom: -220px;
        --footer-mountains-width: 420px;
        /* Shared horizontal gutter: hero, nav, roadmap, footer */
        --section-pad-x: clamp(18px, 4.8vw, 24px);
        /* Section 2 (features): slightly roomier than hero */
        --section-2-pad-x: clamp(24px, 6.5vw, 36px);
        --features-inner-pad-x: var(--section-2-pad-x);
        --hero-dash-mobile-scale: 0.5;
        --hero-dash-mobile-window-h: min(312px, 56vw);
        --hero-dash-mobile-design-w: 960px;
        --hero-dash-overlay-h: clamp(68px, 18vw, 112px);
      }
      .roadmap-band { padding: 0 0 64px; }
      .roadmap-inner { padding: 56px 20px; }
      .roadmap-header { margin-bottom: 34px; }
      .roadmap-title {
        max-width: 330px;
        font-size: 32px;
        line-height: 1;
        letter-spacing: 0;
      }
      .roadmap-kicker {
        font-size: 12px;
        line-height: 1;
        letter-spacing: 0.24px;
      }
      .roadmap-intro {
        max-width: 358px;
        font-size: 14px;
        line-height: 1.4;
      }
      .roadmap-layout { gap: 32px; }
      .roadmap-visual { height: 530px; min-height: 430px; }
      .roadmap-visual img { object-position: 57% center; }
      .roadmap-list { grid-template-columns: 1fr; }
      .roadmap-feature:nth-last-child(2) { border-bottom: 0; }
      .site-footer-upper {
        min-height: 0;
        padding: 56px var(--section-pad-x) 72px;
        align-items: flex-start;
        display: block;
        overflow: hidden;
      }
      .site-footer-visual {
        position: absolute;
        right: -190px;
        top: 14px;
        width: 520px;
        height: auto;
        aspect-ratio: 817 / 589;
        opacity: 0.36;
        z-index: 0;
        transform: none;
        flex: none;
      }
      .site-footer-visual img {
        object-fit: contain;
        object-position: center top;
      }
      .site-footer-cta {
        position: relative;
        z-index: 1;
        max-width: 100%;
        gap: 20px;
        margin-left: 0;
        flex: none;
        padding-right: 0;
      }
      .site-footer .waitlist-form {
        max-width: 100%;
      }
      h2.site-footer-cta-title {
        font-size: 32px;
        line-height: 1;
        letter-spacing: -1px;
        max-width: 330px;
      }
      .site-footer-cta-subtitle {
        font-size: 14px;
        line-height: 1.4;
        max-width: 358px;
      }
      .site-footer-bottom > .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px var(--section-pad-x) 44px;
      }
      .site-footer-links {
        justify-content: flex-start;
        gap: 18px;
      }
      .site-footer-kicker { font-size: 15px; }
    }

    /* ─── FEATURES ─── */

    .features-wrapper {
      position: relative;
      z-index: 20;
      background: #fff;
      padding: 0 0 48px;
      margin-top: -100px;
    }

    /* Settle (stretch → rounded, scale→1): driven by scroll via JS below — reliable vs animation-timeline: view(). */
    .features-card {
      position: relative;
      z-index: 1;
      background: #fff;
      border-radius: 0;
      padding: 120px 0 80px;
      box-shadow: none;
      transform-origin: top center;
    }

    .features-inner {
      box-sizing: border-box;
      max-width: var(--section-content-max);
      margin: 0 auto;
      padding-inline: var(--features-inner-pad-x);
      display: flex;
      flex-direction: column;
      gap: var(--features-inner-gap);
    }

    .features-left {
      display: flex;
      flex-direction: column;
      gap: var(--section-header-gap-title-body);
    }

    .section-header-headline {
      display: flex;
      flex-direction: column;
      gap: var(--section-header-gap-kicker-title);
    }

    .features-label {
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0.36px;
      text-transform: uppercase;
      color: #a8c6d4;
      margin: 0;
    }

    .features-heading {
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: clamp(34px, 4vw, 46px);
      font-weight: 900;
      color: #003a56;
      line-height: 1;
      margin: 0;
    }

    .features-desc {
      font-size: clamp(18px, 1.8vw, 24px);
      line-height: 1.4;
      color: rgba(15, 58, 79, 0.6);
    }

    /* Feature cards — bento grid (3×3) */
    .cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-rows: 498px;
      gap: 12px;
    }

    .card {
      position: relative;
      background: #ffffff;
      border-radius: 24px;
      padding: 40px 30px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 21px;
      min-height: 498px;
      box-shadow: 0px 1px 1px 1px rgba(81, 82, 96, 0.07), 0px 2px 13.1px -2px rgba(41, 45, 67, 0.12);
      overflow: hidden;
      isolation: isolate;
      transform: translate3d(0, 0, 0);
      transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }

    @media (hover: hover) {
      .card:hover {
        transform: translate3d(0, -2px, 0) scale(1.005);
        box-shadow:
          0px 1px 1px 1px rgba(81, 82, 96, 0.07),
          0px 22px 40px -14px rgba(20, 39, 56, 0.11);
      }
    }

    .card.span-2 { grid-column: span 2; }

    .card-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 0;
      transform: translate3d(0, 0, 0);
      transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }

    @media (hover: hover) {
      .card:hover .card-bg {
        transform: translate3d(0, -5px, 0) scale(1.025);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .card,
      .card-bg { transition: none; }
      .card:hover { transform: none; }
      .card:hover .card-bg { transform: none; }
    }

    .card-bg img {
      position: absolute;
      max-width: none;
      pointer-events: none;
      user-select: none;
      -webkit-user-drag: none;
    }

    .card > .card-icon,
    .card > .card-body {
      position: relative;
      z-index: 1;
    }

    .card-icon {
      width: 31px;
      height: 31px;
      object-fit: contain;
      flex-shrink: 0;
      margin-top: auto;
    }

    .card-body {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .card-title {
      font-family: 'Cal Sans UI', system-ui, sans-serif;
      font-size: clamp(26px, 2.5vw, 34px);
      font-weight: 500;
      color: #002e44;
      line-height: 1.2;
    }

    .card-desc {
      font-family: 'Inter', system-ui, sans-serif;
      font-size: 16px;
      font-weight: 300;
      line-height: 1.4;
      color: #6F8995;
    }

    /* Per-card decorative rock placement (percentages mirror Figma absolute values
       relative to the card's frame). Heights flow from natural image aspect ratio. */
    .card-vault .card-bg img {
      width: 210%;
      top: -24%;
      left: -41%;
      transform: rotate(143.36deg);
      transform-origin: center center;
    }
    .card-forex .card-bg img.forex-rock-1 {
      width: 136%;
      top: -61%;
      left: 4%;
      transform: rotate(156.27deg);
      transform-origin: center center;
    }
    .card-forex .card-bg img.forex-rock-2 {
      width: 99%;
      top: -85%;
      left: -45%;
      transform: rotate(20.26deg);
      transform-origin: center center;
    }
    .card-global .card-bg img.global-rock-1 {
      width: 24%;
      top: -19%;
      right: 42%;
      transform: rotate(-15deg);
    }
    .card-global .card-bg img.global-rock-2 {
      width: 75%;
      top: -44%;
      left: -25%;
      transform: rotate(19deg);
      opacity: 0.85;
    }
    .card-swap .card-bg img {
      width: 130%;
      top: -6%;
      left: -32%;
      transform: rotate(-120deg);
    }
    .card-wallets .card-bg img {
      width: 84%;
      bottom: -18%;
      right: -16%;
      transform: rotate(-7deg);
    }
    .card-team .card-bg {
      display: none;
    }

    /* ─── ROCK LAYOUT TUNER (open from floating control) ─── */
    #rock-tuner-toggle,
    #rock-tuner-panel { display: none !important; }
    #rock-tuner-toggle {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 10001;
      font-family: inherit;
      font-size: 12px;
      font-weight: 600;
      padding: 10px 14px;
      border-radius: 99px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      background: #fff;
      color: #141313;
      box-shadow: 0 8px 24px rgba(43, 52, 73, 0.12);
      cursor: pointer;
      transition: opacity 0.15s, transform 0.15s;
    }
    #rock-tuner-toggle:hover { opacity: 0.9; }
    #rock-tuner-toggle[aria-expanded="true"] {
      background: #141313;
      color: #fff;
      border-color: #141313;
    }

    #rock-tuner-panel {
      position: fixed;
      bottom: 64px;
      left: 20px;
      z-index: 10001;
      width: min(400px, calc(100vw - 40px));
      max-height: min(720px, calc(100vh - 100px));
      display: none;
      flex-direction: column;
      font-family: inherit;
      font-size: 12px;
      background: #fff;
      color: #141313;
      border-radius: 16px;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 24px 48px rgba(43, 52, 73, 0.18);
      overflow: hidden;
    }
    #rock-tuner-panel.is-open { display: flex; }

    .rock-tuner-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      background: #f7fbfd;
    }
    .rock-tuner-head h2 {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .rock-tuner-close {
      border: none;
      background: transparent;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      color: #666;
      padding: 4px 8px;
      border-radius: 8px;
    }
    .rock-tuner-close:hover { background: rgba(0, 0, 0, 0.06); color: #000; }

    .rock-tuner-tabs {
      display: flex;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .rock-tuner-tab {
      flex: 1;
      padding: 10px;
      border: none;
      background: transparent;
      font: inherit;
      font-weight: 600;
      cursor: pointer;
      color: rgba(20, 19, 19, 0.5);
    }
    .rock-tuner-tab.is-active {
      color: #141313;
      box-shadow: inset 0 -2px 0 #141313;
    }

    .rock-tuner-scroll {
      overflow: auto;
      padding: 12px 14px 16px;
      flex: 1;
    }

    .rock-tuner-section {
      margin-bottom: 16px;
    }
    .rock-tuner-section h3 {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: rgba(20, 19, 19, 0.45);
      margin-bottom: 8px;
    }

    .rock-tuner-field {
      margin-bottom: 8px;
    }
    .rock-tuner-field label {
      display: block;
      font-size: 10px;
      font-weight: 600;
      color: rgba(20, 19, 19, 0.55);
      margin-bottom: 3px;
    }
    .rock-tuner-field input[type="text"],
    .rock-tuner-field select {
      width: 100%;
      padding: 6px 8px;
      border: 1px solid rgba(0, 0, 0, 0.12);
      border-radius: 8px;
      font: inherit;
      font-size: 11px;
      background: #fafcfd;
    }
    .rock-tuner-field input:focus,
    .rock-tuner-field select:focus {
      outline: none;
      border-color: #141313;
      background: #fff;
    }

    .rock-tuner-slider-row {
      display: grid;
      grid-template-columns: 1fr 52px;
      gap: 8px;
      align-items: center;
      margin-bottom: 8px;
    }
    .rock-tuner-slider-row label {
      grid-column: 1 / -1;
      font-size: 10px;
      font-weight: 600;
      color: rgba(20, 19, 19, 0.55);
    }
    .rock-tuner-slider-row input[type="range"] {
      width: 100%;
    }
    .rock-tuner-slider-row output {
      font-variant-numeric: tabular-nums;
      font-size: 10px;
      text-align: right;
      color: #141313;
    }

    .rock-tuner-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      padding: 10px 14px 14px;
      border-top: 1px solid rgba(0, 0, 0, 0.06);
      background: #fafcfd;
    }
    .rock-tuner-actions button {
      flex: 1 1 auto;
      min-width: calc(50% - 3px);
      padding: 8px 10px;
      border-radius: 8px;
      font: inherit;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(0, 0, 0, 0.12);
      background: #fff;
      color: #141313;
    }
    .rock-tuner-actions button:hover {
      background: #f0f4f6;
    }
    .rock-tuner-actions button.rock-tuner-primary {
      flex: 1 1 100%;
      background: #141313;
      color: #fff;
      border-color: #141313;
    }
    .rock-tuner-actions button.rock-tuner-primary:hover {
      opacity: 0.88;
    }

    .rock-tuner-help {
      font-size: 10px;
      line-height: 1.45;
      color: rgba(20, 19, 19, 0.45);
      padding: 0 14px 12px;
      background: #fafcfd;
    }

    /* ─── MOBILE ─── */

    @media (max-width: 1024px) {
      .features-wrapper {
        padding-left: 0;
        padding-right: 0;
      }
      .features-card { padding: 84px 0 68px; }
      .features-inner {
        width: 100%;
        max-width: none;
        margin-right: 0;
        gap: clamp(36px, 5vw, 56px);
      }
    }

    @media (max-width: 640px) {
      .nav-btn-icon {
        display: block;
      }

      .nav-btn-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
      }

      .nav-btn-outline,
      .nav-btn-dark {
        padding: 10px 12px;
        min-width: 44px;
        min-height: 44px;
      }

      .hero-inner {
        padding: 48px var(--section-pad-x) 0;
      }

      .hero-top {
        flex-direction: column;
        gap: 28px;
      }

      .headline { letter-spacing: -1px; }

      .hero-right {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        align-self: stretch;
        margin-left: 0;
        margin-right: 0;
      }

      /* Flex + wrap: lead full width; bottom pair grow equally and fill row */
      .hero-stats {
        display: flex;
        flex-flow: row wrap;
        align-content: stretch;
        gap: 6px;
        min-height: 0;
        grid-template-columns: unset;
        grid-template-rows: unset;
      }

      .hero-stat--lead,
      .hero-stat:not(.hero-stat--lead):nth-of-type(2),
      .hero-stat:not(.hero-stat--lead):nth-of-type(3) {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        grid-column: unset;
        grid-row: unset;
      }

      .hero-right {
        display: block;
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        align-self: stretch;
        margin-top: 24px;
      }

      .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        min-height: 0;
      }

      .hero-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        position: relative;
      }

      .hero-stat:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 38px;
        background: rgba(15, 58, 79, 0.14);
        transform: translateY(-50%);
      }

      .hero-stat-inner {
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 8px;
        text-align: center;
      }

      .hero-stat--lead .stat-value,
      .hero-stat:not(.hero-stat--lead) .stat-value {
        font-size: var(--hero-stat-value-size-mobile);
      }

      .stat-label {
        text-align: center;
      }

      .stat-label--full {
        display: none;
      }

      .stat-label--compact {
        display: block;
      }

      /* Treasury preview: same desktop layout, scaled down + clipped (not a simplified mobile UI). */
      .hero-dashboard {
        position: relative;
        overflow: hidden;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        height: var(--hero-dash-mobile-window-h);
        margin-top: 36px;
        border-radius: 16px;
        isolation: isolate;
        -webkit-mask-image: var(--hero-dash-mask-image);
        mask-image: var(--hero-dash-mask-image);
      }

      .hero-dashboard::before,
      .hero-dashboard::after {
        border-radius: 16px;
      }

      .hero-dashboard::after {
        border-radius: 0 0 16px 16px;
      }

      .hero-dashboard .dash-ui {
        position: absolute;
        left: 50%;
        top: 0;
        width: var(--hero-dash-mobile-design-w);
        max-width: none;
        min-height: 520px;
        margin: 0;
        animation: none;
        opacity: 1;
        transform: translate3d(-50%, 0, 0) scale(var(--hero-dash-mobile-scale));
        transform-origin: top center;
      }

      .cta-buttons {
        flex-direction: column;
        align-items: stretch;
      }

      .btn-primary-dark,
      .btn-secondary-outline {
        width: 100%;
        justify-content: center;
      }

      /* Horizontal inset only on inner so it matches --section-2-pad-x (no double gutters) */
      .features-wrapper { padding: 0 0 32px; margin-top: -100px; }
      .features-card { padding: 56px 0; }
      .features-desc { font-size: 17px; }

      .cards { grid-template-columns: 1fr; grid-auto-rows: minmax(320px, auto); }
      .card.span-2 { grid-column: span 1; }
      .card { min-height: 320px; }
    }
    @media (max-width: 768px) {
      .features-wrapper {
        padding-bottom: 24px;
        margin-top: -32px;
      }
      .features-card { padding: 44px 0; }
      .features-inner {
        width: 100%;
        max-width: none;
        margin-right: 0;
        gap: clamp(22px, 5vw, 36px);
      }
      .features-desc { font-size: 15.5px; }

      .cards {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
      }
      .card.span-2 {
        grid-column: 1 / -1;
      }
      .card {
        min-height: 180px;
        padding: 20px clamp(96px, 30vw, 170px) 20px 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
      }
      .card-icon {
        width: 26px;
        height: 26px;
        margin-top: auto;
      }
      .card-body {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
      }
      .card-title { font-size: 22px; }
      .card-desc { font-size: 13.5px; }
      .card > .card-icon,
      .card > .card-body {
        max-width: 100%;
      }
      .card-team .card-bg {
        display: block;
      }

      .card-vault .card-bg img {
        width: 194px;
        top: 6px;
        right: -30px;
        left: auto;
        transform: rotate(143.36deg);
        transform-origin: center center;
      }
      .card-forex .card-bg img.forex-rock-1 {
        width: 186px;
        top: 4px;
        right: -26px;
        left: auto;
        transform: rotate(156.27deg);
        transform-origin: center center;
      }
      .card-forex .card-bg img.forex-rock-2 {
        width: 112px;
        top: 28px;
        right: 82px;
        left: auto;
        transform: rotate(20.26deg);
        transform-origin: center center;
      }
      .card-global .card-bg img.global-rock-1 {
        width: 72px;
        top: 24px;
        right: 110px;
        left: auto;
        transform: rotate(-15deg);
      }
      .card-global .card-bg img.global-rock-2 {
        width: 192px;
        top: 4px;
        right: -28px;
        left: auto;
        transform: rotate(19deg);
        opacity: 0.85;
      }
      .card-team .card-bg img {
        width: 184px;
        top: 6px;
        right: -24px;
        left: auto;
        transform: rotate(18deg);
      }
      .card-swap .card-bg img {
        width: 188px;
        top: 6px;
        right: -26px;
        left: auto;
        transform: rotate(-120deg);
      }

      .card-wallets .card-bg img {
        width: 250px;
        top: -10px;
        right: -86px;
        bottom: auto;
        left: auto;
      }
    }

    @media (max-width: 1024px) and (min-width: 641px) {
      .hero-inner {
        padding-top: 34px;
      }

      .hero-bg {
        z-index: 0;
      }

      .hero-left,
      .hero-dashboard {
        position: relative;
      }

      .hero-left {
        z-index: 3;
      }

      .hero-right {
        margin-top: 16px;
      }

      .hero {
        --rock-right-top: clamp(430px, 58vh, 680px);
        --rock-right-right: -42vw;
        --rock-right-left: auto;
        --rock-right-width: min(120vw, 900px);
        --rock-right-tx: 50%;
        --rock-right-ty: 112%;
        --rock-right-rotate: 6.36deg;
        --rock-right-scale: 2.6;
        --rock-right-origin: center center;
      }

      .hero-dashboard {
        z-index: 2;
      }

      .hero-dashboard {
        margin-top: 18px;
        height: clamp(410px, 45vw, 520px);
      }

      .hero-dashboard {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin-left: 12px;
        margin-right: 20px;
      }

      .hero-dashboard .dash-ui {
        left: 0;
        width: 960px;
        max-width: none;
        transform: scale(0.55);
        transform-origin: top left;
      }

      .hero-rock--right {
        display: block;
      }

      .hero-dashboard::before {
        display: none;
      }

      .hero-dashboard::after {
        border-radius: 0 0 0 9px;
        background: linear-gradient(180deg, rgba(232, 248, 255, 0) 0%, rgba(232, 248, 255, 0.56) 55%, #e8f8ff 100%);
      }
    }

    @media (max-width: 640px) {
      :root {
        --section-pad-x: 20px;
        --section-2-pad-x: 20px;
        --features-inner-pad-x: 20px;
        --hero-dash-mobile-scale: 0.694;
        --hero-dash-mobile-design-w: 960px;
        --hero-dash-mobile-window-h: 302px;
        --hero-dash-overlay-h: 82px;
      }

      .hero {
        background: #e8f8ff;
      }

      html,
      body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }

      .hero > nav {
        margin-top: 0;
        min-height: 61px;
        padding-top: env(safe-area-inset-top, 0px);
        overflow: hidden;
      }

      .hero-nav-pad {
        width: 100vw;
        max-width: 100vw;
        padding: 15px 20px;
      }

      .hero-nav-inner {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        flex: 0 0 calc(100vw - 40px);
        min-height: 30px;
      }

      .logo svg {
        height: 25px;
      }

      .nav-buttons {
        gap: 0;
      }

      .nav-btn-outline {
        display: none;
      }

      .nav-btn-primary {
        display: none;
      }

      .nav-btn-dark {
        display: none;
      }

      .hero-inner {
        padding: 38px 20px 0;
      }

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

      .hero-left {
        gap: 16px;
        width: 100%;
        max-width: none;
      }

      .badge {
        padding: 6px 15px;
      }

      .headline {
        max-width: 330px;
        padding-top: 8px;
        font-size: 32px;
        line-height: 1;
        letter-spacing: -1px;
      }

      .subtext {
        max-width: 356px;
        padding-top: 6px;
        font-size: 15px;
        line-height: 1.4;
      }

      .waitlist-form {
        max-width: none;
        padding-top: 20px;
        gap: 8px;
      }

      .waitlist-form--hero {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        align-self: stretch;
      }

      .waitlist-form--hero .waitlist-form-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 118px;
        gap: 8px;
        width: 100% !important;
        max-width: 100% !important;
      }

      .waitlist-form--hero .waitlist-input {
        width: 100%;
        height: 47px;
        padding: 0 14px;
        font-size: 14px;
      }

      .waitlist-form--hero .waitlist-submit {
        min-width: 0;
        width: 118px;
        height: 47px;
        padding: 0 14px;
        font-size: 14px;
      }

      .waitlist-form--hero .waitlist-status {
        max-width: none;
      }

      .waitlist-status {
        font-size: 12px;
        line-height: 1.25;
      }

      .hero-right,
      .hero-stats {
        display: block;
      }

      .hero-right {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        align-self: stretch;
        margin-top: 24px;
      }

      .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        min-height: 0;
      }

      .hero-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        position: relative;
      }

      .hero-stat:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 28px;
        background: rgba(15, 58, 79, 0.14);
        transform: translateY(-50%);
      }

      .hero-stat-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        gap: 4px;
        padding: 0 6px;
        min-width: 0;
        text-align: center;
      }

      .hero-stat--lead .stat-value,
      .hero-stat:not(.hero-stat--lead) .stat-value {
        font-size: var(--hero-stat-value-size-mobile);
      }

      .stat-label {
        text-align: center;
        font-size: 10px;
        line-height: 1.25;
      }

      .stat-label--full {
        display: none;
      }

      .stat-label--compact {
        display: block;
      }

      .hero-dashboard {
        width: 100vw;
        max-width: 100vw;
        height: var(--hero-dash-mobile-window-h);
        margin: 15px 0 0;
        border-radius: 9px 0 0 9px;
        border: 0.56px solid #fbfbfb;
        box-shadow: 0 17px 25px rgba(43, 52, 73, 0.19);
        overflow: hidden;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.72) 86%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgba(0, 0, 0, 0.72) 86%, transparent 100%);
      }

      .hero-dashboard::before {
        display: none;
      }

      .hero-dashboard::after {
        border-radius: 0 0 0 9px;
        background: linear-gradient(180deg, rgba(232, 248, 255, 0) 0%, rgba(232, 248, 255, 0.55) 55%, #e8f8ff 100%);
      }

      .hero-dashboard .dash-ui {
        left: 0;
        width: var(--hero-dash-mobile-design-w);
        max-width: none;
        transform: scale(var(--hero-dash-mobile-scale));
        transform-origin: top left;
      }

      .hero-bg {
        z-index: 12;
      }

      .hero-left {
        position: relative;
        z-index: 13;
      }

      .hero-rock--left {
        display: none;
      }

      .hero-rock--right {
        display: none;
      }

      .features-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-top: 0;
        padding: 0;
        background: #fff;
        overflow: hidden;
      }

      .features-card {
        width: 100vw;
        max-width: 100vw;
        padding: 36px 0 32px;
        border-radius: 0;
        transform: none !important;
      }

      .features-inner {
        width: 100vw;
        max-width: 100vw;
        gap: 38px;
        padding-inline: 20px;
      }

      .features-label {
        font-size: 12px;
        line-height: 1;
        letter-spacing: 0.24px;
      }

      .features-heading {
        max-width: 330px;
        font-size: 32px;
        line-height: 1;
      }

      .features-desc {
        max-width: 358px;
        font-size: 14px;
        line-height: 1.4;
      }

      .features-desc br {
        display: none;
      }

      .cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .card {
        width: 100%;
        min-height: 168px;
        padding: 20px;
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        box-shadow:
          0 0 0 1px rgba(212, 232, 234, 0.6),
          0 2px 12px -2px rgba(58, 99, 103, 0.22);
      }

      .card-vault { order: 1; }
      .card-forex { order: 2; }
      .card-swap { order: 3; }
      .card-wallets { order: 4; }
      .card-team { order: 5; }
      .card-global { order: 6; }

      .card-icon {
        width: 31px;
        height: 31px;
        margin-top: 0;
      }

      .card-body {
        margin-top: 0;
        gap: 12px;
        width: 100%;
      }

      .card-title {
        font-size: 18px;
        line-height: 1.2;
        white-space: normal;
      }

      .card-title br {
        display: none;
      }

      .card-desc {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.35;
      }

      .card > .card-icon,
      .card > .card-body {
        max-width: 100%;
      }

      .card-bg {
        display: block;
      }

      .card-vault .card-bg img {
        width: 240px;
        top: -38px;
        right: -70px;
        left: auto;
      }

      .card-forex .card-bg img.forex-rock-1 {
        width: 242px;
        top: -42px;
        right: -64px;
        left: auto;
        transform: rotate(176.27deg);
      }

      .card-forex .card-bg img.forex-rock-2 {
        display: none;
      }

      .card-swap .card-bg img {
        width: 164px;
        top: -12px;
        right: -42px;
        left: auto;
      }

      .card-wallets .card-bg img {
        width: 132px;
        top: -8px;
        right: -48px;
        bottom: auto;
        left: auto;
      }

      .card-team .card-bg {
        display: none;
      }

      .card-global .card-bg img.global-rock-1 {
        display: none;
      }

      .card-global .card-bg img.global-rock-2 {
        width: 128px;
        top: -18px;
        right: -34px;
        left: auto;
        opacity: 0.85;
        transform: rotate(45deg);
      }
    }

/* ─────────────────────────────────────────────────────────────
   MVP launch CTAs — replaces the former waitlist email forms.
   Used in the hero (.hero-cta) and footer (.hero-cta--footer),
   plus the nav "Get Started" pill (.nav-btn-primary).
   ───────────────────────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cta-primary {
  background: #141313;
  color: #fff;
  border: 1.5px solid #141313;
}
.cta-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.cta-secondary {
  background: transparent;
  color: #141313;
  border: 1.5px solid rgba(20, 19, 19, 0.22);
}
.cta-secondary:hover {
  border-color: #141313;
}
.cta-note {
  margin-top: 16px;
  font-size: 13px;
}
.cta-note a {
  color: #475569;
  text-decoration: none;
  border-bottom: 1px dashed rgba(71, 85, 105, 0.5);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cta-note a:hover {
  color: #141313;
  border-bottom-color: #141313;
}

/* Footer CTA sits on the dark footer background — invert colours. */
.site-footer .cta-primary {
  background: #fff;
  color: #001a2e;
  border-color: #fff;
}
.site-footer .cta-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.site-footer .cta-secondary:hover {
  border-color: #fff;
}
.site-footer .cta-note a {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.site-footer .cta-note a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Nav "Get Started" pill, paired with the outline "Log In" button. */
.nav-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 28px;
  border-radius: 30px;
  border: 1px solid #141313;
  background: #141313;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
