/* Membership product tour */
#directory { scroll-margin-top: 12px; }
.membership { --tour-blue: #c0d2ff; background: radial-gradient(ellipse at 50% 48%, #1e2553, #101426 53%, #080b14 82%); overflow: clip; }
.membership-inner { padding-block: clamp(52px, 6.2vw, 92px); }
.membership-head { margin-bottom: 25px; }
.membership-head h2 { font-size: clamp(39px, 6.4vw, 88px); }
.membership-head h2 span { background: linear-gradient(110deg, #e0eeff, #a49aff 85%); color: transparent; background-clip: text; }
.benefit-controls { position: relative; max-width: 1040px; margin: 0 auto 18px; }
.benefit-controls[hidden], .benefit-scene[hidden] { display: none; }
.benefit-choices { display: flex; justify-content: center; gap: clamp(8px, 2.3vw, 32px); padding: 0; perspective: 850px; }
.benefit-choices button { position: relative; display: grid; place-items: center; gap: 7px; min-width: 85px; padding: 7px 7px 13px; border: 0; border-radius: 12px; background: transparent; color: #c7cfe8; font: 650 13px/1.4 var(--sans); cursor: pointer; }
.benefit-choices button:hover, .benefit-choices button[aria-pressed="true"] { color: white; }
.benefit-choices button::after { content: ""; position: absolute; inset: auto 30% 3px; height: 2px; border-radius: 4px; background: #b7c7ff; transform: scaleX(0); transition: transform .26s ease; }
.benefit-choices button[aria-pressed="true"]::after { transform: scaleX(1); }
.benefit-icon { --icon-a: #405ed8; --icon-b: #93b5ff; position: relative; display: grid; place-items: center; width: clamp(48px, 6vw, 79px); aspect-ratio: 1; border: 1px solid #ffffff48; border-radius: 26%; background: radial-gradient(ellipse at 24% 14%, var(--icon-b), transparent 75%), linear-gradient(138deg, var(--icon-a), #131c4d); color: #fff; font-size: clamp(24px, 3.8vw, 43px); line-height: 1; text-shadow: 0 2px 12px #1725609e; box-shadow: inset 0 1px 4px #ffffff72, 0 8px 18px #0006; transform: translateY(0) scale(.92); transition: transform .45s cubic-bezier(.2,.9,.2,1.25), box-shadow .4s; }
.icon-skills { --icon-a: #6345b1; --icon-b: #b49fff; }
.icon-tools { --icon-a: #3539a9; --icon-b: #95a2ff; }
.icon-daily { --icon-a: #23659d; --icon-b: #97d9ff; }
.benefit-choices button:hover .benefit-icon, .benefit-choices button[aria-pressed="true"] .benefit-icon { transform: translateY(-4px) scale(1); box-shadow: inset 0 1px 4px #ffffff72, 0 10px 27px #6279ff65; }
.benefit-toggle { display: block; margin: 9px auto 0; padding: 4px 12px; background: #121a35; border: 1px solid #7384b264; border-radius: 999px; color: #e3eaff; font: 620 12px/1.55 var(--sans); cursor: pointer; }
.benefit-toggle:hover { background: #273663; }
.benefit-stage { max-width: 1040px; margin: 0 auto 23px; }
.benefit-scene { --light-a: #3455cf; --light-b: #8f85ff; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 24px; min-height: 308px; padding: 28px clamp(27px, 5.4vw, 68px); border: 1px solid #b7c9ff45; border-radius: clamp(19px, 3vw, 34px); background: radial-gradient(ellipse at 87% 107%, var(--light-a), #152046 45%, #10162d 76%); overflow: hidden; }
.benefit-scene + .benefit-scene:not([hidden]) { margin-top: 13px; }
.benefit-scene[data-benefit="skills"] { --light-a: #613db4; --light-b: #ad90f7; }
.benefit-scene[data-benefit="tools"] { --light-a: #4a49ba; --light-b: #a7b0ff; }
.benefit-scene[data-benefit="daily"] { --light-a: #2a719d; --light-b: #99dbff; }
.benefit-copy { position: relative; z-index: 2; }
.benefit-copy > span { color: var(--tour-blue); font-size: 13px; font-weight: 700; }
.benefit-copy h3 { margin: 6px 0 11px; color: #f5f7ff; font-size: clamp(25px, 3.05vw, 43px); line-height: 1.2; letter-spacing: -.045em; }
.benefit-copy p { max-width: 25em; color: #d4ddf7; font-size: 14px; line-height: 1.65; }
.benefit-copy a { display: inline-flex; margin-top: 15px; color: #d4e2ff; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
.benefit-art { display: grid; place-items: center; position: relative; min-width: 0; perspective: 1000px; padding: 16px 4px; }
.benefit-back { position: absolute; inset: 10% 1%; border: 1px solid #d8deff74; border-radius: 18px; background: linear-gradient(150deg, var(--light-b), #26388910 68%); transform: translate(10px,-13px) rotate(7deg) scale(.96); box-shadow: 0 0 40px #adbfff42; }
.benefit-window { position: relative; width: 100%; min-height: 204px; overflow: hidden; background: linear-gradient(140deg, #fafbff, #e8eeff); color: #192443; border: 1px solid #fff; border-radius: 17px; padding: 10px 12px 12px; box-shadow: 0 24px 45px #03062275; }
.benefit-window-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 6px 8px; font-size: 13px; font-weight: 750; border-bottom: 1px solid #dbe3f6; }
.benefit-window-title span { color: #365ebd; font-size: 18px; line-height: 1; }
.preview-case { display: flex; align-items: center; gap: 8px; min-height: 43px; margin-top: 5px; padding: 4px 8px; border-radius: 7px; background: #fff; font-size: clamp(10px, 1.22vw, 14px); }
.preview-case i { display: grid; place-items: center; width: 28px; aspect-ratio: 1; flex: none; background: #edf1ff; color: #3556a2; border-radius: 6px; font-style: normal; }
.preview-case small { display: block; color: #586888; font-size: 9px; line-height: 1.3; }
.preview-case em { margin-left: auto; color: #415b99; font-size: 10px; font-style: normal; }
.preview-track { display: flex; gap: 5px; align-items: center; margin: 12px 6px; }
.preview-track span { width: 34px; font-size: 10px; color: #3d4984; }
.preview-track i { flex: 1 0 12%; height: 13px; border-radius: 4px; background: linear-gradient(100deg, #9996ef, #a98af2); transform-origin: left; }
.preview-track i:nth-child(even) { flex-grow: 1.7; background: linear-gradient(100deg, #7eaff4, #8f95ef); }
.preview-file { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 6px; background: #fff; color: #484185; font: 700 11px/1.5 var(--sans); }
.preview-report { padding: 15px 8px; }
.preview-report b { display: block; max-width: 12.5em; font-size: clamp(20px, 2.6vw, 33px); line-height: 1.16; letter-spacing: -.04em; }
.preview-report div { display: flex; gap: 5px; margin-top: 11px; }
.preview-report span { padding: 3px 8px; border-radius: 999px; background: #dbe7ff; color: #354c7a; font-size: 10px; }
.benefit-intro .benefit-choices button { animation: dock-arrive .75s cubic-bezier(.19,1,.22,1) both; }
.benefit-intro .benefit-choices button:nth-child(2) { animation-delay: .09s; }
.benefit-intro .benefit-choices button:nth-child(3) { animation-delay: .18s; }
.benefit-intro .benefit-choices button:nth-child(4) { animation-delay: .27s; }
.benefit-scene.entering .benefit-copy { animation: benefit-copy-in .52s cubic-bezier(.18,.8,.2,1) both; }
.benefit-scene.entering .benefit-back { animation: benefit-layer .85s cubic-bezier(.2,.8,.18,1) both; }
.benefit-scene.entering .benefit-window { animation: benefit-window-in .74s cubic-bezier(.18,.8,.2,1) both; }
.benefit-scene.entering :is(.preview-case,.preview-track,.preview-file,.preview-report) { animation: benefit-copy-in .46s .24s cubic-bezier(.18,.8,.2,1) both; }
.benefit-scene.entering :is(.preview-case,.preview-track):nth-child(3) { animation-delay: .32s; }
.benefit-scene.entering :is(.preview-case,.preview-track):nth-child(4) { animation-delay: .4s; }
@keyframes dock-arrive { from { opacity: 0; transform: translate3d(0,24px,-150px) rotateX(28deg); } to { opacity: 1; transform: none; } }
@keyframes benefit-copy-in { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: none; } }
@keyframes benefit-layer { from { opacity: 0; transform: translate(1px,34px) rotate(-5deg) scale(.81); } to { opacity: 1; transform: translate(10px,-13px) rotate(7deg) scale(.96); } }
@keyframes benefit-window-in { from { opacity: .1; transform: translate3d(22px,24px,-180px) rotateY(-16deg); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .benefit-choices { gap: 0; }
  .benefit-choices button { min-width: 0; flex: 1; padding-inline: 2px; font-size: 11px; white-space: nowrap; }
  .benefit-scene { grid-template-columns: 1fr; gap: 12px; padding: 18px 17px 13px; }
  .benefit-copy h3 br { display: none; }
  .benefit-copy a { margin-top: 7px; }
  .benefit-art { padding: 12px 3px 6px; }
  .benefit-window { min-height: 178px; }
  .preview-case { min-height: 38px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .benefit-icon, .benefit-choices button::after { transition: none; }
}
