.intro-animated-gradient__root {
    padding-top: clamp(4rem, 12vw, 10rem);
    padding-bottom: clamp(4rem, 12vw, 10rem);
    min-height: min(32rem, 85vh);
}

@keyframes intro-animated-gradient-spin {
    to {
        transform: rotate(360deg);
    }
}

.intro-animated-gradient__spin--left,
.intro-animated-gradient__spin--right {
    width: 85%;
    height: 85%;
    top: 7.5%;
    animation-name: intro-animated-gradient-spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

.intro-animated-gradient__spin--left {
    left: -18%;
    animation-duration: 48s;
}

.intro-animated-gradient__spin--right {
    right: -18%;
    animation-duration: 60s;
    animation-direction: reverse;
}

.intro-animated-gradient__area {
    max-width: 48rem;
}

/* content stack rows — animated icon tiles (TW w-20 h-20 has no BS util) */
.content-stack-rows__icon-tile {
    width: 5rem;
    height: 5rem;
}

.content-stack-rows__icon-pulse {
    animation: content-stack-rows-pulse 3.5s ease-in-out infinite;
}

.content-stack-rows__icon-tile {
    animation: content-stack-rows-float 6s ease-in-out infinite;
}

.content-stack-rows__icon-glyph {
    animation: content-stack-rows-tilt 5s ease-in-out infinite;
    transform-origin: center;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-pulse {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-tile {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-glyph {
    animation-delay: 0.2s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-pulse {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-tile {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-glyph {
    animation-delay: 1s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-pulse {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-tile {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-glyph {
    animation-delay: 1.8s;
}

@keyframes content-stack-rows-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.35rem);
    }
}

@keyframes content-stack-rows-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.14);
        opacity: 0.2;
    }
}

@keyframes content-stack-rows-tilt {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-6deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-stack-rows__icon-pulse,
    .content-stack-rows__icon-tile,
    .content-stack-rows__icon-glyph {
        animation: none;
    }
}

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

.tips-financial__thumb {
    width: 2.5rem;
    height: 2.5rem;
}

.modern-vertical-timeline__line {
    width: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.modern-vertical-timeline__events > * + * {
    margin-top: 2rem;
}

.modern-vertical-timeline__dot {
    width: 2rem;
    height: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.modern-vertical-timeline__dot-mobile {
    width: 2rem;
    height: 2rem;
}

.modern-vertical-timeline__summary-icon {
    width: 2rem;
    height: 2rem;
}

@media (min-width: 1024px) {
    .modern-vertical-timeline__col--reverse {
        margin-right: 0;
        margin-left: auto;
        padding-right: 0;
        padding-left: 1.25rem;
    }
}

@media (min-width: 992px) {
    .modern-vertical-timeline__col--reverse {
        margin-inline-start: auto;
        margin-inline-end: 0;
        padding-inline-end: 0;
        padding-inline-start: 1.5rem;
    }
}

/* quote v21 — card-deck overlap, celtic-knot corners, chrome-frame avatar, clip-path hover reveal */

/* blueprint engineering-paper grid — pattern uses currentColor, no literal color values here */
.quote-deck__blueprint {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(90deg, currentColor 0, currentColor 1px, transparent 1px, transparent 24px);
    background-size: 24px 24px;
}

/* concentric decorative rings — size/position only, border color comes from the sem/theme classes in the template */
.quote-deck__ring {
    top: 50%;
    left: 50%;
    pointer-events: none;
}
.quote-deck__ring--sm {
    width: 12rem;
    height: 12rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--md {
    width: 18rem;
    height: 18rem;
    transform: translate(-50%, -50%);
}
.quote-deck__ring--lg {
    width: 24rem;
    height: 24rem;
    transform: translate(-50%, -50%);
}

/* lightning-flash overlay — opacity-only keyframes, irregular via staggered delays */
@keyframes quoteDeckFlash {
    0%, 88%, 100% { opacity: 0; }
    91% { opacity: 1; }
    94% { opacity: 0.2; }
}
.quote-deck__flash {
    animation: quoteDeckFlash 6s steps(1, end) infinite;
}
.quote-deck__flash--a { animation-delay: 0s; }
.quote-deck__flash--b { animation-delay: 2.3s; }
.quote-deck__flash--c { animation-delay: 4.1s; }

/* card-deck overlap rhythm — variable tight/loose offsets, resets to a plain stack below md */
@media (min-width: 768px) {
    .quote-deck__item:nth-child(1) {
        transform: translateY(0.5rem);
        margin-right: -1.25rem;
        z-index: 1;
    }
    .quote-deck__item:nth-child(2) {
        transform: translateY(-0.75rem);
        margin-left: -0.5rem;
        margin-right: -2rem;
        z-index: 3;
    }
    .quote-deck__item:nth-child(3) {
        transform: translateY(1rem);
        margin-left: -0.75rem;
        z-index: 2;
    }
}

.quote-deck__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.quote-deck__card:hover,
.quote-deck__card:focus-within {
    transform: translateY(-0.5rem);
    z-index: 10;
}

/* celtic-knot corner accents — identical sem content per corner, shape/placement handled here */
.quote-deck__knot {
    width: 1.25rem;
    height: 1.25rem;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 35% 35%, 35% 100%, 0 100%);
}
.quote-deck__knot--tl {
    position: absolute;
    top: -0.375rem;
    left: -0.375rem;
}
.quote-deck__knot--tr {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    transform: rotate(90deg);
}
.quote-deck__knot--bl {
    position: absolute;
    bottom: -0.375rem;
    left: -0.375rem;
    transform: rotate(270deg);
}
.quote-deck__knot--br {
    position: absolute;
    bottom: -0.375rem;
    right: -0.375rem;
    transform: rotate(180deg);
}

/* browser-chrome framing for the icon tile */
.quote-deck__chrome {
    height: 1.25rem;
}
.quote-deck__chrome-dot {
    width: 0.375rem;
    height: 0.375rem;
    flex: none;
}
.quote-deck__avatar {
    width: 3.5rem;
}
.quote-deck__glyph {
    height: 2.75rem;
}

/* clip-path reveal on hover — pure CSS, no JS */
.quote-deck__reveal {
    clip-path: inset(0 0 100% 0);
    max-height: 0;
    transition: clip-path 250ms ease, max-height 250ms ease;
}
.quote-deck__card:hover .quote-deck__reveal,
.quote-deck__card:focus-within .quote-deck__reveal {
    clip-path: inset(0 0 0 0);
    max-height: 6rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-deck-root [role="listitem"]:hover,
    .quote-deck-root article:hover,
    .quote-deck-root [class*="quote-deck__card"]:hover,
    .quote-deck-root .quote-deck__book:hover,
    .quote-deck-root .quote-deck__step:hover,
    .quote-deck-root .quote-deck__index-card:hover,
    .quote-deck-root .quote-deck__pill:hover,
    .quote-deck-root .quote-deck__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-deck-root [role="listitem"],
.quote-deck-root article,
.quote-deck-root [class*="quote-deck__card"],
.quote-deck-root .quote-deck__book,
.quote-deck-root .quote-deck__step,
.quote-deck-root .quote-deck__index-card,
.quote-deck-root .quote-deck__pill {
    transition: transform 200ms ease;
}

.quote-deck-root a:focus-visible,
.quote-deck-root button:focus-visible,
.quote-deck-root [tabindex="0"]:focus-visible,
.quote-deck-root input:focus-visible,
.quote-deck-root summary:focus-visible,
.quote-deck-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-deck-root button:hover,
    .quote-deck-root a:hover,
    .quote-deck-root summary:hover {
        opacity: 0.92;
    }
}

/* cta waves — SVG wave scroll (colors via currentColor in Blade) */
.cta-waves__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-waves__track {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 46%;
  display: flex;
  flex-direction: row;
  animation: cta-waves-flow 24s linear infinite;
  will-change: transform;
}

.cta-waves__track--front {
  bottom: 6%;
  height: 34%;
  animation-duration: 17s;
  animation-delay: -6s;
}

.cta-waves__svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

@keyframes cta-waves-flow {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-waves__track {
    animation: none;
    transform: translateX(-25%);
  }
}

