@font-face{font-family:Manrope;src:url('/app/manrope.ttf');font-weight:200 800;font-display:swap}@font-face{font-family:Inter;src:url('/app/inter.ttf');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#030202;--surface:#040404;--accent:#ebeaea;--text:#fdfcfd;--muted:#e8e7e8;--line:#ffffff12;font:400 16px/1.65 Inter,sans-serif;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}a{color:inherit;text-decoration:none}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #f0efef;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,sans-serif;line-height:1.15;letter-spacing:-.045em}h1{font-size:clamp(40px,5.2vw,76px);font-weight:800}h2{font-size:clamp(30px,3.2vw,44px);font-weight:800}h3{font-size:21px;font-weight:700}.header{height:92px;max-width:1280px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:42px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;flex:none;font:800 23px/1 Manrope,sans-serif;letter-spacing:-.8px}.brand b{font-weight:500;color:#f0efef}.header nav{display:flex;gap:30px;margin-left:auto;font-size:14px;color:#efeeee}.header nav a:hover,.footer a:hover{color:#f3f3f3}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 23px;min-height:54px;border:1px solid #efeeee44;border-radius:14px;font:600 16px/1.2 Manrope,sans-serif;background:#070506;color:#fefdfe;transition:transform .18s,background .18s}.button:hover{transform:translateY(-2px);background:#220d14}.button.primary{background:linear-gradient(115deg,#eeeded,#ab2151);color:#fff;border-color:#f2f1f177;box-shadow:0 8px 32px #a11f4d24}.button.small{min-height:42px;padding:11px 17px;font-size:14px}.button.subtle{background:#060505}.button.full{width:100%}.menu-toggle{display:none}.skip{position:fixed;top:-100px}.skip:focus{top:8px;left:8px;z-index:20;background:#260e17;padding:8px}main{min-height:65vh}.wrap{max-width:1208px;margin:auto;padding:0 36px}.hero{max-width:1280px;margin:auto;min-height:660px;padding:90px 36px 65px;display:grid;grid-template-columns:1.13fr 1fr;align-items:center;position:relative;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 85% 40%,#941c461f,transparent 60%)}.eyebrow{font:500 12px/1.3 Inter,sans-serif;letter-spacing:.17em;text-transform:uppercase;color:#eeeeee;margin-bottom:25px}.hero h1{max-width:650px}.hero h1 em{font-style:normal;color:#eeeeee}.hero p{max-width:480px;margin-top:27px;font-size:17px;color:#ebeaeb;line-height:1.75}.hero-actions{display:flex;gap:13px;margin-top:36px;flex-wrap:wrap}.hero-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#d6d6d6;margin-top:22px}.hero-note i{width:6px;height:6px;border-radius:50%;background:#eaeaea}.prism-scene{height:430px;display:grid;place-items:center;position:relative;min-width:0}.prism-scene:before{content:'';position:absolute;width:340px;height:340px;border:1px solid #ab215119;border-radius:50%;transform:rotateX(62deg) rotateZ(-25deg);box-shadow:0 0 90px #971d4819}.prism-scene:after{content:'';position:absolute;bottom:30px;width:210px;height:25px;background:#ab2151;filter:blur(40px);opacity:.3}.prism-art{width:90%;height:90%;filter:drop-shadow(0 0 45px #ab215125)}.hero-label{position:absolute;bottom:18px;font:500 10px/1.4 Inter,sans-serif;letter-spacing:.22em;color:#d6d6d6}.features-strip{border-block:1px solid var(--line);padding:24px 0}.features-strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature-brief{display:flex;align-items:center;gap:13px;font-size:14px;color:#f4f4f4}.icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0;color:#edeced}.section{padding:96px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:34px}.section-head p{max-width:360px;font-size:14px;color:var(--muted)}.section-head .eyebrow{margin-bottom:14px}.trial-band{display:grid;grid-template-columns:1fr auto;align-items:center;gap:35px;padding:36px 40px;border-radius:24px;background:linear-gradient(115deg,#1d0a11,#050404);border:1px solid #ecebeb24;margin-top:60px}.trial-band h2{font-size:32px}.trial-band p{margin-top:10px;color:#edecec;font-size:15px}.plans-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.plan{padding:27px 22px;border-radius:22px;background:linear-gradient(150deg,#070606,#040304);border:1px solid #eae9ea25;display:flex;flex-direction:column;gap:16px;min-width:0}.plan h3{font-size:18px;letter-spacing:-.02em}.plan-price{font:800 39px/1.15 Manrope,sans-serif;letter-spacing:-1.8px;white-space:nowrap}.plan-price small{font:400 14px/1 Inter,sans-serif;color:#ebeaeb;letter-spacing:0}.old-price{font-size:13px;color:#eeeded}.old-price del{color:#d6d6d6;margin-right:8px}.plan ul{list-style:none;padding:16px 0 0;margin:0 0 8px;border-top:1px solid var(--line);color:#ededed;font-size:13px}.plan li{margin:8px 0}.plan .button{margin-top:auto;min-height:46px;font-size:14px;padding-inline:10px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.step-number{font:500 12px/1 Inter,sans-serif;color:#ebeaea;display:block;margin-bottom:20px}.step p{color:var(--muted);font-size:15px;margin-top:15px}.step>a{display:inline-block;margin-top:16px;font-size:14px;color:#efeeef}.devices{display:flex;flex-wrap:wrap;gap:15px;margin-top:32px}.device-pill{padding:12px 20px;border:1px solid #eeeded22;border-radius:13px;display:flex;gap:10px;align-items:center;color:#f2f2f2;font-size:14px}.faq{max-width:850px;margin:auto}.faq details{border-bottom:1px solid var(--line);padding:21px 0}.faq summary{cursor:pointer;font:600 17px/1.4 Manrope,sans-serif;list-style:none;display:flex;justify-content:space-between;gap:25px}.faq summary:after{content:'+';color:#ebeaea}.faq details[open] summary:after{content:'−'}.faq details p{color:var(--muted);font-size:15px;margin-top:15px;max-width:700px}.support-band{border-radius:24px;background:#050404;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:30px}.support-band p{color:var(--muted);margin-top:12px;font-size:15px}.footer{max-width:1208px;margin:auto;padding:43px 36px 35px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:18px 30px}.footer>p{grid-column:1;font-size:13px;color:#d6d6d6}.footer>div{grid-column:2;grid-row:1/3;display:flex;gap:25px;align-items:center;flex-wrap:wrap;font-size:12px;color:#eaeaea}.footer>small{font-size:11px;color:#d6d6d6;grid-column:1/-1}.page-intro{padding:70px 0 15px}.page-intro h1{font-size:48px}.page-intro p{color:var(--muted);max-width:650px;margin-top:22px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature-card{padding:32px;border-radius:22px;background:#050404;border:1px solid var(--line)}.feature-card .icon{width:32px;height:32px;margin-bottom:20px}.feature-card p{margin-top:14px;color:var(--muted);font-size:15px}.auth-layout{max-width:1080px;margin:65px auto 85px;padding:0 36px;display:grid;grid-template-columns:1fr 440px;gap:75px;align-items:center}.auth-aside h1{font-size:48px}.auth-aside p{color:var(--muted);margin-top:22px;font-size:16px}.auth-aside .eyebrow{margin-top:20px}.auth-card{padding:32px;border-radius:25px;background:linear-gradient(135deg,#070606,#040304);border:1px solid #ab215130}.auth-card h2{font-size:28px}.auth-card>p{font-size:14px;color:var(--muted);margin-top:12px}.auth-tabs{display:flex;padding:4px;background:#030202;border-radius:12px;gap:4px;margin:25px 0}.auth-tabs button{flex:1;border:0;border-radius:9px;padding:10px;background:none;color:#e7e6e6;font-size:13px}.auth-tabs button.active{background:#260c15;color:#fcfcfc}.auth-card form{display:grid;gap:18px;margin-top:24px}.auth-card label{display:grid;gap:8px;font-size:13px;color:#f4f4f4}.auth-card input{width:100%;min-height:49px;padding:12px 14px;background:#030303;border:1px solid #ab21513f;color:white;border-radius:11px}.auth-card input[name=code]{font-size:24px;letter-spacing:8px;text-align:center;font-weight:500}.auth-meta{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#ecebeb;margin-top:19px}.auth-error{font-size:13px!important;color:#f29aa9!important;min-height:0;margin:0!important}.auth-error:empty{display:none}.notice{padding:13px 15px;border:1px solid #f1f0f12a;border-radius:12px;color:#f1f0f1;font-size:13px;margin-top:18px}.loading,.empty{padding:70px 20px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border-radius:12px;padding:12px 20px;background:#1e0c12;border:1px solid #ab2151;max-width:90vw;opacity:0;pointer-events:none;transition:opacity .15s;font-size:13px;z-index:10}#toast.show{opacity:1}[hidden]{display:none!important}
@media(max-width:1050px){.header{gap:22px;padding-inline:24px}.header nav{gap:17px;font-size:12px}.hero{min-height:590px;padding-top:60px;grid-template-columns:1.1fr 1fr}.hero h1{font-size:58px}.prism-scene{height:350px}.plans-grid{grid-template-columns:1fr 1fr}.auth-layout{gap:40px;grid-template-columns:1fr 420px}.auth-aside h1{font-size:39px}.footer>div{max-width:350px;gap:16px}}
@media(max-width:760px){.header{height:76px;padding-inline:20px;gap:15px}.brand{font-size:20px}.brand img{width:29px;height:34px}.header nav{display:none}.header.menu-open nav{display:flex;position:absolute;top:76px;left:0;right:0;z-index:5;padding:22px;background:#050404;flex-direction:column;gap:20px;font-size:15px;border-bottom:1px solid #751637}.header>.button{margin-left:auto}.menu-toggle{display:block;border:1px solid #e6e5e62b;border-radius:10px;background:#060505;color:#f5f5f5;height:40px;width:40px;font-size:17px}.wrap{padding-inline:22px}.hero{padding:45px 22px 35px;grid-template-columns:1fr;min-height:0}.hero h1{font-size:clamp(44px,10vw,64px)}.hero p{font-size:15px;margin-top:22px}.hero-actions{margin-top:27px;gap:10px}.hero-actions .button{font-size:14px;padding-inline:17px;min-height:49px}.hero-note{font-size:11px}.prism-scene{height:310px;margin-top:10px}.prism-scene:before{width:270px;height:270px}.prism-art{height:100%;width:90%}.hero-label{bottom:5px;font-size:9px}.eyebrow{font-size:10px;margin-bottom:20px}.features-strip .wrap{grid-template-columns:1fr 1fr;gap:23px 15px}.feature-brief{font-size:12px;gap:10px}.feature-brief .icon{width:22px;height:22px}.section{padding:58px 0}.section-head{display:block;margin-bottom:25px}.section-head p{margin-top:17px}.trial-band{grid-template-columns:1fr;padding:27px 24px;gap:23px;margin-top:38px;border-radius:20px}.trial-band h2{font-size:28px}.trial-band p{font-size:14px}.trial-band .button{justify-self:start}.plans-grid{gap:12px}.plan{padding:21px 16px;gap:13px;border-radius:18px}.plan h3{font-size:16px}.plan-price{font-size:31px}.plan-price small{font-size:12px}.old-price{font-size:11px}.plan ul{font-size:12px;padding-top:12px}.plan .button{font-size:12px;padding:10px 7px;min-height:43px;gap:5px}.steps{grid-template-columns:1fr;gap:30px}.step-number{margin-bottom:12px}.step h3{font-size:22px}.step p{font-size:14px}.devices{gap:10px}.device-pill{padding:10px 13px;font-size:12px}.faq summary{font-size:15px}.faq details p{font-size:14px}.support-band{padding:27px 24px;display:block}.support-band .button{margin-top:22px}.support-band h2{font-size:28px}.footer{margin-inline:20px;padding:30px 2px;display:flex;flex-direction:column;gap:18px}.footer>div{font-size:12px;gap:18px}.page-intro{padding-top:43px}.page-intro h1{font-size:37px}.page-intro p{font-size:14px}.feature-grid{grid-template-columns:1fr}.feature-card{padding:26px}.feature-card h3{font-size:22px}.auth-layout{display:block;margin:40px auto 55px;padding-inline:20px}.auth-aside h1{font-size:36px}.auth-aside p{font-size:14px;margin-top:16px}.auth-aside{margin-bottom:28px}.auth-card{padding:26px 22px}.auth-card h2{font-size:25px}.auth-card form{gap:16px}.auth-meta{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(max-width:350px){.hero-actions{display:grid}.plans-grid{grid-template-columns:1fr}.header>.button{padding-inline:11px}.header{gap:10px}.brand{font-size:18px}}

.prism-scene{overflow:hidden}.features-strip .wrap{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-brief{min-width:0}.feature-brief span{min-width:0}@media(max-width:760px){.features-strip .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}

.auth-tabs button{display:flex;align-items:center;justify-content:center;gap:8px}.auth-tabs .icon{width:18px;height:18px}.bot-qr{width:180px;max-width:100%;padding:9px;background:#fff;border-radius:16px;margin:24px auto 18px}.bot-qr svg{display:block;width:100%;height:auto}.auth-card #telegram-auth>.button{margin-top:17px}

/* Ruby 94 — monochrome surfaces with burgundy accents. */
:root{--bg:#000;--surface:#080808;--text:#fafafa;--muted:#aaa;--line:#511329;--primary:#ae174c}body,.header{background:#000}.icon{color:#f5f5f5}.button.primary,.button:not(.secondary):not(.ghost){background:linear-gradient(110deg,#94163e,#5a102a);color:#fff;border-color:#a82450}.plan,.auth-card,.feature-card,.support-band,.trial-band{background:linear-gradient(135deg,#100509,#030303);border-color:#65152f}.hero,.prism-scene{background-color:#000}.auth-tabs{background:#080808}.auth-tabs button.active{background:#300c19;color:#fff}:focus-visible{outline:2px solid #e46b92;outline-offset:3px}

/* Graphite 99: calm controls, burgundy edges. */
.button,.button.primary,.button:not(.secondary):not(.ghost),.menu-toggle,.auth-tabs button.active{background:linear-gradient(150deg,#242427,#141416);border:1px solid #65263c;color:#fafafa;box-shadow:inset 0 1px #ffffff08}
.button:hover:not(:disabled),.menu-toggle:hover{background:linear-gradient(150deg,#303034,#1d1d20);border-color:#99516a;filter:none}
.button:active{background:#111113}.auth-tabs button.active{background:#29292d}
.hero{grid-template-columns:minmax(0,1fr);min-height:0;padding-top:80px;padding-bottom:72px}.hero>div{max-width:880px}.hero p{max-width:640px}.hero-note{color:#aaa}
@media(max-width:760px){.hero{padding-top:44px;padding-bottom:42px}}

.hero{display:block;text-align:center}.hero>div,.hero p{margin-inline:auto}.hero-actions,.hero-note{justify-content:center}

.hero h1{margin-inline:auto}

/* Portal 103: keep authentication usable on narrow screens and with the keyboard open. */
.auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,440px)}
.auth-layout>*,.auth-card,.auth-card form,.auth-card label,.auth-card input,.auth-tabs button{min-width:0;max-width:100%}
.auth-card input{font-size:16px}.auth-card>p{overflow-wrap:anywhere}.auth-meta{flex-wrap:wrap}.auth-tabs button{padding-inline:8px}
@media(max-width:760px){.auth-layout{display:flex;flex-direction:column;align-items:stretch;margin:24px auto 36px;padding-inline:16px;gap:0}.auth-aside{margin-bottom:22px}.auth-aside h1{font-size:30px}.auth-aside p{font-size:13px;margin-top:12px}.auth-aside .eyebrow{margin-top:0;margin-bottom:12px}.auth-card{padding:24px 18px}.auth-tabs{margin:20px 0}.auth-card form{margin-top:20px}.auth-meta>*{max-width:100%}.auth-meta .button{white-space:normal}}


/* Happ theme discovery on the public home page. */
.themes-promo{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);align-items:center;gap:48px;margin:40px 0;padding:40px 48px;border:1px solid #65263c;border-radius:28px;background:radial-gradient(ellipse at 90% 50%,#43142655,transparent 65%),#101013;overflow:hidden}.themes-promo h2{font:800 clamp(28px,3vw,42px)/1.15 Manrope,sans-serif;margin:12px 0 16px}.themes-promo p{max-width:540px;color:#aaa;line-height:1.65;margin-bottom:24px}.themes-promo .button{display:inline-flex}.themes-mini{width:100%;max-width:310px;justify-self:center;padding:22px;border:1px solid #754052;border-radius:24px;background:linear-gradient(150deg,#222126,#111114);text-align:center;box-shadow:0 18px 50px #0005}.themes-mini-top{display:flex;justify-content:space-between;align-items:center;font-weight:700}.themes-mini-label{font-size:9px;letter-spacing:1px;color:#b99da8}.themes-mini-power{display:grid;place-items:center;width:68px;height:68px;margin:20px auto 14px;border:2px solid #c46b90;border-radius:50%;color:#e8aac3;font-size:36px;line-height:1}.themes-mini>strong{display:block;font-size:18px}.themes-mini-caption{display:block;font-size:12px;color:#aaa;margin-top:5px}.themes-mini-row{display:flex;justify-content:space-between;align-items:center;background:#ffffff07;border:1px solid #ffffff0c;border-radius:10px;padding:12px;margin-top:18px;font-size:12px}.themes-mini-dot{width:7px;height:7px;background:#b67692;border-radius:50%}.themes-mini-swatches{display:flex;justify-content:center;gap:8px;margin-top:18px}.themes-mini-swatches i{width:18px;height:18px;border-radius:50%;background:#b65d81}.themes-mini-swatches i:nth-child(2){background:#84bba3}.themes-mini-swatches i:nth-child(3){background:#beb7dd}.themes-mini-swatches i:nth-child(4){background:#d3b177}.themes-mini-swatches i:nth-child(5){background:#e1dce0}@media(max-width:640px){.themes-promo{grid-template-columns:minmax(0,1fr);padding:26px 22px;gap:26px;margin:24px 0}.themes-mini{max-width:270px}.themes-promo .button{width:100%;justify-content:center}}

.device-picker211{margin:25px 0 28px}.device-picker-label211{display:block;font-size:14px;color:#e2dce1;margin-bottom:12px}.device-picker-controls211{display:flex;flex-wrap:wrap;gap:9px}.device-picker-controls211>button{display:grid;gap:5px;justify-items:center;min-width:78px;padding:13px 16px;border:1px solid #40212e;border-radius:13px;color:#c9bec7;background:#111013;transition:background .15s,border-color .15s}.device-picker-controls211 strong{font-size:20px;line-height:1.2}.device-picker-controls211 span{font-size:11px;color:#9d919b}.device-picker-controls211 button:hover{border-color:#ad416a;background:#1a1218}.device-picker-controls211 button.active{background:#26121e;border-color:#bd426f;color:#fff;box-shadow:inset 0 0 0 1px #bd426f33}.device-picker-controls211 button.active span{color:#e9b3ca}.device-picker211>p{font-size:12px;color:#b19ba7;margin-top:12px}.happ-live-preview211{display:block;width:100%;max-width:390px;height:548px;border:0;background:transparent;justify-self:center}.themes-promo:has(.happ-live-preview211){padding-block:38px}.auth-tabs>button:first-child{font-weight:700}.auth-tabs>button.active{border-color:#8f3154!important;background:#25151f!important}.auth-tabs>button:first-child .icon{color:#e7c4d6}@media(max-width:600px){.device-picker-controls211{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.device-picker-controls211>button{min-width:0;padding:11px 4px}.device-picker-controls211 span{font-size:9px}.happ-live-preview211{height:540px}}
