/* Only integration/layout fixes; original pro.css and custom.css are unchanged. */
/* Original navigation is fixed; leave enough space on non-home routes. */
body .km-route{padding-top:8rem;overflow-anchor:none}
@media(max-width:767px){body .km-route{padding-top:6rem}}
[hidden]{display:none!important}html{scroll-behavior:smooth}body{color:#fff}a{color:inherit}.logo{text-decoration:none;gap:.6rem;font-size:1.5rem;font-weight:700}.logo img[hidden]{display:none}
.km-route{min-height:65vh;padding-top:4rem;padding-bottom:5rem}.km-heading{margin-bottom:2rem;font-weight:700}.km-status{color:#adb5bd;padding:1.5rem;text-align:center;width:100%}.km-toolbar{display:flex;gap:1rem;margin:2rem 0}.km-toolbar>*{flex:1;min-width:0}
.km-review{padding:1.5rem;border:1px solid #ffffff12;background:#0c1015;border-radius:12px;height:100%}.km-stars{color:#ffd700;margin-bottom:1rem}.km-review-reply{border-top:1px solid #ffffff16;margin-top:1rem;padding-top:1rem}.km-community-placeholder{padding:5rem 1rem;text-align:center;color:#adb5bd}
.km-cart-row{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap;padding:1.5rem;border:1px solid #ffffff12;border-radius:12px;margin-bottom:1rem;background:#0c1015}.km-cart-row>img{width:100px;height:70px;object-fit:cover;border-radius:8px}.km-cart-name{flex:1;min-width:150px}.km-cart-name small{display:block;color:#adb5bd}.km-quantity{width:100px}.km-total{font-size:1.5rem;font-weight:600;margin-top:2rem}.km-checkout{max-width:560px;display:grid;gap:1rem;padding:2rem;border:1px solid #ffffff18;border-radius:12px}.km-error{color:#ffaaaa}.km-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.km-product-image{width:100%;height:100%;object-fit:contain}.km-thumbnails{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.km-thumb{padding:0;border:1px solid #ffffff30;border-radius:8px;background:none;overflow:hidden}.km-thumb img{width:72px;height:50px;object-fit:cover}.km-product-reviews{margin-top:4rem}.pp-form-panel .km-quantity{margin:0 0 1.5rem}.km-toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);z-index:2000;background:#122536;border:1px solid #11c8ff80;color:#fff;border-radius:10px;padding:1rem 1.5rem;box-shadow:0 10px 40px #0008}.km-skip{position:fixed;top:-100px;left:1rem;z-index:9999;padding:1rem;background:#111}.km-skip:focus{top:1rem}:focus-visible{outline:2px solid #11c8ff;outline-offset:4px}.pp-image-wrap{min-height:250px}.form-control,.form-select{background-color:#10151c;color:#fff;border-color:#ffffff25}.form-control:focus,.form-select:focus{background-color:#10151c;color:#fff}.km-review p{overflow-wrap:anywhere}.km-route .btn{white-space:normal}
@media(max-width:767px){.km-toolbar{flex-direction:column}.km-route{padding-top:2rem}.km-checkout{padding:1rem}.km-cart-row{gap:.75rem;padding:1rem}.km-cart-row>img{width:65px;height:50px}.km-cart-row .current-price{font-size:1rem}.km-cart-row .km-error{flex-basis:100%}.logo{font-size:1.2rem}.km-total{font-size:1.25rem}}
html[data-nx-motion="off"]{scroll-behavior:auto}html[data-nx-motion="off"] *,html[data-nx-motion="off"] *::before,html[data-nx-motion="off"] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}

.km-discord-section{padding-top:4rem;padding-bottom:4rem}.km-discord-review-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.km-discord-source{font-size:.875rem;color:#aab3ff;border:1px solid #5865f255;border-radius:20px;padding:.2rem .65rem}.km-discord-text{white-space:pre-wrap;overflow-wrap:anywhere}.km-discord-review time,.km-discord-attachment,.km-discord-original{display:block;margin-top:.75rem}.km-discord-original{color:var(--cl-accent)}.km-discord-actions{text-align:center;margin:1rem 0}

.km-review-image-link{display:block;overflow:hidden;border-radius:10px;border:1px solid #ffffff20;background:#070b10}.km-review-image{display:block;width:100%;height:auto;max-height:320px;object-fit:contain}.km-review-stars{font-size:1.35rem;letter-spacing:.15em}.hero-stat-rating{color:inherit}

/* Reviews flow independently: text-only cards never stretch to image cards. */
.km-reviews-grid{columns:3;column-gap:1.5rem}
.km-review-item{display:inline-block;width:100%;margin:0 0 1.5rem;break-inside:avoid;vertical-align:top}
.km-discord-review{height:auto;min-width:0;padding:1.5rem;overflow:hidden}
.km-discord-review-header{margin-bottom:.6rem;line-height:1.4;overflow-wrap:anywhere}
.km-discord-review .km-review-stars{font-size:1.15rem;line-height:1.25;letter-spacing:.12em;margin:0 0 .9rem}
.km-discord-review .km-discord-text{font-size:1rem;line-height:1.65;margin:0}
.km-discord-review .km-review-image-link{margin-top:1rem}
.km-discord-review .km-review-image{width:100%;max-height:280px;height:auto;object-fit:contain}
.km-review-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;border-top:1px solid #ffffff0d;margin-top:1.15rem;padding-top:.85rem;font-size:.8rem;line-height:1.5}
.km-review-footer time,.km-review-footer .km-discord-original{margin:0}
.km-review-footer .km-discord-original{font-size:inherit;text-decoration:none}
.km-review-footer .km-discord-original:hover{text-decoration:underline}
.km-discord-section{scroll-margin-top:110px}
@media(max-width:991px){.km-reviews-grid{columns:2;column-gap:1rem}.km-review-item{margin-bottom:1rem}}
@media(max-width:575px){.km-reviews-grid{columns:1}.km-discord-review{padding:1.25rem}.km-discord-review .km-review-image{max-height:300px}}

.km-discord-review-header{justify-content:flex-start;gap:.75rem}.km-review-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#203040;color:#c8e7ff;font-size:.8rem;font-weight:600}.km-review-avatar img{display:block;width:100%;height:100%;object-fit:cover}.km-discord-review-header strong{min-width:0}

/* Why Choose Us: scoped reveal, light-following hover and animated artwork. */
#features.why-effects .easy-bento-card{opacity:0;transform:translateY(22px);transition:opacity .65s ease var(--why-delay,0ms),transform .65s cubic-bezier(.22,1,.36,1) var(--why-delay,0ms),border-color .3s,box-shadow .3s}
#features.why-effects .easy-bento-card.why-visible{opacity:1;transform:translateY(0)}
#features .easy-bento-card::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(320px circle at var(--why-x,50%) var(--why-y,50%),#11c8ff16,transparent 75%);opacity:0;transition:opacity .35s}
#features .easy-percentage-text{font-variant-numeric:tabular-nums}
#features .easy-card-inner,#features .easy-card-split{position:relative;z-index:1}
#features .easy-icon-circle{position:relative;overflow:hidden}
#features .easy-icon-circle::after{content:'';position:absolute;inset:-30% 0;pointer-events:none;background:linear-gradient(transparent 44%,#11c8ff55 50%,transparent 56%);transform:translateY(-80%);opacity:0}
#features .easy-support-badge{transition:transform .45s ease,filter .45s ease}
#features .easy-chart-svg{transition:filter .4s ease,transform .5s ease;transform-origin:bottom center}
@media(hover:hover) and (pointer:fine){
 #features.why-effects .easy-bento-card.why-visible:hover{transform:translateY(-6px);transition-delay:0ms;border-color:#11c8ff66;box-shadow:0 14px 40px #0005,0 0 24px #11c8ff0d}
 #features .easy-bento-card:hover::after{opacity:1}
 #features .easy-card-secure:hover .easy-icon-circle::after{opacity:1;animation:why-scan 2.4s ease-in-out infinite}
 #features .easy-bento-card:hover .easy-support-badge{transform:translateY(-5px) scale(1.06);filter:drop-shadow(0 0 14px #11c8ff66)}
 #features .easy-card-fast:hover .easy-chart-svg{filter:drop-shadow(0 0 8px #11c8ff44);transform:scaleY(1.04)}
}
@keyframes why-scan{0%{transform:translateY(-80%)}70%,100%{transform:translateY(80%)}}
html[data-nx-motion="off"] #features.why-effects .easy-bento-card{opacity:1;transform:none!important;transition:none!important}html[data-nx-motion="off"] #features .easy-bento-card::after,html[data-nx-motion="off"] #features .easy-icon-circle::after{display:none}html[data-nx-motion="off"] #features .easy-support-badge,html[data-nx-motion="off"] #features .easy-chart-svg{transform:none!important;filter:none!important;transition:none}


/* Continuous Touch ID scan; movement pauses outside the visible section. */
#features .easy-card-secure .easy-icon-circle::after{display:none}
#features .easy-fingerprint-svg path.easy-svg-primary{animation:why-touch-scan 3.2s ease-in-out infinite;animation-play-state:paused;filter:drop-shadow(0 0 5px #11c8ff80)}
#features .easy-fingerprint-svg path.easy-svg-muted{animation:why-touch-glow 3.2s ease-in-out infinite;animation-play-state:paused}
#features .easy-card-secure .easy-icon-circle::before{animation:why-touch-ring 3.2s ease-in-out infinite;animation-play-state:paused}
#features.why-running .easy-fingerprint-svg path,#features.why-running .easy-card-secure .easy-icon-circle::before{animation-play-state:running}
@keyframes why-touch-scan{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes why-touch-glow{0%,100%{color:#ffffff47}50%{color:#58c7e5a6}}
@keyframes why-touch-ring{0%,100%{border-color:#ffffff0a;box-shadow:0 0 0 0 #11c8ff00}50%{border-color:#11c8ff55;box-shadow:0 0 20px 3px #11c8ff0d}}
html[data-nx-motion="off"] #features .easy-fingerprint-svg path,html[data-nx-motion="off"] #features .easy-card-secure .easy-icon-circle::before{animation:none!important;transform:none!important;filter:none!important}

.km-programs{max-width:1120px;margin:0 auto;padding:1rem 0 2rem}
.km-programs-intro{max-width:740px;text-align:center;margin:0 auto 3rem}
.km-programs-eyebrow{font-size:.72rem;letter-spacing:.16em;color:#6cd5f5;border:1px solid #11c8ff30;border-radius:30px;padding:.5rem .85rem;display:inline-block;margin-bottom:1.5rem}
.km-programs-intro h1{font-size:clamp(2rem,4vw,3.4rem);font-weight:700;letter-spacing:-.045em;line-height:1.15;margin-bottom:1.25rem;text-wrap:balance}
.km-programs-intro p{color:#a4afbd;line-height:1.8;font-size:1rem}
.km-programs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.km-program-card{display:flex;flex-direction:column;padding:2rem;border:1px solid #ffffff14;border-radius:20px;background:radial-gradient(ellipse at 0 0,#11c8ff0d,transparent 70%),#0c1016;transition:border-color .3s,transform .3s}
.km-program-card:hover{border-color:#11c8ff55;transform:translateY(-4px)}
.km-program-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}
.km-program-icon{display:grid;place-items:center;width:52px;height:52px;border:1px solid #11c8ff30;border-radius:14px;background:#11c8ff0c;color:#6cd5f5;font-size:1.6rem}
.km-program-number{color:#ffffff24;font-size:1.5rem;font-weight:600}
.km-program-tag{font-size:.65rem;letter-spacing:.16em;color:#7bcce6}
.km-program-body h2{font-size:2rem;font-weight:650;letter-spacing:-.035em;margin:.5rem 0 1rem}
.km-program-description{color:#a4afbd;line-height:1.85;font-size:.93rem;min-height:7.2em}
.km-program-body h3{font-size:.85rem;font-weight:600;margin:1.5rem 0 1rem;color:#dce5ee}
.km-program-list{padding:0;list-style:none;margin:0 0 2rem}
.km-program-list li{display:flex;gap:.65rem;color:#aab9c8;font-size:.86rem;line-height:1.7;margin:.65rem 0}
.km-program-list li::before{content:'✓';color:#69c9e9;flex:none}
.km-program-action{margin-top:auto;padding:.9rem 1rem;border-radius:10px;font-size:.88rem;white-space:normal;text-align:center}
.km-program-note{font-size:.72rem;color:#7e8c9c;text-align:center;margin:1rem 0 0;line-height:1.65}
.km-program-process{margin-top:4rem;border-top:1px solid #ffffff12;padding-top:3rem}
.km-program-process>h2{font-size:1.6rem;font-weight:600;margin-bottom:2rem}
.km-program-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.km-program-step>span{color:#52bfdc;font-size:.75rem;letter-spacing:.08em}
.km-program-step h3{font-size:1rem;margin:.75rem 0;font-weight:600}
.km-program-step p{font-size:.85rem;color:#96a5b6;line-height:1.8}
.km-program-disclaimer{font-size:.75rem;color:#718194;margin:2rem 0 0;line-height:1.8}
@media(max-width:767px){.km-programs-grid,.km-program-steps{grid-template-columns:1fr}.km-program-card{padding:1.5rem}.km-programs-intro{margin-bottom:2rem}.km-program-description{min-height:0}.km-program-top{margin-bottom:1.5rem}.km-program-process{margin-top:2.5rem;padding-top:2rem}.km-program-steps{gap:1rem}.km-program-card:hover{transform:none}}
html[data-nx-motion="off"] .km-program-card{transform:none!important;transition:none}

/* Official Nexly Discord widget, sized to fit its community column. */
.community-right{width:350px;max-width:100%}.community-iframe-wrapper iframe[data-discord-widget]{width:100%;height:500px;border:0}.community-iframe-wrapper{background:#23272a}@media(max-width:767px){.community-right{width:100%}}

/* Use the original Nexly N as the first letter of the wordmark. */
.main-header .logo.nx-wordmark,.footer-logo.nx-wordmark{display:inline-flex;align-items:center;gap:0;text-decoration:none!important;color:#fff;isolation:isolate}
.nx-wordmark .nx-wordmark-symbol{display:block;position:relative;width:35px;height:32px;overflow:hidden;flex:0 0 35px;mix-blend-mode:screen}
.main-header .logo.nx-wordmark img,.footer-logo.nx-wordmark img{display:block;width:48px;height:32px;max-width:none;object-fit:contain;position:absolute;left:-7px;top:0;transition:none;transform:none}
.nx-wordmark .nx-wordmark-text{font-size:26px;font-weight:700;line-height:32px;letter-spacing:-.8px;color:#fff;background:none;-webkit-text-fill-color:#fff}
.nx-wordmark:focus-visible{outline:2px solid #8ec9ff;outline-offset:5px;border-radius:4px}
@media(max-width:480px){.main-header .logo.nx-wordmark{margin-right:1rem}.main-header .nx-wordmark .nx-wordmark-text{font-size:23px}}

.nx-motion-control{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px;font-size:11px;color:#91a0b2}
.nx-motion-toggle{font:inherit;font-size:11px;padding:6px 10px;border:1px solid #ffffff24;border-radius:20px;background:#0a1420;color:#b9d9ed;cursor:pointer}
.nx-motion-toggle:hover{border-color:#65caff;color:white}
.nx-motion-toggle:focus-visible{outline:2px solid #79cfff;outline-offset:4px}
