:root {
    --pw-bg: #f6f8fc;
    --pw-surface: #ffffff;
    --pw-surface-soft: #edf3ff;
    --pw-text: #09162e;
    --pw-muted: #5d6880;
    --pw-line: #dce4f1;
    --pw-blue: #246bfe;
    --pw-blue-dark: #0d50da;
    --pw-blue-soft: #e8efff;
    --pw-lime: #c9ff59;
    --pw-lime-text: #172400;
    --pw-navy: #071124;
    --pw-navy-2: #111e37;
    --pw-white: #ffffff;
    --pw-radius-sm: 12px;
    --pw-radius-md: 18px;
    --pw-radius-lg: 28px;
    --pw-shadow: 0 24px 64px rgba(9, 22, 46, .14);
}

html {
    scroll-behavior: smooth;
}

body.pw-site {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--pw-text);
    background: var(--pw-bg);
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.pw-site.pw-menu-open,
body.pw-site.pw-modal-open {
    overflow: hidden;
}

.pw-site *,
.pw-site *::before,
.pw-site *::after {
    box-sizing: border-box;
}

.pw-site img {
    max-width: 100%;
    height: auto;
}

.pw-site a {
    color: inherit;
    text-underline-offset: 3px;
}

body.pw-site a:hover {
    color: inherit !important;
}

.pw-site button,
.pw-site input,
.pw-site textarea,
.pw-site select {
    font: inherit;
}

.pw-site button,
.pw-site a {
    -webkit-tap-highlight-color: transparent;
}

.pw-site button {
    cursor: pointer;
}

.pw-site [hidden] {
    display: none !important;
}

.pw-site :focus-visible {
    outline: 3px solid rgba(36, 107, 254, .42);
    outline-offset: 3px;
}

.pw-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.pw-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--pw-white);
    background: var(--pw-blue);
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.pw-skip-link:focus {
    transform: translateY(0);
}

.pw-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(220, 228, 241, .92);
    background: rgba(246, 248, 252, .92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.pw-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.pw-brand {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.pw-brand__logo {
    width: 200px;
    height: auto;
    display: block;
}

.pw-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pw-nav a {
    position: relative;
    color: var(--pw-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: color .18s ease;
}

.pw-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--pw-blue);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .22s ease;
}

.pw-button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--pw-radius-sm);
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pw-button:hover {
    transform: translateY(-1px);
}

.pw-site .pw-button--primary {
    color: var(--pw-white);
    background: var(--pw-blue);
    box-shadow: 0 12px 26px rgba(36, 107, 254, .2);
}

.pw-site .pw-button--primary:hover {
    color: var(--pw-white);
    background: var(--pw-blue-dark);
}

.pw-site .pw-button--secondary {
    color: var(--pw-text);
    border-color: var(--pw-line);
    background: var(--pw-surface);
}

.pw-site .pw-button--secondary:hover {
    border-color: #b9c7dc;
    color: var(--pw-text);
}

.pw-menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--pw-line);
    border-radius: var(--pw-radius-sm);
    color: var(--pw-text);
    background: var(--pw-surface);
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.pw-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.pw-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.pw-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.pw-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.pw-mobile-nav {
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    border-top: 1px solid var(--pw-line);
    background: var(--pw-bg);
}

.pw-mobile-nav .pw-container {
    padding-block: 8px 18px;
    display: grid;
}

.pw-mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--pw-line);
    text-decoration: none;
    font-weight: 650;
}

.pw-main {
    min-height: 52vh;
}

.pw-homepage h1,
.pw-homepage h2,
.pw-homepage h3,
.pw-homepage p {
    max-width: none;
}

.pw-homepage h1,
.pw-homepage h2,
.pw-homepage h3 {
    color: inherit;
    font-family: inherit;
}

.pw-homepage h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(44px, 4.5vw, 64px);
    line-height: .98;
    letter-spacing: -.065em;
    font-weight: 780;
}

.pw-homepage h1 em {
    color: var(--pw-blue);
    font-style: normal;
}

.pw-homepage h2 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 760;
}

.pw-homepage h3 {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.025em;
    font-weight: 750;
}

.pw-hero {
    position: relative;
    padding: 84px 0 66px;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 5%, rgba(36, 107, 254, .16), transparent 30%),
        radial-gradient(circle at 8% 96%, rgba(201, 255, 89, .14), transparent 28%),
        var(--pw-bg);
}

.pw-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    align-items: center;
    gap: 68px;
}

.pw-eyebrow,
.pw-section-kicker {
    margin: 0 0 22px;
    color: var(--pw-blue-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.pw-eyebrow > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--pw-lime);
    box-shadow: 0 0 0 5px rgba(201, 255, 89, .22);
}

.pw-hero__lead {
    max-width: 650px !important;
    margin: 26px 0 0;
    color: var(--pw-muted);
    font-size: 19px;
}

.pw-actions {
    margin-top: 31px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pw-trust-list {
    margin: 25px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: var(--pw-muted);
    list-style: none;
    font-size: 14px;
}

.pw-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.pw-scope {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--pw-radius-lg);
    color: var(--pw-white);
    background: linear-gradient(145deg, var(--pw-navy), var(--pw-navy-2));
    box-shadow: var(--pw-shadow);
}

.pw-scope__bar {
    padding: 2px 2px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #b9c7dd;
    font-size: 13px;
}

.pw-scope__dots {
    display: inline-flex;
    gap: 6px;
}

.pw-scope__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a4b68;
}

.pw-scope__headline {
    padding: 20px;
    display: grid;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
}

.pw-scope__headline span {
    color: var(--pw-lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pw-scope__headline strong {
    max-width: 420px;
    font-size: clamp(22px, 2.6vw, 31px);
    line-height: 1.12;
}

.pw-scope__list {
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.pw-scope__list li {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
}

.pw-scope__list li > span {
    color: #86a9ff;
    font-size: 12px;
    font-weight: 850;
}

.pw-scope__list strong,
.pw-scope__list small,
.pw-scope__result strong,
.pw-scope__result small {
    display: block;
}

.pw-scope__list strong {
    font-size: 15px;
}

.pw-scope__list small {
    margin-top: 3px;
    color: #b9c7dd;
    font-size: 12px;
    line-height: 1.4;
}

.pw-scope__result {
    margin-top: 12px;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    color: var(--pw-lime-text);
    background: var(--pw-lime);
}

.pw-scope__result > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
}

.pw-scope__result strong {
    font-size: 15px;
}

.pw-scope__result small {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.35;
}

.pw-metrics {
    padding: 22px 0 28px;
    background: var(--pw-bg);
}

.pw-metrics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--pw-line);
    border-radius: 22px;
    background: var(--pw-surface);
}

.pw-metrics__grid > div {
    padding: 25px;
    transition: background .2s ease, transform .2s ease;
}

.pw-metrics__grid > div + div {
    border-left: 1px solid var(--pw-line);
}

.pw-metrics strong,
.pw-metrics span {
    display: block;
}

.pw-metrics strong {
    font-size: 20px;
}

.pw-metrics span {
    margin-top: 5px;
    color: var(--pw-muted);
    font-size: 14px;
}

.pw-section {
    padding: 88px 0;
    scroll-margin-top: 78px;
    background: var(--pw-surface);
}

#pw-services {
    padding-top: 44px;
}

.pw-section--soft {
    background: var(--pw-bg);
}

.pw-section--dark {
    color: var(--pw-white);
    background: var(--pw-navy);
}

.pw-section-heading {
    margin-bottom: 36px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 46px;
}

.pw-section-heading > p {
    width: min(100%, 520px);
    margin: 0;
    color: var(--pw-muted);
    font-size: 17px;
}

.pw-section--dark .pw-section-heading > p {
    color: #aebbd0;
}

.pw-section-kicker {
    margin-bottom: 13px;
}

.pw-section--dark .pw-section-kicker {
    color: #83a7ff;
}

.pw-section-intro {
    max-width: 680px !important;
    margin: -19px 0 29px;
    color: var(--pw-muted);
}

.pw-services {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 24px;
}

.pw-service-tabs {
    display: grid;
    gap: 10px;
}

.pw-service-tabs button {
    width: 100%;
    min-height: 62px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--pw-line);
    border-radius: 15px;
    color: var(--pw-text);
    background: var(--pw-surface);
    text-align: left;
    font-weight: 750;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.pw-service-tabs button[aria-selected="true"] {
    color: var(--pw-white);
    border-color: var(--pw-blue);
    background: var(--pw-blue);
}

.pw-service-tabs b {
    font-size: 20px;
    font-weight: 400;
}

.pw-service-panels {
    min-width: 0;
}

.pw-service-panel {
    min-height: 350px;
    padding: 32px;
    border: 1px solid #c9d7fa;
    border-radius: 22px;
    background: var(--pw-blue-soft);
}

.pw-service-panel__number {
    color: var(--pw-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.pw-service-panel h3 {
    margin: 13px 0 11px;
}

.pw-service-panel > p {
    margin: 0;
    color: var(--pw-muted);
}

.pw-service-panel ul {
    margin: 24px 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 20px;
    list-style: none;
}

.pw-service-panel li {
    display: flex;
    gap: 8px;
}

.pw-service-panel li::before {
    content: "✓";
    color: var(--pw-blue-dark);
    font-weight: 800;
}

.pw-service-panel__footer {
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pw-service-panel__footer strong {
    font-size: 18px;
}

.pw-section-heading--plugins {
    align-items: center;
}

.pw-plugin-controls {
    display: flex;
    gap: 8px;
}

.pw-plugin-controls button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--pw-line);
    border-radius: 12px;
    color: var(--pw-text);
    background: var(--pw-bg);
    font-size: 20px;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

#pw-plugins .pw-plugin-list,
#pw-plugins #plugins-root {
    margin: 0;
    padding: 4px 2px 18px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    scrollbar-width: thin;
    scrollbar-color: #aebbd0 transparent;
}

#pw-plugins .plugin-card {
    flex: 0 0 calc((100% - 45px) / 4);
    min-width: 220px;
    min-height: 260px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid var(--pw-line);
    border-radius: var(--pw-radius-md);
    color: var(--pw-text);
    background: var(--pw-bg);
    text-align: left;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

#pw-plugins .plugin-card:hover {
    transform: translateY(-3px);
    border-color: #a8bce9;
    box-shadow: 0 16px 34px rgba(9, 22, 46, .1);
}

#pw-plugins .plugin-card__thumb {
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: var(--pw-surface);
}

#pw-plugins .plugin-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#pw-plugins .plugin-card__title {
    margin-top: 17px;
    display: block;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 750;
}

#pw-plugins .plugin-card__meta {
    margin-top: auto;
    padding-top: 16px;
    color: var(--pw-muted);
}

#pw-plugins .rating__star {
    color: #f2a900;
}

.pw-notice {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--pw-blue-soft);
}

.pw-section-heading--cases {
    align-items: center;
}

.pw-case-slider__header {
    width: min(100%, 520px);
    display: grid;
    gap: 18px;
}

.pw-case-slider__header > p {
    margin: 0;
    color: #aebbd0;
    font-size: 17px;
}

.pw-case-slider__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.pw-case-slider__controls[hidden] {
    display: none;
}

.pw-case-slider__controls span {
    min-width: 88px;
    margin-right: 4px;
    color: #aebbd0;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.pw-case-slider__controls button {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    color: var(--pw-white);
    background: rgba(255, 255, 255, .08);
    font-size: 20px;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.pw-case-slider__controls button:disabled {
    opacity: .38;
    cursor: default;
}

.pw-cases {
    --pw-case-gap: 17px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pw-case-gap);
}

.pw-case {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.pw-case__image {
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: var(--pw-navy-2);
}

.pw-case__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.pw-case:hover .pw-case__image img {
    transform: scale(1.025);
}

.pw-case__body {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.pw-tags {
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
}

.pw-tags li {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 99px;
    color: #c7d3e6;
    font-size: 11px;
}

.pw-case h3 {
    margin: 0 0 11px;
}

.pw-case p {
    min-height: 76px;
    margin: 0 0 18px;
    color: #aebbd0;
}

.pw-case__body > a {
    width: fit-content;
    margin-top: auto;
    color: var(--pw-lime);
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.pw-process {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
}

.pw-process li {
    padding-top: 22px;
    border-top: 2px solid var(--pw-line);
    transition: border-color .2s ease, transform .2s ease;
}

.pw-process li > span {
    color: var(--pw-blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.pw-process h3 {
    margin: 24px 0 10px;
    font-size: 20px;
}

.pw-process p {
    margin: 0;
    color: var(--pw-muted);
}

.pw-contact {
    padding: 48px;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 48px;
    border-radius: var(--pw-radius-lg);
    color: var(--pw-white);
    background:
        radial-gradient(circle at 100% 0, rgba(93, 140, 255, .43), transparent 32%),
        var(--pw-navy);
    box-shadow: var(--pw-shadow);
}

.pw-contact .pw-eyebrow {
    color: #86a9ff;
}

.pw-contact h2 {
    font-size: clamp(34px, 4vw, 50px);
}

.pw-contact__copy > p:not(.pw-eyebrow) {
    margin: 22px 0 0;
    color: #b7c3d7;
}

.pw-contact__copy ul {
    margin: 25px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.pw-contact__copy a {
    color: var(--pw-white);
    text-decoration-color: rgba(255, 255, 255, .3);
}

.pw-contact__channels {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 14px;
}

.pw-contact-card {
    min-width: 0;
    min-height: 112px;
    padding: 18px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    color: var(--pw-white);
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pw-contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .12);
}

.pw-contact-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--pw-white);
    background: #229ed9;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .05em;
}

.pw-contact-card__icon--wa {
    color: #052b17;
    background: #55df83;
}

.pw-contact-card strong,
.pw-contact-card small {
    display: block;
}

.pw-contact-card strong {
    font-size: 18px;
    line-height: 1.25;
}

.pw-contact-card small {
    margin-top: 7px;
    color: #b7c3d7;
    font-size: 13px;
    line-height: 1.45;
}

.pw-contact-card__arrow {
    font-size: 22px;
    transition: transform .18s ease;
}

.pw-contact__response {
    margin: 4px 0 0;
    display: flex;
    gap: 9px;
    align-items: center;
    color: #b7c3d7;
    font-size: 13px;
}

.pw-contact__response span {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--pw-lime);
    box-shadow: 0 0 0 5px rgba(191, 255, 75, .12);
}

.pw-preview-form {
    display: grid;
    gap: 14px;
}

.pw-preview-form label {
    display: grid;
    gap: 6px;
    color: #d8e0ed;
    font-size: 13px;
    font-weight: 700;
}

.pw-preview-form input,
.pw-preview-form select,
.pw-preview-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: var(--pw-white);
    background: rgba(0, 0, 0, .18);
}

.pw-preview-form select option {
    color: var(--pw-text);
    background: var(--pw-white);
}

.pw-preview-form textarea {
    min-height: 92px;
    resize: vertical;
}

.pw-preview-form button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    color: var(--pw-lime-text);
    background: var(--pw-lime);
    font-weight: 800;
}

.pw-contact__privacy {
    margin: 12px 0 0;
    color: #9faec6;
    font-size: 12px;
}

.pw-plugin-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.pw-plugin-modal[aria-hidden="false"] {
    display: flex;
}

.pw-plugin-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 11, 26, .72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pw-plugin-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    border-radius: 24px;
    color: var(--pw-text);
    background: var(--pw-surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.pw-plugin-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--pw-line);
    border-radius: 50%;
    color: var(--pw-text);
    background: var(--pw-surface);
    font-size: 24px;
    line-height: 1;
}

.pw-plugin-modal__image {
    width: 100%;
    min-height: 220px;
    border-radius: 16px;
    object-fit: contain;
    background: var(--pw-bg);
}

.pw-plugin-modal__content {
    align-self: center;
}

.pw-plugin-modal__content h3 {
    margin: 0 34px 12px 0;
}

.pw-plugin-modal__content > p:not(.pw-section-kicker) {
    margin: 0;
    color: var(--pw-muted);
}

.pw-footer {
    color: #bbc7da;
    background: #050d1c;
}

.pw-footer__top {
    padding-block: 54px 42px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 38px;
}

.pw-brand--footer {
    width: fit-content;
    margin: 0;
    color: var(--pw-white);
}

.pw-footer__brand p {
    max-width: 330px;
    margin: 18px 0 0;
}

.pw-footer__column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.pw-footer__column strong {
    margin-bottom: 7px;
    color: var(--pw-white);
}

.pw-footer__column a {
    width: fit-content;
    color: #bbc7da;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.pw-footer__bottom {
    padding-block: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
}

.pw-footer__bottom a {
    text-decoration: none;
}

.pw-footer__links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pw-cookie-settings {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    font: inherit;
    cursor: pointer;
    transition: color .18s ease;
}

.pw-cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 450;
    color: var(--pw-white);
}

.pw-cookie-banner[hidden] {
    display: none;
}

.pw-cookie-banner__inner {
    width: min(1080px, 100%);
    max-height: calc(100vh - 48px);
    margin-inline: auto;
    padding: 22px;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    background: rgba(8, 19, 40, .96);
    box-shadow: 0 24px 70px rgba(2, 8, 21, .32);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.pw-cookie-banner__copy {
    max-width: 650px;
}

.pw-cookie-banner__copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.pw-cookie-banner__copy p {
    margin: 0;
    color: #b7c3d7;
    font-size: 14px;
    line-height: 1.55;
}

.pw-cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.pw-cookie-banner__actions .pw-button {
    min-height: 46px;
    white-space: nowrap;
}

body.pw-site.pw-cookie-banner-open #tgconsult-root {
    visibility: hidden;
}

.pw-site:not(.pw-home) .pw-main {
    padding-block: 48px 70px;
    background: var(--pw-surface);
}

.pw-site:not(.pw-home) .pw-main .container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

@media (prefers-reduced-motion: no-preference) {
    body.pw-site.pw-motion-ready .pw-reveal {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
        transition:
            opacity .66s cubic-bezier(.22, 1, .36, 1),
            transform .66s cubic-bezier(.22, 1, .36, 1);
        transition-delay: var(--pw-reveal-delay, 0ms);
        will-change: opacity, transform;
    }

    body.pw-site.pw-motion-ready .pw-reveal--scale {
        transform: translate3d(0, 20px, 0) scale(.975);
    }

    body.pw-site.pw-motion-ready .pw-reveal.pw-in-view {
        opacity: 1;
        transform: none;
        will-change: auto;
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-reveal .pw-scope__list li,
    body.pw-site.pw-motion-ready .pw-scope.pw-reveal .pw-scope__result {
        opacity: 0;
        transform: translate3d(12px, 0, 0);
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__list li,
    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__result {
        animation: pw-scope-item-in .5s cubic-bezier(.22, 1, .36, 1) both;
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__list li:nth-child(1) {
        animation-delay: .16s;
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__list li:nth-child(2) {
        animation-delay: .22s;
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__list li:nth-child(3) {
        animation-delay: .28s;
    }

    body.pw-site.pw-motion-ready .pw-scope.pw-in-view .pw-scope__result {
        animation-delay: .34s;
    }

    .pw-service-panel:not([hidden]) {
        animation: pw-panel-in .34s cubic-bezier(.22, 1, .36, 1) both;
    }

    .pw-mobile-nav:not([hidden]) {
        animation: pw-nav-in .24s cubic-bezier(.22, 1, .36, 1) both;
        transform-origin: top center;
    }

    .pw-plugin-modal[aria-hidden="false"] .pw-plugin-modal__overlay {
        animation: pw-fade-in .2s ease both;
    }

    .pw-plugin-modal[aria-hidden="false"] .pw-plugin-modal__dialog {
        animation: pw-modal-in .3s cubic-bezier(.22, 1, .36, 1) both;
    }
}

@media (hover: hover) and (pointer: fine) {
    body.pw-site .pw-brand:hover {
        color: inherit !important;
        opacity: .82;
        transform: translateY(-1px);
    }

    body.pw-site .pw-nav a:hover {
        color: var(--pw-text) !important;
    }

    .pw-nav a:hover::after {
        transform: scaleX(1);
        transform-origin: left center;
    }

    body.pw-site .pw-mobile-nav a:hover {
        color: var(--pw-blue-dark) !important;
    }

    .pw-menu-toggle:hover {
        border-color: #a8bce9;
        background: var(--pw-blue-soft);
        transform: translateY(-1px);
    }

    .pw-button:hover {
        transform: translateY(-2px);
    }

    .pw-button:hover span[aria-hidden="true"] {
        transform: translate(2px, -2px);
    }

    .pw-button span[aria-hidden="true"] {
        transition: transform .18s ease;
    }

    body.pw-site .pw-button--primary:hover {
        color: var(--pw-white) !important;
        box-shadow: 0 16px 34px rgba(36, 107, 254, .28);
    }

    body.pw-site .pw-button--secondary:hover {
        color: var(--pw-text) !important;
    }

    body.pw-site.pw-motion-ready .pw-metrics__grid > div.pw-in-view:hover,
    .pw-metrics__grid > div:hover {
        background: var(--pw-blue-soft);
        transform: translateY(-2px);
    }

    .pw-service-tabs button:hover:not([aria-selected="true"]) {
        border-color: #a8bce9;
        box-shadow: 0 10px 24px rgba(9, 22, 46, .07);
        transform: translateX(3px);
    }

    .pw-plugin-controls button:hover {
        color: var(--pw-blue-dark);
        border-color: #a8bce9;
        background: var(--pw-blue-soft);
        transform: translateY(-2px);
    }

    .pw-case-slider__controls button:hover:not(:disabled) {
        color: var(--pw-white);
        border-color: #83a7ff;
        background: rgba(36, 107, 254, .34);
        transform: translateY(-2px);
    }

    body.pw-site.pw-motion-ready .pw-case.pw-in-view:hover,
    .pw-case:hover {
        border-color: rgba(134, 169, 255, .5);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
        transform: translateY(-5px);
    }

    body.pw-site .pw-case__body > a:hover {
        color: #e1ffa2 !important;
        transform: translateX(3px);
    }

    body.pw-site.pw-motion-ready .pw-process > li.pw-in-view:hover,
    .pw-process li:hover {
        border-color: var(--pw-blue);
        transform: translateY(-3px);
    }

    body.pw-site .pw-contact-card:hover,
    body.pw-site .pw-contact__copy a:hover {
        color: var(--pw-white) !important;
    }

    .pw-contact-card:hover .pw-contact-card__arrow {
        transform: translate(3px, -3px);
    }

    body.pw-site .pw-footer__column a:hover,
    body.pw-site .pw-footer__bottom a:hover,
    body.pw-site .pw-cookie-settings:hover {
        color: var(--pw-white) !important;
    }

    .pw-footer__column a:hover {
        transform: translateX(3px);
    }
}

@keyframes pw-scope-item-in {
    from {
        opacity: 0;
        transform: translate3d(12px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-panel-in {
    from {
        opacity: 0;
        transform: translate3d(12px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-nav-in {
    from {
        opacity: 0;
        transform: translate3d(0, -8px, 0) scaleY(.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pw-modal-in {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) scale(.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1080px) {
    .pw-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
        gap: 40px;
    }

    .pw-nav {
        gap: 17px;
    }

    .pw-homepage h1 {
        font-size: clamp(42px, 4.5vw, 49px);
    }

    #pw-plugins .plugin-card {
        flex-basis: calc((100% - 30px) / 3);
    }
}

@media (max-width: 920px) {
    .pw-nav,
    .pw-header__cta {
        display: none;
    }

    .pw-menu-toggle {
        display: flex;
    }

    .pw-hero {
        padding-top: 62px;
    }

    .pw-hero__grid,
    .pw-services,
    .pw-contact {
        grid-template-columns: 1fr;
    }

    .pw-scope {
        max-width: 680px;
    }

    .pw-cases {
        display: flex;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-behavior: smooth;
        scroll-padding-inline: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        touch-action: pan-x pan-y;
    }

    .pw-cases::-webkit-scrollbar {
        display: none;
    }

    .pw-case {
        flex-basis: calc((100% - var(--pw-case-gap)) / 2);
        flex-grow: 0;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .pw-case__image {
        height: auto;
        min-height: 0;
    }

    .pw-case p {
        min-height: 0;
    }

    .pw-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pw-footer__top {
        grid-template-columns: 1.35fr 1fr 1fr;
    }

    .pw-footer__column:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 720px) {
    .pw-container {
        width: min(100% - 30px, 1180px);
    }

    .pw-brand__logo {
        width: 150px;
    }

    .pw-header__inner {
        min-height: 66px;
    }

    .pw-homepage h1 {
        font-size: clamp(38px, 6vw, 42px);
    }

    .pw-homepage h2,
    .pw-contact h2 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .pw-hero {
        padding: 48px 0 44px;
    }

    .pw-hero__grid {
        gap: 48px;
    }

    .pw-hero__lead {
        font-size: 17px;
    }

    .pw-actions {
        align-items: stretch;
    }

    .pw-hero__content .pw-actions .pw-button {
        flex: 1 1 190px;
    }

    .pw-trust-list {
        display: grid;
    }

    .pw-metrics {
        padding: 12px 0 28px;
    }

    .pw-metrics__grid {
        grid-template-columns: 1fr;
    }

    .pw-metrics__grid > div + div {
        border-top: 1px solid var(--pw-line);
        border-left: 0;
    }

    .pw-section {
        padding: 48px 0;
        scroll-margin-top: 66px;
    }

    .pw-section-heading {
        margin-bottom: 28px;
        display: grid;
        gap: 14px;
    }

    .pw-section-heading--plugins {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .pw-section-heading--plugins > div:first-child {
        min-width: 0;
    }

    .pw-section-heading--plugins h2 {
        overflow-wrap: anywhere;
    }

    .pw-section-heading--cases {
        grid-template-columns: 1fr;
    }

    .pw-case-slider__header {
        width: 100%;
    }

    .pw-case-slider__controls {
        justify-content: flex-start;
    }

    .pw-cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .pw-cookie-banner__inner {
        max-height: calc(100vh - 24px);
        padding: 18px;
        display: grid;
        gap: 16px;
        border-radius: 18px;
    }

    .pw-cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pw-cookie-banner__actions .pw-button {
        width: 100%;
    }

    .pw-service-panel {
        min-height: 0;
        padding: 24px;
    }

    .pw-service-panel ul {
        grid-template-columns: 1fr;
    }

    #pw-plugins .plugin-card {
        flex-basis: min(82vw, 300px);
    }

    .pw-case {
        flex-basis: calc(100% - 34px);
    }

    .pw-case__image {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .pw-case__body {
        padding: 18px;
    }

    .pw-process {
        grid-template-columns: 1fr;
    }

    .pw-contact {
        padding: 28px;
        gap: 32px;
    }

    .pw-contact-card {
        min-height: 0;
        padding: 15px;
    }

    .pw-plugin-modal__dialog {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .pw-plugin-modal__image {
        max-height: 230px;
        min-height: 160px;
    }

    .pw-footer__top {
        grid-template-columns: repeat(2, 1fr);
    }

    .pw-footer__brand {
        grid-column: 1 / -1;
    }

    .pw-footer__bottom {
        align-items: flex-start;
    }

    .pw-footer__links {
        display: grid;
        justify-items: end;
        gap: 8px;
    }

    .pw-footer__column:last-child {
        grid-column: auto;
    }

    .pw-site:not(.pw-home) .pw-main .container {
        width: min(100% - 30px, 1180px);
    }
}

@media (max-width: 480px) {
    .pw-homepage h1 {
        font-size: 38px;
    }

    .pw-homepage h2,
    .pw-contact h2 {
        font-size: 34px;
    }

    .pw-hero__content .pw-actions {
        display: grid;
    }

    .pw-hero__content .pw-actions .pw-button {
        width: 100%;
    }

    .pw-scope {
        padding: 13px;
        border-radius: 22px;
    }

    .pw-scope__bar {
        align-items: start;
    }

    .pw-scope__bar > span:last-child {
        max-width: 150px;
        text-align: right;
    }

    .pw-scope__headline {
        padding: 16px;
    }

    .pw-scope__list li {
        padding: 12px;
        gap: 10px;
    }

    .pw-metrics__grid > div {
        padding: 21px;
    }

    .pw-section-heading--plugins {
        grid-template-columns: 1fr;
    }

    .pw-case-slider__controls span {
        margin-right: auto;
        text-align: left;
    }

    .pw-plugin-controls {
        justify-content: flex-start;
    }

    .pw-service-panel__footer {
        align-items: stretch;
    }

    .pw-service-panel__footer .pw-button {
        width: 100%;
    }

    .pw-contact {
        padding: 22px;
        border-radius: 22px;
    }

    .pw-contact__copy ul {
        overflow-wrap: anywhere;
    }

    .pw-plugin-modal {
        padding: 12px;
    }

    .pw-plugin-modal__dialog {
        max-height: calc(100vh - 24px);
        border-radius: 18px;
    }

    .pw-plugin-modal__content .pw-actions {
        display: grid;
    }

    .pw-footer__top {
        grid-template-columns: 1fr;
    }

    .pw-footer__brand,
    .pw-footer__column:last-child {
        grid-column: auto;
    }

    .pw-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pw-site *,
    .pw-site *::before,
    .pw-site *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
