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

.halo-drift {
    padding-bottom: 20rem;
}

.halo-drift__glow {
    width: 64rem;
    height: 40rem;
    transform: translate(-50%, -30%);
    filter: blur(100px);
    pointer-events: none;
}

.halo-drift__kicker {
    letter-spacing: 0.2em;
}

.halo-drift__title {
    letter-spacing: -0.03em;
    text-wrap: balance;
}

/* --- orbit geometry: --rc circle radius, --ro bubble path radius, --b bubble size, --gap circle bottom above section bottom --- */
.halo-drift__viewport {
    --rc: 14rem;
    --ro: 16rem;
    --b: 3.5rem;
    --gap: 5.5rem;
    height: 20rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 30%);
    mask-image: linear-gradient(to bottom, transparent 0, black 30%);
}

.halo-drift__stage {
    left: 50%;
    bottom: calc(var(--gap) + var(--rc));
    width: 0;
    height: 0;
}

.halo-drift__line {
    width: calc(var(--rc) * 2);
    height: calc(var(--rc) * 2);
    left: calc(var(--rc) * -1);
    top: calc(var(--rc) * -1);
}

.halo-drift__ring {
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    --step: 30deg;
    animation: halo-drift-spin 160s linear infinite;
}

.halo-drift__ring--n8  { --step: 45deg; }
.halo-drift__ring--n9  { --step: 40deg; }
.halo-drift__ring--n10 { --step: 36deg; }
.halo-drift__ring--n11 { --step: 32.7273deg; }
.halo-drift__ring--n12 { --step: 30deg; }

.halo-drift__spoke {
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    --i: 0;
    transform: rotate(calc(var(--i) * var(--step)));
}

.halo-drift__spoke--i0  { --i: 0; }
.halo-drift__spoke--i1  { --i: 1; }
.halo-drift__spoke--i2  { --i: 2; }
.halo-drift__spoke--i3  { --i: 3; }
.halo-drift__spoke--i4  { --i: 4; }
.halo-drift__spoke--i5  { --i: 5; }
.halo-drift__spoke--i6  { --i: 6; }
.halo-drift__spoke--i7  { --i: 7; }
.halo-drift__spoke--i8  { --i: 8; }
.halo-drift__spoke--i9  { --i: 9; }
.halo-drift__spoke--i10 { --i: 10; }
.halo-drift__spoke--i11 { --i: 11; }

.halo-drift__bubble {
    position: absolute;
    width: var(--b);
    height: var(--b);
    left: calc(var(--b) / -2);
    top: calc(var(--ro) - var(--b) / 2);
    transform: rotate(calc(var(--i) * var(--step) * -1));
    animation: halo-drift-counter 160s linear infinite;
}

.halo-drift__glyph {
    font-size: calc(var(--b) * 0.36);
}

@keyframes halo-drift-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes halo-drift-counter {
    from { transform: rotate(calc(var(--i) * var(--step) * -1)); }
    to   { transform: rotate(calc(var(--i) * var(--step) * -1 - 360deg)); }
}

@media (min-width: 768px) {
    .halo-drift {
        padding-bottom: 18rem;
    }

    .halo-drift__viewport {
        --rc: 28rem;
        --ro: 31rem;
        --b: 5rem;
        --gap: 6rem;
        height: 100%;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 20%);
        mask-image: linear-gradient(to bottom, transparent 0, black 20%);
    }
}

@media (min-width: 1024px) {
    .halo-drift {
        padding-bottom: 17rem;
    }

    .halo-drift__viewport {
        --rc: 40rem;
        --ro: 44rem;
        --b: 6rem;
        --gap: 9rem;
    }
}

@media (min-width: 1280px) {
    .halo-drift__viewport {
        --rc: 46rem;
        --ro: 50.5rem;
        --b: 6.5rem;
        --gap: 11rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .halo-drift__ring,
    .halo-drift__bubble {
        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; }

/* proof-band — centered heading + three soft giant-number cards */
.proof-band__eyebrow {
    letter-spacing: 0.14em;
}

.proof-band__heading {
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.proof-band__card {
    padding: 1.75rem;
    min-height: 100%;
}

.proof-band__rule {
    height: 0;
    width: 3rem;
}

.proof-band__figure {
    letter-spacing: -0.035em;
}

.proof-band__number {
    font-variant-numeric: tabular-nums;
}

.proof-band__suffix {
    top: 0;
    margin-top: 0.15em;
    vertical-align: baseline;
}

/* our-philosophy — creed stack: copy left, stacked word cards right */
.creed-stack__eyebrow {
    letter-spacing: 0.16em;
}

.creed-stack__heading {
    letter-spacing: -0.03em;
}

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

.creed-stack__panel {
    padding: 1.25rem;
}

.creed-stack__card {
    padding: 1.15rem;
}

.creed-stack__foot {
    padding: 1rem 1.15rem;
}

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

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

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

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

.stream-split__eyebrow {
    letter-spacing: 0.12em;
}

.stream-split__heading {
    letter-spacing: -0.02em;
}

.stream-split__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.stream-split__dot {
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
}

.stream-split__frost {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stream-split__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stream-split__track {
    height: 0.25rem;
}

.stream-split__fill {
    width: 0;
    animation: stream-split-fill 1.8s ease forwards;
}

.stream-split__fill--1 { --stream-split-end: 84%; animation-delay: 0.15s; }
.stream-split__fill--2 { --stream-split-end: 52%; animation-delay: 0.4s; }
.stream-split__fill--3 { --stream-split-end: 68%; animation-delay: 0.65s; }

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

.stream-split__marquee {
    width: max-content;
    animation: stream-split-marquee 24s linear infinite;
}

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

.stream-split__stage {
    padding-inline-end: 1.25rem;
}

.stream-split__orb {
    width: 11rem;
    height: 11rem;
}

.stream-split__ring {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
}

.stream-split__ring--outer {
    width: 5.5rem;
    height: 5.5rem;
}

.stream-split__ring--mid {
    width: 3.5rem;
    height: 3.5rem;
}

.stream-split__ring--core {
    width: 1.5rem;
    height: 1.5rem;
}

.stream-split__bars {
    height: 2.75rem;
}

.stream-split__bar {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    transform-origin: bottom center;
    animation: stream-split-bar 2.4s ease-in-out infinite;
}

.stream-split__bar--1 { height: 40%; opacity: 0.35; }
.stream-split__bar--2 { height: 62%; opacity: 0.5; animation-delay: 0.15s; }
.stream-split__bar--3 { height: 48%; opacity: 0.65; animation-delay: 0.3s; }
.stream-split__bar--4 { height: 78%; opacity: 0.8; animation-delay: 0.45s; }
.stream-split__bar--5 { height: 100%; opacity: 1; animation-delay: 0.6s; }

@keyframes stream-split-bar {
    0%, 100% { transform: scaleY(0.55); }
    50% { transform: scaleY(1); }
}

.stream-split__body {
    min-width: 0;
}

.stream-split__chip {
    min-width: 7rem;
    transform: translate(-12%, -18%);
    width: max-content;
}

@media (min-width: 768px) {
    .stream-split__stage {
        padding-inline-end: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stream-split__marquee,
    .stream-split__fill,
    .stream-split__bar {
        animation: none;
    }

    .stream-split__fill--1 { width: 84%; }
    .stream-split__fill--2 { width: 52%; }
    .stream-split__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;
}

/* BS: popular pill stays above card; fixed square = true circles */
.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;
}


