/* Blog, article and service use-case components.
   Palette mirrors frontend/src/tokens.stylex.js ("electric blueprint"). */
:root {
  --blue: #2a2af5; --blue-deep: #1c1cc9; --ink: #0a0e2a; --ink-soft: #474d73;
  --paper: #eef0f6; --line: #d5d9ea; --yellow: #ffd83d; --white: #fff;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.3,1.6,.5,1);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lucide { flex-shrink: 0; }

/* ---------- Shared bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.detail-hero .kicker, .bhero .kicker, .kicker--light { color: var(--yellow); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.chip--accent { background: color-mix(in srgb, var(--accent, var(--blue)) 14%, white); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent, var(--blue)) 40%, white); }
.chip--yellow { background: var(--yellow); color: var(--ink); }
.linkbtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 6px 0; border-bottom: 2px solid currentColor; }
.linkbtn .lucide { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.linkbtn:hover .lucide { transform: translateX(5px); }
.rhead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Cursor spotlight (JS sets --mx/--my) */
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent, var(--blue)) 16%, transparent), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ---------- Blog hero ---------- */
.bhero, .phero { overflow: hidden; }
.bhero__orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 14s ease-in-out infinite; pointer-events: none; z-index: 1; }
.bhero__orbs span:nth-child(1) { width: 380px; height: 380px; background: #5d5dff; top: -120px; right: 8%; }
.bhero__orbs span:nth-child(2) { width: 260px; height: 260px; background: var(--accent, #7b3dff); bottom: -80px; right: 30%; animation-delay: -5s; opacity: .35; }
.bhero__orbs span:nth-child(3) { width: 200px; height: 200px; background: var(--yellow); top: 30%; right: -60px; animation-delay: -9s; opacity: .22; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(-40px, 30px) scale(1.1); } 66% { transform: translate(30px, -20px) scale(.95); } }

.bsearch { position: relative; display: flex; align-items: center; gap: 12px; max-width: 620px; margin-top: 40px; padding: 6px 8px 6px 20px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); transition: background .3s, border-color .3s, box-shadow .3s; }
.bsearch:focus-within { background: rgba(255,255,255,.18); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(255,216,61,.18); }
.bsearch .lucide { color: rgba(255,255,255,.8); }
.bsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 1.05rem; padding: 12px 0; }
.bsearch input::placeholder { color: rgba(255,255,255,.6); }
.bsearch kbd { font: 600 .8rem/1 var(--display); color: var(--ink); background: var(--yellow); border-radius: 8px; padding: 9px 12px; }
.bstats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 36px; padding: 0; margin: 28px 0 0; color: rgba(255,255,255,.75); font-size: .98rem; }
.bstats b { font-family: var(--display); font-size: 1.6rem; color: #fff; margin-right: 6px; }

/* ---------- Filters ---------- */
.bfilters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.bfilters button { flex-shrink: 0; font: inherit; font-size: .9rem; font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--spring); }
.bfilters button:hover { background: var(--yellow); transform: translateY(-2px); }
.bfilters button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.bcount { color: var(--ink-soft); font-size: .94rem; margin: 18px 0 32px; }

/* ---------- Post cards ---------- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.bgrid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.bcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(10,14,42,.35); border-color: var(--accent); }
.bcard.is-out { display: none; }
.bcard__link { position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.bcard__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.bcard__cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue); z-index: 1;
  background-image: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 55%, color-mix(in srgb, var(--accent) 55%, var(--blue-deep)) 100%); }
.bcard__grid { position: absolute; inset: -40px; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px; transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__grid { transform: translate(16px, 16px) rotate(2deg); }
.bcard__orb { position: absolute; width: 60%; aspect-ratio: 1; right: -12%; top: -30%; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 56px rgba(255,255,255,.04); transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__orb { transform: scale(1.15) rotate(20deg); }
.bcard__icon { position: absolute; left: 24px; bottom: 22px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); transition: transform .6s var(--spring); }
.bcard__icon .lucide { width: 30px; height: 30px; }
.bcard:hover .bcard__icon { transform: translateY(-6px) rotate(-8deg) scale(1.06); }
.bcard__date { position: absolute; top: 18px; right: 18px; display: grid; justify-items: center; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 14px; padding: 8px 12px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.bcard__date b { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; }
.bcard__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 26px; flex: 1; }
.bcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bcard__time { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .86rem; }
.bcard__time .lucide { width: 16px; height: 16px; }
.bcard__title { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.28; letter-spacing: -.02em; color: var(--ink);
  background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 0 38% no-repeat; transition: background-size .6s var(--ease); display: inline; }
.bcard:hover .bcard__title { background-size: 100% 38%; }
.bcard__excerpt { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__tags { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .82rem; color: var(--blue); font-weight: 600; }
.bcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); padding-top: 6px; }
.bcard__more .lucide { width: 20px; height: 20px; transition: transform .4s var(--spring); }
.bcard:hover .bcard__more .lucide { transform: translate(4px, -4px) rotate(45deg); color: var(--blue); }

/* Featured card spans the row and sits side by side on wide screens */
@media (min-width: 980px) {
  .bcard--big { grid-column: 1 / -1; flex-direction: row; min-height: 400px; }
  .bcard--big .bcard__cover { aspect-ratio: auto; flex: 1.15; }
  .bcard--big .bcard__body { flex: 1; padding: 44px; justify-content: center; }
  .bcard--big .bcard__title { font-size: clamp(1.6rem, 2.2vw, 2.2rem); }
  .bcard--big .bcard__excerpt { -webkit-line-clamp: 4; font-size: 1.08rem; }
  .bcard--big .bcard__icon { width: 96px; height: 96px; border-radius: 26px; left: 40px; bottom: 40px; }
  .bcard--big .bcard__icon .lucide { width: 44px; height: 44px; }
  .bcard--big .bcard__cover::after { content: "Latest"; position: absolute; left: 40px; top: 36px; font: 700 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 999px; }
}
.bempty { display: grid; justify-items: center; gap: 12px; padding: 80px 20px; color: var(--ink-soft); text-align: center; }
.bempty[hidden] { display: none; }
.bempty .lucide { width: 44px; height: 44px; color: var(--blue); }

/* CTA band */
.bcta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.bcta__actions { display: grid; gap: 12px; justify-items: stretch; }
@media (max-width: 900px) { .bcta__inner { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 1200; background: transparent; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--yellow), #fff3b0); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(255,216,61,.8); }
.phero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 22px; }
.phero__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.phero__meta .lucide { width: 18px; height: 18px; }
.phero__title { position: relative; z-index: 2; font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; max-width: 22ch; }
.phero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.author { display: flex; align-items: center; gap: 14px; color: #fff; }
.author__av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 700 .95rem var(--display); }
.author b { display: block; font-weight: 600; }
.author small { color: rgba(255,255,255,.7); font-size: .88rem; }

.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share__btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: inherit;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); transition: transform .35s var(--spring), background .25s, color .25s, border-color .25s; }
.share__btn svg, .share__btn .lucide { width: 19px; height: 19px; }
.share__btn:hover { transform: translateY(-4px) rotate(-6deg); background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.phero .share__btn { color: #fff; }
.pfoot .share__btn { background: var(--white); border-color: var(--line); color: var(--ink); }
.share__tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); background: var(--ink); color: #fff; font-size: .75rem; padding: 5px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .25s; white-space: nowrap; }
.share__btn.copied .share__tip { opacity: 1; transform: translate(-50%, 0); }

.pgrid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr; } .toc { display: none; } }
.toc { position: sticky; top: 100px; }
.toc__inner { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 22px 20px 20px; }
.toc__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.toc__head .lucide { width: 18px; height: 18px; color: var(--blue); }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc__list a { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 9px 10px; border-radius: 10px; font-size: .9rem; line-height: 1.4; color: var(--ink-soft); text-decoration: none; transition: background .25s, color .25s, transform .3s var(--ease); }
.toc__list a::before { content: counter(toc, decimal-leading-zero); font: 600 .72rem/1.9 var(--display); color: var(--blue); }
.toc__list a:hover { background: var(--paper); color: var(--ink); transform: translateX(3px); }
.toc__list a.active { background: var(--ink); color: #fff; }
.toc__list a.active::before { color: var(--yellow); }
.toc__ring { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; }
.toc__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.toc__ring circle:first-child { stroke: var(--line); }
.toc__ring circle + circle { stroke: var(--blue); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .2s; }
.toc__ring span { font: 700 .58rem var(--display); }

.prose { font-size: clamp(1.05rem, 1.2vw, 1.16rem); line-height: 1.8; color: #1d2246; max-width: 760px; }
.prose p { margin: 0 0 1.25em; }
.prose__lead { font-size: 1.22em; line-height: 1.65; color: var(--ink); }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose code { font-size: .9em; background: var(--white); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.prose strong { color: var(--ink); }
.prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.03em; color: var(--ink); margin: 0 0 .7em; scroll-margin-top: 110px; }
.story, .faq, .takeaways { scroll-margin-top: 100px; }

.takeaways { position: relative; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 40px); margin: 40px 0 64px; overflow: hidden; }
.takeaways::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,216,61,.35), transparent 70%); }
.takeaways h2 { color: #fff; display: flex; align-items: center; gap: 12px; font-size: 1.35rem; }
.takeaways h2 .lucide { color: var(--ink); background: var(--yellow); border-radius: 10px; padding: 7px; width: 38px; height: 38px; }
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.takeaways li { position: relative; padding-left: 34px; color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.6; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='m8 13.5 3.3 3.3L18 10' stroke='%230a0e2a' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.js .takeaways li { opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.25s + var(--i) * .08s); }
.js .takeaways.in li { opacity: 1; transform: none; }

.story { position: relative; padding: 56px 0 8px; border-top: 1.5px solid var(--line); }
.story__num { font: 800 clamp(3rem, 6vw, 5rem)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); margin-bottom: 14px; }
.callout { position: relative; border-radius: 18px; padding: 20px 24px 6px; margin: 0 0 18px; font-size: .98em; }
.callout__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px !important; }
.callout__label .lucide { width: 18px; height: 18px; }
.callout--why { background: #fff8d6; border-left: 5px solid var(--yellow); }
.callout--why .callout__label { color: #8a6d00; }
.callout--biz { background: #e7e8ff; border-left: 5px solid var(--blue); }
.callout--biz .callout__label { color: var(--blue); }
.sources { font-size: .88rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.sources span { font-weight: 700; color: var(--ink); }
.sources a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; }
.sources a:hover { text-decoration: underline; }
.sources .lucide { width: 13px; height: 13px; }

.faq { padding-top: 56px; border-top: 1.5px solid var(--line); }
.faq__item { background: var(--white); border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--blue); box-shadow: 0 16px 40px -24px rgba(42,42,245,.5); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); transition: background .3s, transform .4s var(--spring); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq__item[open] .faq__icon { background: var(--yellow); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 22px 6px; color: var(--ink-soft); font-size: .98em; }

.pfoot { margin-top: 48px; display: grid; gap: 22px; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.ptags a { font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); padding: 7px 14px; border-radius: 999px; transition: .25s; }
.ptags a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pfoot__share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-weight: 600; }
.disclaimer { font-size: .85rem !important; color: var(--ink-soft); font-style: italic; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pnav__a { display: grid; gap: 6px; padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; font-size: .98rem; transition: transform .4s var(--ease), border-color .3s; }
.pnav__a small { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.pnav__a small .lucide { width: 15px; height: 15px; }
.pnav__a--next { text-align: right; justify-items: end; }
.pnav__a:hover { transform: translateY(-4px); border-color: var(--blue); }
@media (max-width: 640px) { .pnav { grid-template-columns: 1fr; } }

/* ---------- Service use cases ---------- */
.uc { overflow: hidden; }
.uc__bg { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); }
.uc__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .uc__head { grid-template-columns: 1fr; } }
.uc__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.ucard { --accent: var(--yellow); position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; border-radius: 24px; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none;
  transition: transform .6s var(--ease), border-color .4s, background .4s; }
.uc__grid > .ucard:nth-child(1), .uc__grid > .ucard:nth-child(2) { grid-column: span 3; }
@media (max-width: 1000px) { .uc__grid { grid-template-columns: repeat(2, 1fr); } .ucard, .uc__grid > .ucard:nth-child(1), .uc__grid > .ucard:nth-child(2) { grid-column: span 1; } }
@media (max-width: 620px) { .uc__grid { grid-template-columns: 1fr; } }
/* animated gradient border on hover */
.ucard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--ang, 0deg), var(--yellow), var(--blue), #8b8bff, var(--yellow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spinang 4s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinang { to { --ang: 360deg; } }
.ucard:hover { transform: translateY(-8px); background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); border-color: transparent; }
.ucard:hover::after { opacity: 1; }
.ucard > * { position: relative; z-index: 1; }
.ucard__num { position: absolute !important; right: 20px; top: 8px; font: 800 5.5rem/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); z-index: 0 !important; }
.ucard:hover .ucard__num { -webkit-text-stroke-color: rgba(255,216,61,.55); transform: translateY(-4px) scale(1.05); }
.ucard__top { display: flex; align-items: center; gap: 12px; }
.ucard__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 10px 30px -8px rgba(42,42,245,.8);
  transition: transform .6s var(--spring), background .3s, color .3s; }
.ucard__icon .lucide { width: 26px; height: 26px; }
.ucard:hover .ucard__icon { transform: rotate(-10deg) scale(1.1); background: var(--yellow); color: var(--ink); }
.ucard__ind { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(255,216,61,.4); padding: 5px 11px; border-radius: 999px; }
.ucard__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.25; letter-spacing: -.02em; margin-top: 6px; }
.ucard__text { color: rgba(238,240,246,.72); font-size: 1rem; line-height: 1.6; }
.ucard__out { margin-top: auto; display: flex; gap: 12px; align-items: flex-start; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.18); font-size: .96rem; font-weight: 500; color: #fff; }
.ucard__out svg { flex-shrink: 0; margin-top: 2px; }
.ucard__out small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.ucard--cta { background: var(--yellow); color: var(--ink); border-color: var(--yellow); justify-content: center; }
.ucard--cta:hover { background: #ffe36b; }
.ucard--cta .ucard__icon { background: var(--ink); color: var(--yellow); box-shadow: none; }
.ucard--cta:hover .ucard__icon { background: var(--blue); color: #fff; }
.ucard--cta .ucard__text { color: var(--ink-soft); }
.ucard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 6px; }
.ucard__go .lucide { transition: transform .4s var(--spring); }
.ucard--cta:hover .ucard__go .lucide { transform: translate(4px, -4px) rotate(45deg); }
.ucard--cta { --accent: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .bhero__orbs span, .kicker__dot, .ucard::after { animation: none; }
  .js .takeaways li { opacity: 1; transform: none; }
}
.bfilters::-webkit-scrollbar { display: none; }
