/* Content v4 design pass 2: icons, split sections, numbers band, motion (loaded after pages.css). */
.pv-ic svg { display: block; }
.pv-ct { display: flex; align-items: center; justify-content: space-between; }
.pv-card2 .pv-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #fff4e8, #ffe3c4); color: #e56f06; box-shadow: inset 0 0 0 1px #f6cfa4; transition: transform .35s, background .35s, color .35s; }
.pv-card2 .pv-ic svg { width: 22px; height: 22px; }
.pv-card2:hover .pv-ic { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, #ffa24a, #f7861e); color: #fff; }
.pv-card2 h3 { margin-top: 18px; }
.pv-list .pv-ic { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #fff4e8, #ffe3c4); transition: transform .3s, background .3s, color .3s; }
.pv-list li:hover .pv-ic { background: linear-gradient(135deg, #ffa24a, #f7861e); color: #fff; transform: scale(1.08); }
.pv-card2 { overflow: hidden; }
.pv-card2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #f7861e, #ffb867); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.pv-card2:hover::after { transform: scaleX(1); }

/* stagger: cards slide in one after another */
.js .pv-cards[data-reveal]:not(.in) > *, .js .pv-list[data-reveal]:not(.in) > li, .js .pv-steps[data-reveal]:not(.in) > li { opacity: 0; transform: translateY(24px); }
.pv-cards > *, .pv-list > li, .pv-steps > li { transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.pv-cards.in > :nth-child(2), .pv-list.in > li:nth-child(2), .pv-steps.in > li:nth-child(2) { transition-delay: .1s; }
.pv-cards.in > :nth-child(3), .pv-list.in > li:nth-child(3), .pv-steps.in > li:nth-child(3) { transition-delay: .2s; }
.pv-cards.in > :nth-child(4), .pv-list.in > li:nth-child(4), .pv-steps.in > li:nth-child(4) { transition-delay: .3s; }
.pv-cards.in > :nth-child(5), .pv-list.in > li:nth-child(5), .pv-steps.in > li:nth-child(5) { transition-delay: .4s; }
.pv-cards.in > :nth-child(6), .pv-list.in > li:nth-child(6), .pv-steps.in > li:nth-child(6) { transition-delay: .5s; }
/* step connector draws itself */
.pv-steps li:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .9s .6s ease; }
.pv-steps.in li::after { transform: scaleX(1); }
.pv-steps.s1 { grid-template-columns: 1fr; max-width: 640px; }
.pv-steps.s1 li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px 22px; }
.pv-steps.s1 .pv-sn { grid-row: span 2; }
.pv-steps.s1 h3 { margin: 6px 0 0; } .pv-steps.s1 p { grid-column: 2; }
.pv-steps.s1 li::after { display: none; }

/* split sections: text one side, a big image the other */
.pv-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pv-split-r .pv-svis { order: -1; }
.pv-sh-l { justify-items: start; text-align: left; }
.pv-sh-l h2 { max-width: 18ch; }
.pv-sp-txt .pv-intro { text-align: left; margin-left: 0; }
.pv-sp-txt .pv-list, .pv-sp-txt .pv-cards, .pv-sp-txt .pv-steps { margin-left: 0; max-width: none; }
.pv-sp-txt .pv-cards.c1 { grid-template-columns: 1fr; }
.pv-svis { position: relative; margin: 0; width: min(100%, 520px); justify-self: center; }
.pv-svis .pv-card { aspect-ratio: 1 / 1; animation-duration: 8s; }

/* numbers band */
.pv-stats { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 56px) 0; background: linear-gradient(135deg, #fff2e2, #ffe6c9 50%, #fff4e6); border-top: 1px solid #f3dcc0; border-bottom: 1px solid #f3dcc0; }
.pv-stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(247, 134, 30, .2) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.pv-stats ul { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; }
.pv-stats li { margin: 0; padding: 4px 18px; text-align: center; border-left: 1px solid rgba(194, 94, 0, .18); }
.pv-stats li:first-child { border-left: 0; }
.pv-stats li::before { display: none; }
.pv-stats b { display: block; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #12212f; font-variant-numeric: tabular-nums; }
.pv-stats b span { color: #e56f06; }
.pv-stats small { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #5a6878; }

/* hero: live mini chart + slow rings */
.pv-mini { position: absolute; z-index: 2; left: 8%; bottom: -22px; display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #eee2d3, 0 22px 36px -18px rgba(40, 30, 20, .5); animation: pvFloat 7s ease-in-out -1s infinite; }
.pv-mini small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b7886; }
.pv-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.pv-bars i { width: 9px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #ffb867, #f7861e); animation: pvBar 2.4s ease-in-out infinite; transform-origin: bottom; }
.pv-bars i:nth-child(1) { height: 40%; } .pv-bars i:nth-child(2) { height: 62%; animation-delay: -.3s; } .pv-bars i:nth-child(3) { height: 48%; animation-delay: -.6s; }
.pv-bars i:nth-child(4) { height: 75%; animation-delay: -.9s; } .pv-bars i:nth-child(5) { height: 66%; animation-delay: -1.2s; } .pv-bars i:nth-child(6) { height: 88%; animation-delay: -1.5s; }
.pv-bars i:nth-child(7) { height: 100%; animation-delay: -1.8s; background: linear-gradient(180deg, #4ade80, #16a34a); }
@keyframes pvBar { 50% { transform: scaleY(.6); } }
.pv-ring { position: absolute; z-index: 0; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(247, 134, 30, .35); transform: translate(-50%, -50%); animation: pvSpin 40s linear infinite; pointer-events: none; }
.pv-ring.r2 { width: 132%; border: 1px solid rgba(247, 134, 30, .14); animation-duration: 70s; animation-direction: reverse; }
@keyframes pvSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* blog: reading progress + active TOC item + topic tiles */
.bl-prog { position: fixed; left: 0; right: 0; top: 0; z-index: 200; height: 3px; pointer-events: none; }
.bl-prog i { display: block; height: 100%; background: linear-gradient(90deg, #f7861e, #ffb867); transform: scaleX(0); transform-origin: left; }
.bl-toc a.on { background: #fff; color: #12212f; font-weight: 700; box-shadow: inset 3px 0 0 #f7861e, 0 6px 14px -10px rgba(60, 40, 20, .4); }
.bl-topics a { justify-content: flex-start; }
.bl-topics a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: #f7861e; box-shadow: 0 0 0 4px #fff1e2; margin-right: 4px; }
.bl-topics a span { margin-left: auto; }

@media (max-width: 1000px) {
  .pv-split { grid-template-columns: 1fr; }
  .pv-split-r .pv-svis { order: 0; }
  .pv-svis { width: min(100%, 420px); }
  .pv-stats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .pv-stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 640px) { .pv-mini, .pv-ring { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .pv-bars i, .pv-ring, .pv-mini { animation: none !important; }
  .js .pv-cards[data-reveal]:not(.in) > *, .js .pv-list[data-reveal]:not(.in) > li, .js .pv-steps[data-reveal]:not(.in) > li { opacity: 1; transform: none; }
  .pv-steps li::after { transform: none; }
}

.bl-hl { color: #f7861e; }

.pv-sp-txt > p { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: #4a5968; }
.pv-sp-txt > p a { color: #c25e00; font-weight: 700; text-decoration: none; }
