.program-library-page { background: #fff; }
.program-library-page .site-header nav a.active { opacity: 1; }
.program-library-page .site-header nav a.active::after { content: ''; display: block; height: 1px; margin-top: 6px; background: var(--blue); }

.library-hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(circle at 84% 38%,rgba(22,111,201,.22),transparent 34%),linear-gradient(118deg,#02050a 0%,#050b14 55%,#071629 100%); color: white; }
.library-hero::before { content: ''; position: absolute; inset: 0; opacity: .12; 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: 72px 72px; mask-image: linear-gradient(90deg,transparent 30%,black); }
.library-hero-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(2,5,10,.92) 0%,rgba(2,5,10,.66) 43%,transparent 67%),linear-gradient(0deg,rgba(2,5,10,.78),transparent 32%); }
.library-hero-copy { width: min(570px,44vw); position: relative; z-index: 3; margin-left: max(32px,calc((100vw - 1240px)/2)); padding: calc(var(--header-height) + 62px) 0 68px; animation: heroReveal .85s .1s cubic-bezier(.2,.8,.2,1) both; }
.library-hero h1 { max-width: 660px; margin: 22px 0 0; font-size: clamp(58px,7vw,104px); line-height: .86; letter-spacing: -.072em; text-transform: uppercase; }
.library-hero h1 em { color: var(--blue); font-family: Georgia,serif; font-weight: 400; text-transform: none; }
.library-hero-copy > p:not(.hero-brand) { max-width: 520px; margin: 27px 0 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.65; }
.library-price { margin-top: 32px; display: flex; align-items: center; gap: 18px; }
.library-price strong { font-size: 53px; line-height: .8; letter-spacing: -.06em; }
.library-price span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.56); font-size: 8px; font-weight: 900; letter-spacing: .13em; line-height: 1.7; }
.library-hero-actions { margin-top: 30px; display: flex; gap: 12px; }
.launch-status { margin-top: 22px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.launch-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(59,167,255,.12); }
.library-principle { position: absolute; z-index: 2; right: 32px; bottom: 24px; margin: 0; color: rgba(255,255,255,.38); font-size: 8px; font-weight: 900; letter-spacing: .2em; }
.library-principle span { color: var(--blue); }

.library-product-stage { position: absolute; z-index: 2; top: calc(var(--header-height) + 70px); right: max(20px,calc((100vw - 1390px)/2)); bottom: 70px; width: min(55vw,790px); perspective: 1500px; animation: productStageIn 1s .2s cubic-bezier(.2,.8,.2,1) both; }
.library-product-glow { position: absolute; inset: 8% 0 0 12%; border-radius: 50%; background: rgba(34,148,255,.28); filter: blur(110px); }
.library-product-shell { position: absolute; inset: 4% 0 5% 3%; overflow: hidden; border: 1px solid rgba(148,199,255,.25); border-radius: 18px; background: rgba(7,13,22,.92); box-shadow: 0 45px 120px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.03) inset; transform: rotateY(-4deg) rotateX(1deg); transform-origin: right center; backdrop-filter: blur(24px); }
.product-topbar { height: 58px; display: grid; grid-template-columns: 1fr auto 34px; align-items: center; gap: 18px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(11,20,33,.85); }
.product-brand { display: flex; align-items: center; gap: 9px; }
.product-brand span { color: var(--blue); font-size: 20px; font-weight: 950; letter-spacing: -.07em; }
.product-brand b,.product-top-status { font-size: 7px; letter-spacing: .16em; }
.product-top-status { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.48); font-weight: 900; }
.product-top-status i { width: 5px; height: 5px; border-radius: 50%; background: #50d49c; box-shadow: 0 0 10px #50d49c; }
.product-avatar { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(59,167,255,.45); border-radius: 50%; color: var(--blue); font-size: 8px; font-weight: 950; }
.product-workspace { height: calc(100% - 58px); display: grid; grid-template-columns: 155px 1fr; }
.product-sidebar { display: flex; flex-direction: column; padding: 25px 14px 16px; border-right: 1px solid rgba(255,255,255,.07); background: rgba(3,8,14,.55); }
.product-sidebar p,.product-program-heading p,.product-session-heading p { margin: 0; color: rgba(255,255,255,.35); font-size: 6px; font-weight: 900; letter-spacing: .16em; }
.product-sidebar strong { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 11px 8px; border-radius: 7px; color: rgba(255,255,255,.45); font-size: 8px; font-weight: 750; }
.product-sidebar strong i { color: rgba(255,255,255,.25); font-size: 6px; font-style: normal; }
.product-sidebar strong.active { color: white; background: rgba(59,167,255,.12); box-shadow: inset 2px 0 var(--blue); }
.product-sidebar strong.active i { color: var(--blue); }
.product-sidebar small { margin-top: auto; padding: 15px 8px 4px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.25); font-size: 5px; font-weight: 900; letter-spacing: .11em; }
.product-main { min-width: 0; padding: clamp(22px,3vw,40px); }
.product-program-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.product-program-heading h2 { margin: 7px 0 0; font-size: clamp(28px,3.2vw,48px); line-height: .86; letter-spacing: -.065em; text-transform: uppercase; }
.product-program-heading > span { padding: 7px 9px; border: 1px solid rgba(59,167,255,.3); border-radius: 20px; color: var(--blue); font-size: 6px; font-weight: 900; letter-spacing: .12em; }
.product-progress { margin-top: 22px; }
.product-progress > div:first-child { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 6px; font-weight: 900; letter-spacing: .1em; }
.product-progress b { color: rgba(255,255,255,.7); }
.product-progress-track { height: 3px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.1); }
.product-progress-track i { display: block; width: 33%; height: 100%; background: linear-gradient(90deg,#168ee7,#62b9ff); box-shadow: 0 0 12px rgba(59,167,255,.8); animation: progressIn 1.3s .8s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
.product-session { margin-top: 24px; padding: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.025); }
.product-session-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.product-session-heading h3 { margin: 7px 0 0; font-size: clamp(14px,1.5vw,22px); letter-spacing: -.035em; }
.product-session-heading > span { color: rgba(255,255,255,.38); font-size: 6px; font-weight: 900; letter-spacing: .12em; }
.product-session ol { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.07); }
.product-session li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.product-session li > i { color: var(--blue); font-size: 6px; font-style: normal; font-weight: 900; }
.product-session li > span { min-width: 0; overflow: hidden; color: rgba(255,255,255,.82); font-size: 8px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.product-session li small { display: block; margin-top: 3px; color: rgba(255,255,255,.27); font-size: 5px; letter-spacing: .1em; }
.product-session li > b { color: rgba(255,255,255,.6); font-size: 7px; }
.product-session button { width: 100%; margin-top: 16px; display: flex; justify-content: space-between; padding: 12px 14px; border: 0; border-radius: 6px; background: var(--blue); color: #03101c; font: inherit; font-size: 7px; font-weight: 950; letter-spacing: .12em; pointer-events: none; }
.product-complete-signal { position: absolute; right: -6px; bottom: 0; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(101,204,163,.25); border-radius: 10px; background: rgba(6,15,23,.92); box-shadow: 0 22px 50px rgba(0,0,0,.45); animation: signalIn .65s 1.2s cubic-bezier(.2,.8,.2,1) both; backdrop-filter: blur(16px); }
.product-complete-signal > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(80,212,156,.12); color: #50d49c; font-size: 11px; font-style: normal; }
.product-complete-signal span { color: rgba(255,255,255,.38); font-size: 6px; line-height: 1.5; }
.product-complete-signal b { display: block; color: white; font-size: 7px; letter-spacing: .08em; }

@keyframes productStageIn { from { opacity: 0; transform: translate3d(60px,20px,0) scale(.96); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes progressIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes signalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.library-intro { padding: 118px 0 135px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.library-intro h2,.library-experience h2,.opening-library h2,.membership-boundary h2,.library-membership h2 { margin: 20px 0 0; font-size: clamp(48px,5.5vw,78px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.library-intro h2 span,.library-experience h2 span,.opening-library h2 span,.membership-boundary h2 span,.library-membership h2 span { color: #188fe6; }
.library-intro-copy > p { margin: 0; max-width: 660px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.library-intro-copy dl { margin: 42px 0 0; display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-light); }
.library-intro-copy dl div { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line-light); }
.library-intro-copy dl div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-light); }
.library-intro-copy dt { font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.library-intro-copy dd { margin: 9px 0 0; color: #66717d; font-size: 12px; line-height: 1.5; }

.library-experience { padding: 112px 0 135px; overflow: hidden; background: var(--navy-section); color: white; }
.library-experience-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(70px,10vw,150px); }
.library-experience header { position: sticky; top: 125px; align-self: start; }
.library-experience h2 span,.membership-boundary h2 span { color: var(--blue); }
.library-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.library-steps li { min-height: 180px; display: grid; grid-template-columns: 58px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
.library-steps li > span { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(59,167,255,.48); border-radius: 50%; color: var(--blue); font-size: 11px; font-weight: 950; }
.library-steps strong { display: block; padding-top: 5px; font-size: clamp(22px,2.2vw,31px); letter-spacing: -.035em; }
.library-steps p { max-width: 590px; margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.65; }

.opening-library { padding: 118px 0 140px; }
.opening-heading { display: grid; grid-template-columns: .35fr 1fr .62fr; gap: 55px; align-items: end; }
.opening-heading h2 { margin: 0; }
.opening-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.program-rows { margin-top: 75px; border-top: 1px solid var(--line-light); }
.program-rows article { min-height: 160px; display: grid; grid-template-columns: 130px 1fr auto; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-light); }
.program-rows article > span { align-self: start; padding-top: 7px; color: #188fe6; font-size: 8px; font-weight: 950; letter-spacing: .15em; }
.program-rows h3 { margin: 0; font-size: clamp(27px,3vw,43px); letter-spacing: -.045em; }
.program-rows p { max-width: 690px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.program-rows article > strong { color: #77828e; font-size: 8px; letter-spacing: .14em; }

.membership-boundary { padding: 105px 0 120px; background: var(--midnight); color: white; }
.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.boundary-list p { margin: 0; padding: 21px 0; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.65; }
.boundary-list p b { display: block; margin-bottom: 7px; color: white; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.boundary-list a { display: block; padding: 22px 0; border-block: 1px solid var(--line-dark); color: var(--blue); font-size: 9px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.boundary-list a span { float: right; }

.library-membership { padding: 118px 0 145px; display: grid; grid-template-columns: 1fr .85fr; gap: clamp(70px,10vw,145px); align-items: start; }
.membership-copy > p:last-child { max-width: 570px; margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.membership-offer { padding-top: 10px; }
.membership-price { display: flex; align-items: flex-end; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid var(--line-light); }
.membership-price strong { font-size: clamp(76px,9vw,124px); line-height: .72; letter-spacing: -.08em; }
.membership-price span { color: #697580; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.membership-offer ul { margin: 24px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.membership-offer li { padding: 15px 0; border-bottom: 1px solid var(--line-light); color: #4f5b67; font-size: 13px; }
.membership-offer li::before { content: '✓'; margin-right: 12px; color: #188fe6; font-weight: 950; }
.membership-offer .button { width: 100%; }
.membership-offer .button:disabled { cursor: not-allowed; filter: saturate(.45); opacity: .72; transform: none; }
.membership-offer > small { display: block; margin-top: 13px; color: #7d8791; font-size: 9px; line-height: 1.55; text-align: center; }

@media (max-width:960px) {
  .library-hero-copy { width: min(48vw,500px); margin-left: 22px; }
  .library-product-stage { right: -65px; width: 58vw; }
  .library-intro,.library-experience-inner,.boundary-grid,.library-membership { grid-template-columns: 1fr; gap: 62px; }
  .library-experience header { position: static; }
  .opening-heading { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width:620px) {
  .library-hero { min-height: 1060px; align-items: flex-end; }
  .library-hero::before { mask-image: linear-gradient(0deg,transparent 18%,black); }
  .library-hero-overlay { background: linear-gradient(0deg,rgba(2,5,10,.99) 3%,rgba(2,5,10,.9) 53%,rgba(2,5,10,.08) 78%); }
  .library-product-stage { top: calc(var(--header-height) + 68px); right: -54px; bottom: auto; width: 116vw; height: 410px; transform: scale(.88); transform-origin: top center; }
  .library-product-stage { animation: none; opacity: 1; }
  .library-product-shell { inset: 0 0 7% 0; transform: rotateY(-3deg); }
  .product-workspace { grid-template-columns: 112px 1fr; }
  .product-sidebar { padding-inline: 9px; }
  .product-main { padding: 22px 18px; }
  .product-session { padding: 15px; }
  .product-complete-signal { right: 16px; }
  .library-hero-copy { width: calc(100vw - 42px); margin-left: 21px; padding: calc(var(--header-height) + 455px) 0 52px; }
  .library-hero h1 { max-width: 350px; font-size: 49px; }
  .library-hero-copy > p:not(.hero-brand) { font-size: 14px; }
  .library-hero-actions { max-width: 360px; flex-direction: column; }
  .library-hero-actions .button { width: 100%; }
  .library-principle { display: none; }
  .library-intro,.opening-library,.library-membership { padding: 78px 0 95px; }
  .library-experience,.membership-boundary { padding: 78px 0 95px; }
  .library-intro h2,.library-experience h2,.opening-library h2,.membership-boundary h2,.library-membership h2 { font-size: 43px; }
  .library-intro-copy > p { font-size: 16px; }
  .library-intro-copy dl { grid-template-columns: 1fr; }
  .library-intro-copy dl div:nth-child(even) { padding-left: 0; border-left: 0; }
  .library-steps li { min-height: 0; grid-template-columns: 50px 1fr; gap: 20px; }
  .library-steps li > span { width: 50px; height: 50px; }
  .program-rows { margin-top: 50px; }
  .program-rows article { min-height: 0; grid-template-columns: 1fr auto; gap: 18px; }
  .program-rows article > span { grid-column: 1 / -1; }
  .program-rows article > div { grid-column: 1 / -1; }
  .program-rows article > strong { grid-column: 1 / -1; }
}
