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

.halo-crest__glow {
    width: 60rem;
    height: 36rem;
    transform: translate(-50%, -30%);
    filter: blur(100px);
}

.halo-crest__haze {
    width: 70rem;
    height: 22rem;
    transform: translate(-50%, 55%);
    filter: blur(110px);
}

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

.halo-crest__eyebrow {
    letter-spacing: 0.18em;
}

/* --- arc + bubbles --- */

.halo-crest__orbit {
    left: 50%;
    bottom: 6.5rem;
    width: 32.5rem;
    height: 32.5rem;
    transform: translateX(-50%);
}

.halo-crest__stage {
    height: 13rem;
}

/* mobile: keep only the lower half of the ring so it never crosses the copy */
.halo-crest__ring {
    clip-path: inset(50% 0 0 0);
}

.halo-crest__slot {
    width: 3.5rem;
    height: 3.5rem;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
}

/* positions on a radius of 55.5% of the orbit box (fixed angles, pre-computed) */
.halo-crest__slot--1  { left: 8.76%;   top: 87.14%; }
.halo-crest__slot--2  { left: 18.17%;  top: 95.46%; }
.halo-crest__slot--3  { left: 30.11%;  top: 101.81%; }
.halo-crest__slot--4  { left: 44.20%;  top: 105.20%; }
.halo-crest__slot--5  { left: 60.59%;  top: 104.48%; }
.halo-crest__slot--6  { left: 75.20%;  top: 99.45%; }
.halo-crest__slot--7  { left: 87.14%;  top: 91.24%; }
.halo-crest__slot--8  { left: 96.01%;  top: 81.04%; }
.halo-crest__slot--9  { left: 0.12%;   top: 74.33%; }
.halo-crest__slot--10 { left: 102.15%; top: 68.98%; }

.halo-crest__slot--9,
.halo-crest__slot--10 {
    display: none;
}

.halo-crest__glyph {
    font-size: 1.25rem;
    line-height: 1;
}

.halo-crest__bubble {
    animation: halo-crest-bob 6s ease-in-out infinite;
    will-change: transform;
}

.halo-crest__bubble--1  { animation-delay: 0s; }
.halo-crest__bubble--2  { animation-delay: -1.2s; }
.halo-crest__bubble--3  { animation-delay: -2.4s; }
.halo-crest__bubble--4  { animation-delay: -3.6s; }
.halo-crest__bubble--5  { animation-delay: -4.8s; }
.halo-crest__bubble--6  { animation-delay: -0.6s; }
.halo-crest__bubble--7  { animation-delay: -1.8s; }
.halo-crest__bubble--8  { animation-delay: -3s; }
.halo-crest__bubble--9  { animation-delay: -4.2s; }
.halo-crest__bubble--10 { animation-delay: -5.4s; }

@keyframes halo-crest-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-0.6rem); }
}

@media (min-width: 768px) {
    .halo-crest__orbit {
        bottom: 8rem;
        width: 62rem;
        height: 62rem;
    }

    .halo-crest__stage {
        height: 20rem;
    }

    .halo-crest__ring {
        clip-path: none;
    }

    .halo-crest__slot {
        width: 4.75rem;
        height: 4.75rem;
    }

    .halo-crest__slot--9,
    .halo-crest__slot--10 {
        display: block;
    }

    .halo-crest__glyph {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .halo-crest__orbit {
        bottom: 9rem;
        width: min(87.5rem, 97vw);
        height: min(87.5rem, 97vw);
    }

    .halo-crest__stage {
        height: 24rem;
    }

    .halo-crest__slot {
        width: 6rem;
        height: 6rem;
    }

    .halo-crest__glyph {
        font-size: 2rem;
    }
}

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

/* trust-tally — left heading + three dashed-divided giant-number columns */
.trust-tally__eyebrow {
    letter-spacing: 0.12em;
}

.trust-tally__heading {
    letter-spacing: -0.02em;
}

.trust-tally__col {
    min-width: 0;
    padding: 2.5rem 0;
}

.trust-tally__col:first-child {
    padding-top: 0;
}

.trust-tally__col + .trust-tally__col {
    border-top-style: dashed;
    border-top-width: 1px;
}

.trust-tally__figure {
    letter-spacing: -0.03em;
}

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

.trust-tally__suffix {
    top: 0;
    margin-top: 0.2em;
    vertical-align: baseline;
}

.trust-tally__desc {
    max-width: 22rem;
}

@media (min-width: 768px) {
    .trust-tally__col {
        flex: 1 1 0;
        padding: 0 2.5rem;
    }

    .trust-tally__col:first-child {
        padding-left: 0;
    }

    .trust-tally__col + .trust-tally__col {
        border-top-width: 0;
        border-left-style: dashed;
        border-left-width: 1px;
    }
}

/* 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;
    }
}

.pulse-stack__eyebrow {
    letter-spacing: 0.12em;
}

.pulse-stack__heading {
    letter-spacing: -0.02em;
}

.pulse-stack__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.pulse-stack__double {
    border-top-style: double;
}

.pulse-stack__glow {
    width: 16rem;
    height: 16rem;
    transform: translate(30%, 30%);
    filter: blur(14px);
}

.pulse-stack__frost {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pulse-stack__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pulse-stack__track {
    height: 0.25rem;
}

.pulse-stack__fill {
    width: 0;
    animation: pulse-stack-fill 1.8s ease forwards;
}

.pulse-stack__fill--1 { --pulse-stack-end: 84%; animation-delay: 0.15s; }
.pulse-stack__fill--2 { --pulse-stack-end: 52%; animation-delay: 0.4s; }
.pulse-stack__fill--3 { --pulse-stack-end: 68%; animation-delay: 0.65s; }

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

.pulse-stack__marquee {
    width: max-content;
    animation: pulse-stack-marquee 22s linear infinite;
}

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

.pulse-stack__band {
    margin-inline: -1rem;
    padding-inline: 1rem;
}

@media (min-width: 768px) {
    .pulse-stack__band {
        margin-inline: -1.5rem;
        padding-inline: 1.5rem;
    }
}

.pulse-stack__chip {
    width: max-content;
    max-width: 14rem;
}

.pulse-stack__copy {
    max-width: 34rem;
}

.pulse-stack__photo {
    aspect-ratio: 3 / 4;
    width: 100%;
}

.pulse-stack__img {
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .pulse-stack__marquee,
    .pulse-stack__fill {
        animation: none;
    }

    .pulse-stack__fill--1 { width: 84%; }
    .pulse-stack__fill--2 { width: 52%; }
    .pulse-stack__fill--3 { width: 68%; }
}

/* steps — relay grid: hairline frame with corner nodes */
.relay-grid__eyebrow {
    letter-spacing: 0.12em;
}

.relay-grid__title {
    letter-spacing: -0.02em;
}

/* node dots sit centred on each 1px corner; colour comes from the Tailwind/BS text class on the node layer */
.relay-grid__nodes::before,
.relay-grid__nodes::after,
.relay-grid__nodes-bottom::before,
.relay-grid__nodes-bottom::after {
    content: "";
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: currentColor;
}

.relay-grid__nodes::before {
    top: -4.5px;
    left: -4.5px;
}

.relay-grid__nodes::after {
    top: -4.5px;
    right: -4.5px;
}

.relay-grid__nodes-bottom::before {
    bottom: -4.5px;
    left: -4.5px;
}

.relay-grid__nodes-bottom::after {
    bottom: -4.5px;
    right: -4.5px;
}

.relay-grid__icon {
    width: 3.5rem;
    height: 3.5rem;
}

.relay-grid__text {
    max-width: 22rem;
}

.report-rail__img {
    object-fit: cover;
    height: 16rem;
}

/* pricing-toggle — tab button base state (colors: Tailwind/Bootstrap utilities in Blade + script.js) */
.pricing-toggle__tab-btn {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    outline-offset: -2px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body[data-preview-framework="bootstrap"] .pricing-toggle__tab-btn--active,
[data-css-framework="bootstrap"] .pricing-toggle__tab-btn--active,
[data-css-framework="bs"] .pricing-toggle__tab-btn--active {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/* pricing-toggle — price swap animation */
.pricing-toggle__price,
.pricing-toggle__period {
    transition: opacity 0.2s ease;
}

/* pricing-toggle — saving badge slide-in handled by JS hidden/d-none toggle */

/* pricing-toggle — feat list UA reset */
.pricing-toggle__feat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* pricing-toggle — card hover */
.pricing-card-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
    .pricing-card-hover:hover {
        box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.16);
        transform: translateY(-3px);
    }
}

/* pricing-toggle — CTA */
.pricing-toggle__cta {
    transition: opacity 0.2s ease;
}

@media (hover: hover) {
    .pricing-toggle__cta:hover {
        opacity: 0.88;
    }
}

