/* Homepage presentation restored from portal.css, rgf.css and navigation.css.
   Loaded only on the five home URLs. Public SEO and article styles stay independent. */
.home-restored{background:#070711;color:#f7f6ff}
.home-restored .pub-header{width:min(1440px,calc(100% - 64px));min-height:88px;margin:16px auto 0;padding:12px 22px;display:grid;grid-template-columns:minmax(140px,1fr) auto minmax(260px,1fr);column-gap:24px;background:rgba(10,10,22,.88);border-color:rgba(163,151,211,.18);box-shadow:0 18px 55px #0003;backdrop-filter:blur(20px)}
.home-restored .brand{justify-self:start}
.home-restored .brand img{width:108px;height:auto}
.home-restored .primary-nav{justify-self:center;justify-content:center;gap:clamp(18px,2vw,30px);white-space:nowrap}
.home-restored .primary-nav a{font-size:12px;font-weight:550;color:#aaa6ba;padding:12px 0}
.home-restored .primary-nav a:hover{color:#fff}
.home-restored .header-actions{justify-self:end;gap:16px}
.home-restored .header-actions>.primary{font-size:12px;min-height:44px;padding:9px 16px;white-space:nowrap}
.home-restored .button{border-radius:12px;transition:transform .22s,box-shadow .22s,background .22s}
.home-restored .button.primary{color:#fff;background:linear-gradient(120deg,#6d50f3,#8a6cff);border-color:transparent;box-shadow:0 10px 35px #7657ff47}
.home-restored .button.primary:hover{transform:translateY(-3px);box-shadow:0 16px 45px #7657ff6e}
.home-restored .button.secondary{background:#ffffff09;border-color:#302b46;color:#e7e5f0}
.home-restored .home-hero{padding:95px 24px 70px;max-width:1440px;position:relative;isolation:isolate}
.home-restored .home-hero:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse 45% 35% at 50% 18%,#7657ff18,transparent)}
.home-restored .home-hero>.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;color:#d8d0ff;padding:8px 14px;background:#7657ff1a;border-color:#a48eff57;border-radius:99px}
.home-restored .home-hero>.eyebrow:before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#b5f36b;box-shadow:0 0 0 5px #b5f36b1a}
.home-restored .home-hero h1{font-size:clamp(58px,8vw,116px);font-weight:850;line-height:1.12;letter-spacing:-.055em;max-width:1150px;margin:25px auto;overflow-wrap:normal}
.home-restored .home-hero h1 em{font-style:normal;background:linear-gradient(100deg,#fff 10%,#b4a3ff 48%,#73dfff);background-clip:text;-webkit-background-clip:text;color:transparent}
.home-restored .home-hero>.lead{font-size:clamp(16px,1.6vw,21px);line-height:2;color:#b4b0c6;max-width:760px;margin:0 auto}
.home-restored .hero-actions{display:flex;justify-content:center;gap:12px;margin:32px 0 22px}
.home-restored .hero-actions .button{min-height:54px;padding:13px 26px}
.home-restored .hero-media{width:min(1180px,100%);height:min(650px,55vw);min-height:430px;margin:68px auto 0;position:relative;border:0;border-radius:0;box-shadow:none;background:#070711;overflow:visible}
.home-restored .hero-media>img{width:100%;height:100%;object-fit:cover;filter:saturate(.88) contrast(1.08);mask-image:radial-gradient(ellipse 88% 82% at 48% 48%,#000 50%,#000e 66%,transparent 100%)}
.home-restored .hero-media:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 28%,#07071133 52%,#070711d1 82%,#070711),linear-gradient(0deg,#070711,transparent 25%,transparent 74%,#070711)}
.home-media-overlay{position:absolute;z-index:2;inset-inline-start:clamp(24px,5vw,70px);bottom:clamp(25px,6vw,75px);display:grid;max-width:620px;text-align:start}
.home-media-overlay span{font:10px 'Fira Code',monospace;color:#b6a6ff;letter-spacing:.14em}
.home-media-overlay strong{font-size:clamp(28px,4vw,58px);line-height:1.3;margin:12px 0;max-width:600px}
.home-media-overlay small{font:12px 'Fira Code',monospace;color:#b9b5c7;direction:ltr}
.home-media-stat{position:absolute;z-index:3;top:28px;inset-inline-end:28px;width:165px;padding:17px;border:1px solid #ffffff33;border-radius:15px;background:#080812b8;backdrop-filter:blur(12px);display:grid;text-align:start}
.home-media-stat small{color:#aaa5b8}.home-media-stat b{font:600 35px 'Fira Code',monospace;margin:6px 0}.home-media-stat span{font-size:11px;color:#83e8b3}
.home-restored .wide-section{max-width:1320px;padding:100px 24px;margin:auto}
.home-restored .wide-section h2{font-size:clamp(28px,3.5vw,48px);letter-spacing:-.025em}
.home-restored #platforms{border-block:1px solid #ffffff0a;background:#0a0a14}
.home-restored .platform-row{gap:14px;margin-top:45px}
.home-restored .platform-row>div{min-width:0;min-height:210px;padding:28px;border:1px solid #302b46;border-radius:22px;background:#11111d;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:25px}
.home-restored .platform-row>div:nth-child(2){background:linear-gradient(145deg,#211943,#11111d)}
.home-restored .platform-row img{width:120px;height:70px;object-fit:contain}.home-restored .platform-row strong{font-size:22px}
.home-restored .feature-grid{gap:20px;margin-top:35px}.home-restored .feature-grid>article{border:0;background:transparent;padding:20px 8px}
.home-restored .steps{gap:20px}.home-restored .steps>li{border-radius:20px;background:#10101b;padding:28px}
.home-restored .model-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:38px}
.home-restored .model-card{min-height:300px;border:0;border-radius:24px;padding:28px;background:#b9a8ff;color:#111;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.home-restored .model-card:nth-child(3n+2){background:#85dcff}.home-restored .model-card:nth-child(3n){background:#ffac9b}
.home-restored .model-card:hover{transform:translateY(-7px);box-shadow:0 30px 65px #0004}
.home-restored .model-card .model-code{color:#312b46;font-size:11px}.home-restored .model-card p{color:#292534;line-height:1.9}.home-restored .model-card h3{font-size:22px;overflow-wrap:anywhere}
.home-restored .model-card .text-link{margin-top:auto;padding-top:20px;color:#181322;font-weight:800}
.home-restored #pricing{background:#0a0a14;border-block:1px solid #ffffff0a}
.home-restored .plan-grid{gap:12px;margin-top:40px}.home-restored .plan-card{min-height:400px;padding:25px;border-radius:20px;background:#10101b;display:flex;flex-direction:column;position:relative}
.home-restored .plan-card:nth-child(3){background:linear-gradient(180deg,#282044,#151321);border-color:#7657ff}
.home-restored .plan-card h3{font:600 23px 'Fira Code',monospace}.home-restored .plan-price{font-size:44px;margin:20px 0 8px}.home-restored .plan-card .button{margin-top:auto}
.home-restored .vip-band{border-radius:20px;margin-top:30px}.home-restored .app-band{border-radius:0}
.home-restored .guide-card{border-radius:20px;padding:28px;background:#11111d}.home-restored .pub-footer{margin-top:50px}
html[dir=ltr] .home-restored .hero-media:after{transform:scaleX(-1)}
@media(min-width:1600px){.home-restored .pub-header{grid-template-columns:1fr auto 1fr}}
@media(max-width:1180px){.home-restored .pub-header{width:calc(100% - 36px);grid-template-columns:auto 1fr;gap:14px}.home-restored .header-actions{grid-column:2;grid-row:1}.home-restored .primary-nav{grid-column:1/-1;grid-row:2;flex-wrap:wrap;white-space:normal}.home-restored .model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.home-restored .pub-header{width:calc(100% - 24px);padding:12px;gap:10px}.home-restored .brand img{width:80px}.home-restored .header-actions{gap:10px}.home-restored .header-actions>.primary{display:none}.home-restored .primary-nav{gap:10px 20px;overflow:visible;justify-content:center}.home-restored .primary-nav a{font-size:11px;padding:8px 0}.home-restored .home-hero{padding:65px 18px 35px}.home-restored .home-hero h1{font-size:clamp(36px,7vw,54px);letter-spacing:-.035em;line-height:1.3;overflow-wrap:anywhere}.home-restored .home-hero>.lead{font-size:16px}.home-restored .hero-actions{flex-direction:column;max-width:360px;margin:28px auto 18px}.home-restored .hero-media{height:480px;min-height:0;margin-top:35px}.home-restored .hero-media>img{mask-image:radial-gradient(ellipse 105% 86% at 42% 46%,#000 42%,transparent 100%)}.home-media-stat{top:14px;inset-inline-end:0;width:135px;padding:12px}.home-media-overlay{inset-inline-start:12px;bottom:35px;max-width:95%}.home-media-overlay strong{font-size:30px}.home-restored .wide-section{padding:65px 18px}.home-restored .platform-row{grid-template-columns:1fr}.home-restored .platform-row>div{min-height:150px;flex-direction:row;gap:20px}.home-restored .model-grid{grid-template-columns:1fr}.home-restored .model-card{min-height:280px}.home-restored .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-restored .plan-card{padding:18px;min-height:390px}.home-restored .plan-price{font-size:34px}}
@media(max-width:420px){.home-restored .plan-grid{grid-template-columns:1fr}.home-restored .platform-row strong{font-size:18px}.home-restored .platform-row img{width:95px}.home-restored .home-hero>.eyebrow{font-size:11px}.home-restored .language-menu summary{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-restored *, .home-restored *:before,.home-restored *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.home-restored .model-card:hover,.home-restored .button.primary:hover{transform:none}}
