@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --propsho-dark: #101828;
    --propsho-dark-soft: #1b2638;
    --propsho-text: #182230;
    --propsho-muted: #667085;
    --propsho-light: #f8fafc;
    --propsho-white: #ffffff;
    --propsho-border: #e4e7ec;
    --propsho-border-dark: #d0d5dd;
    --propsho-accent: #1570ef;
    --propsho-accent-dark: #175cd3;
    --propsho-green: #12b76a;
    --propsho-orange: #f79009;
    --propsho-red: #f04438;
    --propsho-purple: #7f56d9;
    --propsho-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
    --propsho-shadow-lg: 0 24px 70px rgba(16, 24, 40, 0.10);
    --propsho-radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--propsho-light);
    color: var(--propsho-text);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.propsho-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 74px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(228, 231, 236, 0.9);
    backdrop-filter: blur(18px);
}

.propsho-header-inner {
    width: min(1380px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.propsho-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.propsho-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.propsho-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.propsho-name {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.7px;
}

.propsho-label {
    color: var(--propsho-muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.propsho-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.propsho-nav a {
    color: #475467;
    font-size: 13px;
    font-weight: 600;
    transition: color 160ms ease;
}

.propsho-nav a:hover {
    color: var(--propsho-dark);
}

.propsho-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.propsho-version {
    padding: 7px 11px;
    border: 1px solid var(--propsho-border);
    border-radius: 999px;
    color: var(--propsho-muted);
    background: var(--propsho-white);
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.propsho-main {
    overflow: hidden;
}

.propsho-wiki-hero {
    position: relative;
    min-height: 600px;
    padding: 105px max(24px, calc((100% - 1380px) / 2)) 100px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: 80px;
    background:
        radial-gradient(circle at 85% 20%, rgba(21, 112, 239, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--propsho-border);
}

.wiki-hero-content {
    max-width: 720px;
}

.propsho-eyebrow,
.section-label,
.api-section-label {
    color: var(--propsho-accent);
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.propsho-eyebrow {
    margin-bottom: 20px;
}

.wiki-hero-content h1 {
    max-width: 700px;
    margin: 0;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -4px;
}

.wiki-hero-content h1 span {
    display: block;
    color: var(--propsho-accent);
}

.hero-description {
    max-width: 650px;
    margin: 30px 0 0;
    color: #667085;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: all 160ms ease;
}

.hero-button.primary {
    color: white;
    background: var(--propsho-dark);
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.16);
}

.hero-button.primary:hover {
    background: #1d2939;
    transform: translateY(-1px);
}

.hero-button.secondary {
    color: var(--propsho-dark);
    background: white;
    border: 1px solid var(--propsho-border-dark);
}

.hero-button.secondary:hover {
    border-color: #98a2b3;
    background: #f9fafb;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 55px;
}

.hero-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta strong {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 14px;
}

.hero-meta span {
    color: var(--propsho-muted);
    font-size: 11px;
}

.wiki-hero-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(21, 112, 239, 0.12);
    border-radius: 50%;
}

.orbit-one {
    width: 440px;
    height: 440px;
}

.orbit-two {
    width: 310px;
    height: 310px;
}

.hero-api-card {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    padding: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--propsho-border);
    border-radius: 18px;
    box-shadow: var(--propsho-shadow-lg);
}

.api-card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.api-card-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.api-card-line {
    height: 1px;
    margin: 24px 0;
    background: var(--propsho-border);
}

.api-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.api-card-content > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 12px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    color: #475467;
    font-family: "Space Grotesk", monospace;
    font-size: 12px;
}

.api-method {
    min-width: 38px;
    font-size: 9px;
    font-weight: 700;
}

.api-method.get {
    color: var(--propsho-accent);
}

.api-method.post {
    color: var(--propsho-green);
}

.api-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    color: #98a2b3;
    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.wiki-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-label {
    margin-bottom: 16px;
}

.section-heading h2 {
    margin: 0;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.2px;
}

.section-heading h2 span {
    color: var(--propsho-accent);
}

.section-heading p {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--propsho-muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 16px;
}

.about-card {
    min-height: 270px;
    padding: 30px;
    background: white;
    border: 1px solid var(--propsho-border);
    border-radius: var(--propsho-radius);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--propsho-shadow);
}

.about-card.large {
    min-height: 300px;
}

.card-number {
    margin-bottom: 45px;
    color: #98a2b3;
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.about-card h3,
.quick-card h3 {
    margin: 0;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.about-card p {
    margin: 14px 0 0;
    color: var(--propsho-muted);
    font-size: 14px;
    line-height: 1.7;
}

.quick-start-section {
    width: 100%;
    padding-right: max(24px, calc((100% - 1180px) / 2));
    padding-left: max(24px, calc((100% - 1180px) / 2));
    background: #f1f5f9;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.quick-card {
    min-height: 240px;
    padding: 28px;
    background: white;
    border: 1px solid var(--propsho-border);
    border-radius: var(--propsho-radius);
}

.quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 55px;
    border-radius: 8px;
    color: var(--propsho-accent);
    background: #eff8ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.quick-card p {
    margin: 12px 0 0;
    color: var(--propsho-muted);
    font-size: 13px;
    line-height: 1.7;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--propsho-border);
    border-left: 1px solid var(--propsho-border);
}

.architecture-item {
    position: relative;
    min-height: 190px;
    padding: 30px;
    background: white;
    border-right: 1px solid var(--propsho-border);
    border-bottom: 1px solid var(--propsho-border);
}

.architecture-index {
    display: block;
    margin-bottom: 42px;
    color: #98a2b3;
    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 700;
}

.architecture-item strong {
    display: block;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.architecture-item p {
    margin: 8px 0 0;
    color: var(--propsho-muted);
    font-size: 13px;
    line-height: 1.6;
}

.propsho-api-section {
    padding: 100px max(24px, calc((100% - 1380px) / 2));
    background: #101828;
}

.propsho-api-header {
    width: min(1180px, 100%);
    margin: 0 auto 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.propsho-api-header .api-section-label {
    color: #84caff;
}

.propsho-api-header h2 {
    margin: 13px 0 0;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -1.8px;
}

.propsho-api-header p {
    max-width: 680px;
    margin: 14px 0 0;
    color: #98a2b3;
    font-size: 15px;
    line-height: 1.7;
}

.api-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 13px;
    border: 1px solid #344054;
    border-radius: 999px;
    color: #d0d5dd;
    font-size: 11px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--propsho-green);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12);
}

.swagger-container {
    width: min(1180px, 100%);
    margin: 0 auto;
    overflow: hidden;
    background: white;
    border: 1px solid #344054;
    border-radius: 14px;
    box-shadow: var(--propsho-shadow-lg);
}

#swagger-ui {
    padding: 8px;
}

.resources-section {
    padding-bottom: 120px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.resource-card {
    position: relative;
    min-height: 190px;
    padding: 28px;
    background: white;
    border: 1px solid var(--propsho-border);
    border-radius: var(--propsho-radius);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--propsho-shadow);
}

.resource-card > span:first-child {
    display: block;
    margin-bottom: 42px;
    color: var(--propsho-accent);
    font-family: "Space Grotesk", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.resource-card strong {
    display: block;
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
}

.resource-card p {
    margin: 8px 0 0;
    color: var(--propsho-muted);
    font-size: 13px;
}

.resource-arrow {
    position: absolute;
    right: 28px;
    bottom: 25px;
    color: #98a2b3;
    font-size: 18px;
}

.propsho-footer {
    background: var(--propsho-dark);
    border-top: 1px solid #344054;
}

.propsho-footer-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-brand strong {
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}

.footer-brand span {
    color: #98a2b3;
    font-size: 11px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #98a2b3;
    font-size: 11px;
}

.footer-links a:hover {
    color: white;
}


/* Swagger */

.swagger-ui {
    font-family: "DM Sans", Arial, sans-serif;
}

.swagger-ui .topbar {
    display: none;
}

.swagger-ui .info {
    display: none;
}

.swagger-ui .scheme-container {
    margin: 0;
    padding: 18px 22px;
    background: #f8fafc;
    border-bottom: 1px solid var(--propsho-border);
    box-shadow: none;
}

.swagger-ui .scheme-container .schemes {
    margin: 0;
}

.swagger-ui .auth-wrapper {
    padding: 0;
}

.swagger-ui .btn.authorize {
    color: white;
    background: var(--propsho-dark);
    border: 1px solid var(--propsho-dark);
    border-radius: 7px;
    box-shadow: none;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
}

.swagger-ui .btn.authorize svg {
    fill: white;
}

.swagger-ui .opblock-tag {
    margin: 22px 0 0;
    padding: 14px 8px;
    border-bottom: 1px solid var(--propsho-border);
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.swagger-ui .opblock-tag small {
    color: var(--propsho-muted);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
}

.swagger-ui .opblock {
    margin: 12px 0;
    border-radius: 9px;
    box-shadow: none;
}

.swagger-ui .opblock .opblock-summary {
    min-height: 54px;
}

.swagger-ui .opblock .opblock-summary-path {
    font-family: "Space Grotesk", monospace;
    font-size: 13px;
}

.swagger-ui .opblock .opblock-summary-description {
    color: #667085;
    font-size: 12px;
}

.swagger-ui .opblock-summary-method {
    min-width: 72px;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 700;
    box-shadow: none;
}

.swagger-ui .opblock.opblock-get {
    background: rgba(239, 248, 255, 0.7);
    border-color: #b2ddff;
}

.swagger-ui .opblock.opblock-get .opblock-summary {
    border-color: #b2ddff;
}

.swagger-ui .opblock.opblock-post {
    background: rgba(236, 253, 243, 0.7);
    border-color: #abefc6;
}

.swagger-ui .opblock.opblock-post .opblock-summary {
    border-color: #abefc6;
}

.swagger-ui .opblock.opblock-put {
    background: rgba(255, 250, 235, 0.7);
    border-color: #fedf89;
}

.swagger-ui .opblock.opblock-put .opblock-summary {
    border-color: #fedf89;
}

.swagger-ui .opblock.opblock-delete {
    background: rgba(254, 243, 242, 0.7);
    border-color: #fecdca;
}

.swagger-ui .opblock.opblock-delete .opblock-summary {
    border-color: #fecdca;
}

.swagger-ui .opblock.opblock-patch {
    background: rgba(249, 245, 255, 0.7);
    border-color: #d6bbfb;
}

.swagger-ui .opblock.opblock-patch .opblock-summary {
    border-color: #d6bbfb;
}

.swagger-ui .opblock-body {
    background: rgba(255, 255, 255, 0.72);
}

.swagger-ui .opblock-section-header {
    background: #f8fafc;
    box-shadow: none;
}

.swagger-ui .opblock-section-header h4 {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
}

.swagger-ui .parameter__name,
.swagger-ui .parameter__type {
    font-size: 12px;
}

.swagger-ui table thead tr td,
.swagger-ui table thead tr th {
    color: var(--propsho-muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.swagger-ui .response-col_status {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
}

.swagger-ui .responses-inner h4,
.swagger-ui .responses-inner h5 {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
}

.swagger-ui .response-col_description {
    color: var(--propsho-muted);
}

.swagger-ui .model-title {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
}

.swagger-ui section.models {
    border: 1px solid var(--propsho-border);
    border-radius: 9px;
    box-shadow: none;
}

.swagger-ui section.models h4 {
    color: var(--propsho-dark);
    font-family: "Space Grotesk", sans-serif;
}

.swagger-ui .model-box {
    background: #f8fafc;
}

.swagger-ui .model {
    color: #475467;
    font-size: 12px;
}

.swagger-ui .highlight-code {
    border-radius: 7px;
}

.swagger-ui .microlight {
    font-size: 12px;
}

.swagger-ui input[type=text],
.swagger-ui textarea,
.swagger-ui select {
    min-height: 38px;
    border: 1px solid var(--propsho-border-dark);
    border-radius: 7px;
    box-shadow: none;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
}

.swagger-ui input[type=text]:focus,
.swagger-ui textarea:focus,
.swagger-ui select:focus {
    border-color: var(--propsho-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.10);
}

.swagger-ui .btn {
    border-radius: 7px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.swagger-ui .btn.execute {
    color: white;
    background: var(--propsho-dark);
    border-color: var(--propsho-dark);
}

.swagger-ui .btn.try-out__btn {
    color: var(--propsho-dark);
    border-color: var(--propsho-border-dark);
    background: white;
}

.swagger-ui .copy-to-clipboard {
    border-radius: 5px;
}

.swagger-ui .download-contents {
    color: var(--propsho-accent);
}


/* Responsive */

@media (max-width: 1050px) {
    .propsho-nav {
        display: none;
    }

    .propsho-wiki-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 80px;
    }

    .wiki-hero-content {
        max-width: 850px;
    }

    .wiki-hero-visual {
        min-height: 360px;
    }

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

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-card.large {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .propsho-header {
        height: 66px;
    }

    .propsho-header-inner {
        width: calc(100% - 30px);
    }

    .propsho-header-right {
        display: none;
    }

    .propsho-name {
        font-size: 18px;
    }

    .propsho-wiki-hero {
        padding: 70px 20px 75px;
    }

    .wiki-hero-content h1 {
        font-size: 48px;
        letter-spacing: -2.7px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-meta {
        gap: 22px;
        margin-top: 40px;
    }

    .wiki-hero-visual {
        min-height: 310px;
    }

    .orbit-one {
        width: 310px;
        height: 310px;
    }

    .orbit-two {
        width: 220px;
        height: 220px;
    }

    .hero-api-card {
        padding: 20px;
    }

    .wiki-section {
        width: calc(100% - 32px);
        padding: 75px 0;
    }

    .quick-start-section {
        width: 100%;
        padding: 75px 16px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .about-grid,
    .quick-start-grid,
    .architecture-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .about-card.large {
        grid-column: auto;
    }

    .about-card,
    .quick-card {
        min-height: auto;
    }

    .architecture-item {
        min-height: 160px;
    }

    .propsho-api-section {
        padding: 70px 16px;
    }

    .propsho-api-header {
        display: block;
    }

    .propsho-api-header h2 {
        font-size: 34px;
    }

    .api-status {
        width: max-content;
        margin-top: 25px;
    }

    .swagger-container {
        border-radius: 10px;
    }

    .swagger-ui .opblock .opblock-summary {
        min-height: 48px;
    }

    .swagger-ui .opblock-summary-method {
        min-width: 55px;
    }

    .swagger-ui .opblock .opblock-summary-path {
        max-width: 55%;
        font-size: 11px;
    }

    .swagger-ui .opblock .opblock-summary-description {
        display: none;
    }

    .propsho-footer-inner {
        width: calc(100% - 32px);
        padding: 25px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .propsho-label {
        display: none;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-button {
        width: 100%;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-api-card {
        width: 100%;
    }

    .api-card-content > div {
        font-size: 10px;
    }

    .swagger-ui {
        font-size: 12px;
    }

    .swagger-ui .scheme-container {
        padding: 15px;
    }

    .swagger-ui .opblock-summary-method {
        min-width: 48px;
        padding: 6px 4px;
    }
}