.pallets-page {
    --pallet-paper: #f3f2ef;
    --pallet-ink: #20221f;
    --pallet-muted: #62645d;
    --pallet-line: #d9d5ca;
    --pallet-accent: #45454a;
    color: var(--pallet-ink);
    background: var(--pallet-paper);
}

.pallets-page h1,
.pallets-page h2,
.pallets-page h3 {
    color: var(--pallet-ink);
}

.pallets-page .pallets-hero {
    padding: clamp(2.5rem, 7vw, 5.75rem) 0 3.25rem;
    border-bottom: 1px solid var(--pallet-line);
}

.pallets-page .pallets-hero h1 {
    max-width: 790px;
    font-size: clamp(2.75rem, 6.4vw, 5.2rem);
    letter-spacing: -.045em;
    line-height: 1.02;
}

.pallets-page .pallets-hero > p:not(.hero-tagline) {
    max-width: 68ch;
    margin-top: 1.35rem;
    color: #4f514b;
    font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.pallets-kicker {
    margin: 0 0 .7rem;
    color: var(--pallet-accent);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pallets-page .buyer-section {
    padding: clamp(1.8rem, 4vw, 3rem) 0;
}

.pallets-page .buyer-section h2 {
    max-width: 760px;
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3.5vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: -.025em;
}

.pallets-page .buyer-section p {
    color: #464842;
}

.pallets-page .buyer-section p + p {
    margin-top: 1rem;
}

.pallets-page a:not(.btn) {
    color: #1a1a1c;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

.pallets-page a:not(.btn):hover {
    color: #45454a;
}

.pallets-demo-section {
    position: relative;
}

.pallets-demo-section::before {
    position: absolute;
    z-index: 0;
    top: 0;
    left: -1.5rem;
    width: 3px;
    height: 100%;
    background: #62615e;
    content: "";
}

.pallets-demo-section > * {
    position: relative;
}

.pallets-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    margin: 1rem 0 .6rem;
    font-size: .94rem;
}

.pallets-page .pallets-caption {
    color: var(--pallet-muted);
    font-size: .88rem;
}

.pallets-table-wrap {
    width: 100%;
    margin: 1.35rem 0 1rem;
    overflow-x: auto;
    border: 1px solid var(--pallet-line);
    background: rgba(255, 255, 255, .28);
}

.pallets-format-table {
    width: 100%;
    min-width: 490px;
    border-collapse: collapse;
    text-align: left;
}

.pallets-format-table th,
.pallets-format-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--pallet-line);
}

.pallets-format-table thead th {
    color: #55574f;
    font-size: .76rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pallets-format-table tbody th {
    font-weight: 600;
}

.pallets-format-table td[rowspan] {
    max-width: 215px;
    color: #45454a;
    font-family: Castoro, Georgia, serif;
    font-size: 1.08rem;
}

.pallets-format-table caption {
    caption-side: bottom;
    padding: .65rem 1rem;
    color: var(--pallet-muted);
    font-size: .84rem;
    text-align: left;
}

.pallets-request {
    margin: 1.4rem 0;
    border-top: 1px solid var(--pallet-line);
    border-bottom: 1px solid var(--pallet-line);
}

.pallets-request summary {
    padding: 1rem .1rem;
    color: #1a1a1c;
    cursor: pointer;
    font-weight: 650;
}

.pallets-request pre {
    max-width: 100%;
    overflow: auto;
    padding: 1.1rem;
    border: 1px solid var(--pallet-line);
    background: #ebe8df;
    color: #292a26;
    font-size: .82rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.pallets-request pre code {
    color: inherit;
    background: transparent;
    white-space: inherit;
}

.pallets-limits {
    padding-bottom: 3rem !important;
}

@media (max-width: 600px) {
    .pallets-page .row { --bs-gutter-x: 1rem; }
    .pallets-page .pallets-hero {
        padding-top: 2.5rem;
    }

    .pallets-page .buyer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pallets-page .buyer-actions .btn {
        text-align: center;
    }

    .pallets-demo-section::before {
        left: -.65rem;
    }
}
