.pc-page {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(3, 9, 16, .75),
            rgba(3, 9, 16, .96)
        ),
        url("/assets/img/home-bg.png")
        center top / cover fixed;
}

.pc-shell {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.pc-eyebrow {
    margin-bottom: 14px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: .46;
}


/* HERO */

.pc-hero {
    padding: 90px 0 48px;
}

.pc-hero h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 80px);
    line-height: .98;

    letter-spacing: -.05em;
}

.pc-lead {
    margin: 24px 0 0;

    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.4;
}

.pc-description {
    max-width: 680px;

    margin: 15px 0 0;

    font-size: 15px;
    line-height: 1.75;

    opacity: .66;
}


/* VEHICLE CONTEXT */

.pc-context-section {
    padding: 15px 0 22px;
}

.pc-vehicle-context {
    min-height: 73px;

    display: grid;
    grid-template-columns: 1fr auto auto;

    gap: 28px;

    align-items: center;

    padding: 0 20px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;

    background: rgba(255,255,255,.035);
}

.pc-context-main span {
    display: block;
}

.pc-context-label {
    margin-bottom: 4px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .12em;

    opacity: .34;
}

.pc-context-main strong {
    font-size: 14px;
}

.pc-context-main > span:last-child {
    margin-top: 3px;

    font-size: 10px;

    opacity: .45;
}

.pc-context-id {
    padding-left: 24px;

    border-left: 1px solid rgba(255,255,255,.08);
}

.pc-context-id span {
    display: block;

    font-size: 8px;

    opacity: .36;
}

.pc-context-id strong {
    display: block;

    margin-top: 3px;

    font-size: 12px;
}

.pc-vehicle-context > a {
    min-height: 37px;

    display: flex;
    align-items: center;

    padding: 0 13px;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 6px;

    color: inherit;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
}


/* CATALOG */

.pc-catalog-section {
    padding: 14px 0 110px;
}

.pc-catalog {
    overflow: hidden;

    display: grid;

    grid-template-columns:
        280px
        330px
        minmax(430px, 1fr);

    min-height: 610px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;

    background: rgba(4,10,17,.79);

    box-shadow: 0 30px 80px rgba(0,0,0,.26);

    backdrop-filter: blur(12px);
}

.pc-column {
    min-width: 0;
}

.pc-tree-column,
.pc-products-column {
    border-right: 1px solid rgba(255,255,255,.075);
}

.pc-column-head {
    min-height: 63px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 0 17px;

    border-bottom: 1px solid rgba(255,255,255,.065);
}

.pc-column-head > div {
    display: flex;
    align-items: center;

    gap: 10px;
}

.pc-column-head span {
    font-size: 8px;
    font-weight: 800;

    opacity: .28;
}

.pc-column-head strong {
    font-size: 12px;
}

.pc-column-head small {
    font-size: 9px;

    opacity: .36;
}


/* CATEGORY TREE */

.pc-search-mini {
    margin: 14px;

    padding: 10px 12px;

    border: 1px solid rgba(255,255,255,.075);
    border-radius: 6px;

    background: rgba(255,255,255,.025);

    font-size: 10px;

    opacity: .40;
}

.pc-tree {
    padding: 3px 10px 18px;
}

.pc-tree-item,
.pc-tree-child {
    min-height: 42px;

    display: flex;
    align-items: center;

    padding: 0 11px;

    border-radius: 6px;

    font-size: 11px;

    opacity: .62;
}

.pc-tree-item span {
    width: 21px;

    opacity: .45;
}

.pc-tree-item.active {
    background: rgba(255,255,255,.055);

    font-weight: 700;

    opacity: 1;
}

.pc-tree-child {
    margin-left: 26px;

    min-height: 36px;

    font-size: 10px;

    opacity: .42;
}

.pc-tree-child.active {
    border-left: 2px solid rgba(255,255,255,.62);

    border-radius: 0;

    background: rgba(255,255,255,.025);

    font-weight: 700;

    opacity: .85;
}


/* PRODUCTS */

.pc-product-list {
    padding: 12px;
}

.pc-product-row {
    width: 100%;

    min-height: 75px;

    display: grid;
    grid-template-columns: 42px 1fr 28px;

    gap: 11px;

    align-items: center;

    margin-bottom: 7px;

    padding: 0 12px;

    border: 1px solid rgba(255,255,255,.065);
    border-radius: 7px;

    background: rgba(255,255,255,.018);

    color: inherit;

    text-align: left;

    font: inherit;
}

.pc-product-row.active {
    border-color: rgba(255,255,255,.16);

    background: rgba(255,255,255,.065);
}

.pc-product-no {
    font-family: ui-monospace, monospace;

    font-size: 10px;

    opacity: .34;
}

.pc-product-info strong,
.pc-product-info small {
    display: block;
}

.pc-product-info strong {
    font-size: 11px;
}

.pc-product-info small {
    margin-top: 4px;

    font-size: 9px;

    opacity: .42;
}

.pc-product-count {
    text-align: right;

    font-size: 9px;

    opacity: .35;
}

.pc-product-footer {
    margin: 8px 12px 15px;

    padding: 16px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.pc-product-footer span,
.pc-product-footer strong,
.pc-product-footer small {
    display: block;
}

.pc-product-footer span {
    font-size: 8px;

    opacity: .34;
}

.pc-product-footer strong {
    margin-top: 5px;

    font-size: 12px;
}

.pc-product-footer small {
    margin-top: 4px;

    font-size: 9px;

    opacity: .38;
}


/* ARTICLES */

.pc-article-list {
    padding: 12px;
}

.pc-article {
    min-height: 90px;

    display: grid;
    grid-template-columns: 58px 1fr auto;

    gap: 14px;

    align-items: center;

    padding: 0 13px;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.pc-article.active {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;

    background: rgba(255,255,255,.05);
}

.pc-article-brand {
    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 7px;

    background: rgba(255,255,255,.035);

    font-size: 10px;
    font-weight: 800;
}

.pc-article-main strong,
.pc-article-main span,
.pc-article-main small {
    display: block;
}

.pc-article-main strong {
    font-size: 13px;
}

.pc-article-main span {
    margin-top: 4px;

    font-size: 10px;

    opacity: .59;
}

.pc-article-main small {
    margin-top: 4px;

    font-size: 9px;

    opacity: .34;
}

.pc-article-status {
    padding: 5px 7px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .06em;

    opacity: .56;
}

.pc-article-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin: 4px 12px 14px;

    padding: 16px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.pc-article-detail small,
.pc-article-detail strong {
    display: block;
}

.pc-article-detail small {
    font-size: 8px;

    opacity: .34;
}

.pc-article-detail strong {
    margin-top: 4px;

    font-size: 12px;
}

.pc-detail-actions {
    display: flex;

    gap: 7px;
}

.pc-detail-actions a {
    padding: 8px 10px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 5px;

    color: inherit;

    text-decoration: none;

    font-size: 9px;
    font-weight: 700;
}


/* HEADINGS */

.pc-heading {
    max-width: 780px;

    margin-bottom: 48px;
}

.pc-heading h2,
.pc-api-layout h2,
.pc-final h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;

    letter-spacing: -.035em;
}


/* FLOW */

.pc-flow-section {
    padding: 105px 0;

    border-top: 1px solid rgba(255,255,255,.06);

    background: rgba(0,0,0,.16);
}

.pc-flow {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    gap: 11px;

    align-items: center;
}

.pc-flow-box {
    min-height: 145px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 20px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;

    background: rgba(255,255,255,.035);
}

.pc-flow-box span {
    margin-bottom: auto;

    font-size: 9px;
    font-weight: 800;

    opacity: .28;
}

.pc-flow-box strong {
    font-size: 15px;
}

.pc-flow-box small {
    margin-top: 4px;

    font-size: 10px;

    opacity: .43;
}

.pc-flow-final {
    border-color: rgba(255,255,255,.18);

    background: rgba(255,255,255,.07);
}

.pc-flow-arrow {
    opacity: .27;
}


/* API */

.pc-api-section {
    padding: 105px 0;
}

.pc-api-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.pc-api-layout p {
    max-width: 620px;

    margin-top: 18px;

    font-size: 15px;
    line-height: 1.75;

    opacity: .65;
}

.pc-code-window {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 11px;

    background: rgba(4,10,17,.68);
}

.pc-code-top {
    min-height: 47px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 17px;

    border-bottom: 1px solid rgba(255,255,255,.06);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .10em;

    opacity: .47;
}

.pc-code-window pre {
    overflow: auto;

    margin: 0;

    padding: 23px;

    font-size: 12px;
    line-height: 1.7;
}

.pc-code-response {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    align-items: center;

    padding: 14px 18px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.pc-code-response span {
    margin-right: 5px;

    font-size: 8px;
    font-weight: 800;

    opacity: .32;
}

.pc-code-response code {
    padding: 6px 8px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;

    font-size: 9px;

    opacity: .58;
}


/* SERVICES */

.pc-services-section {
    padding: 105px 0;

    background: rgba(0,0,0,.18);
}

.pc-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(255,255,255,.08);
    border-left: 1px solid rgba(255,255,255,.08);
}

.pc-services > div {
    min-height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 21px;

    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.pc-services span {
    margin-bottom: auto;

    font-size: 8px;
    font-weight: 800;

    opacity: .26;
}

.pc-services strong {
    font-size: 14px;
}

.pc-services small {
    margin-top: 5px;

    opacity: .40;
}


/* FINAL */

.pc-final {
    padding: 70px 0 110px;
}

.pc-final-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 45px;

    padding: 43px;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 12px;

    background: rgba(255,255,255,.05);
}

.pc-final-actions {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}

.pc-final-actions a {
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}

.pc-primary {
    background: #fff;
    color: #111820;
}

.pc-secondary {
    border: 1px solid rgba(255,255,255,.18);

    color: inherit;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .pc-catalog {
        grid-template-columns: 250px 1fr;
    }

    .pc-articles-column {
        grid-column: 1 / -1;

        border-top: 1px solid rgba(255,255,255,.075);
    }

    .pc-products-column {
        border-right: 0;
    }

    .pc-api-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .pc-shell {
        width: min(100% - 28px, 1240px);
    }

    .pc-hero {
        padding: 65px 0 35px;
    }

    .pc-vehicle-context {
        grid-template-columns: 1fr;

        gap: 13px;

        padding: 16px;
    }

    .pc-context-id {
        padding-left: 0;

        border-left: 0;
    }

    .pc-vehicle-context > a {
        justify-content: center;
    }

    .pc-catalog {
        display: block;
    }

    .pc-tree-column,
    .pc-products-column {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.075);
    }

    .pc-flow {
        grid-template-columns: 1fr;
    }

    .pc-flow-arrow {
        text-align: center;

        transform: rotate(90deg);
    }

    .pc-services {
        grid-template-columns: 1fr;
    }

    .pc-final-panel {
        display: block;
    }

    .pc-final-actions {
        display: block;

        margin-top: 28px;
    }

    .pc-final-actions a {
        margin-top: 8px;
    }
}
