.side-rail__title { letter-spacing: -0.03em; text-wrap: balance; }
.side-rail__micro { font-size: 0.75rem; line-height: 1rem; }
.side-rail__dot { width: 0.5rem; height: 0.5rem; }
.side-rail__wide { letter-spacing: 0.12em; }

.side-rail__viewport {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.side-rail__track {
    width: max-content;
    animation: side-rail-scroll 40s linear infinite;
}

@keyframes side-rail-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.side-rail__slot { margin: 0 0.75rem; }

.side-rail__phone {
    width: 12rem;
    height: 22rem;
    overflow: hidden;
    border-radius: 2.25rem !important;
}
.side-rail__phone > div { border-radius: 1.75rem !important; overflow: hidden; }
.side-rail__notch { width: 4rem; height: 0.9rem; }
.side-rail__tile { border-radius: 0.75rem !important; }

.side-rail__photo { width: 11rem; }
.side-rail__img { object-fit: cover; height: 16rem; }
.side-rail__img--h1 { height: 18rem; }
.side-rail__img--h2 { height: 14rem; }
.side-rail__img--h3 { height: 16rem; }

.side-rail__chart { width: 12rem; height: 16rem; }
.side-rail__bars { height: 5rem; }
.side-rail__bar { height: 45%; }
.side-rail__bar--b2 { height: 70%; }
.side-rail__bar--b3 { height: 100%; }
.side-rail__bar--b4 { height: 40%; }
.side-rail__bar--b5 { height: 60%; }

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

/* phone mock content must fit the narrow screen: amounts shrink, labels wrap instead of running past the frame */
.side-rail__phone > div > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.side-rail__phone > div > :nth-child(4) { font-size: 1.375rem !important; line-height: 1.15; }
.side-rail__tile { min-width: 0; overflow-wrap: anywhere; }
.side-rail__tile > * { font-size: .75rem !important; line-height: 1.2; }
@media (max-width: 767.98px) {
    .side-rail__phone > div > :nth-child(4) { font-size: 1.125rem !important; }
}

/* wizard progress segment - framework-agnostic sizing + UA button reset */
.steps-wizard__segment {
    height: 0.375rem;
    padding: 0;
    border: 0;
    transition: transform 200ms ease, background-color 200ms ease;
    cursor: pointer;
    background-color: var(--bs-tertiary-bg, rgb(100 116 139 / 0.3));
}

.steps-wizard__segment.is-active {
    transform: scaleY(1.6);
    background-color: var(--bs-primary, rgb(37 99 235 / 1)) !important;
}

.steps-wizard__panel {
    animation: steps-wizard-fade-in 250ms ease;
}

/* wizard stage panel - fixed min-height across both frameworks */
.guide-flow__stage {
    min-height: 16rem;
}

/* wizard step icon badge - fixed circular size across both frameworks */
.guide-flow__badge {
    width: 4rem;
    height: 4rem;
}

@keyframes steps-wizard-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-emblem {
    width: 5rem;
    height: 5rem;
}

.timeline-spark {
    width: 0.75rem;
    height: 0.75rem;
}

.timeline-cloud-left {
    width: 16rem;
    height: 16rem;
}

.timeline-cloud-right {
    width: 20rem;
    height: 20rem;
    animation-delay: 1s;
}

.timeline-cloud-center {
    width: 24rem;
    height: 24rem;
    animation-delay: 2s;
}

.timeline-outline-square {
    width: 5rem;
    height: 5rem;
    animation-duration: 3s;
}

.timeline-outline-orb {
    width: 4rem;
    height: 4rem;
    animation-duration: 4s;
    animation-delay: 1s;
}

.timeline-halo-start {
    width: 8rem;
    height: 8rem;
    animation-duration: 20s;
}

.timeline-halo-end {
    width: 10rem;
    height: 10rem;
    animation-duration: 25s;
    animation-direction: reverse;
}

.timeline-spark-side {
    animation-delay: 0.5s;
}

.timeline-spark-center {
    animation-delay: 1s;
}

.timeline-cloud-left,
.timeline-cloud-right,
.timeline-cloud-center {
    animation-name: timeline-cloud__pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-outline-square,
.timeline-outline-orb {
    animation-name: timeline-outline__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.timeline-halo-start,
.timeline-halo-end {
    animation-name: timeline-halo__spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.timeline-spark-top,
.timeline-spark-side,
.timeline-spark-center {
    animation-name: timeline-spark__ping;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    animation-iteration-count: infinite;
}

@keyframes timeline-cloud__pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes timeline-outline__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes timeline-halo__spin {
    to { transform: rotate(360deg); }
}

@keyframes timeline-spark__ping {
    0% { transform: scale(1); opacity: 1; }
    75%, 100% { transform: scale(2); opacity: 0; }
}

.plan-tabs__btn {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
}
/* the active tab is filled by utility classes toggled in JS; an unlayered background here would override them in Tailwind v4 builds, so it stays out — the pressed state is also marked by weight */
.plan-tabs__btn[aria-pressed="true"] { font-weight: 700 !important; }

.tips-cards__card {
    max-width: 24rem;
}


.halo-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.halo-signup__inner {
    max-width: 64rem;
}

@keyframes halo-signup-spark-beat-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.halo-signup__spark--beat {
    animation: halo-signup-spark-beat-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

.halo-signup__jump--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

