/* ===========================================================================
   WEB PORTALS — "One login. Every audience." (prefix: wpx-)
   UNIQUE PRESENTATION — nothing here mirrors other pages:
       · persona card-fan hero: three role dashboards in 3D perspective,
         cycling to the front (hero DARK per house rule)
       · audience doors: expanding vertical panels
       · portal composer: module switches + live portal preview
       · before / after comparison slider
       · launch stack: sticky phase cards that pile up on scroll
       · sign-in card CTA
   LIGHT / DARK MIX: hero dark · light doors · dark composer ·
   light slider · dark launch stack · light CTA.
   Light bands use dark ink #17093C + deepened accents.
   Palette on theme: navy #080A2B · magenta #B217BA · violet #7B2FF7
   · blue #2A7BFF · cyan #43D2E0 · gold #F0A400 · Afacad (global).
   Loaded only by templates/webportals.html.
   =========================================================================== */

.wpx-hero, .wpx-doors, .wpx-build, .wpx-swap, .wpx-stack, .wpx-cta {
    --ink: #fff;
    --mute: rgba(255, 255, 255, .74);
    --faint: rgba(255, 255, 255, .46);
    --line: rgba(255, 255, 255, .14);
    --line2: rgba(255, 255, 255, .3);
    --mag: #b217ba;
    --vio: #7b2ff7;
    --blue: #2a7bff;
    --cyan: #43d2e0;
    --gold: #f0a400;
    --navy: #080a2b;
    --grad: linear-gradient(90deg, #b217ba 0%, #2a7bff 100%);
    --wrap: min(88%, 1280px);
    --ease: cubic-bezier(.22, .61, .36, 1);
    position: relative;
    color: var(--ink);
}

/* light bands: dark ink + deepened accents */
.wpx-doors, .wpx-swap, .wpx-cta {
    --ink: #17093c;
    --mute: rgba(23, 9, 60, .74);
    --faint: rgba(23, 9, 60, .5);
    --line: rgba(23, 9, 60, .12);
    --line2: rgba(23, 9, 60, .28);
    --mag: #9a0fa2;
    --cyan: #0e7fa8;
    --gold: #b97a00;
    background: linear-gradient(180deg, #f7f2fd 0%, #ece2f8 100%);
}

.wpx-wrap { width: var(--wrap); margin-inline: auto; }

/* ------------------------------ reveal --------------------------------- */
.js .wpx-rise { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .wpx-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .wpx-rise, .js .wpx-rise.is-in { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------- typography -------------------------------- */
.wpx-eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.1rem; }
.wpx-head { text-align: center; margin-bottom: 3.2rem; }
.wpx-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; font-weight: 700; margin-bottom: 1rem; }
.wpx-head h2 em, .wpx-login h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wpx-head p { max-width: 56ch; margin-inline: auto; color: var(--mute); font-size: 1.12rem; }

.wpx-crumb { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.4rem; }
.wpx-crumb i { font-style: normal; color: var(--line2); }
.wpx-crumb a:hover { color: var(--cyan); }
.wpx-crumb b { color: var(--cyan); font-weight: 600; }

.wpx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.9rem; border-radius: 999px; font-size: 1.05rem; font-weight: 600; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.wpx-btn--fill { background: var(--grad); color: #fff; box-shadow: 0 14px 38px rgba(178, 23, 186, .38); }
.wpx-btn--fill:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(42, 123, 255, .45); }
.wpx-btn--ghost { border: 1px solid var(--line2); color: var(--ink); background: rgba(255, 255, 255, .04); }
.wpx-btn--ghost:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(67, 210, 224, .12); }
.wpx-btn--block { width: 100%; }

/* ============================ 1 · HERO (dark) ============================ */
.wpx-hero {
    min-height: 100vh; display: flex; align-items: center; padding: 11rem 0 6rem; overflow: hidden;
    background:
        radial-gradient(900px 540px at 82% 16%, rgba(123, 47, 247, .3), transparent 58%),
        radial-gradient(760px 500px at 6% 94%, rgba(67, 210, 224, .14), transparent 58%),
        linear-gradient(165deg, #1a0c44 0%, var(--navy) 55%, #05061c 100%);
}
.wpx-hero{isolation:isolate;--wpx-field-x:0px;--wpx-field-y:0px}
.wpx-hero__in{position:relative;z-index:2}
.wpx-access-field{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.wpx-access-grid{position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.08) 1px,transparent 1.2px);background-size:34px 34px;opacity:.22;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 92%);mask-image:linear-gradient(to bottom,#000,transparent 92%);animation:wpxAccessGrid 22s linear infinite}
.wpx-access-field__gate{position:absolute;width:430px;height:430px;right:5%;top:12%;transform:translate3d(var(--wpx-field-x),var(--wpx-field-y),0) rotate(-8deg);transition:transform 1s cubic-bezier(.22,1,.36,1);opacity:.52}
.wpx-access-field__gate--b{width:650px;height:650px;right:-18%;top:-7%;opacity:.25;transform:translate3d(var(--wpx-field-x),var(--wpx-field-y),0) rotate(10deg)}
.wpx-access-field__gate i{position:absolute;inset:var(--g,10%);border:1px solid rgba(123,47,247,.32);border-radius:32px;box-shadow:inset 0 0 40px rgba(42,123,255,.05),0 0 28px rgba(178,23,186,.08);animation:wpxGateBreathe 7s ease-in-out infinite}
.wpx-access-field__gate i:nth-child(1){--g:8%}.wpx-access-field__gate i:nth-child(2){--g:25%;animation-delay:-2.2s;border-color:rgba(67,210,224,.25)}.wpx-access-field__gate i:nth-child(3){--g:42%;animation-delay:-4.4s;border-color:rgba(240,164,0,.18)}
.wpx-access-token{position:absolute;width:10px;height:10px;border-radius:50%;background:#43D2E0;box-shadow:0 0 18px rgba(67,210,224,.9);animation:wpxTokenFloat 9s ease-in-out infinite}
.wpx-access-token--1{right:33%;top:19%}.wpx-access-token--2{right:9%;top:47%;animation-delay:-3s;background:#B217BA}.wpx-access-token--3{right:29%;top:73%;animation-delay:-6s;background:#F0A400}
@keyframes wpxAccessGrid{to{background-position:34px 34px}}
@keyframes wpxGateBreathe{0%,100%{transform:scale(.98);opacity:.45}50%{transform:scale(1.03);opacity:1}}
@keyframes wpxTokenFloat{0%,100%{transform:translate3d(-18px,-10px,0);opacity:.38}50%{transform:translate3d(24px,18px,0);opacity:1}}

.wpx-hero__in { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2.5rem,4vw,5rem); align-items: center; }
.wpx-hero__title { font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 1.02; font-weight: 700; margin-bottom: 1.6rem; }
.wpx-hero__title em { font-style: normal; background: linear-gradient(90deg, #7bd7ff, #b7a4ff 55%, #ff8fae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wpx-hero__sub { max-width: 54ch; font-size: 1.2rem; color: var(--mute); margin-bottom: 2.2rem; }
.wpx-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.wpx-specs { display: flex; flex-wrap: wrap; gap: .7rem; }
.wpx-specs li { padding: .55rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-size: .95rem; color: var(--mute); }

/* card fan */
.wpx-deck { position: relative; height: 520px; perspective: 1600px; margin-right: 0; width:100%; max-width:620px; justify-self:end; }
.wpx-card {
    position: absolute; inset: 54px auto auto 0; width: min(100%, 510px); min-height: 300px; padding: 1.8rem 1.9rem;
    border-radius: 24px; border: 1px solid var(--line2);
    background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px rgba(5, 6, 28, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s;
}
.wpx-card::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--c); box-shadow: 0 0 18px var(--c); }
.wpx-card[data-pos="0"] { transform: translate3d(0, 0, 0) rotateY(-7deg); z-index: 3; }
.wpx-card[data-pos="1"] { transform: translate3d(58px, -54px, -100px) rotateY(-7deg) rotateZ(1.4deg); z-index: 2; opacity: .82; filter: saturate(.86); }
.wpx-card[data-pos="2"] { transform: translate3d(116px, -108px, -200px) rotateY(-7deg) rotateZ(2.8deg); z-index: 1; opacity: .55; filter: saturate(.7); }
.wpx-card header { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.wpx-av { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #080a2b; background: var(--c); }
.wpx-card header b { display: block; font-size: 1.32rem; }
.wpx-card header small { color: var(--faint); font-size: .92rem; }
.wpx-card ul li { display: flex; justify-content: space-between; gap: 1rem; padding: .92rem 0; border-top: 1px solid var(--line); font-size: 1.04rem; color: var(--mute); }
.wpx-card ul li b { color: #fff; font-weight: 600; text-align: right; }
.wpx-card footer { margin-top: .9rem; font-size: .86rem; letter-spacing: .08em; color: var(--faint); display: flex; align-items: center; gap: .55rem; }
.wpx-dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }

/* ======================== 2 · AUDIENCE DOORS (light) ===================== */
.wpx-doors { padding: 7rem 0; }
.wpx-row { display: flex; gap: 14px; height: 470px; }
.wpx-door {
    position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 26px; cursor: pointer; outline: none;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23, 9, 60, .07);
    transition: flex .7s var(--ease), box-shadow .4s, border-color .4s;
}
.wpx-door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.wpx-door:focus-visible { box-shadow: 0 0 0 3px var(--c); }
.wpx-door.is-open { flex: 4.6; border-color: var(--c); box-shadow: 0 24px 60px rgba(23, 9, 60, .16); }
.wpx-door__tab { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); gap: .8rem; font-size: 1.25rem; font-weight: 700; color: var(--c); letter-spacing: .06em; transition: opacity .3s; }
.wpx-door__tab em { font-style: normal; font-size: .9rem; opacity: .6; }
.wpx-door.is-open .wpx-door__tab { opacity: 0; pointer-events: none; }
.wpx-door__body { position: absolute; inset: 0; padding: 2.4rem 2.2rem 2rem; opacity: 0; transform: translateX(26px); transition: opacity .4s, transform .6s var(--ease); min-width: 340px; }
.wpx-door.is-open .wpx-door__body { opacity: 1; transform: none; transition-delay: .25s; }
.wpx-door__body small { display: block; letter-spacing: .24em; text-transform: uppercase; font-size: .78rem; color: var(--c); margin-bottom: .9rem; font-weight: 700; }
.wpx-door__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; margin-bottom: .9rem; }
.wpx-door__body p { color: var(--mute); margin-bottom: 1.3rem; max-width: 40ch; }
.wpx-door__body ul { display: flex; flex-wrap: wrap; gap: .6rem; }
.wpx-door__body li { padding: .5rem 1rem; border-radius: 999px; font-size: .95rem; color: var(--c); border: 1px solid currentColor; background: color-mix(in srgb, var(--c) 8%, #fff); }

/* ========================= 3 · PORTAL COMPOSER (dark) ==================== */
.wpx-build { padding: 7rem 0; background: radial-gradient(900px 520px at 90% 0%, rgba(178, 23, 186, .22), transparent 60%), linear-gradient(180deg, #0b0c33 0%, #080a2b 100%); }
.wpx-lab { display: grid; grid-template-columns: 360px 1fr; gap: 2.4rem; align-items: start; }
.wpx-mods { display: grid; gap: .7rem; }
.wpx-mods label { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.wpx-mods label:hover { transform: translateX(4px); border-color: var(--line2); }
.wpx-mods input { position: absolute; opacity: 0; pointer-events: none; }
.wpx-sw { grid-row: span 2; width: 52px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .16); position: relative; transition: background .3s; }
.wpx-sw::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.wpx-mods input:checked ~ .wpx-sw { background: var(--grad); }
.wpx-mods input:checked ~ .wpx-sw::after { transform: translateX(22px); }
.wpx-mods label:has(input:checked) { border-color: rgba(67, 210, 224, .5); background: rgba(67, 210, 224, .08); }
.wpx-mods input:focus-visible ~ .wpx-sw { outline: 2px solid var(--cyan); outline-offset: 3px; }
.wpx-mods b { font-size: 1.08rem; }
.wpx-mods small { color: var(--faint); font-size: .9rem; }
.wpx-meter { padding: .6rem .3rem 0; color: var(--mute); }
.wpx-meter b { color: var(--cyan); font-size: 1.3rem; }
.wpx-meter i { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-top: .5rem; overflow: hidden; }
.wpx-meter u { display: block; height: 100%; width: 50%; background: var(--grad); border-radius: 6px; transition: width .5s var(--ease); }

.wpx-win { border-radius: 22px; overflow: hidden; border: 1px solid var(--line2); background: #f7f2fd; color: #17093c; box-shadow: 0 40px 90px rgba(5, 6, 28, .6); }
.wpx-win__bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; background: #e6dbf6; }
.wpx-win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9bfe0; }
.wpx-win__bar span { margin-left: .8rem; padding: .25rem 1rem; border-radius: 999px; background: #fff; font-size: .85rem; color: rgba(23, 9, 60, .6); }
.wpx-win__body { display: grid; grid-template-columns: 170px 1fr; min-height: 400px; }
.wpx-side { background: #17093c; padding: 1.2rem .9rem; display: flex; flex-direction: column; gap: .3rem; }
.wpx-logo { color: #fff; font-size: 1.15rem; margin-bottom: .9rem; padding-left: .6rem; background: none; }
.wpx-side a { color: rgba(255, 255, 255, .68); padding: .5rem .7rem; border-radius: 10px; font-size: .95rem; cursor: default; }
.wpx-side a.on { background: var(--grad); color: #fff; }
.wpx-side a[hidden], .wpx-tile[hidden] { display: none; }
.wpx-main { padding: 1.4rem; }
.wpx-main h4 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.wpx-main h4 small { display: block; font-size: .85rem; font-weight: 400; color: rgba(23, 9, 60, .55); }
.wpx-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.wpx-tile { background: #fff; border: 1px solid rgba(23, 9, 60, .1); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: .35rem; animation: wpxPop .5s var(--ease); }
.wpx-tile small { color: rgba(23, 9, 60, .55); font-size: .85rem; }
.wpx-tile b { font-size: 1.4rem; }
.wpx-chip { align-self: flex-start; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(123, 47, 247, .12); color: #6a1fe0; font-weight: 600; }
.wpx-tile--wide { grid-column: span 2; }
.wpx-bars { display: flex; align-items: flex-end; gap: .5rem; height: 70px; }
.wpx-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #7b2ff7, #2a7bff); }
.wpx-empty { color: rgba(23, 9, 60, .55); padding: 1rem 0; }
@keyframes wpxPop { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: none; } }

/* ====================== 4 · BEFORE / AFTER SLIDER (light) ================ */
.wpx-swap { padding: 7rem 0; }
.wpx-stage { position: relative; height: 440px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 30px 70px rgba(23, 9, 60, .18); user-select: none; }
.wpx-before, .wpx-after { position: absolute; inset: 0; }
.wpx-before { background: repeating-linear-gradient(0deg, #fdf8ee 0 31px, #efe6d2 31px 32px); }
.wpx-after { background: linear-gradient(150deg, #1a0c44, #080a2b); clip-path: inset(0 0 0 var(--x)); display: grid; place-items: center; }
.wpx-tag { position: absolute; top: 1.2rem; left: 1.4rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: #8a5a00; background: #fff3cf; padding: .4rem .9rem; border-radius: 999px; z-index: 2; }
.wpx-tag--r { left: auto; right: 1.4rem; color: #8dffc8; background: rgba(46, 204, 113, .16); }
.wpx-note { position: absolute; padding: .7rem 1rem; max-width: 220px; background: #fff7b8; color: #5a4a00; font-size: .98rem; border-radius: 6px; transform: rotate(var(--r)); box-shadow: 0 8px 18px rgba(90, 74, 0, .18); }
.wpx-clean { width: min(78%, 440px); display: grid; gap: .7rem; }
.wpx-clean div { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; }
.wpx-clean b { font-weight: 600; font-size: .95rem; color: #ffd36b; }
.wpx-clean b.ok { color: #8dffc8; }
.wpx-grip { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .4); z-index: 3; pointer-events: none; }
.wpx-grip i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--grad); box-shadow: 0 6px 22px rgba(42, 123, 255, .5); }
.wpx-grip i::before, .wpx-grip i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid #fff; border-width: 0 0 2px 2px; margin-top: -4px; }
.wpx-grip i::before { left: 12px; transform: rotate(45deg); }
.wpx-grip i::after { right: 12px; transform: rotate(-135deg); }
.wpx-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.wpx-stage:has(.wpx-range:focus-visible) { box-shadow: 0 0 0 3px var(--vio); }

/* ======================== 5 · LAUNCH STACK (dark) ======================== */
.wpx-stack { padding: 7rem 0 9rem; background: radial-gradient(800px 500px at 10% 10%, rgba(42, 123, 255, .2), transparent 60%), linear-gradient(180deg, #080a2b 0%, #0e0836 100%); overflow: clip; }
.wpx-pile { max-width: 900px; margin-inline: auto; padding-bottom: 6rem; }
.wpx-ph {
    position: sticky; top: calc(110px + var(--i) * 28px); display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; align-items: center;
    padding: 2.2rem 2.4rem; margin-bottom: 3.5rem; border-radius: 28px; border: 1px solid var(--line2);
    background: linear-gradient(145deg, color-mix(in srgb, var(--c) 26%, #14083a), #14083a 70%);
    box-shadow: 0 -10px 40px rgba(5, 6, 28, .5);
}
.wpx-ph__n { font-size: 5.5rem; line-height: 1; font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--c); }
.wpx-ph h3 { font-size: 2rem; margin-bottom: .4rem; }
.wpx-ph p { color: var(--mute); margin-bottom: 1rem; }
.wpx-ph ul { display: flex; flex-wrap: wrap; gap: .55rem; }
.wpx-ph li { padding: .4rem .95rem; font-size: .93rem; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); }

/* ========================== 6 · SIGN-IN CARD CTA (light) ================= */
.wpx-cta { padding: 7rem 0 8rem; }
.wpx-login { max-width: 520px; margin-inline: auto; text-align: center; padding: 3.2rem 2.6rem 2.6rem; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(23, 9, 60, .18); position: relative; }
.wpx-login__lock { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; border-radius: 20px; background: var(--grad); box-shadow: 0 14px 34px rgba(178, 23, 186, .4); }
.wpx-login__lock::before { content: ""; position: absolute; left: 18px; top: 28px; width: 24px; height: 18px; border-radius: 5px; background: #fff; }
.wpx-login__lock::after { content: ""; position: absolute; left: 22px; top: 14px; width: 12px; height: 16px; border: 3px solid #fff; border-bottom: 0; border-radius: 10px 10px 0 0; }
.wpx-login h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; margin-bottom: .9rem; }
.wpx-login p { color: var(--mute); margin-bottom: 1.6rem; }
.wpx-field { text-align: left; padding: .75rem 1.1rem; border-radius: 14px; border: 1px solid var(--line2); margin-bottom: .8rem; background: #faf7fe; }
.wpx-field small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.wpx-field span { color: rgba(23, 9, 60, .6); }
.wpx-login .wpx-btn { margin-top: .8rem; }
.wpx-login__alt { display: inline-block; margin-top: 1.2rem; color: var(--mag); font-weight: 600; }
.wpx-login__alt:hover { color: var(--vio); }

/* ============================== responsive =============================== */
@media (max-width: 1100px) {
    .wpx-hero__in { grid-template-columns: 1fr; }
    .wpx-deck { margin: 1rem auto 0; width: min(100%, 520px); }
    .wpx-lab { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .wpx-hero { padding: 8rem 0 4rem; min-height: auto; }
    .wpx-deck { height: 410px; max-width:520px; }
    .wpx-card[data-pos="1"] { transform: translate3d(24px, -28px, -90px) rotateZ(1.2deg); }
    .wpx-card[data-pos="2"] { transform: translate3d(48px, -56px, -180px) rotateZ(2.4deg); }
    .wpx-row { flex-direction: column; height: auto; }
    .wpx-door { flex: none; height: 72px; transition: height .6s var(--ease), box-shadow .4s; }
    .wpx-door.is-open { height: 330px; }
    .wpx-door__tab { writing-mode: horizontal-tb; transform: none; }
    .wpx-door__body { min-width: 0; padding: 1.6rem 1.4rem; }
    .wpx-win__body { grid-template-columns: 1fr; }
    .wpx-side { flex-direction: row; flex-wrap: wrap; }
    .wpx-logo { width: 100%; }
    .wpx-tile--wide { grid-column: span 1; }
    .wpx-stage { height: 480px; }
    .wpx-note { max-width: 150px; font-size: .88rem; }
    .wpx-ph { grid-template-columns: 1fr; padding: 1.6rem; top: calc(90px + var(--i) * 20px); }
    .wpx-ph__n { font-size: 3.4rem; }
    .wpx-login { padding: 3rem 1.5rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wpx-card, .wpx-door, .wpx-door__body, .wpx-tile { transition: none; animation: none; }
}

@media(max-width:1100px){.wpx-access-field__gate{right:-12%;top:16%;opacity:.34}.wpx-deck{justify-self:center}}
@media(max-width:760px){.wpx-access-field__gate{width:430px;height:430px;right:-45%;top:22%;opacity:.22}.wpx-access-field__gate--b{display:none}.wpx-card{width:min(94%,460px);min-height:280px;padding:1.45rem 1.5rem}}
@media(prefers-reduced-motion:reduce){.wpx-access-grid,.wpx-access-field__gate i,.wpx-access-token{animation:none!important}.wpx-access-field__gate{transform:none!important;transition:none!important}}
