/* Site-wide jazz: icon cards, the long timeline (How it works), town tiles (area pages),
   the dark comparison table and the closing call-to-action band. Our colours only. */

/* Fade-up for anything marked fx (also in pricing.css; kept here so every page has it) */
.fx { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; transition-delay: var(--d, 0ms); }
.fx.is-in { opacity: 1; transform: none; }

/* ---------- Cards with icons ---------- */
.prose .cards { width: min(1120px, 94vw); max-width: none; margin-left: calc(50% - min(560px, 47vw)); display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards .card { position: relative; padding: 26px 24px 22px; border-radius: 22px; background: #fff; border: 0; box-shadow: 0 14px 34px rgba(15, 12, 41, .14); overflow: hidden; }
.cards .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7, #ec4899); }
.cards .card.is-in:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(124, 58, 237, .28); }
main > section .cards .card h3 { margin: 14px 0 6px; font-size: 1.35rem; font-weight: 900; line-height: 1.2; color: #0f0c29 !important; -webkit-text-fill-color: #0f0c29; background: none; }
main > section .cards .card h3 a { color: #0f0c29 !important; text-decoration: none; }
main > section .cards .card h3 a:hover { color: #6d28d9 !important; }
main > section .cards .card p { margin: 0; font-size: 1.12rem; line-height: 1.55; color: #3f3a63 !important; }
.card-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22d3ee, #6366f1 50%, #ec4899); box-shadow: 0 10px 22px rgba(99, 102, 241, .35); transition: transform .4s cubic-bezier(.2, .8, .2, 1.4); }
.card-ico svg { width: 28px; height: 28px; }
.cards .card:nth-child(3n+2) .card-ico { background: linear-gradient(135deg, #a855f7, #ec4899); }
.cards .card:nth-child(3n) .card-ico { background: linear-gradient(135deg, #06b6d4, #4f46e5); }
.cards .card:hover .card-ico { transform: rotate(-8deg) scale(1.08); }
.card-art { display: none !important; }

/* ---------- Long timeline (How it works) ---------- */
.vt { position: relative; list-style: none; margin: 30px 0 50px; padding: 0 !important; width: min(1040px, 94vw); margin-left: calc(50% - min(520px, 47vw)); }
.vt::before { content: ""; position: absolute; left: 33px; top: 20px; bottom: 20px; width: 6px; border-radius: 6px; background: linear-gradient(180deg, #22d3ee, #6366f1, #a855f7, #ec4899); transform: scaleY(0); transform-origin: top; transition: transform 2.2s cubic-bezier(.2, .8, .2, 1); }
.vt.is-in::before { transform: none; }
.vt-step { position: relative; margin: 0 0 22px; padding: 24px 24px 24px 100px; border-radius: 24px; background: #fff; color: #0f0c29; box-shadow: 0 16px 38px rgba(15, 12, 41, .16); }
.vt-num { position: absolute; left: 4px; top: 20px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.8rem; font-weight: 900; background: linear-gradient(135deg, #22d3ee, #6366f1 50%, #ec4899); box-shadow: 0 0 0 6px #fff, 0 10px 26px rgba(99, 102, 241, .45); }
.vt-step .vt-when { margin: 0; font-size: .95rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: #7c3aed !important; }
.vt-step h3 { margin: 4px 0 6px !important; font-size: 1.5rem !important; font-weight: 900; color: #0f0c29 !important; -webkit-text-fill-color: #0f0c29; background: none !important; }
.vt-step p:not(.vt-when) { margin: 0; font-size: 1.12rem; color: #3f3a63 !important; }
.vt-step .vt-amt { float: right; margin: -4px 0 0 12px; font-size: 2.2rem; font-weight: 900; line-height: 1; background: linear-gradient(100deg, #4f46e5, #a855f7 55%, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.vt-step--live { background: linear-gradient(120deg, #4f46e5, #7c3aed 55%, #db2777); color: #fff; }
.vt-step--live h3, .vt-step--live p:not(.vt-when) { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.vt-step--live .vt-when { color: #a5f3fc !important; }
@media (min-width: 900px) {
  .vt::before { left: 50%; margin-left: -3px; }
  .vt-step { width: calc(50% - 56px); padding: 26px 28px; }
  .vt-step:nth-child(even) { margin-left: auto; }
  .vt-num { left: auto; right: -91px; top: 22px; }
  .vt-step:nth-child(even) .vt-num { right: auto; left: -91px; }
  .vt-step.fx { transform: translateX(-30px); }
  .vt-step:nth-child(even).fx { transform: translateX(30px); }
  .vt-step.fx.is-in { transform: none; }
}

/* ---------- Town tiles (area pages) ---------- */
.towns { list-style: none; margin: 18px 0 40px; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.towns li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; color: #0f0c29 !important; font-weight: 800; font-size: 1.12rem; box-shadow: 0 8px 22px rgba(15, 12, 41, .12); transition: transform .25s, box-shadow .25s; }
.towns li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(124, 58, 237, .25); }
.towns li::before { content: none !important; }
.towns svg { flex: none; width: 26px; height: 26px; color: #db2777; }
.towns li:nth-child(3n+2) svg { color: #7c3aed; }
.towns li:nth-child(3n) svg { color: #0891b2; }

/* ---------- Closing band ---------- */
.pz-cta { margin: 40px 0 10px !important; width: min(1120px, 94vw); margin-left: calc(50% - min(560px, 47vw)) !important; padding: 40px 28px !important; }
.pz-cta-btn { margin-top: 14px; background: #fff !important; color: #312e81 !important; font-size: 1.2rem !important; padding: 16px 30px !important; box-shadow: 0 14px 30px rgba(15, 12, 41, .3) !important; }

/* ---------- Comparison table, dark and lit ---------- */
@property --vs-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.vs { background: radial-gradient(120% 80% at 0% 0%, #2b1f7a 0%, #140f45 55%, #0b0826 100%) !important; box-shadow: 0 50px 100px -40px rgba(79, 70, 229, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset !important; }
main > section .vs .vs-cell.vs-label, main > section .vs .vs-label { color: #fff !important; font-size: 1.05rem; }
main > section .vs .vs-diy, main > section .vs .vs-des { color: #ede9fe !important; background: rgba(255, 255, 255, .06) !important; }
main > section .vs .vs-head b:not(.vs-brand) { color: #fff !important; }
.vs .vs-sub { color: #c4b5fd !important; }
.vs .vs-cell { font-size: 1.2rem; border-bottom-color: rgba(255, 255, 255, .1) !important; }
.vs .vs-us { font-weight: 800; }
.vs-glow { background: linear-gradient(175deg, #4338ca, #6d28d9 55%, #be185d) !important; border: 0 !important; box-shadow: 0 30px 60px -20px rgba(219, 39, 119, .6), 0 0 70px rgba(124, 58, 237, .5) !important; }
.vs-glow::before { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: 25px; background: conic-gradient(from var(--vs-ang), #22d3ee, #6366f1, #a855f7, #ec4899, #22d3ee); animation: vs-spin 6s linear infinite; }
@keyframes vs-spin { to { --vs-ang: 360deg; } }
.vs-head .vs-us .vs-sub { color: #a5f3fc !important; }
.vs .vs-tick { width: 28px; height: 28px; background: linear-gradient(135deg, #22d3ee, #a855f7 55%, #ec4899); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 6px 16px rgba(236, 72, 153, .45); }
.vs .vs-tick::after { left: 10px; top: 5px; width: 7px; height: 13px; border-color: #fff; }
.vs .vs-dot { width: 28px; height: 28px; background: rgba(255, 255, 255, .1); }
.vs .vs-dot::after { left: 8px; top: 12.5px; width: 12px; background: #c4b5fd; }
main > section .vs p.vs-close { color: #fff !important; font-size: clamp(1.6rem, 4vw, 2.7rem); }
main > section .vs p.vs-close .grad-text { background: linear-gradient(100deg, #67e8f9, #c4b5fd, #f9a8d4); -webkit-background-clip: text; background-clip: text; }
main > section .vs .fine { color: #ddd6fe !important; }
.vs-row.hot .vs-label { background: linear-gradient(90deg, rgba(34, 211, 238, .14), transparent) !important; }
.vs-row.hot .vs-diy, .vs-row.hot .vs-des { background: rgba(255, 255, 255, .12) !important; }
@media (max-width: 759px) {
  .vs .vs-switch-label { color: #fff !important; }
  .vs .vs-us { background: linear-gradient(170deg, #4338ca, #6d28d9 60%, #be185d) !important; }
  .vs .vs-diy, .vs .vs-des { border-color: rgba(255, 255, 255, .16) !important; }
  .vs .vs-cell { font-size: 1.05rem; }
  .vs .vs-tick, .vs .vs-dot { width: 24px; height: 24px; }
  .vs .vs-tick::after { left: 8.5px; top: 4px; width: 6px; height: 11px; }
  .vs .vs-dot::after { left: 6px; top: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx, .vt::before { opacity: 1 !important; transform: none !important; transition: none !important; }
  .vs-glow::before { animation: none; }
}

/* Fixes: white cards on every band, and the comparison column frame drawn as a border only */
main > section .cards .card, main > section.tone-dark .cards .card, main > section.tone-pink .cards .card { background: #fff !important; color: #0f0c29 !important; border: 0 !important; }
main > section.tone-dark .cards .card p, main > section.tone-pink .cards .card p { opacity: 1; }
main > section.tone-dark .cards .card h3 a, main > section.tone-pink .cards .card h3 a { color: #0f0c29 !important; }
.vs-glow::before { content: none !important; }
.vs-glow { border: 3px solid transparent !important; background: linear-gradient(175deg, #4338ca, #6d28d9 55%, #be185d) padding-box, conic-gradient(from var(--vs-ang), #22d3ee, #6366f1, #a855f7, #ec4899, #22d3ee) border-box !important; animation: vs-spin 6s linear infinite; }
.vs .vs-head .vs-us .vs-brand { background: linear-gradient(90deg, #ffffff, #a5f3fc, #fbcfe8, #ffffff) !important; background-size: 200% 100% !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
@media (max-width: 759px) { .vs .vs-brand { font-size: 1rem !important; overflow-wrap: normal !important; word-break: keep-all; } }
@media (prefers-reduced-motion: reduce) { .vs-glow { animation: none; } }
