.hero-planner__glow { width: 42rem; height: 42rem; top: -14rem; right: -16rem; filter: blur(80px); opacity: .8; }
.hero-planner__title { letter-spacing: -0.02em; }

.hero-planner__copy > * { opacity: 0; transform: translateY(1rem); animation: hero-planner-rise 700ms cubic-bezier(.2, .8, .2, 1) forwards; }
.hero-planner__copy > *:nth-child(2) { animation-delay: 90ms; }
.hero-planner__copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-planner__copy > *:nth-child(4) { animation-delay: 270ms; }
.hero-planner__copy > *:nth-child(5) { animation-delay: 360ms; }

.hero-planner__tick { width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-top: .125rem; }
.hero-planner__icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.hero-planner__micro { font-size: .75rem; line-height: 1rem; }
.hero-planner__body { min-width: 0; }

.hero-planner__card { opacity: 0; transform: translateY(2rem) scale(.98); transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .8, .2, 1); }
[data-planner].is-visible .hero-planner__card { opacity: 1; transform: none; }

.hero-planner__donut { width: 11rem; height: 11rem; flex-shrink: 0; }
.hero-planner__donut svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-planner__seg { stroke-dasharray: 0 302; transition: stroke-dasharray 900ms cubic-bezier(.2, .8, .2, 1); }
.hero-planner__seg--0 { opacity: 1; }
.hero-planner__seg--1 { opacity: .68; }
.hero-planner__seg--2 { opacity: .42; }
.hero-planner__seg--3 { opacity: .22; }
.hero-planner__dot { width: .625rem; height: .625rem; flex-shrink: 0; }

.hero-planner__track { height: .5rem; }
.hero-planner__fill { width: 0; height: 100%; transition: width 1300ms cubic-bezier(.2, .8, .2, 1); }

.hero-planner__goal { opacity: 0; transform: translateX(1.25rem); transition: opacity 500ms ease, transform 500ms ease; }
[data-planner].is-visible .hero-planner__goal { opacity: 1; transform: none; }
[data-planner].is-visible .hero-planner__goal:nth-child(1) { transition-delay: 450ms; }
[data-planner].is-visible .hero-planner__goal:nth-child(2) { transition-delay: 600ms; }
[data-planner].is-visible .hero-planner__goal:nth-child(3) { transition-delay: 750ms; }

.hero-planner__chip { top: -1.25rem !important; right: -.5rem !important; animation: hero-planner-float 5s ease-in-out infinite; }

@keyframes hero-planner-rise { to { opacity: 1; transform: none; } }
@keyframes hero-planner-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* the floating chip must never cover the card heading: on wide screens the heading row keeps room for it, below lg the chip sits in the flow above the card */
.hero-planner__chip { max-width: 14rem; }
.hero-planner__chip .hero-planner__micro { overflow-wrap: anywhere; }
@media (min-width: 992px) {
    .hero-planner__card > :first-child { padding-right: 10rem; }
}
@media (max-width: 991.98px) {
    .hero-planner [data-planner] { display: flex; flex-direction: column; }
    .hero-planner__chip { position: relative !important; top: auto !important; right: auto !important; order: -1; align-self: flex-end; margin-bottom: .75rem; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-planner__copy > *, .hero-planner__card, .hero-planner__goal { animation: none; opacity: 1; transform: none; transition: none; }
    .hero-planner__seg, .hero-planner__fill { transition: none; }
    .hero-planner__chip { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.hero-planner[hidden], .hero-planner [hidden], .hero-planner .hidden.d-none { display: none !important; }

.stats-ticker__title { letter-spacing: -0.02em; }
.stats-ticker__halo { width: 30rem; height: 30rem; top: -14rem !important; right: -10rem !important; filter: blur(60px); opacity: .6; }
.stats-ticker__live { width: .5rem; height: .5rem; flex-shrink: 0; animation: stats-ticker-blink 1.6s ease-in-out infinite; }

.stats-ticker__cell { opacity: 0; transform: translateY(1.25rem); transition: opacity 600ms ease, transform 600ms ease; }
.stats-ticker__band.is-visible .stats-ticker__cell { opacity: 1; transform: none; }
@media (min-width: 992px) {
    .stats-ticker__cell + .stats-ticker__cell { border-left-width: 1px; border-left-style: solid; }
}

.stats-ticker__odo { display: inline-flex; overflow: hidden; height: 1.25em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stats-ticker__digit { display: inline-block; height: 1.25em; overflow: hidden; }
.stats-ticker__reel { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1800ms cubic-bezier(.2, .9, .25, 1); }
/* each cell is taller than the glyph box so neighbouring digits never bleed into the window */
.stats-ticker__reel > span { display: block; height: 1.25em; line-height: 1.25; text-align: center; }
.stats-ticker__suffix { margin-left: .125rem; font-size: .6em; min-width: 0; overflow-wrap: anywhere; }
/* the odometer must never shrink: a long unit next to it used to squeeze the digit windows so neighbouring glyphs overlapped */
.stats-ticker__odo, .stats-ticker__digit { flex-shrink: 0; }

.stats-ticker__cols { display: block; height: 4rem; overflow: visible; }
.stats-ticker__cols rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 900ms cubic-bezier(.34, 1.3, .64, 1); }
.stats-ticker__band.is-visible .stats-ticker__cols rect { transform: scaleY(1); }

@keyframes stats-ticker-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
    .stats-ticker__cell, .stats-ticker__reel, .stats-ticker__cols rect { transition: none; opacity: 1; transform: none; }
    .stats-ticker__live { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.stats-ticker[hidden], .stats-ticker [hidden], .stats-ticker .hidden.d-none { display: none !important; }

/* a long unit suffix moves under the counter instead of being squeezed into a few pixels */
.stats-ticker strong:has(> .stats-ticker__odo) { flex-wrap: wrap; row-gap: .25rem; max-width: 100%; }
.stats-ticker__suffix { max-width: 100%; line-height: 1.1; }
.stats-ticker { overflow-wrap: break-word; }

/* values split v16 - layout/size only, no colors */
.values-split__decor-circle {
    aspect-ratio: 1 / 1;
}

.values-split__numeral {
    line-height: 0.85;
    letter-spacing: -0.04em;
}

.values-split__row {
    will-change: transform;
}

.sidebar-dot-card-timeline__line {
    width: 2px;
    left: 1rem;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__line {
        left: 2rem;
    }
}

.sidebar-dot-card-timeline__dot {
    width: 1rem;
    height: 1rem;
    left: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__dot {
        left: 1.5rem;
        transform: translateX(-0.5rem);
    }
}

.sidebar-dot-card-timeline__card {
    margin-left: 0;
}

@media (min-width: 768px) {
    .sidebar-dot-card-timeline__card {
        margin-left: 4rem;
    }
}

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.75rem);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

[data-bs-theme="dark"] .services__row:hover .services__heading {
  color: var(--bs-primary, #6ea8fe);
}

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

/* cta v39 — pocket phone mock: sizes, bar growth, toast slide-in (no colors) */
.cta-pocket__stage { min-height: 36rem; align-items: center; }
.cta-pocket__halo { width: 26rem; height: 26rem; max-width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cta-pocket__phone { width: 18.5rem; max-width: 100%; height: 36rem; border-radius: 2.75rem; z-index: 1; opacity: 0; transform: translateY(2rem) rotate(-2deg); transition: opacity 700ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1); }
[data-pocket].is-visible .cta-pocket__phone { opacity: 1; transform: none; }
.cta-pocket__notch { width: 6rem; height: 1.25rem; transform: translateX(-50%); }
.cta-pocket__tick { width: 1.5rem; height: 1.5rem; margin-top: .125rem; font-size: .75rem; }
.cta-pocket__micro { font-size: .75rem; line-height: 1.1rem; }
.cta-pocket__tiny { font-size: .625rem; line-height: .875rem; }
.cta-pocket__grow { min-width: 0; }
/* phone mock text keeps its small size in both frameworks and never pushes out of the frame */
.cta-pocket__phone .cta-pocket__micro { font-size: .75rem !important; line-height: 1.1rem !important; overflow-wrap: anywhere; }
.cta-pocket__phone .cta-pocket__tiny { font-size: .625rem !important; line-height: .875rem !important; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cta-pocket__bars > * { min-width: 0; }
.cta-pocket__ico { width: 2rem; height: 2rem; }

.cta-pocket__bars { height: 8.5rem; }
.cta-pocket__bar { display: block; height: 0; min-height: .25rem; transition: height 900ms cubic-bezier(.2, .8, .2, 1); }

.cta-pocket__toast { opacity: 0; transform: translateX(110%); transition: opacity 450ms ease, transform 550ms cubic-bezier(.2, .8, .2, 1); }
.cta-pocket__toast.is-in { opacity: 1; transform: none; }

.cta-pocket__chip { z-index: 2; left: -.5rem !important; bottom: 4rem !important; animation: cta-pocket-bob 5s ease-in-out infinite; }
@media (min-width: 992px) { .cta-pocket__chip { left: -1.5rem !important; } }

@keyframes cta-pocket-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.5rem; } }

@media (prefers-reduced-motion: reduce) {
    .cta-pocket__phone, .cta-pocket__bar, .cta-pocket__toast { transition: none; }
    .cta-pocket__phone, .cta-pocket__toast { opacity: 1; transform: none; }
    .cta-pocket__chip { animation: none; }
}

/* wpg-hidden: utility classes are renamed in production builds, so hidden states must not rely on .hidden / .d-none alone */
.cta-pocket[hidden], .cta-pocket [hidden], .cta-pocket .hidden.d-none { display: none !important; }

