/* Onrusha V4.5 — glass navigation + calmer device UI */
.site-header{height:76px;position:sticky;top:0;z-index:80;background:linear-gradient(180deg,rgba(5,5,6,.62),rgba(5,5,6,.24));border:0;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.nav-wrap{width:min(1440px,calc(100% - 96px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:none!important}
.main-nav{height:52px;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid rgba(255,255,255,.105);border-radius:999px;background:linear-gradient(135deg,rgba(24,24,27,.8),rgba(10,10,12,.74));box-shadow:0 14px 42px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.075);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.main-nav>a.nav-item{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 20px;border:1px solid transparent;border-radius:999px;color:#9999a2;font-size:12px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;transition:color .2s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;}
.main-nav>a.nav-item:after{display:none!important}
.main-nav>a.nav-item:hover{color:#f4f4f5;background:rgba(255,255,255,.055)}
.main-nav>a.nav-item.active{color:#fff;background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.045));border-color:rgba(255,255,255,.12);box-shadow:0 5px 18px rgba(0,0,0,.27),inset 0 1px rgba(255,255,255,.14),0 0 18px rgba(255,255,255,.035)}
.nav-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.nav-grid-icon rect{fill:currentColor;stroke:none;opacity:.9}
.header-tools{display:flex;align-items:center;gap:12px;margin-left:auto}
.header-tool{width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:50%;background:linear-gradient(145deg,rgba(25,25,28,.8),rgba(10,10,12,.72));color:#dedee3;box-shadow:0 8px 25px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(16px);transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}
.header-tool:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.3);background:rgba(40,40,44,.9);color:#fff}
.header-tool svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .moon-icon{display:none}.theme-toggle[aria-pressed="true"] .sun-icon{display:none}.theme-toggle[aria-pressed="true"] .moon-icon{display:block}
.mobile-menu{display:none;width:43px;height:43px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:rgba(17,17,19,.82);padding:10px;box-shadow:0 8px 25px #0004}
.mobile-menu span{display:block;width:15px;height:1.5px;margin:3px auto;background:#eee;border-radius:2px}
/* Less content, stronger hierarchy, and readable type inside the phone. */
.hero-core-visual{min-height:590px;display:grid!important;place-items:center;overflow:visible;perspective:1500px}
.phone-showcase-v45{height:590px}
.phone-device{width:300px;height:570px;transform:rotateY(-8deg) rotateX(2deg) rotateZ(-4.5deg);animation:phone-hover-v45 8s ease-in-out infinite}
.phone-screen-v45{padding:12px 17px 0;border-radius:39px;background:linear-gradient(155deg,#191a1d 0%,#101114 52%,#141519 100%)}
.phone-screen-v45 .phone-status{height:22px;font-size:10px;padding:0 5px}
.phone-screen-v45 .phone-island{top:7px;width:69px;height:17px}
.phone-appbar-v45{height:48px;margin-top:8px;border-bottom:1px solid rgba(255,255,255,.075)}
.phone-appbar-v45 .phone-app-brand{gap:9px}
.phone-appbar-v45 .phone-app-mark{width:31px;height:31px;border-radius:10px;font-size:18px}
.phone-app-name{font-size:12px;font-weight:800;letter-spacing:.17em;color:#f0eee9}
.phone-appbar-v45 .phone-profile{width:29px;height:29px;font-size:10px}
.phone-greeting-v45{padding:19px 2px 15px}
.phone-greeting-v45>span{font-size:8px;letter-spacing:.16em;color:#c2a477}
.phone-greeting-v45 h3{font-size:25px;line-height:1.08;letter-spacing:-.055em;margin:7px 0 5px;font-weight:760;color:#f5f3ee}
.phone-greeting-v45 p{font-size:10px;line-height:1.35;color:#96969a;margin:0;letter-spacing:0}
.phone-feature-v45{height:144px;display:block;padding:13px 14px;border-radius:16px;background:linear-gradient(120deg,#28251f 0%,#1b1c20 56%,#121317 100%);border:1px solid rgba(221,187,139,.27);box-shadow:0 14px 30px #0004,inset 0 1px #ffffff16}
.phone-feature-v45:before{background:linear-gradient(125deg,rgba(218,181,127,.12),transparent 50%),linear-gradient(180deg,transparent 45%,rgba(0,0,0,.45));}
.phone-feature-top{position:relative;z-index:2;display:flex;align-items:center;gap:7px;color:#d4bd99;font-size:8px;font-weight:750;letter-spacing:.14em}
.phone-feature-top i{width:6px;height:6px;border-radius:50%;background:#d7b37b;box-shadow:0 0 9px #d7b37b88}
.phone-feature-v45 .phone-feature-art{right:2px;top:2px;width:136px;height:136px;opacity:.82}
.phone-feature-v45 .phone-feature-art:before{width:78px;height:78px;border-radius:22px;transform:rotate(32deg);background:linear-gradient(145deg,#8d795b,#464039 44%,#222328 78%);box-shadow:12px 16px 28px #0009,inset 1px 1px #fff6,inset -7px -7px 16px #0008}
.phone-feature-v45 .phone-feature-art b{font-size:54px;color:#f0d7ad;transform:rotate(-10deg)}
.phone-feature-bottom{position:absolute;z-index:2;left:14px;right:14px;bottom:13px;display:flex;align-items:center;justify-content:space-between}
.phone-feature-bottom div{display:flex;flex-direction:column;gap:4px}
.phone-feature-bottom b{font-size:17px;line-height:1.1;letter-spacing:-.035em;color:#f3eee5}
.phone-feature-bottom small{font-size:10px;color:#b3aaa0}
.phone-feature-bottom>span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e4c99f;color:#211b13;font-size:14px;font-weight:700}
.phone-section-head-v45{height:42px;align-items:center;padding:8px 1px 0}
.phone-section-head-v45>b{font-size:12px;font-weight:700;color:#f0efec}
.phone-section-head-v45>span{font:9px ui-monospace,monospace;color:#929298}
.phone-script-row-v45{height:57px;gap:11px;border-top:1px solid rgba(255,255,255,.075)}
.phone-script-row-v45 .phone-script-icon{width:34px;height:34px;border-radius:11px;font-size:14px}
.phone-script-row-v45 .phone-script-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.phone-script-row-v45 .phone-script-copy{gap:4px}
.phone-script-row-v45 .phone-script-copy>b{font-size:11px;line-height:1.15;color:#efeee9;font-weight:700}
.phone-script-row-v45 .phone-script-copy>small{font-size:9px;line-height:1.2;color:#929298}
.phone-script-row-v45 .phone-row-arrow{font-size:14px;color:#aaa9ac}
.phone-bottom-nav-v45{height:57px;padding:4px 14px 7px;justify-content:space-between}
.phone-bottom-nav-v45>span{width:33.333%;gap:4px;color:#777980}
.phone-bottom-nav-v45 i{font-size:17px;line-height:1.1}
.phone-bottom-nav-v45 small{font-size:8px;letter-spacing:.025em}
.phone-bottom-nav-v45 .phone-nav-active{color:#e2c18f}
.phone-shadow{bottom:23px}
@keyframes phone-hover-v45{0%,100%{transform:translate3d(0,2px,0) rotateY(-8deg) rotateX(2deg) rotateZ(-4.5deg)}50%{transform:translate3d(0,-10px,0) rotateY(-5deg) rotateX(1deg) rotateZ(-3deg)}}
@media(max-width:1100px){.nav-wrap{width:calc(100% - 52px)}.main-nav>a.nav-item{padding:0 16px}.header-tools{gap:9px}.hero-core-visual{min-height:560px}.phone-showcase-v45{height:560px}.phone-device{transform:scale(.94) rotateY(-8deg) rotateX(2deg) rotateZ(-4.5deg)}@keyframes phone-hover-v45{0%,100%{transform:scale(.94) translate3d(0,2px,0) rotateY(-8deg) rotateX(2deg) rotateZ(-4.5deg)}50%{transform:scale(.94) translate3d(0,-9px,0) rotateY(-5deg) rotateX(1deg) rotateZ(-3deg)}}}
@media(max-width:760px){.site-header{height:68px}.nav-wrap{width:calc(100% - 32px);gap:12px}.mobile-menu{display:flex;flex-direction:column;flex:0 0 43px}.main-nav{display:none;position:absolute;top:61px;left:16px;width:min(310px,calc(100vw - 32px));height:auto;align-items:stretch;flex-direction:column;gap:4px;padding:8px;border:1px solid rgba(255,255,255,.13);border-radius:19px;background:rgba(15,15,17,.96);box-shadow:0 22px 55px #000b;backdrop-filter:blur(22px)}.main-nav.open{display:flex;animation:nav-in .22s ease}.main-nav>a.nav-item{justify-content:flex-start;min-height:46px;padding:0 15px;border-radius:13px;font-size:12px}.main-nav>a.nav-item.active{background:rgba(255,255,255,.1)}.header-tools{gap:8px}.header-tool{width:40px;height:40px}.header-tool svg{width:18px;height:18px}.hero-core-visual{min-height:555px;margin-top:15px;overflow:hidden}.phone-showcase-v45{height:555px}.phone-device{transform:scale(.91) rotateY(-7deg) rotateX(2deg) rotateZ(-4deg)}@keyframes phone-hover-v45{0%,100%{transform:scale(.91) translate3d(0,2px,0) rotateY(-7deg) rotateX(2deg) rotateZ(-4deg)}50%{transform:scale(.91) translate3d(0,-8px,0) rotateY(-4deg) rotateX(1deg) rotateZ(-2.5deg)}}}
@media(max-width:480px){.hero-core-visual{min-height:510px}.phone-showcase-v45{height:510px}.phone-device{transform:scale(.82) rotateY(-6deg) rotateX(2deg) rotateZ(-3deg)}@keyframes phone-hover-v45{0%,100%{transform:scale(.82) translate3d(0,2px,0) rotateY(-6deg) rotateX(2deg) rotateZ(-3deg)}50%{transform:scale(.82) translate3d(0,-7px,0) rotateY(-3deg) rotateX(1deg) rotateZ(-2deg)}}.header-tools{gap:7px}.header-tool{width:38px;height:38px}.mobile-menu{width:40px;height:40px;flex-basis:40px}}
@media(prefers-reduced-motion:reduce){.phone-device,.phone-shadow{animation:none!important}}
/* A subtle alternate appearance, activated by the sun control. */
body.soft-theme{background:linear-gradient(180deg,#e8e8e8 0%,#dcdcdc 52%,#ededed 100%);color:#171717}
body.soft-theme .site-header{background:linear-gradient(180deg,rgba(242,242,242,.88),rgba(232,232,232,.62));}
body.soft-theme .main-nav{background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(235,235,235,.76));border-color:rgba(0,0,0,.12);box-shadow:0 12px 35px #0002,inset 0 1px #fff}
body.soft-theme .main-nav>a.nav-item{color:#666}
body.soft-theme .main-nav>a.nav-item:hover,body.soft-theme .main-nav>a.nav-item.active{color:#111;background:rgba(0,0,0,.07);border-color:rgba(0,0,0,.08);box-shadow:inset 0 1px #fff}
body.soft-theme .header-tool{background:linear-gradient(145deg,#fff,#e5e5e5);color:#222;border-color:#ccc;box-shadow:0 7px 18px #0002,inset 0 1px #fff}
body.soft-theme .hero-title{color:#151515}body.soft-theme .hero-title span{color:#666}body.soft-theme .hero-copy{color:#555}
body.soft-theme .loader-box{background:rgba(255,255,255,.72);border-color:#c8c8c8;box-shadow:0 14px 35px #0001}body.soft-theme .loader-label,body.soft-theme .hero-footnote{color:#666}body.soft-theme .loader-box code{color:#191919}body.soft-theme .copy-button{background:#eee;color:#222;border-color:#ccc}
body.soft-theme .stats-strip,body.soft-theme .stat{border-color:#c9c9c9}body.soft-theme .stat strong{color:#171717}body.soft-theme .stat span{color:#626262}
body.soft-theme .section-heading h2{color:#171717}body.soft-theme .section-heading h2 span,body.soft-theme .section-heading p{color:#626262}
body.soft-theme .script-card,body.soft-theme .preview-callout,body.soft-theme .compat-item{background:linear-gradient(145deg,#f8f8f8,#e9e9e9);border-color:#c9c9c9;color:#171717;box-shadow:0 10px 26px #0001}body.soft-theme .script-description,body.soft-theme .compat-item small,body.soft-theme .preview-callout p{color:#626262}
body.soft-theme .site-footer{background:#e2e2e2;border-color:#c8c8c8}body.soft-theme .footer-inner p,body.soft-theme .footer-links a,body.soft-theme .footer-bottom{color:#666}body.soft-theme .footer-bottom{border-color:#ccc}
