/* fund-halo — layout, sizes, motion only (colours live in the template) */

.fund-halo__glow {
    width: 30rem;
    height: 30rem;
    margin-left: calc(50% - 15rem);
    margin-top: 26rem;
    filter: blur(90px);
}

.fund-halo__eyebrow {
    letter-spacing: 0.16em;
}

.fund-halo__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.fund-halo__lead {
    max-width: 36rem;
}

.fund-halo__stat {
    border-left-style: dashed !important;
}

/* below lg the stat sits centred on its own line, without the divider */
.fund-halo__stat {
    align-items: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    border-left-width: 0 !important;
}

.fund-halo__micro {
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.12em;
}

/* --- arc stage: a circle whose arc carries the bubbles ---
   --r  ring radius, --h stage height, --b bubble size,
   --base angle of the arc middle (0 = left point, -90deg = bottom point), --k spread factor */
.fund-halo__stage {
    --r: 18rem;
    --h: 14rem;
    --b: 3.5rem;
    --bm: 4.75rem;
    --base: -90deg;
    --k: 1.15;
    height: var(--h);
    margin-left: -2rem;
    margin-right: -2rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 35%);
    mask-image: linear-gradient(to bottom, transparent 0, black 35%);
}

.fund-halo__ring {
    width: calc(var(--r) * 2);
    height: calc(var(--r) * 2);
    margin-left: calc(50% - var(--r));
    margin-top: calc(var(--h) - var(--r) * 2 - var(--bm) / 2 - 1.75rem);
}

.fund-halo__spoke {
    --off: 0deg;
    --drift: 0.75rem;
    --a: calc(var(--base) + var(--off) * var(--k));
    width: 0;
    height: 0;
    transform: rotate(var(--a)) translateX(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
    animation: fund-halo-float 6s ease-in-out infinite;
}

.fund-halo__bubble {
    width: var(--b);
    height: var(--b);
    margin-left: calc(var(--b) / -2);
    margin-top: calc(var(--b) / -2);
}

.fund-halo__bubble--main {
    width: var(--bm);
    height: var(--bm);
    margin-left: calc(var(--bm) / -2);
    margin-top: calc(var(--bm) / -2);
}

.fund-halo__spoke--1 { --off: -11deg; animation-delay: -0.8s; }
.fund-halo__spoke--2 { --off: 11deg;  animation-delay: -1.6s; --drift: -0.75rem; }
.fund-halo__spoke--3 { --off: -22deg; animation-delay: -2.4s; }
.fund-halo__spoke--4 { --off: 22deg;  animation-delay: -3.2s; --drift: -0.75rem; }
.fund-halo__spoke--5 { --off: -33deg; animation-delay: -4s; }
.fund-halo__spoke--6 { --off: 33deg;  animation-delay: -4.8s; --drift: -0.75rem; }
.fund-halo__spoke--7 { --off: -44deg; animation-delay: -1.2s; }
.fund-halo__spoke--8 { --off: 44deg;  animation-delay: -2s; --drift: -0.75rem; }
.fund-halo__spoke--9 { --off: -55deg; animation-delay: -2.8s; }
.fund-halo__spoke--main { --off: 0deg; --drift: 0.5rem; animation-delay: -3.6s; }

/* mobile / tablet: lower arc keeps ~6 bubbles */
.fund-halo__spoke--7,
.fund-halo__spoke--8,
.fund-halo__spoke--9 {
    display: none;
}

@keyframes fund-halo-float {
    0%, 100% {
        transform: rotate(var(--a)) translateX(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
    }
    50% {
        transform: rotate(var(--a)) translateX(calc(-1 * var(--r) - var(--drift))) rotate(calc(-1 * var(--a)));
    }
}

@media (min-width: 768px) {
    .fund-halo__stage {
        --r: 28rem;
        --h: 16rem;
        --b: 4.25rem;
        --bm: 5.5rem;
        --k: 1.15;
    }

    .fund-halo__glow {
        width: 40rem;
        height: 40rem;
        margin-left: calc(50% - 20rem);
        margin-top: 24rem;
    }
}

@media (min-width: 1024px) {
    .fund-halo__lead {
        max-width: 34rem;
    }

    .fund-halo__stage {
        --r: 32rem;
        --h: 38rem;
        --b: 4rem;
        --bm: 5.5rem;
        --base: 0deg;
        --k: 0.85;
        margin-left: 0;
        margin-right: 0;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .fund-halo__stat {
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 1.5rem !important;
        border-left-width: 1px !important;
    }

    .fund-halo__ring {
        margin-left: 18%;
        margin-top: calc(var(--h) / 2 - var(--r));
    }

    .fund-halo__spoke--7,
    .fund-halo__spoke--8,
    .fund-halo__spoke--9 {
        display: block;
    }

    .fund-halo__glow {
        width: 46rem;
        height: 46rem;
        margin-left: 52%;
        margin-top: 2rem;
    }
}

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

/* folio-rail — mirror sticky phone + scroll-story services */
.folio-rail {
    overflow-x: clip;
}

.folio-rail__eyebrow {
    letter-spacing: 0.14em;
}

.folio-rail__heading {
    letter-spacing: -0.025em;
}

.folio-rail__blob {
    width: 18rem;
    height: 18rem;
    filter: blur(48px);
}

.folio-rail__blob--a {
    transform: translate(-20%, -10%);
}

.folio-rail__blob--b {
    width: 14rem;
    height: 14rem;
    transform: translate(70%, 40%);
}

.folio-rail__dots {
    margin: 0;
    list-style: none;
}

.folio-rail__dot {
    width: 0.55rem;
    height: 0.55rem;
    opacity: 0.35;
    transition: opacity 250ms ease, transform 250ms ease;
}

.folio-rail__dot.is-active {
    opacity: 1;
    transform: scale(1.35);
}

.folio-rail__stage {
    position: relative;
    min-height: 32rem;
    align-self: flex-start;
}

.folio-rail__phone {
    width: 15.5rem;
    aspect-ratio: 9 / 19;
    padding: 0.5rem;
    border-radius: 2.6rem;
    margin: 0;
}

.folio-rail__screen {
    border-radius: 2.15rem;
}

.folio-rail__notch {
    width: 5.25rem;
    height: 1.3rem;
}

.folio-rail__status {
    font-size: 0.75rem;
}

.folio-rail__status i {
    margin-left: 0.2rem;
    font-size: 0.65rem;
}

.folio-rail__coin {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.65rem;
}

.folio-rail__micro {
    font-size: 0.68rem;
    line-height: 1.2;
}

.folio-rail__chart {
    min-height: 6.5rem;
    overflow: visible;
}

.folio-rail__chart-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 6.5rem;
    overflow: visible;
}

.folio-rail__chart-fill {
    transform-origin: center bottom;
    animation: folio-rail-chart-fill 4.2s ease-in-out infinite;
}

.folio-rail__chart-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: folio-rail-chart-draw 4.2s ease-in-out infinite;
}

.folio-rail__chart-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: folio-rail-chart-dot 4.2s ease-in-out infinite;
}

@keyframes folio-rail-chart-fill {
    0%, 12% { opacity: 0; transform: scaleY(0.55); }
    40%, 72% { opacity: 1; transform: scaleY(1); }
    88%, 100% { opacity: 0; transform: scaleY(0.55); }
}

@keyframes folio-rail-chart-draw {
    0% { stroke-dashoffset: 400; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 400; opacity: 0.35; }
}

@keyframes folio-rail-chart-dot {
    0%, 28% { opacity: 0; transform: translateY(6px) scale(0.6); }
    42%, 72% { opacity: 1; transform: translateY(0) scale(1); }
    88%, 100% { opacity: 0; transform: translateY(6px) scale(0.6); }
}

.folio-rail__step {
    transition: opacity 300ms ease;
}

@media (min-width: 1024px) {
    .folio-rail__phone {
        width: 17.5rem;
    }

    .folio-rail .folio-rail__stage {
        position: sticky;
        top: 6rem;
        min-height: auto;
        width: 100%;
    }

    .folio-rail .folio-rail__stage .folio-rail__phone {
        margin-inline: auto;
    }

    .folio-rail__step {
        min-height: 70vh;
    }

    .folio-rail.is-ready .folio-rail__step {
        opacity: 0.3;
    }

    .folio-rail.is-ready .folio-rail__step.is-active {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .folio-rail__chart-fill,
    .folio-rail__chart-line,
    .folio-rail__chart-dot {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }

    .folio-rail__step,
    .folio-rail__dot {
        transition: none;
    }
}

/* time-range chips inside the phone mock: never spill out of the frame; extra chips scroll sideways */
ul:has(> li.folio-rail__micro) { overflow-x: auto; scrollbar-width: none; }
ul:has(> li.folio-rail__micro)::-webkit-scrollbar { display: none; }
li.folio-rail__micro { flex-shrink: 0; white-space: nowrap; }

/* quiet-tally — minimal centered huge number trio */
.quiet-tally__eyebrow {
    letter-spacing: 0.18em;
}

.quiet-tally__heading {
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.quiet-tally__figure {
    letter-spacing: -0.045em;
}

.quiet-tally__number {
    font-variant-numeric: tabular-nums;
}

.quiet-tally__suffix {
    top: 0;
    margin-top: 0.12em;
    vertical-align: baseline;
}

.quiet-tally__label {
    letter-spacing: 0.12em;
}

/* our-philosophy — creed tape: masthead, dual word cards, checklist */
.creed-tape__eyebrow {
    letter-spacing: 0.18em;
}

.creed-tape__heading {
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.creed-tape__rule {
    height: 0;
}

.creed-tape__stage {
    padding: 1.25rem;
}

.creed-tape__card {
    padding: 1.15rem;
}

.creed-tape__caption {
    font-size: 0.75rem;
    line-height: 1rem;
}

.creed-tape__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.creed-tape__chip {
    font-size: 0.7rem;
    line-height: 1;
}

.creed-tape__tick {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.625rem;
}

@media (min-width: 768px) {
    .creed-tape__stage {
        padding: 1.75rem;
    }
}

/* cash-loop — two-card bento: gradient dashboard card + oval stage with ticker band and photo */
.cash-loop__eyebrow {
    letter-spacing: 0.12em;
}

.cash-loop__heading {
    letter-spacing: -0.02em;
}

.cash-loop__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Left gradient card */
.cash-loop__panel {
    min-height: 0;
}

.cash-loop__glow {
    width: 18rem;
    height: 18rem;
    transform: translate(35%, 35%);
    filter: blur(10px);
}

.cash-loop__frost {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cash-loop__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cash-loop__track {
    height: 0.25rem;
}

.cash-loop__fill {
    width: 0;
    animation: cash-loop-fill 1.8s ease forwards;
}

.cash-loop__fill--1 { --cash-loop-end: 84%; animation-delay: 0.15s; }
.cash-loop__fill--2 { --cash-loop-end: 52%; animation-delay: 0.4s; }
.cash-loop__fill--3 { --cash-loop-end: 68%; animation-delay: 0.65s; }

@keyframes cash-loop-fill {
    from { width: 0; }
    to { width: var(--cash-loop-end); }
}

/* Right oval stage */
.cash-loop__stage {
    min-height: 9rem;
}

.cash-loop__band {
    left: -3rem;
    right: -3rem;
    transform: translateY(-50%);
}

.cash-loop__marquee {
    width: max-content;
    animation: cash-loop-marquee 28s linear infinite;
}

@keyframes cash-loop-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.cash-loop__photo {
    width: 11rem;
    aspect-ratio: 1 / 1;
}

.cash-loop__img {
    object-fit: cover;
}

.cash-loop__chip {
    transform: translate(-40%, 18%);
    min-width: 8rem;
}

.cash-loop__desc {
    max-width: 28rem;
}

@media (min-width: 768px) {
    .cash-loop__photo {
        width: 13rem;
        aspect-ratio: 21 / 20;
    }

    .cash-loop__chip {
        transform: translate(-75%, 20%);
    }

    .cash-loop__band {
        left: -7rem;
        right: -7rem;
    }

    .cash-loop__oval.cash-loop__oval {
        border-radius: 50% !important;
        min-height: 22rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cash-loop__marquee,
    .cash-loop__fill {
        animation: none;
    }

    .cash-loop__fill--1 { width: 84%; }
    .cash-loop__fill--2 { width: 52%; }
    .cash-loop__fill--3 { width: 68%; }
}

/* slim-path — minimal vertical timeline */
.slim-path__eyebrow {
    letter-spacing: 0.16em;
}

.slim-path__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.slim-path__rail {
    width: 0;
    left: 50%;
    top: 1.5rem;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.slim-path__icon {
    width: 3.25rem;
    height: 3.25rem;
    z-index: 1;
}

.slim-path__text {
    max-width: 28rem;
}

.report-ruled__img {
    object-fit: cover;
    min-height: 18rem;
}

.report-ruled__line {
    border-top-style: double;
    border-top-width: 3px;
}

/* Layout-only hover; theme colors stay in Tailwind/Bootstrap via Blade */
.pricing-card-hover {
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
  }

  .dark .pricing-card-hover:hover {
    box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
  }
}

@media (hover: hover) and (min-width: 640px) {
  .pricing-card-hover:hover {
    transform: translateY(-3px) scale(1.02);
  }
}

.pricing-card-hover:hover .pricing__btn {
  transform: scale(1.02);
}

.pricing__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing__popular-badge-wrap {
  z-index: 1030;
}

.pricing__feature-icon-bs {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  min-height: 1.25rem;
  flex-shrink: 0;
  padding: 0;
}


