/* ElmamSoft — Premium Design System FINAL. Progressive visual layer over the verified static-first website.
 * Scope: premium-stage2 pages, existing copy/assets/JS/API unchanged. No third-party runtime dependency.
 */
:root {--s2-ink:#0c233e;--s2-muted:#60748b;--s2-blue:#125dbb;--s2-blue-2:#1c8ee8;--s2-gold:#eeb214;--s2-line:#dfebf4;--s2-ice:#f5f9fd;--s2-deep:#071e35;--s2-surface:#fff;--s2-curve:cubic-bezier(.22,1,.36,1);--s2-max:1260px}
.premium-stage2{background:var(--s2-surface);color:var(--s2-ink);font-feature-settings:"kern";}
.premium-stage2 .container{width:min(calc(100% - 56px),var(--s2-max));}
.premium-stage2 .site-header{height:76px;background:rgba(255,255,255,.94);border-color:rgba(210,228,243,.75);box-shadow:0 6px 28px rgba(15,49,87,.025);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.premium-stage2 .site-nav a{font-weight:650;font-size:.84rem;border-radius:999px;padding:8px 12px;letter-spacing:-.012em}
.premium-stage2 .site-nav a.active{color:#0758ad;background:#edf6ff}
.premium-stage2 .btn{font-weight:700;border-radius:999px;min-height:46px;padding:11px 23px;transition:transform .25s var(--s2-curve),box-shadow .25s var(--s2-curve),background .25s}
.premium-stage2 .btn-primary{background:#135ebc;box-shadow:0 11px 23px rgba(17,90,183,.13)}
.premium-stage2 .btn-primary:hover{background:#084a9f;box-shadow:0 16px 30px rgba(17,90,183,.20)}
.premium-stage2 .btn-secondary{border-color:#c9d9e9;color:#153954}
.premium-stage2 .lang-link{border-radius:999px;font-weight:700}
.premium-stage2 .breadcrumb{padding-block:22px 5px;font-size:.8rem;color:#75889b}
.premium-stage2 .breadcrumb a:hover{color:#1363bc}
.premium-stage2 a:focus-visible,.premium-stage2 button:focus-visible,.premium-stage2 input:focus-visible,.premium-stage2 textarea:focus-visible,.premium-stage2 select:focus-visible{outline:3px solid #d49c02;outline-offset:4px}
.premium-stage2 .footer{background:var(--s2-deep)}
.premium-stage2 .footer a:hover{color:#fff}
.premium-stage2 .section{padding-block:clamp(74px,8vw,132px)}
.premium-stage2 .section.soft-bg{background:#f6faff}
.premium-stage2 .section.blue-bg{background:#eef6ff}
.premium-stage2 .section-head{max-width:820px;margin-bottom:clamp(29px,4vw,58px)}
.premium-stage2 .section-head h2{font-size:clamp(2rem,4vw,3.7rem);line-height:1.19;letter-spacing:-.045em;font-weight:720;text-wrap:balance;color:var(--s2-ink)}
.premium-stage2 .section-head p{color:var(--s2-muted);font-size:clamp(.96rem,1.18vw,1.14rem);line-height:1.88}
.premium-stage2 .eyebrow{font-weight:700;font-size:.75rem;letter-spacing:.025em;color:#1365b5}
.premium-stage2 .eyebrow::before{width:19px;background:linear-gradient(90deg,#ecae12,#efc64a);height:2px}
.premium-stage2 .soft-bg .eyebrow{color:#0c61b3}
/* Inner-page hero system: quiet whitespace, generous type, real UI / diagram focal point */
.premium-stage2:not(.premium-stage1) .inner-hero{position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(62px,6.8vw,116px) clamp(72px,8vw,126px);background:linear-gradient(150deg,#fff 5%,#f6faff 60%,#eef7ff 100%)}
.premium-stage2:not(.premium-stage1) .inner-hero::before{content:"";pointer-events:none;position:absolute;z-index:-1;width:min(68vw,850px);height:min(68vw,850px);inset-inline-end:-22%;top:-58%;border-radius:50%;background:radial-gradient(circle,rgba(36,146,225,.10),rgba(70,177,213,.04) 54%,transparent 72%)}
.premium-stage2:not(.premium-stage1) .inner-hero::after{content:"";pointer-events:none;position:absolute;z-index:-1;width:380px;height:380px;inset-inline-start:-170px;bottom:-220px;border-radius:50%;background:radial-gradient(circle,rgba(237,180,36,.085),transparent 70%)}
.premium-stage2:not(.premium-stage1) .inner-hero-grid{gap:clamp(30px,5.5vw,92px);grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center}
.premium-stage2:not(.premium-stage1) .inner-copy{position:relative;min-width:0}
.premium-stage2:not(.premium-stage1) .inner-copy h1{font-size:clamp(2.55rem,5.1vw,5.3rem);font-weight:730;line-height:1.17;letter-spacing:-.061em;color:#0b223c;margin:12px 0 25px;max-width:900px;text-wrap:balance}
.premium-stage2:not(.premium-stage1) .inner-copy > p:not(.availability-note){color:#61758b;font-size:clamp(1rem,1.4vw,1.22rem);line-height:1.95;max-width:640px}
.premium-stage2:not(.premium-stage1) .inner-copy .hero-actions{margin-top:28px;gap:12px}
.premium-stage2:not(.premium-stage1) .inner-visual{min-width:0;position:relative}
.premium-stage2:not(.premium-stage1) .inner-visual > img,
.premium-stage2:not(.premium-stage1) .inner-visual > picture img{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 22px 34px rgba(14,65,107,.07));}
.premium-stage2:not(.premium-stage1) .product-hero-preview{border:1px solid #e0ebf5;border-radius:24px;padding:10px;background:#fff;box-shadow:0 32px 78px rgba(17,64,102,.11),0 6px 18px rgba(19,70,120,.04);transform:translateY(4px)}
.premium-stage2:not(.premium-stage1) .product-hero-preview img{border-radius:15px;display:block}
.premium-stage2:not(.premium-stage1) .product-identity-visual{border:1px solid #e2edf6;border-radius:30px;box-shadow:0 20px 55px rgba(18,75,116,.08);background:rgba(255,255,255,.82);padding:clamp(20px,3vw,48px)}
.premium-stage2:not(.premium-stage1) .process-visual,
.premium-stage2:not(.premium-stage1) .editorial-visual{border:1px solid #e0eaf5;border-radius:28px;padding:clamp(24px,3vw,44px);box-shadow:0 28px 75px rgba(17,67,118,.09);background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(247,251,255,.94));}
.premium-stage2:not(.premium-stage1) .process-visual li{border-color:#e7eef5}
.premium-stage2:not(.premium-stage1) .process-visual b{background:#eaf4ff;color:#1160b1}
.premium-stage2:not(.premium-stage1) .editorial-visual strong{font-size:clamp(1.3rem,2.4vw,2.1rem);letter-spacing:-.035em;color:#102c4a}
.premium-stage2:not(.premium-stage1) .visual-kicker{color:#2784ce;letter-spacing:.05em}
.premium-stage2:not(.premium-stage1) .platform-row span{border-radius:999px}
.premium-stage2:not(.premium-stage1) .availability-note{font-size:.83rem;color:#607389}
/* Family identity: change atmosphere rather than logo or factual claims */
.premium-stage2.family-products:not(.premium-stage1) .inner-hero{background:linear-gradient(150deg,#f4faff,#fff 45%,#eef8fd)}
.premium-stage2.family-services:not(.premium-stage1) .inner-hero{background:linear-gradient(155deg,#fff,#f6faff 65%,#eef5fd)}
.premium-stage2.family-industries:not(.premium-stage1) .inner-hero{background:linear-gradient(155deg,#fff,#f1f8ff 72%,#e8f5fc)}
.premium-stage2.family-work:not(.premium-stage1) .inner-hero{background:linear-gradient(155deg,#f4faff,#fff 65%,#edf8ff)}
.premium-stage2.family-insights:not(.premium-stage1) .inner-hero{background:linear-gradient(155deg,#fff,#f8fbff 65%,#f4f7fb)}
.premium-stage2.family-utility:not(.premium-stage1) .inner-hero{background:#f8fbfe}
/* Elegant section-jump navigation: headings are existing original content; anchors are additive */
.premium-stage2 .premium-section-nav{position:relative;z-index:4;background:#fff;border-block:1px solid #e5edf5}
.premium-stage2 .premium-section-nav-inner{display:flex;align-items:center;gap:clamp(10px,2vw,28px);min-height:72px}
.premium-stage2 .premium-section-nav-label{display:flex;align-items:center;gap:9px;flex:0 0 auto;font-size:.7rem;letter-spacing:.035em;font-weight:750;color:#5a7188}
.premium-stage2 .premium-section-nav-label::before{content:"";height:6px;width:6px;border-radius:50%;background:#dfa61c}
.premium-stage2 .premium-section-nav-links{display:flex;gap:9px;overflow:auto;align-items:center;scrollbar-width:none;min-width:0;white-space:nowrap;padding-block:10px}
.premium-stage2 .premium-section-nav-links::-webkit-scrollbar{display:none}
.premium-stage2 .premium-section-nav a{font-size:.79rem;font-weight:650;color:#47627c;padding:8px 13px;border-radius:999px;border:1px solid transparent;transition:background .2s,color .2s}
.premium-stage2 .premium-section-nav a:hover,.premium-stage2 .premium-section-nav a:focus-visible{background:#ecf5fd;color:#0b61b7;border-color:#d2e6f7}
.premium-stage2 [id^="s2-chapter-"]{scroll-margin-top:105px}
/* Editorial components: cards are spacious and focused, not a wall of widgets. */
.premium-stage2 .surface-card,.premium-stage2 .feature-card,.premium-stage2 .info-card,
.premium-stage2 .insight-card,.premium-stage2 .industry-card,.premium-stage2 .work-card,
.premium-stage2 .system-module-card,.premium-stage2 .system-related-card,
.premium-stage2 .portfolio-system-card,.premium-stage2 .engagement-card,
.premium-stage2 .sitemap-group{border:1px solid #e0eaf3;border-radius:24px;background:#fff;box-shadow:0 10px 32px rgba(17,62,102,.035);transition:transform .35s var(--s2-curve),box-shadow .35s var(--s2-curve),border-color .35s}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.premium-stage2 .service-card:hover,.premium-stage2 .feature-card:hover,.premium-stage2 .insight-card:hover,.premium-stage2 .product-card:hover,.premium-stage2 .industry-product-card:hover,.premium-stage2 .industry-card:hover,.premium-stage2 .portfolio-system-card:hover{transform:translateY(-5px);box-shadow:0 25px 55px rgba(17,62,102,.09);border-color:#c6deef}}
.premium-stage2 .surface-card h3,.premium-stage2 .feature-card h3,.premium-stage2 .industry-card h3{font-weight:740;color:#122d4b;letter-spacing:-.025em}
.premium-stage2 .surface-card p,.premium-stage2 .feature-card p,.premium-stage2 .industry-card p{color:#61768a}
.premium-stage2 .card-index{background:#eaf4fc;color:#0b60b2;font-weight:750}
.premium-stage2 .card-grid,.premium-stage2 .feature-grid,.premium-stage2 .industry-grid{gap:clamp(14px,2.2vw,24px)}
.premium-stage2 .product-card,.premium-stage2 .industry-product-card{border:1px solid #e1ebf4;border-radius:27px;overflow:hidden;background:#fff;box-shadow:0 13px 32px rgba(23,73,106,.04);transition:transform .35s var(--s2-curve),box-shadow .35s}
.premium-stage2 .product-media,.premium-stage2 .industry-product-media{background:linear-gradient(150deg,#f3f9fe,#e9f5fd);border-radius:0}
.premium-stage2 .product-media img,.premium-stage2 .industry-product-media img{object-fit:contain;max-width:100%;}
.premium-stage2 .product-group{margin-block:0 clamp(72px,8vw,130px)}
.premium-stage2 .product-group-head h2{font-size:clamp(2rem,3.5vw,3.35rem);line-height:1.2;font-weight:740;letter-spacing:-.04em}
.premium-stage2 .product-status-badge,.premium-stage2 .badge{border-radius:999px}
.premium-stage2 .product-actions{gap:10px}
.premium-stage2 .system-module-grid,.premium-stage2 .system-indicator-grid,.premium-stage2 .screenshot-grid{gap:clamp(14px,2vw,22px)}
.premium-stage2 .system-module-card,.premium-stage2 .system-indicator,.premium-stage2 .screenshot-card{border-radius:23px;overflow:hidden}
.premium-stage2 .screenshot-card img{display:block}
.premium-stage2 .screenshot-frame{background:#ecf5fb;border-radius:18px;overflow:hidden}
.premium-stage2 .faq-list details{border:1px solid #e0e9f2;border-radius:17px;background:#fff;padding-inline:clamp(16px,2.8vw,30px);margin-bottom:12px}
.premium-stage2 .faq-list summary{cursor:pointer;font-weight:650}
.premium-stage2 .feature-grid h3,.premium-stage2 .system-module-card h3{font-weight:700}
.premium-stage2 .timeline article,.premium-stage2 .process-step,.premium-stage2 .deliverable{border-radius:22px}
.premium-stage2 .timeline b,.premium-stage2 .process-step b{font-weight:750}
/* Case studies: screenshots as hero art without rewriting original image content */
.premium-stage2 .s2-showcase{overflow:hidden;padding-block:clamp(64px,7vw,115px);background:#081f37;color:#fff}
.premium-stage2 .s2-showcase .container{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:clamp(25px,5vw,70px)}
.premium-stage2 .s2-showcase-copy h2{font-size:clamp(2.15rem,4.4vw,4.75rem);line-height:1.13;letter-spacing:-.056em;color:#fff;margin:14px 0 22px}
.premium-stage2 .s2-showcase-copy p{color:#bfd0de;line-height:1.95;margin-bottom:25px}
.premium-stage2 .s2-showcase .eyebrow{color:#80cbdc}
.premium-stage2 .s2-showcase .eyebrow::before{background:#e6b326}
.premium-stage2 .s2-showcase-media{overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:28px;box-shadow:0 35px 70px rgba(0,0,0,.21);background:#f6fafe;padding:7px}
.premium-stage2 .s2-showcase-media img{width:100%;height:auto;border-radius:21px;display:block;object-fit:contain}
.premium-stage2 .s2-showcase .btn{background:#fff;color:#12385f;border-color:#fff;box-shadow:none}
/* Articles: long-form and legal docs must be easily readable in both directions */
.premium-stage2 .article-shell{grid-template-columns:minmax(0,1fr) minmax(230px,.32fr);gap:clamp(30px,4vw,70px);align-items:start}
.premium-stage2 .article-content,.premium-stage2 .legal-content{font-size:clamp(1rem,1.16vw,1.12rem);line-height:2.05;max-width:900px;overflow-wrap:anywhere}
.premium-stage2 .article-content h2,.premium-stage2 .legal-content h2{font-size:clamp(1.45rem,2.5vw,2.35rem);letter-spacing:-.034em;line-height:1.35;margin-block:2.3em .8em;scroll-margin-top:105px}
.premium-stage2 .article-content h3{font-size:1.3rem;letter-spacing:-.02em;margin-top:2em}
.premium-stage2 .article-content p,.premium-stage2 .legal-content p{color:#486076}
.premium-stage2 .article-lead{font-size:clamp(1.15rem,1.6vw,1.45rem);line-height:1.95;color:#2e4e68}
.premium-stage2 .article-aside{border:1px solid #e3ecf5;border-radius:23px;padding:25px;background:#f8fbff}
.premium-stage2 .legal-content{padding:clamp(27px,5vw,70px);border:1px solid #e2ecf5;border-radius:27px;background:#fff;box-shadow:0 18px 43px rgba(18,66,103,.04)}
.premium-stage2 .legal-content a,.premium-stage2 .article-content a{color:#1261b4;text-decoration:underline;text-underline-offset:4px}
.premium-stage2 .s2-reading-progress{position:fixed;top:0;inset-inline-start:0;z-index:130;width:0;height:3px;background:linear-gradient(90deg,#0a65c3,#10b9bd,#ecb52b);pointer-events:none;transition:width .08s linear}
/* Project brief wizard, same existing field names/handlers/steps, upgraded usability */
.premium-stage2 .brief-shell{gap:clamp(20px,4vw,54px)}
.premium-stage2 .project-form,.premium-stage2 .wizard-form,.premium-stage2 .brief-side,.premium-stage2 .info-card{border-radius:25px;box-shadow:0 22px 55px rgba(20,74,112,.045);border:1px solid #dfe9f3;background:#fff}
.premium-stage2 .wizard-progress{accent-color:#1266bd}
.premium-stage2 .wizard-top,.premium-stage2 .wizard-body{min-width:0}
.premium-stage2 input:not([type="checkbox"]):not([type="radio"]),.premium-stage2 select,.premium-stage2 textarea{border-radius:13px;border-color:#cfdeeb;background:#fff;min-width:0;max-width:100%}
.premium-stage2 input:not([type="checkbox"]):not([type="radio"]):focus,.premium-stage2 select:focus,.premium-stage2 textarea:focus{border-color:#448ed0;box-shadow:0 0 0 4px rgba(27,120,201,.09)}
.premium-stage2 .choice-card{border-radius:17px;min-height:48px}
.premium-stage2 .wizard-actions{gap:12px}
.premium-stage2 .inline-error{color:#a12724}
.premium-stage2 .wizard-success,.premium-stage2 .wizard-review{border-radius:21px}
/* Downloads and data tables: comfortable horizontal scrolling without overflow */
.premium-stage2 .download-item{border:1px solid #dfe9f2;border-radius:26px;background:#fff;padding:clamp(18px,3.4vw,40px);box-shadow:0 17px 45px rgba(20,68,100,.045)}
.premium-stage2 .download-item h2{font-size:clamp(1.75rem,2.9vw,2.6rem);letter-spacing:-.03em}
.premium-stage2 .download-table{border-radius:13px;max-width:100%;display:table}
.premium-stage2 .download-item .product-actions{flex-wrap:wrap}
.premium-stage2 .download-notice{color:#60788c}
.premium-stage2 .sitemap-grid{gap:20px}
.premium-stage2 .sitemap-group{padding:clamp(19px,3vw,35px)}
.premium-stage2 .section-cta{background:#fff}
.premium-stage2 .cta-panel{position:relative;overflow:hidden;border-radius:32px;background:linear-gradient(115deg,#071f39,#104372);box-shadow:0 24px 55px rgba(7,41,83,.12);border:1px solid rgba(80,153,215,.18)}
.premium-stage2 .cta-panel::after{content:"";position:absolute;inset-inline-end:-12%;top:-120%;height:550px;width:550px;border-radius:50%;border:1px solid rgba(235,247,255,.14);pointer-events:none}
.premium-stage2 .cta-panel h2{color:#fff;letter-spacing:-.045em;font-size:clamp(2rem,3.7vw,3.4rem);line-height:1.2}
.premium-stage2 .cta-panel p{color:#ccdcea}
.premium-stage2 .cta-panel .eyebrow{color:#b0d8f7}
/* Video landing: theater framing rather than a generic player */
.premium-stage2 .flow-video-watch{background:linear-gradient(180deg,#f5faff,#fff 70%)}
.premium-stage2 .flow-video-player-shell{border-radius:25px;overflow:hidden;border:8px solid #132f4b;box-shadow:0 40px 75px rgba(9,45,79,.18);background:#07192b}
.premium-stage2 .flow-video-player{display:block;width:100%;height:auto}
.premium-stage2 .flow-video-watch-actions{flex-wrap:wrap}
/* Subtle premium entrance—no forced motion or layout shift */
@media(prefers-reduced-motion:no-preference){.premium-stage2:not(.premium-stage1) .inner-copy h1{animation:s2-rise .8s var(--s2-curve) both}.premium-stage2:not(.premium-stage1) .inner-visual{animation:s2-visual .9s .09s var(--s2-curve) both}@keyframes s2-rise{from{opacity:.25;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes s2-visual{from{opacity:.65;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}}
/* Breakpoints and RTL / LTR parity */
@media(max-width:1100px){.premium-stage2 .site-nav a{padding:8px 9px;font-size:.8rem}}
@media(max-width:900px){.premium-stage2:not(.premium-stage1) .inner-hero-grid{grid-template-columns:minmax(0,1fr);gap:38px}.premium-stage2:not(.premium-stage1) .inner-copy h1{font-size:clamp(2.45rem,8vw,4.5rem);max-width:840px}.premium-stage2:not(.premium-stage1) .inner-visual{width:min(100%,720px);margin-inline:auto}.premium-stage2 .s2-showcase .container{grid-template-columns:1fr}.premium-stage2 .s2-showcase-copy h2{max-width:760px}.premium-stage2 .article-shell{grid-template-columns:1fr}.premium-stage2 .premium-section-nav-label{display:none}}
@media(max-width:640px){.premium-stage2 .container{width:min(calc(100% - 36px),var(--s2-max))}.premium-stage2 .site-header{height:70px}.premium-stage2:not(.premium-stage1) .inner-hero{padding-block:46px 65px}.premium-stage2:not(.premium-stage1) .inner-copy h1{font-size:clamp(2.2rem,10vw,3.2rem);letter-spacing:-.04em;line-height:1.2}.premium-stage2:not(.premium-stage1) .inner-copy>p:not(.availability-note){font-size:1rem;line-height:1.8}.premium-stage2 .section{padding-block:clamp(64px,13vw,88px)}.premium-stage2 .section-head h2{font-size:clamp(1.9rem,7vw,2.55rem)}.premium-stage2 .premium-section-nav-inner{min-height:62px}.premium-stage2 .premium-section-nav a{font-size:.74rem;padding:7px 11px}.premium-stage2 .download-item{padding:19px}.premium-stage2 .legal-content{padding:23px}.premium-stage2 .s2-showcase-media{border-radius:19px}.premium-stage2 .s2-showcase-media img{border-radius:13px}.premium-stage2 .cta-panel{border-radius:24px}}
@media(max-width:380px){.premium-stage2 .container{width:calc(100% - 28px)}.premium-stage2:not(.premium-stage1) .inner-copy h1{font-size:clamp(2rem,10vw,2.5rem)}.premium-stage2 .btn{padding-inline:15px}.premium-stage2 .premium-section-nav-links{gap:4px}}
@media(prefers-reduced-motion:reduce){.premium-stage2 *,.premium-stage2 *::before,.premium-stage2 *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}
@media print{.premium-stage2 .site-header,.premium-stage2 .premium-section-nav,.premium-stage2 .s2-reading-progress{display:none!important}.premium-stage2 .section{padding-block:20px}.premium-stage2 .inner-hero{padding-block:25px!important}.premium-stage2 .cta-panel{box-shadow:none}}
/* Contain the original ambient decoration in narrow LTR viewports. */
.premium-stage2 .premium-home-hero {overflow:hidden}
/* Long English technical headings must reflow at 320px, without clipping content. */
.premium-stage2 h1,.premium-stage2 h2,.premium-stage2 h3{overflow-wrap:anywhere}
@media(max-width:640px){.premium-stage2 .engineering-copy h2{font-size:clamp(1.8rem,7.2vw,2.75rem);line-height:1.28}}
