/* ====================================================
   PapaiArt — software hub styles
   Shared nav/footer are also loaded by the legacy
   Animation Studio pages on top of style.css.
   ==================================================== */

:root {
    --pa-bg: #0a0b10;
    --pa-bg-2: #0f1118;
    --pa-surface: #151822;
    --pa-surface-2: #1b1f2b;
    --pa-line: rgba(255, 255, 255, .08);
    --pa-line-2: rgba(255, 255, 255, .14);
    --pa-text: #eaedf4;
    --pa-muted: #9ea6b8;
    --pa-dim: #6c7486;
    --p: #1e9cf0;
    --p-ink: #fff;
    --pa-radius: 14px;
    --pa-radius-lg: 22px;
    --pa-max: 1240px;
    --pa-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pa-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pa-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --pa-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base (dark pages only) ---------- */

body.pa-dark {
    margin: 0;
    background: var(--pa-bg);
    color: var(--pa-text);
    font-family: var(--pa-font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.pa-dark *, .pa-dark *::before, .pa-dark *::after { box-sizing: border-box; }

/* topographic contour pattern behind the dark pages, tinted with the page accent */
body.pa-dark::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% + 1000px);
    height: calc(100% + 1000px);
    z-index: -1;
    pointer-events: none;
    background: var(--p);
    opacity: .1;
    -webkit-mask: url(../images/topo.svg) 0 0 / 1000px 1000px repeat;
    mask: url(../images/topo.svg) 0 0 / 1000px 1000px repeat;
    animation: pa-topo-drift 260s linear infinite;
    will-change: transform;
}
@keyframes pa-topo-drift { to { transform: translate(-1000px, -1000px); } }
@media (prefers-reduced-motion: reduce) { body.pa-dark::before { animation: none; } }
/* with JS the pattern is drawn live (assets/js/topo.js) and morphs; the SVG above is the fallback */
.has-topo body.pa-dark::before { display: none; }
.pa-topo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .1; }
.pa-dark img { max-width: 100%; height: auto; display: block; }
.pa-dark a { color: var(--p); text-decoration: none; transition: color .15s ease; }
.pa-dark a:hover { color: #fff; }
.pa-dark h1, .pa-dark h2, .pa-dark h3, .pa-dark h4 {
    font-family: var(--pa-display);
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin: 0 0 .5em;
}
.pa-dark h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.pa-dark h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.pa-dark h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
.pa-dark p { margin: 0 0 1em; color: var(--pa-muted); }
.pa-dark ::selection { background: var(--p); color: var(--p-ink); }

.pa-wrap { max-width: var(--pa-max); margin: 0 auto; padding: 0 24px; }
.pa-section { padding: 110px 0; position: relative; }
.pa-section--tight { padding: 72px 0; }
.pa-section--alt { background: rgba(15, 17, 24, .38); border-top: 1px solid var(--pa-line); border-bottom: 1px solid var(--pa-line); }

.pa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--pa-mono);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--p);
    margin-bottom: 18px;
}
.pa-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }

.pa-head { max-width: 760px; margin-bottom: 56px; }
.pa-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.pa-head--center .pa-eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.pa-head p { font-size: 1.1rem; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */

.pa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 11px;
    font-family: var(--pa-font);
    font-weight: 600;
    font-size: .96rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s var(--pa-ease), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.pa-btn svg { width: 18px; height: 18px; flex: none; }
.pa-btn--primary { background: var(--p); color: var(--p-ink) !important; box-shadow: 0 10px 30px -10px var(--p); }
.pa-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--p); filter: brightness(1.08); }
.pa-btn--ghost { background: rgba(255, 255, 255, .04); color: #fff !important; border-color: var(--pa-line-2); backdrop-filter: blur(8px); }
.pa-btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.pa-btn--lg { padding: 16px 28px; font-size: 1.02rem; border-radius: 13px; }
.pa-btn--sm { padding: 9px 14px; font-size: .88rem; border-radius: 9px; }

/* ---------- navigation (shared by every page) ---------- */

.pa-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 16, .82);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-family: var(--pa-font);
}
.pa-nav *, .pa-nav *::before, .pa-nav *::after { box-sizing: border-box; }
.pa-nav__inner {
    max-width: var(--pa-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.pa-brand { display: flex; align-items: center; gap: 11px; color: #fff !important; text-decoration: none; flex: none; }
.pa-brand img { width: 30px; height: auto; display: block; }
.pa-brand b { font-family: var(--pa-display); font-size: 1.18rem; letter-spacing: -.02em; font-weight: 700; }
.pa-brand small { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #8b93a6; font-weight: 500; margin-top: -2px; }

.pa-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.pa-menu > li { position: relative; }
.pa-menu > li > a, .pa-menu > li > button {
    display: flex; align-items: center; gap: 6px;
    padding: 9px 14px;
    border-radius: 9px;
    color: #d5dae5;
    font: 500 .94rem var(--pa-font);
    background: none; border: 0; cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.pa-menu > li > a:hover, .pa-menu > li > button:hover, .pa-menu > li:focus-within > button { background: rgba(255, 255, 255, .06); color: #fff; }
.pa-menu > li > a.is-active, .pa-menu > li > button.is-active { color: #fff; }
.pa-menu > li > a.is-active::after, .pa-menu > li > button.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; background: var(--p); border-radius: 2px;
}
.pa-menu .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.pa-has-mega:hover .chev, .pa-has-mega:focus-within .chev { transform: rotate(180deg); }

.pa-mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 640px;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    background: rgba(18, 20, 28, .97);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    transition: opacity .18s ease, transform .18s var(--pa-ease), visibility .18s;
}
.pa-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.pa-has-mega:hover .pa-mega, .pa-has-mega:focus-within .pa-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pa-mega__group { grid-column: 1 / -1; font: 500 .68rem var(--pa-mono); letter-spacing: .14em; text-transform: uppercase; color: #6f788b; padding: 10px 12px 4px; }
.pa-mega a {
    display: flex; gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 12px;
    color: #fff !important; text-decoration: none;
    transition: background .15s ease;
}
.pa-mega a:hover { background: rgba(255, 255, 255, .06); }
.pa-mega img { width: 38px; height: 38px; flex: none; }
.pa-mega b { display: block; font-size: .93rem; font-weight: 600; line-height: 1.25; }
.pa-mega span { display: block; font-size: .8rem; color: #8b93a6; line-height: 1.35; }

.pa-nav__cta { flex: none; }
.pa-nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.pa-nav__toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 960px) {
    .pa-nav__toggle { display: block; }
    .pa-nav__cta { display: none; }
    .pa-menu {
        position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        margin: 0; padding: 16px 20px 40px;
        background: #0b0c12;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .28s var(--pa-ease);
    }
    .pa-nav.is-open .pa-menu { transform: none; }
    .pa-menu > li > a, .pa-menu > li > button { padding: 14px 8px; font-size: 1.05rem; width: 100%; }
    .pa-menu > li > a.is-active::after, .pa-menu > li > button.is-active::after { display: none; }
    .pa-mega {
        position: static; width: auto; transform: none; opacity: 1; visibility: visible;
        grid-template-columns: 1fr; background: none; border: 0; box-shadow: none; padding: 0 0 8px;
    }
    .pa-has-mega:hover .pa-mega { transform: none; }
    .pa-menu .chev { display: none; }
    .pa-menu__mobile-cta { display: block !important; padding-top: 18px; }
}
.pa-menu__mobile-cta { display: none !important; }

/* ---------- hero (shared) ---------- */

.pa-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 75% 30%, color-mix(in srgb, var(--p) 16%, transparent), transparent 70%), var(--pa-bg);
}
.pa-hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.pa-hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(10, 11, 16, .92) 0%, rgba(10, 11, 16, .55) 42%, rgba(10, 11, 16, 0) 70%),
        linear-gradient(0deg, var(--pa-bg) 0%, rgba(10, 11, 16, 0) 28%);
    pointer-events: none;
}
.pa-hero--center::after {
    background:
        radial-gradient(ellipse 60% 55% at 50% 48%, rgba(10, 11, 16, .78), rgba(10, 11, 16, 0) 100%),
        linear-gradient(0deg, var(--pa-bg) 0%, rgba(10, 11, 16, 0) 30%);
}
.pa-hero__noise {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}

/* hub hero */
.hub-hero { min-height: min(94vh, 980px); display: flex; align-items: center; padding: 120px 0 80px; text-align: center; }
.hub-hero .pa-wrap, .prod-hero .pa-wrap { width: 100%; }
.hub-hero h1 { font-size: clamp(2.3rem, 10.5vw, 6.6rem); line-height: .98; letter-spacing: -0.045em; margin-bottom: 26px; }
.hub-hero h1 .grad {
    background: linear-gradient(92deg, #5fb8f5 0%, #6fd49a 28%, #ffc800 52%, #e8a33d 70%, #9d8cff 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    background-size: 200% 100%;
    animation: pa-shift 12s ease-in-out infinite alternate;
}
@keyframes pa-shift { to { background-position: 100% 0; } }
.pa-dark .hub-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.26rem); max-width: 720px; margin: 0 auto 36px; color: #b9c1d1 !important; }
.hub-hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.pa-dock {
    display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
    margin: 64px auto 0; padding: 14px 16px;
    width: fit-content; max-width: 100%;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    backdrop-filter: blur(12px);
}
.pa-dock a { position: relative; display: block; width: 58px; height: 58px; transition: transform .25s var(--pa-ease); }
.pa-dock a img { width: 100%; height: 100%; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.pa-dock a:hover { transform: translateY(-8px) scale(1.12); }
.pa-dock a span {
    position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px);
    background: #fff; color: #0a0b10; font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 7px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
}
.pa-dock a:hover span, .pa-dock a:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

.pa-stats { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-top: 44px; }
.pa-stats div { text-align: center; }
.pa-stats b { display: block; font-family: var(--pa-display); font-size: 1.9rem; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.pa-stats span { font: 500 .72rem var(--pa-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pa-dim); }

/* product hero */
.prod-hero { min-height: min(92vh, 940px); display: flex; align-items: center; padding: 110px 0 200px; }
.prod-hero__grid { display: block; width: 100%; }
.prod-hero__grid > div { max-width: 600px; }
.prod-showcase { position: relative; z-index: 3; margin-top: -170px; perspective: 1800px; }
.prod-showcase .pa-window { max-width: 1120px; margin: 0 auto; transform: rotateX(var(--tilt, 0deg)); transform-origin: 50% 100%; transition: none; }
.prod-showcase .pa-facts { margin-top: 36px; }
.prod-hero__id { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.prod-hero__id img { width: 64px; height: 64px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); }
.prod-hero__id .pa-eyebrow { margin: 0; }
.prod-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); margin-bottom: 22px; overflow-wrap: anywhere; }
.prod-hero h1 small { display: block; font-size: .36em; letter-spacing: .02em; color: var(--pa-muted); font-weight: 500; margin-bottom: 10px; font-family: var(--pa-font); }
.prod-hero__tagline { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #c5ccda !important; max-width: 560px; margin-bottom: 30px; }
.prod-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.prod-hero__chips { display: flex; gap: 8px; flex-wrap: wrap; }

.pa-chip {
    display: inline-flex; align-items: center; gap: 7px;
    font: 500 .76rem var(--pa-mono);
    padding: 6px 11px;
    border-radius: 999px;
    color: #cfd5e1;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    white-space: nowrap;
}
.pa-chip--accent { color: var(--p); border-color: color-mix(in srgb, var(--p) 45%, transparent); background: color-mix(in srgb, var(--p) 12%, transparent); }
.pa-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

.pa-window {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0d0f15;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 120px -40px var(--p);
}
.pa-window__bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pa-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.pa-window__bar span { margin-left: 8px; font: 500 .72rem var(--pa-mono); color: #7d8699; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa-window img { width: 100%; }

@media (max-width: 980px) {
    .prod-hero { min-height: 0; padding: 72px 0 150px; }
    .prod-showcase { margin-top: -110px; }
    .pa-hero::after { background: linear-gradient(0deg, var(--pa-bg) 0%, rgba(10, 11, 16, .7) 60%, rgba(10, 11, 16, .5) 100%); }
}

/* ---------- facts bar ---------- */

.pa-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    background: var(--pa-surface);
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.pa-facts > div { padding: 22px 24px; border-right: 1px solid var(--pa-line); }
.pa-facts > div:last-child { border-right: 0; }
.pa-facts dt { font: 500 .7rem var(--pa-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pa-dim); margin-bottom: 6px; }
.pa-facts dd { margin: 0; color: #fff; font-weight: 600; font-size: 1.02rem; }
@media (max-width: 700px) { .pa-facts > div { border-right: 0; border-bottom: 1px solid var(--pa-line); } }

/* ---------- product overview / features ---------- */

.pa-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
.pa-overview__body p { font-size: 1.08rem; line-height: 1.75; }
.pa-overview__body p:first-of-type { font-size: 1.28rem; color: #d7dce7; line-height: 1.6; }
.pa-callout {
    background: linear-gradient(160deg, color-mix(in srgb, var(--p) 14%, var(--pa-surface)), var(--pa-surface) 60%);
    border: 1px solid color-mix(in srgb, var(--p) 25%, var(--pa-line));
    border-radius: var(--pa-radius-lg);
    padding: 30px;
    position: sticky; top: 96px;
}
.pa-callout h3 { margin-bottom: 14px; }
.pa-callout ul { list-style: none; padding: 0; margin: 0; }
.pa-callout li { position: relative; padding: 9px 0 9px 28px; color: #c6cddb; border-top: 1px solid var(--pa-line); font-size: .96rem; }
.pa-callout li:first-child { border-top: 0; }
.pa-callout li::before {
    content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px;
    border-left: 2px solid var(--p); border-bottom: 2px solid var(--p); transform: rotate(-45deg);
}
@media (max-width: 900px) { .pa-overview { grid-template-columns: 1fr; gap: 40px; } .pa-callout { position: static; } }

.pa-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
    margin-bottom: 110px;
}
.pa-feature:last-child { margin-bottom: 0; }
.pa-feature--flip .pa-feature__media { order: -1; }
.pa-feature__num { font: 500 .78rem var(--pa-mono); color: var(--p); letter-spacing: .12em; margin-bottom: 14px; display: block; }
.pa-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.pa-feature__lead { font-size: 1.05rem; }
.pa-feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.pa-feature li { position: relative; padding: 0 0 12px 26px; color: #c1c8d6; font-size: .97rem; line-height: 1.55; }
.pa-feature li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--p); box-shadow: 0 0 12px color-mix(in srgb, var(--p) 60%, transparent); }
.pa-feature li strong { color: #fff; font-weight: 600; }
.pa-feature__media { position: relative; }
.pa-feature__media::before {
    content: ""; position: absolute; inset: 12% -4% -6% 8%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--p) 30%, transparent), transparent);
    filter: blur(30px);
}
.pa-feature__media img {
    width: 100%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); cursor: zoom-in;
}
@media (max-width: 900px) {
    .pa-feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
    .pa-feature--flip .pa-feature__media { order: 0; }
}

.pa-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pa-card {
    background: var(--pa-surface);
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius);
    padding: 26px;
    transition: border-color .2s ease, transform .2s var(--pa-ease), background .2s ease;
}
.pa-card:hover { border-color: color-mix(in srgb, var(--p) 40%, var(--pa-line)); transform: translateY(-3px); }
.pa-card h3 { margin-bottom: 10px; }
.pa-card p { font-size: .95rem; margin: 0; }
.pa-card ul { margin: 0; padding-left: 18px; color: var(--pa-muted); font-size: .94rem; }
.pa-card li { margin-bottom: 6px; }
.pa-card__ico {
    width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--p) 14%, transparent);
    color: var(--p);
    border: 1px solid color-mix(in srgb, var(--p) 30%, transparent);
}
.pa-card__ico svg { width: 21px; height: 21px; }

/* ---------- video ---------- */

.pa-video {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--pa-radius-lg); overflow: hidden;
    background: #000 center / cover no-repeat;
    border: 1px solid var(--pa-line-2);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 140px -60px var(--p);
    cursor: pointer;
}
.pa-video button {
    position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
    background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1));
    display: grid; place-items: center; color: #fff;
}
.pa-video button span {
    width: 86px; height: 86px; border-radius: 50%; background: var(--p); display: grid; place-items: center;
    box-shadow: 0 0 0 12px color-mix(in srgb, var(--p) 25%, transparent), 0 20px 50px -10px rgba(0, 0, 0, .6);
    transition: transform .25s var(--pa-ease), box-shadow .25s ease;
}
.pa-video button span svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--p-ink); }
.pa-video:hover button span { transform: scale(1.08); box-shadow: 0 0 0 18px color-mix(in srgb, var(--p) 20%, transparent), 0 20px 50px -10px rgba(0, 0, 0, .6); }
.pa-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pa-video__label { position: absolute; left: 20px; bottom: 16px; font: 500 .78rem var(--pa-mono); color: #fff; letter-spacing: .06em; text-shadow: 0 1px 8px #000; pointer-events: none; }
.pa-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.pa-videos .pa-video { border-radius: var(--pa-radius); }
.pa-videos .pa-video button span { width: 58px; height: 58px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--p) 25%, transparent); }
.pa-videos .pa-video button span svg { width: 20px; height: 20px; }

/* ---------- gallery + lightbox ---------- */

.pa-gallery { columns: 3 320px; column-gap: 16px; }
.pa-gallery a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 12px; overflow: hidden; border: 1px solid var(--pa-line); position: relative; cursor: zoom-in; }
.pa-gallery img { width: 100%; transition: transform .6s var(--pa-ease), filter .3s ease; }
.pa-gallery a:hover img { transform: scale(1.04); }
.pa-gallery a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--p); opacity: 0; transition: opacity .2s ease; border-radius: 12px; }
.pa-gallery a:hover::after { opacity: 1; }

.pa-lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(5, 6, 9, .94);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    padding: 60px 72px;
}
.pa-lightbox.is-open { display: flex; }
.pa-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
.pa-lightbox button {
    position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 22px;
}
.pa-lightbox button:hover { background: rgba(255, 255, 255, .16); }
.pa-lightbox__close { top: 16px; right: 16px; }
.pa-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.pa-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.pa-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font: 500 .8rem var(--pa-mono); color: #9ea6b8; }
@media (max-width: 700px) { .pa-lightbox { padding: 60px 12px; } .pa-lightbox__prev, .pa-lightbox__next { top: auto; bottom: 10px; transform: none; } }

/* ---------- product cards (hub) ---------- */

.pa-group-title { display: flex; align-items: baseline; gap: 16px; margin: 0 0 22px; }
.pa-group-title h3 { margin: 0; font-size: 1.05rem; font-family: var(--pa-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--pa-muted); }
.pa-group-title::after { content: ""; flex: 1; height: 1px; background: var(--pa-line); }
.pa-products { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 22px; margin-bottom: 64px; }
@media (max-width: 1100px) { .pa-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pa-products { grid-template-columns: 1fr; } }
.pa-products:last-child { margin-bottom: 0; }

.pa-product {
    --p: inherit;
    position: relative;
    display: flex; flex-direction: column;
    background: var(--pa-surface);
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius-lg);
    overflow: hidden;
    color: inherit !important;
    transition: transform .35s var(--pa-ease), border-color .25s ease, box-shadow .35s ease;
}
.pa-product:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--p) 55%, transparent);
    box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--p) 55%, transparent);
}
.pa-product__top { position: relative; }
.pa-product__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0e14; }
.pa-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--pa-ease); }
.pa-product:hover .pa-product__media img { transform: scale(1.06); }
.pa-product__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--pa-surface) 0%, rgba(21, 24, 34, 0) 55%); }
.pa-product__icon { position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 64px; height: 64px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .6)); transition: transform .35s var(--pa-ease); }
.pa-product:hover .pa-product__icon { transform: rotate(-6deg) scale(1.06); }
.pa-product__badge { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pa-product__badge .pa-chip { background: rgba(10, 11, 16, .78); backdrop-filter: blur(8px); }
.pa-product__body { padding: 38px 24px 24px; display: flex; flex-direction: column; flex: 1; position: relative; }
.pa-product__body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.pa-product__body p { font-size: .95rem; margin-bottom: 20px; flex: 1; }
.pa-product__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid var(--pa-line); padding-top: 16px; }
.pa-product__meta .price { font-family: var(--pa-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.pa-product__meta .upd { font: 500 .74rem var(--pa-mono); color: var(--pa-dim); }
.pa-product__arrow { position: absolute; right: 22px; top: 36px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--pa-line-2); color: #fff; transition: background .25s ease, transform .25s var(--pa-ease), border-color .25s; }
.pa-product__arrow svg { width: 16px; height: 16px; }
.pa-product:hover .pa-product__arrow { background: var(--p); border-color: var(--p); color: var(--p-ink); transform: rotate(-45deg); }

/* ---------- pipeline diagram (hub) ---------- */

.pa-pipe { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.pa-pipe__node {
    position: relative;
    background: var(--pa-surface);
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius-lg);
    padding: 24px 22px 22px;
    color: inherit !important;
    transition: border-color .2s ease, transform .25s var(--pa-ease);
}
.pa-pipe__node:hover { border-color: color-mix(in srgb, var(--p) 55%, transparent); transform: translateY(-4px); }
.pa-pipe__node img { width: 48px; height: 48px; margin-bottom: 16px; }
.pa-pipe__node h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pa-pipe__node p { font-size: .88rem; margin-bottom: 14px; }
.pa-pipe__step { position: absolute; top: 20px; right: 20px; font: 500 .7rem var(--pa-mono); color: var(--p); letter-spacing: .1em; }
.pa-pipe__io { display: flex; flex-wrap: wrap; gap: 5px; }
.pa-pipe__io span { font: 500 .68rem var(--pa-mono); color: #aeb6c6; background: rgba(255, 255, 255, .05); border: 1px solid var(--pa-line); padding: 3px 7px; border-radius: 6px; }
.pa-pipe__node:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -22px; width: 22px; height: 2px; z-index: 1;
    background: linear-gradient(90deg, var(--p), transparent);
}
.pa-pipe__node:not(:last-child)::before {
    content: ""; position: absolute; top: 42px; right: -13px; width: 8px; height: 8px; z-index: 2;
    border-top: 2px solid rgba(255, 255, 255, .35); border-right: 2px solid rgba(255, 255, 255, .35); transform: rotate(45deg);
}
.pa-pipe__engines {
    margin-top: 22px; padding: 20px 24px;
    border: 1px dashed var(--pa-line-2); border-radius: var(--pa-radius-lg);
    display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; justify-content: center;
}
.pa-pipe__engines b { font: 500 .74rem var(--pa-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pa-dim); font-weight: 500; }
.pa-pipe__engines span { font-family: var(--pa-display); font-weight: 600; color: #dfe3ec; font-size: 1.02rem; }
@media (max-width: 1000px) {
    .pa-pipe { grid-template-columns: 1fr 1fr; }
    .pa-pipe__node::after, .pa-pipe__node::before { display: none; }
}
@media (max-width: 560px) { .pa-pipe { grid-template-columns: 1fr; } }

/* ---------- devlog cards + timeline ---------- */

.pa-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.pa-post {
    display: flex; flex-direction: column;
    background: var(--pa-surface);
    border: 1px solid var(--pa-line);
    border-radius: var(--pa-radius);
    overflow: hidden;
    color: inherit !important;
    transition: transform .3s var(--pa-ease), border-color .2s ease;
}
.pa-post:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--p) 50%, transparent); }
.pa-post__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0c0e14 center / cover; position: relative; }
.pa-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--pa-ease); }
.pa-post:hover .pa-post__media img { transform: scale(1.05); }
.pa-post__media--empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--p) 30%, #0c0e14), #0c0e14 70%); }
.pa-post__media--empty img { width: 72px; height: 72px; object-fit: contain; opacity: .9; }
.pa-post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pa-post__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pa-post__prod { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--p); }
.pa-post__prod img { width: 18px; height: 18px; }
.pa-post__date { font: 500 .74rem var(--pa-mono); color: var(--pa-dim); margin-left: auto; }
.pa-post h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.pa-post p { font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pa-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.pa-filter {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 10px; border-radius: 999px;
    background: var(--pa-surface); border: 1px solid var(--pa-line);
    color: #cfd5e1; font: 500 .88rem var(--pa-font); cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pa-filter img { width: 22px; height: 22px; }
.pa-filter em { font-style: normal; font: 500 .72rem var(--pa-mono); color: var(--pa-dim); }
.pa-filter:hover { border-color: var(--pa-line-2); color: #fff; }
.pa-filter.is-active { border-color: var(--p); background: color-mix(in srgb, var(--p) 14%, var(--pa-surface)); color: #fff; }
.pa-filter--all { padding-left: 14px; }

.pa-dark .pa-month { font: 500 .78rem var(--pa-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pa-dim); margin: 56px 0 20px; display: flex; align-items: center; gap: 14px; }
.pa-month:first-of-type { margin-top: 0; }
.pa-month::after { content: ""; flex: 1; height: 1px; background: var(--pa-line); }

.pa-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; }
.pa-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--p), rgba(255, 255, 255, .06)); border-radius: 2px; }
.pa-timeline li { position: relative; padding-bottom: 26px; }
.pa-timeline li::before {
    content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--pa-bg); border: 2px solid var(--p); box-shadow: 0 0 0 4px var(--pa-bg);
}
.pa-timeline li:first-child::before { background: var(--p); box-shadow: 0 0 0 4px var(--pa-bg), 0 0 18px var(--p); }
.pa-timeline a {
    display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center;
    background: var(--pa-surface); border: 1px solid var(--pa-line); border-radius: var(--pa-radius);
    padding: 14px; color: inherit !important;
    transition: border-color .2s ease, transform .25s var(--pa-ease);
}
.pa-timeline a:hover { border-color: color-mix(in srgb, var(--p) 50%, transparent); transform: translateX(4px); }
.pa-timeline__img { aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: #0c0e14; }
.pa-timeline__img img { width: 100%; height: 100%; object-fit: cover; }
.pa-timeline__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.pa-timeline__meta time { font: 500 .74rem var(--pa-mono); color: var(--pa-dim); }
.pa-timeline h3 { font-size: 1.05rem; margin-bottom: 6px; line-height: 1.3; }
.pa-timeline p { font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .pa-timeline a { grid-template-columns: 1fr; } }

/* ---------- article (devlog post) ---------- */

.post-hero { position: relative; padding: 110px 0 70px; overflow: hidden; isolation: isolate; }
.post-hero__bg { position: absolute; inset: -40px; z-index: -2; background: center / cover no-repeat; filter: blur(34px) saturate(1.2); opacity: .45; transform: scale(1.1); }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--pa-bg) 5%, rgba(10, 11, 16, .72) 60%, rgba(10, 11, 16, .6)); }
.post-hero h1 { font-size: clamp(1.8rem, 4.6vw, 3.6rem); max-width: 900px; overflow-wrap: anywhere; }
.post-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.post-crumb { display: flex; gap: 8px; align-items: center; font: 500 .8rem var(--pa-mono); color: var(--pa-dim); margin-bottom: 26px; flex-wrap: wrap; }
.post-crumb a { color: #aeb6c6 !important; }
.post-crumb a:hover { color: #fff !important; }
.post-cover { margin: 0 auto 56px; max-width: 1100px; }
.post-cover img { width: 100%; border-radius: var(--pa-radius-lg); border: 1px solid var(--pa-line-2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); cursor: zoom-in; }

.pa-prose { max-width: 760px; margin: 0 auto; font-size: 1.07rem; line-height: 1.8; overflow-wrap: anywhere; }
.pa-prose p, .pa-prose li { color: #c3cad8; }
.pa-prose h2 { font-size: 1.8rem; margin: 2em 0 .6em; }
.pa-prose h3 { font-size: 1.35rem; margin: 1.9em 0 .6em; position: relative; }
.pa-prose h3.caps { font: 500 .82rem var(--pa-mono); letter-spacing: .14em; color: var(--p); margin-top: 2.6em; }
.pa-prose h2:first-child, .pa-prose h3:first-child { margin-top: 0; }
.pa-prose ul, .pa-prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.pa-prose li { margin-bottom: .45em; }
.pa-prose li::marker { color: var(--p); }
.pa-prose strong, .pa-prose b { color: #fff; }
.pa-prose code { font-family: var(--pa-mono); font-size: .86em; background: rgba(255, 255, 255, .07); border: 1px solid var(--pa-line); padding: 1px 6px; border-radius: 5px; color: #f0f2f7; }
.pa-prose pre { background: #0d0f15; border: 1px solid var(--pa-line); border-radius: 12px; padding: 18px 20px; overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.pa-prose pre code { background: none; border: 0; padding: 0; }
.pa-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--p); color: #d7dce7; }
.pa-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--p) 50%, transparent); }
.pa-prose hr { border: 0; height: 1px; background: var(--pa-line); margin: 2.4em 0; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.post-nav a { background: var(--pa-surface); border: 1px solid var(--pa-line); border-radius: var(--pa-radius); padding: 20px 22px; color: inherit !important; transition: border-color .2s ease; }
.post-nav a:hover { border-color: var(--p); }
.post-nav small { display: block; font: 500 .72rem var(--pa-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pa-dim); margin-bottom: 6px; }
.post-nav b { color: #fff; font-weight: 600; line-height: 1.35; display: block; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }

/* ---------- CTA band ---------- */

.pa-cta {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 28px;
    padding: 64px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--p) 80%, #000) 0%, color-mix(in srgb, var(--p) 35%, #0a0b10) 100%);
    border: 1px solid color-mix(in srgb, var(--p) 60%, transparent);
    display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center;
}
.pa-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(90deg, transparent, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.pa-cta__icon { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .14; z-index: -1; transform: rotate(-12deg); }
.pa-cta h2 { margin-bottom: 12px; }
.pa-cta p { color: rgba(255, 255, 255, .85) !important; margin: 0; font-size: 1.08rem; }
.pa-cta__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 20px; font: 500 .8rem var(--pa-mono); color: rgba(255, 255, 255, .8); }
.pa-cta__meta span::before { content: "✓ "; }
.pa-cta__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.pa-cta .pa-btn--primary { background: #fff; color: #0a0b10 !important; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); }
.pa-cta .pa-btn--ghost { border-color: rgba(255, 255, 255, .35); }
@media (max-width: 860px) { .pa-cta { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- community ---------- */

.pa-community { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pa-community a {
    display: flex; flex-direction: column; gap: 10px;
    padding: 30px; border-radius: var(--pa-radius-lg);
    background: var(--pa-surface); border: 1px solid var(--pa-line);
    color: inherit !important;
    transition: transform .25s var(--pa-ease), border-color .2s ease;
}
.pa-community a:hover { transform: translateY(-4px); border-color: var(--c, var(--p)); }
.pa-community svg { width: 34px; height: 34px; color: var(--c, var(--p)); margin-bottom: 8px; }
.pa-community h3 { margin: 0; }
.pa-community p { margin: 0; font-size: .95rem; }
.pa-community span { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--c, var(--p)); }

.pa-maker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.pa-maker__photo { position: relative; width: 220px; }
.pa-maker__photo img { width: 220px; height: 220px; object-fit: cover; border-radius: 28px; border: 1px solid var(--pa-line-2); }
.pa-maker__photo::after { content: ""; position: absolute; inset: -14px; border-radius: 36px; border: 1px dashed rgba(255, 255, 255, .15); z-index: -1; }
.pa-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.pa-principles div { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--pa-line); }
.pa-principles b { display: block; color: #fff; font-size: .95rem; margin-bottom: 4px; }
.pa-principles span { font-size: .86rem; color: var(--pa-muted); }
@media (max-width: 760px) { .pa-maker { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .pa-section { padding: 76px 0; }
    .pa-wrap { padding: 0 16px; }
    .pa-nav__inner { padding: 0 16px; }
    .pa-stats { gap: 22px 32px; }
    .pa-dock a { width: 46px; height: 46px; }
    .pa-feature { margin-bottom: 56px; }
    .pa-cta__icon { width: 200px; }
}

.pa-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pa-more a {
    --p: inherit;
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px;
    background: var(--pa-surface); border: 1px solid var(--pa-line); color: #fff !important;
    transition: border-color .2s ease, transform .2s var(--pa-ease);
}
.pa-more a:hover { border-color: var(--p); transform: translateY(-3px); }
.pa-more img { width: 40px; height: 40px; flex: none; }
.pa-more b { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.pa-more span { display: block; font: 500 .7rem var(--pa-mono); color: var(--pa-dim); margin-top: 2px; }

/* ---------- footer (shared) ---------- */

.pa-footer { background: rgba(7, 8, 12, .9); border-top: 1px solid rgba(255, 255, 255, .07); color: #9ea6b8; padding: 72px 0 32px; font-family: var(--pa-font); }
.pa-footer *, .pa-footer *::before { box-sizing: border-box; }
.pa-footer__grid { max-width: var(--pa-max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.pa-footer h4 { font: 500 .74rem var(--pa-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.pa-footer ul { list-style: none; margin: 0; padding: 0; }
.pa-footer li { margin-bottom: 10px; }
.pa-footer a { color: #9ea6b8 !important; font-size: .92rem; text-decoration: none; }
.pa-footer a:hover { color: #fff !important; }
.pa-footer p { color: #7b8497; font-size: .9rem; max-width: 330px; margin: 16px 0 0; line-height: 1.6; }
.pa-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.pa-footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.pa-footer__social a:hover { background: rgba(255, 255, 255, .1); }
.pa-footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.pa-footer__base { max-width: var(--pa-max); margin: 56px auto 0; padding: 24px 24px 0; border-top: 1px solid rgba(255, 255, 255, .07); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #6c7486; }
@media (max-width: 860px) { .pa-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pa-footer__grid { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--pa-ease), transform .8s var(--pa-ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hub-hero h1 .grad { animation: none; }
    .prod-showcase .pa-window { transform: none; }
}

/* ---------- hero overlays per product ---------- */

.fps-hud { position: absolute; inset: 24px; z-index: -1; pointer-events: none; }
.fps-hud i { position: absolute; width: 38px; height: 38px; border-color: rgba(111, 212, 154, .45); border-style: solid; border-width: 0; }
.fps-hud i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.fps-hud i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.fps-hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.fps-hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.fps-hud b { position: absolute; top: 14px; left: 56px; font: 700 .8rem var(--pa-mono); letter-spacing: .2em; color: rgba(111, 212, 154, .7); }
