:root {
    --pd-wall: #F2F3EF;
    --pd-paper: #FFFFFF;
    --pd-ink: #1D2522;
    --pd-mute: #5B6761;
    --pd-line: #D5D9D2;
    --pd-accent: #2D3FA8;
    --pd-accent-ink: #FFFFFF;
    --pd-band: #1D2522;
    --pd-band-ink: #ECEEE8;
    --pd-band-mute: #AEB8B2;
    --pd-foot: #E7E9E3;
    --pd-frame: #A9B2AB;
    --pd-frame-hover: var(--pd-accent);
    --pd-shadow: 0 1px 0 rgba(29, 37, 34, .06), 0 14px 28px -18px rgba(29, 37, 34, .45);
    --pd-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, Georgia, serif;
    --pd-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --pd-wall: #141817;
        --pd-paper: #1D2321;
        --pd-ink: #E6E9E3;
        --pd-mute: #9DA8A2;
        --pd-line: #313936;
        --pd-accent: #A3AEFF;
        --pd-accent-ink: #141817;
        --pd-band: #222A28;
        --pd-band-ink: #E6E9E3;
        --pd-band-mute: #9DA8A2;
        --pd-foot: #101413;
        --pd-frame: transparent;
        --pd-frame-hover: transparent;
        --pd-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --pd-wall: #141817;
    --pd-paper: #1D2321;
    --pd-ink: #E6E9E3;
    --pd-mute: #9DA8A2;
    --pd-line: #313936;
    --pd-accent: #A3AEFF;
    --pd-accent-ink: #141817;
    --pd-band: #222A28;
    --pd-band-ink: #E6E9E3;
    --pd-band-mute: #9DA8A2;
    --pd-foot: #101413;
    --pd-frame: transparent;
    --pd-frame-hover: transparent;
    --pd-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -18px rgba(0, 0, 0, .9);
    color-scheme: dark;
}

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

body {
    margin: 0;
    background: var(--pd-wall);
    color: var(--pd-ink);
}

.pd-site {
    font-family: var(--pd-sans);
    font-size: 17px;
    line-height: 1.6;
    background: var(--pd-wall);
    color: var(--pd-ink);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

.pd-site img {
    display: block;
    max-width: 100%;
    height: auto;
}

.pd-site a {
    color: inherit;
}

.pd-site h1, .pd-site h2, .pd-site h3 {
    font-family: var(--pd-serif);
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
}

.pd-site :focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.pd-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

.pd-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--pd-ink);
    color: var(--pd-wall) !important;
    padding: 10px 16px;
    text-decoration: none;
}

.pd-skip:focus {
    top: 12px;
}

.pd-head {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--pd-line);
}

.pd-head::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: color-mix(in srgb, var(--pd-wall) 92%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.pd-head-row {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.pd-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--pd-ink);
    font-family: var(--pd-serif);
    font-size: 22px;
    white-space: nowrap;
}

.pd-logo svg {
    flex: none;
}

.pd-nav {
    margin-left: auto;
}

.pd-nav-top {
    display: none;
}

.pd-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pd-ml {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font: inherit;
    font-size: 16px;
    color: var(--pd-ink);
    background: none;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    border-radius: 6px;
}

.pd-ml:hover {
    color: var(--pd-accent);
}

.pd-has-sub {
    position: relative;
}

.pd-sub-btn svg {
    transition: transform .2s ease;
}

.pd-sub-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.pd-sub {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 300px;
    transform: translateX(-50%);
    background: var(--pd-paper);
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    box-shadow: var(--pd-shadow);
    display: none;
}

.pd-sub.pd-open {
    display: block;
}

.pd-sub a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.pd-sub a:hover {
    background: var(--pd-wall);
}

.pd-sub b {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.pd-sub span {
    display: block;
    font-size: 14px;
    color: var(--pd-mute);
    line-height: 1.4;
}

.pd-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pd-ibtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--pd-ink);
    cursor: pointer;
}

.pd-ibtn:hover {
    background: var(--pd-foot);
}

.pd-sun {
    display: none;
}

:root[data-theme="dark"] .pd-sun {
    display: block;
}

:root[data-theme="dark"] .pd-moon {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pd-sun {
        display: block;
    }

    :root:not([data-theme="light"]) .pd-moon {
        display: none;
    }
}

.pd-burger {
    display: none;
}

.pd-scrim {
    display: none;
}

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--pd-accent);
    background: var(--pd-accent);
    color: var(--pd-accent-ink) !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.2;
    text-align: center;
}

.pd-btn:hover {
    filter: brightness(1.12);
}

.pd-btn-line {
    background: transparent;
    color: var(--pd-ink) !important;
    border-color: var(--pd-ink);
}

.pd-btn-line:hover {
    filter: none;
    background: var(--pd-ink);
    color: var(--pd-wall) !important;
}

.pd-btn-light {
    background: var(--pd-band-ink);
    border-color: var(--pd-band-ink);
    color: var(--pd-band) !important;
}

.pd-link {
    font-weight: 600;
    text-decoration-color: var(--pd-line);
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
}

.pd-link:hover {
    color: var(--pd-accent);
    text-decoration-color: currentColor;
}

.pd-foot {
    background: var(--pd-foot);
    border-top: 1px solid var(--pd-line);
    padding: 48px 0 28px;
    font-size: 15px;
}

.pd-foot-row {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: 32px;
}

.pd-foot-brand p {
    margin: 12px 0 0;
    color: var(--pd-mute);
    max-width: 34ch;
}

.pd-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    align-content: start;
}

.pd-foot-links a {
    text-decoration: none;
}

.pd-foot-links a:hover {
    color: var(--pd-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.pd-foot-contact b {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.pd-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--pd-line);
    border-radius: 50%;
    color: var(--pd-ink);
}

.pd-social a:hover {
    color: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-social svg {
    width: 24px;
    height: 24px;
}

.pd-copyline {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--pd-line);
    color: var(--pd-mute);
    font-size: 14px;
}

.pd-totop {
    position: fixed;
    right: clamp(16px, 2.4vw, 32px);
    bottom: clamp(16px, 2.4vw, 32px);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--pd-line);
    border-radius: 50%;
    background: var(--pd-paper);
    color: var(--pd-ink);
    box-shadow: var(--pd-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.pd-totop.pd-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.pd-totop:hover {
    color: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-sub a[aria-current="page"] b {
    color: var(--pd-accent);
}

.pd-lp-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pd-lp-link:hover {
    color: var(--pd-accent);
}

.pd-lp {
    width: min(780px, calc(100vw - 32px));
    max-width: none;
    height: min(86vh, 900px);
    max-height: none;
    margin: auto;
    padding: 0;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: var(--pd-paper);
    color: var(--pd-ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    overflow: hidden;
}

.pd-lp[open] {
    display: flex;
    flex-direction: column;
}

.pd-lp::backdrop {
    background: rgba(10, 14, 12, .62);
}

.pd-lp-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 24px;
    border-bottom: 1px solid var(--pd-line);
}

.pd-lp-bar h2 {
    margin: 0;
    font-family: var(--pd-serif);
    font-size: 22px;
    font-weight: 400;
}

.pd-lp-x {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.pd-lp-x:hover {
    background: var(--pd-line);
}

.pd-lp-body {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 20px 24px 32px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--pd-ink);
}

.pd-lp-body:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: -2px;
}

@media (max-width: 900px) {
    .pd-burger {
        display: inline-flex;
    }

    .pd-tools {
        margin-left: auto;
    }

    .pd-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 86vw);
        background: var(--pd-paper);
        border-left: 1px solid var(--pd-line);
        padding: 16px 20px 32px;
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 120;
        overflow-y: auto;
        visibility: hidden;
    }

    .pd-nav.pd-open {
        transform: none;
        visibility: visible;
    }

    .pd-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .pd-nav-top b {
        font-family: var(--pd-serif);
        font-weight: 400;
        font-size: 22px;
    }

    .pd-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pd-menu > li {
        border-bottom: 1px solid var(--pd-line);
    }

    .pd-ml {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
        font-size: 18px;
    }

    .pd-sub {
        position: static;
        width: auto;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 10px;
        background: none;
    }

    .pd-scrim.pd-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 14, 12, .45);
        z-index: 110;
    }

    .pd-foot-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .pd-foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .pd-site {
        font-size: 16px;
    }

    .pd-head-row {
        height: 60px;
        gap: 12px;
    }

    .pd-logo {
        font-size: 20px;
    }

    .pd-foot-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

    .pd-nav, .pd-sub-btn svg, .pd-totop {
        transition: none;
    }
}

.pd-ml[aria-current="page"] {
    color: var(--pd-accent);
}

.pd-hero {
    padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px);
}

.pd-kind {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--pd-mute);
}

.pd-hero h1 {
    font-size: clamp(42px, 5.6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.pd-lead {
    margin: 20px 0 0;
    max-width: 64ch;
    font-size: clamp(17px, 1.35vw, 20px);
    color: var(--pd-mute);
}

.pd-sec {
    padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 96px);
    border-top: 1px solid var(--pd-line);
}

.pd-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}

.pd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 16px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: transparent;
    color: var(--pd-ink);
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.pd-chip:hover {
    border-color: var(--pd-accent);
}

.pd-chip i {
    font-style: normal;
    font-size: 13px;
    color: var(--pd-mute);
}

.pd-chip[aria-pressed="true"] {
    background: var(--pd-ink);
    border-color: var(--pd-ink);
    color: var(--pd-wall);
}

.pd-chip[aria-pressed="true"] i {
    color: inherit;
    opacity: .75;
}

.pd-count {
    margin: 0;
    font-size: 15px;
    color: var(--pd-mute);
}

.pd-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.pd-list > li[hidden] {
    display: none;
}

.pd-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: var(--pd-paper);
    box-shadow: var(--pd-shadow);
    overflow: hidden;
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), border-color .15s ease;
}

.pd-item:hover, .pd-item:focus-within {
    transform: translateY(-4px);
    border-color: var(--pd-accent);
}

.pd-shot {
    display: block;
    border-bottom: 1px solid var(--pd-line);
    overflow: hidden;
    background: var(--pd-wall);
}

.pd-shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: left top;
    transition: transform .3s ease;
}

.pd-item:hover .pd-shot img {
    transform: scale(1.04);
}

.pd-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    font-size: 13px;
}

.pd-cat {
    color: var(--pd-mute);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

.pd-price {
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--pd-line);
    color: var(--pd-ink);
    font-weight: 600;
}

.pd-item h2 {
    margin-top: 8px;
    font-size: clamp(26px, 2.2vw, 30px);
    line-height: 1.15;
}

.pd-go {
    text-decoration: none;
}

.pd-go::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pd-item:hover .pd-go {
    color: var(--pd-accent);
}

.pd-intro {
    margin: 8px 0 0;
    font-size: 16px;
    color: var(--pd-mute);
}

.pd-feats {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.5;
}

.pd-feats li {
    position: relative;
    padding-left: 20px;
}

.pd-feats li + li {
    margin-top: 6px;
}

.pd-feats li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--pd-accent);
    opacity: .8;
}

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

.pd-tags li {
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--pd-wall);
    border: 1px solid var(--pd-line);
    font-size: 13px;
    color: var(--pd-mute);
}

.pd-act {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 18px;
}

.pd-view {
    font-weight: 600;
    font-size: 15px;
    color: var(--pd-accent);
}

.pd-view svg {
    vertical-align: -3px;
    margin-left: 4px;
    transition: transform .15s ease;
}

.pd-item:hover .pd-view svg {
    transform: translateX(3px);
}

.pd-demo {
    position: relative;
    z-index: 2;
    font-size: 15px;
}

.pd-ask {
    padding: clamp(40px, 5vw, 64px) 0;
    background: var(--pd-band);
    color: var(--pd-band-ink);
}

.pd-ask-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
}

.pd-ask h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
}

.pd-ask p {
    margin: 8px 0 0;
    color: var(--pd-band-mute);
    max-width: 56ch;
}

.pd-ask-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-ask .pd-btn-line {
    color: var(--pd-band-ink) !important;
    border-color: var(--pd-band-ink);
}

.pd-ask .pd-btn-line:hover {
    background: var(--pd-band-ink);
    color: var(--pd-band) !important;
}

@media (max-width: 1080px) {
    .pd-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pd-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .pd-ask-acts, .pd-ask-acts .pd-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pd-item, .pd-shot img, .pd-view svg {
        transition: none;
    }

    .pd-item:hover, .pd-item:focus-within, .pd-item:hover .pd-shot img {
        transform: none;
    }
}
