:root{color-scheme:dark}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.theme-toggle{display:block;position:relative;flex-shrink:0;width:37px;height:37px;padding:0;line-height:0;background:#b497de12;color:#c6b2e1;border-radius:50%;transition:background .3s ease,color .3s ease,transform .5s var(--ease)}
.theme-toggle:hover{background:#b497de25;transform:rotate(15deg)}
.theme-toggle svg{position:absolute;inset:0;margin:auto;display:block;width:18px;height:18px;stroke-width:1.6;transform-origin:center;transition:opacity .3s ease,transform .5s var(--ease)}
.theme-moon{opacity:0;transform:rotate(-35deg) scale(.5)}
html[data-theme="light"] .theme-sun{opacity:0;transform:rotate(35deg) scale(.5)}
html[data-theme="light"] .theme-moon{opacity:1;transform:none}
body,.header,.price-card,.profile-body,.faq details,dialog,.admin-panel,.stat-row,.footer{transition:background-color .4s ease,color .35s ease,box-shadow .4s ease}
html[data-theme="light"]{color-scheme:light;--bg:#f6f3fb;--panel:#fff;--text:#282135;--muted:#7f738d;--purple:#8963ce;--accent:#8252cd}
html[data-theme="light"] body{background:#f6f3fb;color:#282135}
html[data-theme="light"] .ambient{background:radial-gradient(ellipse at 80% 30%,#be9df526,transparent 65%)}
html[data-theme="light"] .header{background:#ffffffdf;box-shadow:0 10px 40px #55416b0d}
html[data-theme="light"] .header .brand .mentality-wordmark{color:#3d2b54;text-shadow:0 0 12px #a885d72b}
html[data-theme="light"] .brand:hover .mentality-wordmark{color:#8a59c5}
html[data-theme="light"] .header nav a{color:#81728d}
html[data-theme="light"] .header nav a.active{background:#eee5fc;color:#7042a7}
html[data-theme="light"] .header nav a:hover{background:#f2ecfa;color:#7543ac}
html[data-theme="light"] .theme-toggle{background:#f0e9f9;color:#8059b1}
html[data-theme="light"] .header .account-button{background:#ece2fa;color:#674391;box-shadow:none}
html[data-theme="light"] .hero:before{background:radial-gradient(ellipse at 50% 48%,#f6f3fbb8 0%,#f6f3fb75 38%,#f6f3fb08 76%),linear-gradient(180deg,#f6f3fb15 0%,#f6f3fb08 55%,#f6f3fb77 85%,#f6f3fb 100%),url('mental-world.webp') center 60%/cover}
html[data-theme="light"] .hero h1{color:#332440;text-shadow:none}
html[data-theme="light"] .hero .eyebrow{color:#7f5b9c}
html[data-theme="light"] .hero .version{background:#fff9;color:#795099}
html[data-theme="light"] .hero-description{color:#706079;text-shadow:none}
html[data-theme="light"] .hero-description .mentality-wordmark{color:#664487}
html[data-theme="light"] .hero-register{color:#715582}
html[data-theme="light"] .hero-notes,html[data-theme="light"] .hero-notes a{color:#877290;opacity:1}
html[data-theme="light"] .hero-notes b{color:#65427d}
html[data-theme="light"] .hero-wordmark,html[data-theme="light"] .text-shimmer{background-image:linear-gradient(110deg,#7950b6 0%,#7950b6 28%,#956ac5 37%,#b18ad8 44%,#bd9cde 50%,#b18ad8 56%,#956ac5 63%,#7950b6 72%,#7950b6 100%)}
html[data-theme="light"] .hero h1>.hero-dot,html[data-theme="light"] .round-dot{background:#9870ce}
html[data-theme="light"] .snowfall{opacity:.85;mix-blend-mode:normal;filter:none}
html[data-theme="light"] .button-primary,html[data-theme="light"] .hero .hero-actions .button,html[data-theme="light"] .cta-section .button{background:#9470cf;color:#fff;box-shadow:0 7px 24px #9f7bd323;text-shadow:none}
html[data-theme="light"] .button-primary:hover:not(:disabled),html[data-theme="light"] .hero .hero-actions .button:hover{background:#8259c1;box-shadow:0 9px 28px #a17cd338}
html[data-theme="light"] .button-outline{background:#eee6f7;color:#775195;text-shadow:none;box-shadow:none}
html[data-theme="light"] .button-outline:hover{background:#e4d7f2}
html[data-theme="light"] .section-heading .dim,html[data-theme="light"] .faq .dim{color:#9d7abb}
html[data-theme="light"] .section-heading>p,html[data-theme="light"] .story-features p{color:#8b7a97}
html[data-theme="light"] .story-features h3{color:#483354}
html[data-theme="light"] .story-features article:hover{background:#ede5f6}
html[data-theme="light"] .story-icon{background:#eae0f5;color:#9470bc}
html[data-theme="light"] .world-story{box-shadow:0 16px 45px #58406b15}
html[data-theme="light"] .story-copy h3{color:#f3ebff}
html[data-theme="light"] .story-copy p{color:#cbb8dc}
html[data-theme="light"] .cta-section{background:radial-gradient(ellipse at top right,#ddc9fa70,transparent 70%),#eee5f7;box-shadow:0 12px 35px #80619808}
html[data-theme="light"] .cta-section p{color:#8d779e}
html[data-theme="light"] .page-heading>p,html[data-theme="light"] .pricing-note{color:#8c789a}
html[data-theme="light"] .price-navigation{background:#ece4f5}
html[data-theme="light"] .price-navigation a{color:#947fa3}
html[data-theme="light"] .price-navigation a.active{background:#fff;color:#8056ac;box-shadow:0 3px 14px #7051840c}
html[data-theme="light"] .price-navigation a:hover:not(.active){background:#e4d8f0;color:#785094}
html[data-theme="light"] .price-subpage .price-card{background:linear-gradient(145deg,#fff,#faf7fe);box-shadow:0 10px 35px #6f4f9409}
html[data-theme="light"] .price-subpage .price-card::before{background:radial-gradient(ellipse at top,#cfb5ee30,transparent 75%)}
html[data-theme="light"] .price-subpage .price-card:hover{box-shadow:0 18px 45px #76539415}
html[data-theme="light"] .price-subpage .plan-top{color:#9875ac;background:#f4edf9}
html[data-theme="light"] .price-card h2.tariff-title{color:#45324f}
html[data-theme="light"] .tariff-slash{color:#bcabca}
html[data-theme="light"] .tariff-amount{color:#a08bab}
html[data-theme="light"] .price-card .tariff-description{color:#a28caf}
html[data-theme="light"] .price-subpage .price-card ul{color:#8b7798}
html[data-theme="light"] .price-subpage .price-card li::before{color:#ac8acb}
html[data-theme="light"] .price-subpage .price-card>.button{background:#eee6f8;color:#85609f;text-shadow:none;box-shadow:none}
html[data-theme="light"] .price-subpage .price-card>.button:hover:not(:disabled){background:#e4d6f2}
html[data-theme="light"] .price-subpage .lifetime-card{background:linear-gradient(150deg,#eee1fa,#faf4ff);box-shadow:0 12px 35px #b29ac51a}
html[data-theme="light"] .price-subpage .lifetime-card>.button{background:#9873cd;color:#fff}
html[data-theme="light"] .price-subpage .locked{background:#eeeaf3}
html[data-theme="light"] .price-subpage .locked .plan-top{background:#e8e1ee;color:#a08baa}
html[data-theme="light"] .price-subpage .locked h2{color:#8c7997}
html[data-theme="light"] .price-subpage .locked ul{color:#a391ad}
html[data-theme="light"] .price-subpage .locked .tariff-amount{color:#b3a0bc}
html[data-theme="light"] .price-subpage .locked>.button{background:#e4dce9;color:#ad9ab6}
html[data-theme="light"] .addon-info p,html[data-theme="light"] .addon-intro p{color:#96809f}
html[data-theme="light"] .addon-info #addon-eligibility{background:#eae1f2;color:#8e719f}
html[data-theme="light"] .faq details{background:#fff;box-shadow:0 6px 25px #81629b04}
html[data-theme="light"] .faq details:hover{background:#fdfaff}
html[data-theme="light"] .faq details[open]{background:linear-gradient(125deg,#f0e6fa,#fff);box-shadow:0 10px 30px #9d79ba0b}
html[data-theme="light"] .faq summary,html[data-theme="light"] .faq details[open] summary{color:#61456f}
html[data-theme="light"] .faq summary>span{background:#f0e7f8;color:#a083b7}
html[data-theme="light"] .faq details[open] summary>span{background:#e4d4f2;color:#9166af}
html[data-theme="light"] .faq details p,html[data-theme="light"] .faq-intro{color:#947f9f}
html[data-theme="light"] .faq a{color:#9368b5}
html[data-theme="light"] .faq-contact{background:#eae0f5}
html[data-theme="light"] .profile-body{background:radial-gradient(ellipse at top,#f2e9fc80,transparent 70%),#fff;box-shadow:0 12px 40px #70508b09}
html[data-theme="light"] .profile-name h1{background:#f0e9f7;color:#594068}
html[data-theme="light"] .uid-button,html[data-theme="light"] .uid-button b{color:#967aa7}
html[data-theme="light"] .profile-identity>.button{background:#f0e8f7;color:#9a7eac}
html[data-theme="light"] .stat-row{background:#f6f1fa}
html[data-theme="light"] .stat-row:hover{background:#eee4f7}
html[data-theme="light"] .stat-row>span{background:#fff;color:#9a80aa}
html[data-theme="light"] .stat-row>b{background:#eae0f5;color:#8d66a7}
html[data-theme="light"] .hwid-help,html[data-theme="light"] .profile-actions p{color:#a08aab}
html[data-theme="light"] .profile-orders.purchase-history{background:#eee7f5}
html[data-theme="light"] .purchase-history h2{color:#81648f}
html[data-theme="light"] .purchase-history .empty-orders,html[data-theme="light"] .empty-orders{color:#a48bad}
html[data-theme="light"] .purchase-history .order-row{background:#fff}
html[data-theme="light"] .guest-panel{background:radial-gradient(ellipse at top,#e5d3f850,transparent 80%),#fff;box-shadow:0 12px 40px #70508b08}
html[data-theme="light"] .guest-panel p{color:#977ca6}
html[data-theme="light"] .guest-panel .mentality-wordmark{color:#a27bc3}
html[data-theme="light"] dialog{background:radial-gradient(ellipse at top,#eee0fa60,transparent 75%),#fff;color:#4b335a;box-shadow:0 35px 120px #37224830}
html[data-theme="light"] dialog::backdrop{background:#56416d44;backdrop-filter:blur(9px)}
html[data-theme="light"] dialog p{color:#a087ad}
html[data-theme="light"] label{color:#93759f}
html[data-theme="light"] input,html[data-theme="light"] select{background:#f4eef9;color:#684b78;color-scheme:light}
html[data-theme="light"] input::placeholder{color:#b7a1c2}
html[data-theme="light"] input:focus,html[data-theme="light"] select:focus-visible{background:#ece1f7}
html[data-theme="light"] .auth-tabs{background:#f4edf9}
html[data-theme="light"] .auth-tabs::before{background:#e1d1f0}
html[data-theme="light"] .auth-tabs>button{color:#b099bc}
html[data-theme="light"] .auth-tabs>button.active{color:#825b9b}
html[data-theme="light"] .dialog-close,html[data-theme="light"] #toggle-password{color:#aa8db8}
html[data-theme="light"] .order-summary{background:#f4edf9}
html[data-theme="light"] .order-summary strong{color:#a079bd}
html[data-theme="light"] .order-notice{background:#efe5f7}
html[data-theme="light"] .form-error{color:#b45c80}
html[data-theme="light"] .toast{background:#e7d9f3;color:#7e5898;box-shadow:0 10px 35px #75558620}
html[data-theme="light"] .demo-notice{background:#eae0f5;color:#8b65a3}
html[data-theme="light"] .demo-notice p,html[data-theme="light"] .admin-heading p{color:#a18aaa}
html[data-theme="light"] .admin-panel,html[data-theme="light"] .admin-stats>div{background:#fff;box-shadow:0 8px 30px #70508b07}
html[data-theme="light"] .admin-stats b{color:#ac89c7}
html[data-theme="light"] .admin-tabs{background:#ece3f5}
html[data-theme="light"] .admin-tabs button{color:#a089b2}
html[data-theme="light"] .admin-tabs button.active{background:#fff;color:#8f64ab}
html[data-theme="light"] .admin-user,html[data-theme="light"] .admin-key,html[data-theme="light"] .admin-hwid,html[data-theme="light"] .admin-log article{background:#f5effa;color:#a08aaf}
html[data-theme="light"] .admin-user.selected,html[data-theme="light"] .admin-user:hover{background:#e8dbf3}
html[data-theme="light"] .admin-user b,html[data-theme="light"] .admin-key code,html[data-theme="light"] .admin-log p{color:#8e6aa5}
html[data-theme="light"] .admin-user-status span,html[data-theme="light"] .demo-avatar{background:#e9dcf4;color:#a17fba}
html[data-theme="light"] option{background:#fff;color:#7e5e90}
html[data-theme="light"] .footer .brand{color:#9c7bb1}
html[data-theme="light"] .footer p,html[data-theme="light"] .footer-right,html[data-theme="light"] .footer-right>a{color:#a28bac}
@media(max-width:760px){.header-actions{gap:8px}.theme-toggle{width:32px;height:32px}.header nav{order:3}.header .brand{font-size:19px}.header .brand img{width:27px;height:27px}.header{gap:11px}html[data-theme="light"] .hero:before{background-position:center,63% center}}
@media(max-width:400px){.header .brand{font-size:18px}.header-actions{gap:6px}.header{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle svg,body,.header,.price-card,.profile-body,.faq details,dialog,.admin-panel,.stat-row,.footer{transition:none}}

.price-navigation a::after{display:none}
html[data-theme="light"] .price-card .tariff-description,html[data-theme="light"] .faq details p,html[data-theme="light"] .faq-intro,html[data-theme="light"] .page-heading>p,html[data-theme="light"] dialog p,html[data-theme="light"] .guest-panel p{color:#80688e}
html[data-theme="light"] .price-subpage .price-card ul,html[data-theme="light"] .stat-row>span{color:#765d84}
html[data-theme="light"] .tariff-amount{color:#90799c}

/* Stronger surface separation without outlines. */
html[data-theme="dark"] .hero::after{background:linear-gradient(90deg,#08070e80 0%,transparent 23%,transparent 77%,#08070e80 100%),linear-gradient(0deg,#0b0b10 0%,#0b0b1080 12%,transparent 42%);mask-image:none;z-index:-1}
html[data-theme="light"] .hero::after{background:none;mask-image:none}
html[data-theme="light"] .faq details,html[data-theme="light"] .profile-orders.purchase-history,html[data-theme="light"] .admin-panel,html[data-theme="light"] .admin-stats>div{background:#eee5f8;box-shadow:0 8px 30px #70508b0d}
html[data-theme="light"] .profile-body,html[data-theme="light"] .guest-panel{background:linear-gradient(145deg,#f7f1fd,#ece2f7);box-shadow:0 12px 40px #70508b12}
html[data-theme="light"] .stat-row{background:#e0d4ec}
@media(max-width:760px){html[data-theme="light"] .hero:before{background-position:center,center,63% center}}

/* White pricing cards: neutral surfaces, clear type and restrained purple. */
html[data-theme="light"] #prices{background:#f3f2f7}
html[data-theme="light"] .pricing-grid{gap:20px}
html[data-theme="light"] .price-subpage .price-card{background:#fff;box-shadow:0 8px 28px #3424410c,0 2px 7px #34244105;padding:30px 25px;min-height:355px;border-radius:24px}
html[data-theme="light"] .price-subpage .price-card::before{background:radial-gradient(ellipse at top right,#eae0f84d,transparent 70%)}
html[data-theme="light"] .price-subpage .price-card:hover{box-shadow:0 20px 42px #4b315916;transform:translateY(-5px)}
html[data-theme="light"] .price-subpage .plan-top{background:transparent;color:#8a719c;border-radius:0;padding:0;font-size:11px;font-weight:600;letter-spacing:0;margin-bottom:25px}
html[data-theme="light"] .price-card h2.tariff-title{color:#292131;font-weight:750;font-size:24px;letter-spacing:-.65px}
html[data-theme="light"] .tariff-slash{color:#c4bacb;font-weight:400}
html[data-theme="light"] .tariff-amount{color:#85748e;font-weight:500;font-size:16px}
html[data-theme="light"] .price-card .tariff-description{font-size:12px;color:#8a7d93;line-height:1.8;min-height:40px}
html[data-theme="light"] .price-subpage .price-card ul{font-size:11px;line-height:1.8;color:#65596f;gap:15px;margin:18px 0 24px;padding:8px 0 16px}
html[data-theme="light"] .price-subpage .price-card li::before{color:#9c7dbd;font-size:11px}
html[data-theme="light"] .price-subpage .price-card>.button{background:#f0eaf8;color:#765092;font-size:11px;font-weight:650;min-height:42px;text-shadow:none;box-shadow:none}
html[data-theme="light"] .price-subpage .price-card>.button:hover:not(:disabled){background:#e8dcf4;color:#633880}
html[data-theme="light"] .price-subpage .lifetime-card{background:linear-gradient(150deg,#ffffff 55%,#f3ecfb);box-shadow:0 12px 38px #9064b61a}
html[data-theme="light"] .price-subpage .lifetime-card .plan-top{background:transparent;color:#9864b8;padding:0}
html[data-theme="light"] .price-subpage .lifetime-card>.button{background:#8552b8;color:#fff;box-shadow:0 7px 20px #8552b81f}
html[data-theme="light"] .price-subpage .lifetime-card>.button:hover{background:#7544a6;color:#fff}
html[data-theme="light"] .price-subpage .locked{background:#eae8ef;box-shadow:none}
html[data-theme="light"] .price-subpage .locked::before{display:none}
html[data-theme="light"] .price-subpage .locked .plan-top{background:transparent;color:#a296ab;padding:0}
html[data-theme="light"] .price-subpage .locked h2.tariff-title{color:#82728e}
html[data-theme="light"] .price-subpage .locked .tariff-amount{color:#a092aa}
html[data-theme="light"] .price-subpage .locked .tariff-description,html[data-theme="light"] .price-subpage .locked ul{color:#978b9f}
html[data-theme="light"] .price-subpage .locked>.button{background:#ded8e6;color:#a392ae;box-shadow:none}
html[data-theme="light"] .price-navigation{background:#e9e5ef}
html[data-theme="light"] .price-navigation a.active{background:#fff;color:#694784;box-shadow:0 3px 10px #4030490a}
@media(max-width:1100px){html[data-theme="light"] .price-card h2.tariff-title{font-size:25px}html[data-theme="light"] .tariff-amount{font-size:18px}}
@media(max-width:760px){html[data-theme="light"] .price-subpage .price-card{padding:26px 21px;min-height:335px}html[data-theme="light"] .price-card h2.tariff-title{font-size:22px}html[data-theme="light"] .tariff-amount{font-size:15px}html[data-theme="light"] .price-card .tariff-description{font-size:11px}html[data-theme="light"] .price-subpage .price-card ul{font-size:10px}html[data-theme="light"] .pricing-grid{gap:18px}}
@media(max-width:400px){html[data-theme="light"] .price-card h2.tariff-title{font-size:25px}html[data-theme="light"] .tariff-amount{font-size:18px}}
