.cp-site:has(.pg-page) { background: #f8f9fc; padding-bottom: 64px; }
.pg-page { --pg-ink: #173e49; --pg-muted: #687d88; --pg-iris: #6656b4; --pg-mint: #287c68; --pg-orange: #dc5936; color: var(--pg-ink); }
.pg-page * { min-width: 0; }
.pg-page svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pg-page .pg-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.pg-page :is(a, input, button, summary):focus-visible { outline: 3px solid #8f79d6; outline-offset: 4px; }
.pg-page :is(a, button) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.pg-page :is(button, input) { font: inherit; }
.pg-page h2, .pg-page h3 { color: var(--pg-ink); }
.pg-overline { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 550; color: var(--pg-iris); line-height: 1.9; }
.pg-overline > span { width: 7px; height: 7px; background: #8670cd; border-radius: 2px; }
.pg-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 12px 19px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1.8; transition: background .18s, border-color .18s, transform .18s; }
.pg-primary { background: var(--pg-ink); color: #fff; border-color: var(--pg-ink); }
.pg-primary:hover { background: #255565; border-color: #255565; transform: translateY(-1px); }
.pg-button svg { width: 18px; height: 18px; }
.pg-text-link { display: inline-flex; align-items: center; gap: 10px; color: #4f6977; font-size: 12px; line-height: 1.9; min-height: 44px; }
.pg-text-link:hover { color: var(--pg-iris); }
.pg-text-link svg { width: 16px; height: 16px; }
.pg-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 66px; padding: 32px 0 60px; }
.pg-hero-copy h1 { font-size: clamp(34px, 3.7vw, 48px); line-height: 1.75; letter-spacing: -1.3px; font-weight: 800; margin: 16px 0 14px; }
.pg-hero-copy > p { font-size: 14px; line-height: 2.2; color: var(--pg-muted); margin: 0; max-width: 540px; }
.pg-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 24px; margin-top: 27px; }
.pg-hero-note { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #708690; margin-top: 18px; line-height: 1.9; }
.pg-hero-note svg { color: var(--pg-mint); width: 16px; height: 16px; }
.pg-hero-art { position: relative; isolation: isolate; padding: 25px 26px 22px; background: #eef0fa; border: 1px solid #e0e4f3; border-radius: 24px; overflow: hidden; }
.pg-hero-art::after { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; border: 1px solid #bfc5e627; border-radius: 50%; left: -150px; bottom: -150px; box-shadow: 0 0 0 40px #bfc5e612, 0 0 0 80px #bfc5e608; }
.pg-art-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; color: #6a7292; font-size: 10px; }
.pg-art-label { font: 10px/1.5 Arial, sans-serif; letter-spacing: 1.6px; color: #9298b4; }
.pg-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.pg-platform { background: #ffffffcf; border: 1px solid #dde2f2; border-radius: 13px; padding: 17px 7px 13px; display: flex; align-items: center; flex-direction: column; }
.pg-platform > span { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 11px; margin-bottom: 12px; }
.pg-platform > span svg { width: 25px; height: 25px; }
.pg-platform strong { font: 600 11px/1.8 Arial, sans-serif; letter-spacing: -.15px; color: #344d5c; white-space: nowrap; }
.pg-platform small { font-size: 9px; line-height: 1.9; color: #7a889b; margin-top: 3px; }
.pg-platform-iris > span { background: #eee8fa; color: #7860b8; }
.pg-platform-mint > span { background: #e5f3eb; color: #34826c; }
.pg-platform-peach > span { background: #ffede2; color: #b77548; }
.pg-connections { height: 57px; margin: 0 0 -2px; }
.pg-connections > svg { width: 100%; height: 100%; stroke: #b8bddd; stroke-width: 1.3; }
.pg-connections circle { fill: #9886cc; stroke: #eef0fa; stroke-width: 3; }
.pg-message-node { display: flex; align-items: center; gap: 12px; margin-inline: auto; max-width: 355px; padding: 19px 18px; background: #fff; border: 1px solid #dce3ef; border-radius: 13px; box-shadow: 0 9px 23px #5c63a80a; }
.pg-node-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: var(--pg-ink); flex-shrink: 0; }
.pg-node-icon svg { width: 23px; height: 23px; }
.pg-message-node strong { display: block; font-size: 12px; line-height: 1.9; }
.pg-message-node small { display: block; font-size: 10px; color: #7a8d98; line-height: 1.9; margin-top: 3px; }
.pg-node-dot { width: 7px; height: 7px; background: #62a089; border: 4px solid #eaf5ef; box-sizing: content-box; border-radius: 50%; margin-inline-start: auto; flex-shrink: 0; }
.pg-art-bottom { display: flex; align-items: center; justify-content: center; gap: 7px; color: #8a92ad; font-size: 9px; line-height: 1.8; margin-top: 19px; }
.pg-art-bottom > span { width: 4px; height: 4px; border-radius: 50%; background: #9c93bb; }
.pg-catalog { padding-top: 34px; border-top: 1px solid #e1e6ee; scroll-margin-top: 160px; }
.pg-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.pg-section-heading h2 { font-size: 27px; line-height: 1.8; letter-spacing: -.6px; margin: 8px 0 0; font-weight: 750; }
.pg-section-heading > p { font-size: 12px; line-height: 2; color: var(--pg-muted); margin: 0 0 6px; }
.pg-library-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: center; padding: 23px 24px; border: 1px solid #e2e6ee; border-radius: 14px; background: #fff; }
.pg-search > label { display: block; font-size: 11px; font-weight: 550; margin-bottom: 10px; }
.pg-search > div { display: flex; align-items: center; gap: 11px; padding: 5px 7px 5px 13px; background: #f8f9fc; border: 1px solid #dce2eb; border-radius: 9px; }
.pg-search > div:focus-within { border-color: #8f79b9; box-shadow: 0 0 0 3px #8f79d62b; }
.pg-search > div > svg { color: #8795a9; width: 18px; height: 18px; }
.pg-search input[type=search] { width: 100%; flex: 1; background: transparent; color: var(--pg-ink); border: 0; padding: 9px 0; font-size: 12px; outline: none; }
.pg-search input::placeholder { color: #8a96a8; }
.pg-search input[type=search]:focus-visible { outline: 0; }
.pg-search button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 9px 16px; border: 0; background: #ebe7f7; color: #645296; border-radius: 6px; font-size: 11px; font-weight: 600; flex-shrink: 0; cursor: pointer; }
.pg-search button:hover { background: #e0d8f2; }
.pg-search button svg { width: 16px; height: 16px; }
.pg-library-note { display: flex; align-items: center; gap: 14px; border-inline-start: 1px solid #e7e9f0; padding-inline-start: 28px; }
.pg-library-note > span { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: #6f8c82; background: #eef5f1; flex-shrink: 0; }
.pg-library-note > span svg { width: 21px; height: 21px; }
.pg-library-note p { font-size: 11px; line-height: 2; color: #6d808a; margin: 0; }
.pg-library-note strong { font-weight: 500; color: #3f5f69; }
.pg-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 17px; }
.pg-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 14px; font-size: 11px; color: #607583; border: 1px solid #dfe4ed; border-radius: 8px; background: #fff; transition: color .15s, background .15s, border-color .15s; }
.pg-filter > span { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 5px; background: #f0f2f7; color: #7b8898; font-size: 10px; }
.pg-filter:hover { border-color: #b9acd7; color: var(--pg-iris); }
.pg-filter.is-active { color: #fff; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-filter.is-active > span { color: #d2e1e5; background: #ffffff16; }
.pg-results { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 18px; color: #7d899b; font-size: 10px; line-height: 1.9; }
.pg-results p { margin: 0; overflow-wrap: anywhere; }
.pg-results p strong { color: #526b79; font-weight: 600; }
.pg-results > a { display: inline-flex; gap: 10px; align-items: center; min-height: 32px; color: var(--pg-iris); flex-shrink: 0; }
.pg-results > a span { font-size: 19px; }
.pg-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-card { --pg-card-color: #7160b4; --pg-card-soft: #f0ebfb; --pg-card-line: #e7def7; display: flex; flex-direction: column; align-items: flex-start; position: relative; background: #fff; padding: 25px 24px 19px; border: 1px solid #e0e6ee; border-radius: 15px; box-shadow: 0 5px 15px #3c507504; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pg-card-mint { --pg-card-color: #34816c; --pg-card-soft: #eaf5ef; --pg-card-line: #dceee3; }
.pg-card-peach { --pg-card-color: #b2734a; --pg-card-soft: #fff0e5; --pg-card-line: #f4e2d4; }
.pg-card-sky { --pg-card-color: #477eaa; --pg-card-soft: #edf4fb; --pg-card-line: #dfeaf5; }
.pg-card:hover { border-color: #c6bddc; box-shadow: 0 13px 25px #41527809; transform: translateY(-3px); }
.pg-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-bottom: 24px; }
.pg-card-icon { display: grid; place-items: center; width: 51px; height: 51px; background: var(--pg-card-soft); color: var(--pg-card-color); border: 1px solid var(--pg-card-line); border-radius: 13px; flex-shrink: 0; }
.pg-card-icon svg { width: 27px; height: 27px; }
.pg-platform-label { font: 600 10px/1.8 'Vazirmatn', sans-serif; letter-spacing: .15px; color: #7b889e; background: #f8f9fc; padding: 4px 8px; border: 1px solid #ecedf3; border-radius: 5px; overflow-wrap: anywhere; }
.pg-card-category { font-size: 10px; color: var(--pg-card-color); line-height: 1.8; }
.pg-card h3 { font-size: 18px; font-weight: 700; line-height: 1.9; letter-spacing: -.3px; margin: 9px 0 10px; }
.pg-card h3 a:hover { color: var(--pg-card-color); }
.pg-card > p { font-size: 12px; color: #738490; line-height: 2.1; margin: 0 0 23px; }
.pg-card-cover { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin: 0 0 20px; }
.pg-card-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding-top: 15px; margin-top: auto; border-top: 1px solid #edf0f5; }
.pg-status { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #85929d; line-height: 1.8; }
.pg-status i { width: 4px; height: 4px; background: #b5acc9; border-radius: 50%; }
.pg-status-available { color: #287c68; }
.pg-status-available i { background: #4a947c; }
.pg-card-link { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 550; color: var(--pg-ink); min-height: 34px; }
.pg-card-link > span { display: grid; place-items: center; width: 28px; height: 28px; background: #f6f7fb; border: 1px solid #e7eaf1; border-radius: 7px; color: #75819a; transition: color .15s, background .15s; }
.pg-card-link svg { width: 14px; height: 14px; }
.pg-card-link:hover > span { background: var(--pg-card-soft); color: var(--pg-card-color); }
.pg-empty { grid-column: 1 / -1; text-align: center; padding: 42px 20px; border: 1px dashed #d3d9e8; background: #fff; border-radius: 15px; }
.pg-empty > span { display: inline-grid; place-items: center; width: 56px; height: 56px; color: #8778b7; background: #f2eef9; border-radius: 16px; }
.pg-empty > span svg { width: 25px; height: 25px; }
.pg-empty h3 { font-size: 20px; margin: 20px 0 7px; line-height: 1.9; }
.pg-empty p { font-size: 12px; color: var(--pg-muted); line-height: 2; margin: 0 0 21px; }
.pg-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.pg-pagination > * { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 13px; font-size: 12px; border: 1px solid #dfe4ee; border-radius: 8px; background: #fff; }
.pg-pagination [aria-current] { color: #fff; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-pagination a:hover { background: #efebf7; }
.pg-pagination svg { width: 15px; height: 15px; }
.pg-api { display: flex; align-items: center; gap: 26px; padding: 30px 34px; margin-top: 50px; border: 1px solid #ded9ed; border-radius: 17px; background: #eeebf7; }
.pg-api-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 74px; height: 77px; flex-shrink: 0; background: #e4def3; border: 1px solid #d9cfea; color: #8a70b5; border-radius: 15px; }
.pg-api-icon svg { width: 31px; height: 31px; }
.pg-api-icon > span { font: 600 10px/1.5 Arial, sans-serif; letter-spacing: 2px; }
.pg-api-copy { flex: 1; }
.pg-api-copy h2 { font-size: 22px; line-height: 1.9; letter-spacing: -.4px; margin: 6px 0; }
.pg-api-copy p { font-size: 12px; line-height: 2; color: #7a7790; margin: 0; }
.pg-api-button { background: #fff; border-color: #d7cee9; color: #6b579e; flex-shrink: 0; }
.pg-api-button:hover { background: #f8f6fc; border-color: #b7a7d6; }
.pg-steps { padding-top: 49px; }
.pg-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; padding: 0; margin: 0; list-style: none; }
.pg-steps li { display: flex; align-items: flex-start; gap: 16px; padding-top: 22px; border-top: 1px solid #dce3eb; }
.pg-steps li > span { color: #a2b1b9; font-size: 24px; line-height: 1.7; }
.pg-steps h3 { font-size: 14px; font-weight: 650; line-height: 1.9; margin: 0 0 7px; }
.pg-steps p { font-size: 12px; color: #768893; line-height: 2; margin: 0; }
.pg-cms-content { margin-top: 40px; }
.pg-help { display: flex; align-items: center; gap: 20px; background: #edf5f0; border: 1px solid #dfeae4; border-radius: 15px; padding: 26px 29px; margin-top: 45px; }
.pg-help-icon { display: grid; place-items: center; width: 50px; height: 50px; color: #4c8c72; background: #e0eee5; border: 1px solid #d3e5da; border-radius: 13px; flex-shrink: 0; }
.pg-help-icon svg { width: 27px; height: 27px; }
.pg-help > div { flex: 1; }
.pg-help h2 { font-size: 19px; line-height: 1.9; margin: 0 0 5px; }
.pg-help p { font-size: 12px; line-height: 2; color: #6e8a7d; margin: 0; }
.pg-help .pg-primary { background: #297960; border-color: #297960; flex-shrink: 0; }
.pg-help .pg-primary:hover { background: #23664f; }
@media (max-width: 1080px) {
  .pg-hero { gap: 35px; }
  .pg-hero-copy h1 { font-size: 38px; }
  .pg-hero-art { padding-inline: 21px; }
  .pg-platforms { gap: 8px; }
  .pg-platform strong { font-size: 10px; }
  .pg-library-toolbar { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .pg-library-note { padding-inline-start: 20px; gap: 10px; }
  .pg-card { padding-inline: 20px; }
  .pg-card h3 { font-size: 17px; }
  .pg-card-bottom { gap: 5px; }
  .pg-api { gap: 22px; padding: 28px; }
  .pg-api-copy h2 { font-size: 20px; }
}
@media (max-width: 850px) {
  .pg-hero { grid-template-columns: 1fr; gap: 30px; padding: 22px 0 40px; }
  .pg-hero-copy { max-width: 680px; }
  .pg-hero-copy h1 { max-width: 610px; }
  .pg-hero-copy > p { max-width: 650px; }
  .pg-hero-art { width: 100%; max-width: 590px; padding-inline: 28px; margin-inline: auto; }
  .pg-platforms { gap: 18px; }
  .pg-platform strong { font-size: 12px; }
  .pg-library-toolbar { grid-template-columns: minmax(0, 1fr); padding: 21px; }
  .pg-library-note { display: none; }
  .pg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-section-heading { align-items: flex-start; }
  .pg-section-heading h2 { font-size: 24px; }
  .pg-section-heading > p { max-width: 180px; margin-top: 30px; }
  .pg-card { padding: 24px 22px 18px; }
  .pg-api { flex-wrap: wrap; gap: 18px; }
  .pg-api-copy { flex-basis: calc(100% - 98px); }
  .pg-api-button { margin-inline-start: 98px; }
  .pg-steps ol { gap: 19px; }
  .pg-steps li { flex-direction: column; gap: 8px; }
  .pg-help { gap: 15px; padding: 23px; flex-wrap: wrap; }
  .pg-help > div { flex-basis: calc(100% - 65px); }
  .pg-help .pg-button { margin-inline-start: 65px; }
}
@media (max-width: 580px) {
  .cp-site:has(.pg-page) { padding-bottom: 40px; }
  .pg-hero { padding-top: 13px; gap: 28px; }
  .pg-hero-copy h1 { font-size: 33px; line-height: 1.8; letter-spacing: -.8px; margin-top: 14px; }
  .pg-hero-copy > p { font-size: 13px; }
  .pg-hero-actions { gap: 10px; margin-top: 22px; align-items: stretch; flex-direction: column; }
  .pg-hero-actions .pg-button { justify-content: space-between; }
  .pg-hero-actions .pg-text-link { justify-content: center; font-size: 11px; }
  .pg-hero-note { font-size: 9px; margin-top: 10px; }
  .pg-hero-art { padding: 19px 17px; border-radius: 17px; }
  .pg-art-caption { font-size: 9px; gap: 8px; margin-bottom: 20px; }
  .pg-art-label { font-size: 8px; letter-spacing: .8px; }
  .pg-platforms { gap: 8px; }
  .pg-platform { padding: 13px 4px 11px; border-radius: 10px; }
  .pg-platform > span { width: 36px; height: 36px; margin-bottom: 9px; border-radius: 10px; }
  .pg-platform > span svg { width: 22px; height: 22px; }
  .pg-platform strong { font-size: 9px; }
  .pg-platform small { font-size: 8px; }
  .pg-connections { height: 43px; }
  .pg-message-node { padding: 15px 13px; gap: 10px; }
  .pg-message-node strong { font-size: 11px; }
  .pg-message-node small { font-size: 9px; }
  .pg-node-icon { width: 37px; height: 37px; border-radius: 10px; }
  .pg-node-dot { width: 5px; height: 5px; border-width: 3px; }
  .pg-art-bottom { font-size: 8px; }
  .pg-catalog { padding-top: 26px; scroll-margin-top: 132px; }
  .pg-section-heading { flex-direction: column; gap: 7px; margin-bottom: 20px; }
  .pg-section-heading h2 { font-size: 23px; line-height: 1.8; }
  .pg-section-heading > p { margin: 0; max-width: none; font-size: 11px; }
  .pg-library-toolbar { padding: 17px; border-radius: 12px; }
  .pg-search > label { font-size: 10px; }
  .pg-search > div { flex-wrap: wrap; gap: 8px; padding: 9px 11px; }
  .pg-search input[type=search] { flex-basis: calc(100% - 32px); font-size: 16px; padding: 9px 0; }
  .pg-search input::placeholder { font-size: 11px; }
  .pg-search button { width: 100%; min-height: 42px; justify-content: space-between; padding-inline: 13px; }
  .pg-filters { gap: 8px; margin-top: 19px; }
  .pg-filter { font-size: 10px; padding-inline: 11px; gap: 7px; }
  .pg-results { font-size: 9px; gap: 8px; align-items: flex-start; }
  .pg-results > span { display: none; }
  .pg-results > a { gap: 5px; }
  .pg-card-grid { grid-template-columns: 1fr; gap: 15px; }
  .pg-card { padding: 23px 22px 17px; }
  .pg-card-top { margin-bottom: 19px; }
  .pg-card h3 { font-size: 19px; }
  .pg-card > p { font-size: 12px; margin-bottom: 20px; }
  .pg-card-bottom { flex-wrap: nowrap; gap: 8px; }
  .pg-card-link { font-size: 11px; min-height: 44px; }
  .pg-card-link > span { width: 31px; height: 31px; }
  .pg-empty { padding: 30px 20px; }
  .pg-empty h3 { font-size: 18px; }
  .pg-api { padding: 24px 22px; margin-top: 32px; gap: 17px; }
  .pg-api-icon { width: 55px; height: 59px; border-radius: 12px; }
  .pg-api-icon svg { width: 25px; height: 25px; }
  .pg-api-copy { flex-basis: 100%; }
  .pg-api-copy h2 { font-size: 21px; }
  .pg-api-button { margin-inline-start: 0; width: 100%; justify-content: space-between; }
  .pg-steps { padding-top: 33px; }
  .pg-steps ol { grid-template-columns: 1fr; gap: 20px; }
  .pg-steps li { flex-direction: row; gap: 16px; padding-top: 20px; }
  .pg-steps h3 { font-size: 14px; }
  .pg-help { margin-top: 32px; padding: 23px 22px; gap: 16px; }
  .pg-help > div { flex-basis: 100%; }
  .pg-help h2 { font-size: 21px; }
  .pg-help .pg-button { width: 100%; margin-inline-start: 0; justify-content: space-between; }
}
@media (max-width: 360px) {
  .pg-platform strong { font-size: 8px; }
  .pg-hero-art { padding-inline: 13px; }
  .pg-hero-copy h1 { font-size: 30px; }
  .pg-art-caption { font-size: 8px; }
  .pg-card { padding-inline: 19px; }
  .pg-status { font-size: 8px; }
  .pg-card-link { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pg-page * { transition: none !important; } }
