/* Finite, code-native editorial motion; no content depends on animation. */
.guides-listing .listing{max-width:1120px}
.listing-head{padding:38px 0 12px;max-width:790px}
.listing-head h1{font-size:clamp(2.2rem,5vw,3.65rem);letter-spacing:-.045em;line-height:1.12;margin:15px 0 20px}
.listing-head .eyebrow{display:flex;align-items:center;gap:12px}
.listing-head .eyebrow:before{content:"";width:28px;height:1px;background:var(--accent-2)}
.guides-listing .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:38px}
.guides-listing .card{overflow:hidden;min-width:0;background:linear-gradient(150deg,#111520,#0c101a)}
.guides-listing .card-link{padding:0 0 24px;height:100%;display:flex;flex-direction:column}
.guides-listing .card-link>h2,.guides-listing .card-link>p,.guides-listing .card-link>.byline,.guides-listing .card-link>.read{margin-left:24px;margin-right:24px}
.guides-listing .card h2{font-size:1.3rem;letter-spacing:-.02em;line-height:1.35;margin-top:23px}
.guides-listing .card-link>p{font-size:.92rem;line-height:1.7;margin-bottom:0}
.guides-listing .card .byline{font-size:.74rem;border:0;padding:0;margin-bottom:0;margin-top:20px}
.guides-listing .card .read{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:20px}
.guide-motion{margin:0 0 32px;--guide-color:#a89aff}
.guide-motion-stage{position:relative;overflow:hidden;isolation:isolate;border:1px solid rgba(167,159,218,.18);border-radius:20px;background:radial-gradient(ellipse at 18% 20%,#211d3d 0%,transparent 60%),linear-gradient(130deg,#121725,#0c111c);color:var(--guide-color)}
.gv-grid{position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(#5f618e33 1px,transparent 1px),linear-gradient(90deg,#5f618e33 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(#000,transparent)}
.guide-motion-stage>svg{width:100%;height:auto;display:block;overflow:visible}
.gv-top,.gv-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 27px}
.gv-top{padding-bottom:0;font-size:.64rem;letter-spacing:.13em;text-transform:uppercase;font-weight:600}
.gv-edition{color:#9498ac;letter-spacing:.15em;font-weight:400}
.gv-bottom{padding-top:0;color:#d3d5e1;font-size:.84rem;line-height:1.45}
.gv-panel{fill:#151c2c;stroke:#394158;stroke-width:1.2}
.gv-soft{fill:currentColor;fill-opacity:.13}.gv-day{fill:#293145}
.gv-line{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.gv-muted-line{fill:none;stroke:#4b546c;stroke-width:2;stroke-linecap:round}
.gv-connector{stroke:currentColor;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:0;opacity:.6}
.gv-trace{stroke-dasharray:1;stroke-dashoffset:0}
.gv-label{font:500 14px Inter,system-ui,sans-serif;fill:#d9dce9}
.gv-heading{font:500 15px Inter,system-ui,sans-serif;fill:#d9dce9}
.gv-small{font:500 11px Inter,system-ui,sans-serif;fill:#a7adc1;letter-spacing:.7px}
.gv-bar{fill:currentColor;opacity:.65;transform-box:fill-box;transform-origin:center bottom}
.gv-bar:nth-of-type(2){opacity:.85}
.gv-scan{stroke:currentColor;stroke-width:2;opacity:0}
.guide-motion figcaption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 2px 0;font-size:.69rem;color:#a5a9bd;line-height:1.55}
.guide-replay{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#c4b9ff;font:inherit;cursor:pointer;flex-shrink:0}
.guide-replay[hidden]{display:none}.guide-replay:hover{border-color:#49425e;background:#191626}.guide-replay svg{width:14px;height:14px}
.guide-motion--compact{margin:0;width:100%}.guide-motion--compact .guide-motion-stage{border:0;border-bottom:1px solid var(--border);border-radius:0}
.guide-motion--compact .gv-top{padding:22px 24px 0}.guide-motion--compact .gv-bottom{font-size:.72rem;padding:0 24px 20px}
.guide-motion--compact .gv-label{font-size:16px}.guide-motion--compact .gv-heading{font-size:17px}
.reading-progress{position:fixed;top:63px;left:0;right:0;height:2px;z-index:60;pointer-events:none;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#6d5dfb,#c3b4ff)}
.article-toc a[aria-current="location"]{color:#fff;text-decoration:underline;text-underline-offset:4px}
.prose h2{letter-spacing:-.025em}.sources,.cta-card,.table-wrap{isolation:isolate}
@keyframes guide-enter{from{opacity:.5;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes guide-step{from{opacity:.25;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes guide-trace{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes guide-car{from{translate:-18px 0}to{translate:0 0}}
@keyframes guide-paper{from{translate:0 12px}to{translate:0 0}}
@keyframes guide-lens{0%{translate:-50px 0;opacity:.4}65%{translate:6px 0;opacity:1}100%{translate:0 0;opacity:1}}
@keyframes guide-bar{from{transform:scaleY(.1);opacity:.2}to{transform:scaleY(1);opacity:.7}}
@keyframes guide-scan{0%{translate:0 0;opacity:0}15%{opacity:.9}85%{opacity:.9}100%{translate:0 175px;opacity:0}}
@keyframes guide-date{0%{fill-opacity:.13}45%{fill-opacity:.75}100%{fill-opacity:.25}}
@media(prefers-reduced-motion:no-preference){
  .guide-revealed{animation:guide-enter .6s cubic-bezier(.22,1,.36,1) both}
  .is-playing .gv-step{animation:guide-step .65s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(.35s + var(--step)*.25s)}
  .is-playing .gv-trace{animation:guide-trace .7s ease both;animation-delay:calc(.6s + var(--step,0)*.25s)}
  .is-playing .gv-car{animation:guide-car 1s cubic-bezier(.22,1,.36,1) both}
  .is-playing .gv-paper,.is-playing .gv-calendar{animation:guide-paper .8s ease both}
  .is-playing .gv-lens{animation:guide-lens 1.7s cubic-bezier(.22,1,.36,1) both}
  .is-playing .gv-bar{animation:guide-bar 1s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(.55s + var(--step)*.22s)}
  .is-playing .gv-scan{animation:guide-scan 1.65s ease .2s both}
  .is-playing .gv-date{animation:guide-date 1.2s ease both;animation-delay:calc(.4s + var(--step)*.3s)}
  .guide-replay,.btn,.header-nav a.cta{transition:background .2s,border-color .2s,transform .2s}
  @media(hover:hover) and (pointer:fine){
    .guides-listing .card{transition:transform .3s,border-color .3s,box-shadow .3s}
    .guides-listing .card:hover{transform:translateY(-5px);border-color:#635881;box-shadow:0 14px 38px #0003}
    .guides-listing .card .read span{transition:transform .25s}.guides-listing .card:hover .read span{transform:translateX(5px)}
    .btn:hover,.header-nav a.cta:hover{transform:translateY(-2px)}
  }
}
@media(prefers-reduced-motion:reduce){
  .guide-motion *,.guide-revealed,.card,.card *,.btn,.header-nav a.cta{animation:none!important;transition:none!important;translate:none!important}
  .guide-replay{display:none!important}.gv-scan{display:none}.gv-bar{transform:none!important}.card:hover{transform:none!important}
}
@media(max-width:680px){.guides-listing .card-grid{grid-template-columns:1fr;gap:20px}.listing-head{padding-top:26px}.listing-head h1{font-size:2.4rem}.guide-motion-stage{border-radius:16px}.gv-top{padding:18px 18px 0;font-size:.6rem}.gv-bottom{padding:0 18px 18px;font-size:.73rem}.guide-motion figcaption{font-size:.65rem}.gv-label{font-size:17px}.gv-heading{font-size:17px}.gv-small{font-size:13px}}
@media print{.guide-motion,.reading-progress{display:none!important}.guide-revealed{animation:none!important;opacity:1!important;transform:none!important}}
