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

/* orbit-bento — gradient board with phone tile + 2×2 service cards */
.orbit-bento__eyebrow {
    letter-spacing: 0.14em;
}

.orbit-bento__heading {
    letter-spacing: -0.03em;
}

.orbit-bento__board {
    padding: 1.25rem;
}

.orbit-bento__cloud {
    width: 16rem;
    height: 12rem;
    filter: blur(40px);
}

.orbit-bento__cloud--a {
    transform: translate(-18%, -30%);
}

.orbit-bento__cloud--b {
    width: 20rem;
    height: 14rem;
    transform: translate(55%, 75%);
}

.orbit-bento__phone {
    width: 100%;
    max-width: 16rem;
    aspect-ratio: 9 / 19;
    padding: 0.5rem;
    border-radius: 2.5rem;
    margin: 0 auto;
}

.orbit-bento__screen {
    border-radius: 2.05rem;
}

.orbit-bento__notch {
    width: 5rem;
    height: 1.2rem;
}

.orbit-bento__status {
    font-size: 0.7rem;
}

.orbit-bento__status i {
    margin-left: 0.15rem;
    font-size: 0.58rem;
}

.orbit-bento__coin {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.6rem;
}

.orbit-bento__micro {
    font-size: 0.62rem;
    line-height: 1.15;
}

.orbit-bento__chart {
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 5.5rem;
    overflow: visible;
}

.orbit-bento__chart-fill {
    transform-origin: center bottom;
    animation: orbit-bento-chart-fill 4.2s ease-in-out infinite;
}

.orbit-bento__chart-line {
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    animation: orbit-bento-chart-draw 4.2s ease-in-out infinite;
}

.orbit-bento__chart-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: orbit-bento-chart-dot 4.2s ease-in-out infinite;
}

@keyframes orbit-bento-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 orbit-bento-chart-draw {
    0% { stroke-dashoffset: 360; opacity: 0.35; }
    38% { stroke-dashoffset: 0; opacity: 1; }
    72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 360; opacity: 0.35; }
}

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

.orbit-bento__tile {
    padding: 1.15rem;
    min-height: 100%;
}

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

    .orbit-bento__phone {
        max-width: 17rem;
    }
}

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

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

/* score-split — sticky heading left + stacked metrics right */
.score-split__eyebrow {
    letter-spacing: 0.14em;
}

.score-split__heading {
    letter-spacing: -0.03em;
}

.score-split__rule {
    width: 0;
    min-height: 10rem;
}

.score-split__item {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.score-split__item:first-child {
    padding-top: 0;
}

.score-split__figure {
    letter-spacing: -0.035em;
}

.score-split__number {
    font-variant-numeric: tabular-nums;
}

.score-split__suffix {
    top: 0;
    margin-top: 0.15em;
    vertical-align: baseline;
}

@media (min-width: 1024px) {
    .score-split .score-split__aside {
        position: sticky;
        top: 7rem;
    }

    .score-split__rule {
        min-height: 16rem;
    }
}

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

.ledger-bridge__eyebrow {
    letter-spacing: 0.12em;
}

.ledger-bridge__heading {
    letter-spacing: -0.02em;
}

.ledger-bridge__micro {
    font-size: 0.75rem;
    line-height: 1.3;
}

.ledger-bridge__glow {
    width: 14rem;
    height: 14rem;
    transform: translate(-30%, -30%);
    filter: blur(12px);
}

.ledger-bridge__frost {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ledger-bridge__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ledger-bridge__track {
    height: 0.25rem;
}

.ledger-bridge__fill {
    width: 0;
    animation: ledger-bridge-fill 1.8s ease forwards;
}

.ledger-bridge__fill--1 { --ledger-bridge-end: 84%; animation-delay: 0.15s; }
.ledger-bridge__fill--2 { --ledger-bridge-end: 52%; animation-delay: 0.4s; }
.ledger-bridge__fill--3 { --ledger-bridge-end: 68%; animation-delay: 0.65s; }

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

.ledger-bridge__stage {
    min-height: 8rem;
}

.ledger-bridge__band {
    transform: translateY(-50%);
}

.ledger-bridge__marquee {
    width: max-content;
    animation: ledger-bridge-marquee 26s linear infinite;
}

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

.ledger-bridge__photo {
    width: 12rem;
    aspect-ratio: 4 / 3;
}

.ledger-bridge__img {
    object-fit: cover;
}

.ledger-bridge__chip {
    transform: translate(25%, -15%);
    min-width: 7.5rem;
}

@media (min-width: 768px) {
    .ledger-bridge__photo {
        width: 16rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ledger-bridge__marquee,
    .ledger-bridge__fill {
        animation: none;
    }

    .ledger-bridge__fill--1 { width: 84%; }
    .ledger-bridge__fill--2 { width: 52%; }
    .ledger-bridge__fill--3 { width: 68%; }
}

/* clause-stack — stacked step cards with left accent bars */
.clause-stack__eyebrow {
    letter-spacing: 0.14em;
}

.clause-stack__title {
    letter-spacing: -0.025em;
}

.clause-stack__card {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
}

.clause-stack__bar {
    width: 0.25rem;
    left: 0;
    top: 1.25rem;
    bottom: 1.25rem;
}

.clause-stack__icon {
    width: 3rem;
    height: 3rem;
}

/* planning-split — layout, sizes, glass effect only (colours live in the template) */

.planning-split__photo {
    min-height: 26rem;
}

.planning-split__img {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.planning-split__glass {
    z-index: 2;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.planning-split__micro {
    font-size: 0.75rem;
    line-height: 1rem;
}

.planning-split__wide {
    letter-spacing: 0.14em;
}

.planning-split__bars {
    height: 3.5rem;
}

.planning-split__bar {
    width: 0.85rem;
}

.planning-split__bar--b1 { height: 45%; }
.planning-split__bar--b2 { height: 65%; }
.planning-split__bar--b3 { height: 80%; }
.planning-split__bar--b4 { height: 100%; }

.planning-split__figure-wrap {
    min-width: 0;
}

.planning-split__title {
    letter-spacing: -0.03em;
    max-width: 22ch;
}

.planning-split__panel {
    min-height: 24rem;
}

@media (min-width: 768px) {
    .planning-split__glass {
        max-width: 26rem;
    }
}

@media (min-width: 1024px) {
    .planning-split__photo,
    .planning-split__panel {
        min-height: 38rem;
    }
}

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


