:root {
    --tp-wall: #F2F3EF;
    --tp-paper: #FFFFFF;
    --tp-ink: #1D2522;
    --tp-mute: #5B6761;
    --tp-line: #D5D9D2;
    --tp-accent: #2D3FA8;
    --tp-accent-ink: #FFFFFF;
    --tp-band: #1D2522;
    --tp-band-ink: #ECEEE8;
    --tp-band-mute: #AEB8B2;
    --tp-foot: #E7E9E3;
    --tp-frame: #A9B2AB;
    --tp-frame-hover: var(--tp-accent);
    --tp-red: #C2342A;
    --tp-shadow: 0 1px 0 rgba(29, 37, 34, .06), 0 14px 28px -18px rgba(29, 37, 34, .45);
    --tp-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, Georgia, serif;
    --tp-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"]) {
        --tp-wall: #141817;
        --tp-paper: #1D2321;
        --tp-ink: #E6E9E3;
        --tp-mute: #9DA8A2;
        --tp-line: #313936;
        --tp-accent: #A3AEFF;
        --tp-accent-ink: #141817;
        --tp-band: #222A28;
        --tp-band-ink: #E6E9E3;
        --tp-band-mute: #9DA8A2;
        --tp-foot: #101413;
        --tp-frame: transparent;
        --tp-frame-hover: transparent;
        --tp-red: #FF6B5C;
        --tp-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"] {
    --tp-wall: #141817;
    --tp-paper: #1D2321;
    --tp-ink: #E6E9E3;
    --tp-mute: #9DA8A2;
    --tp-line: #313936;
    --tp-accent: #A3AEFF;
    --tp-accent-ink: #141817;
    --tp-band: #222A28;
    --tp-band-ink: #E6E9E3;
    --tp-band-mute: #9DA8A2;
    --tp-foot: #101413;
    --tp-frame: transparent;
    --tp-frame-hover: transparent;
    --tp-red: #FF6B5C;
    --tp-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(--tp-wall);
    color: var(--tp-ink);
}

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

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

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

.tp-site a {
    color: inherit;
}

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

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

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

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

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

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

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

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

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

.tp-logo svg {
    flex: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.tp-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(--tp-ink);
    cursor: pointer;
}

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

.tp-sun {
    display: none;
}

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

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

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

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

.tp-burger {
    display: none;
}

.tp-scrim {
    display: none;
}

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

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

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

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

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

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

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


.tp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 32px;
}

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

.tp-chip span {
    color: var(--tp-mute);
    font-variant-numeric: tabular-nums;
}

.tp-chip:hover {
    border-color: var(--tp-ink);
}

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

.tp-chip[aria-pressed="true"] span {
    color: inherit;
    opacity: .7;
}


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

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

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

.tp-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;
}

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

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

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

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

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

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

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

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

.tp-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(--tp-line);
    border-radius: 50%;
    background: var(--tp-paper);
    color: var(--tp-ink);
    box-shadow: var(--tp-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

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

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

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

.tp-site [hidden] {
    display: none !important;
}

.tp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.tp-site code {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    font-size: .88em;
    background: var(--tp-foot);
    border: 1px solid var(--tp-line);
    border-radius: 4px;
    padding: 1px 5px;
}

.tp-intro {
    padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
}

.tp-intro-row {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
}

.tp-eyebrow {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tp-red);
}

.tp-intro h1 {
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

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

.tp-intro-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
}

.tp-btn-yt {
    gap: 8px;
}

.tp-btn-yt svg {
    flex: none;
}

.tp-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--tp-line);
}

.tp-facts li {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tp-line);
    align-items: baseline;
}

.tp-facts b {
    font-family: var(--tp-serif);
    font-weight: 400;
    font-size: 21px;
}

.tp-facts span {
    color: var(--tp-mute);
    font-size: 15px;
    line-height: 1.45;
}

.tp-cat {
    padding: clamp(16px, 2vw, 24px) 0 clamp(56px, 7vw, 96px);
}

.tp-tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tp-search {
    position: relative;
    flex: 1 1 360px;
    max-width: 560px;
    display: flex;
    align-items: center;
}

.tp-search svg {
    position: absolute;
    left: 16px;
    color: var(--tp-mute);
    pointer-events: none;
}

.tp-search input {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px 10px 46px;
    font: inherit;
    font-size: 16px;
    color: var(--tp-ink);
    background: var(--tp-paper);
    border: 1px solid var(--tp-line);
    border-radius: 999px;
}

.tp-search input::placeholder {
    color: var(--tp-mute);
}

.tp-search input:focus {
    outline: 2px solid var(--tp-accent);
    outline-offset: 1px;
    border-color: transparent;
}

.tp-sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 15px;
    color: var(--tp-mute);
}

.tp-sort select {
    min-height: 44px;
    padding: 8px 36px 8px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--tp-ink);
    background: var(--tp-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a857f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid var(--tp-line);
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.tp-cat .tp-chips {
    margin: 20px 0 0;
}

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

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

.tp-card[hidden] {
    display: none;
}

.tp-card {
    display: flex;
    flex-direction: column;
}

.tp-card-img {
    display: block;
    position: relative;
    padding: 7px;
    background: var(--tp-paper);
    border: 1px solid var(--tp-frame);
    box-shadow: var(--tp-shadow);
    transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s ease, border-color .15s ease;
}

.tp-card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}

.tp-card:hover .tp-card-img, .tp-card:focus-within .tp-card-img {
    z-index: 5;
    transform: translateY(-20px) scale(1.3);
    border-color: var(--tp-frame-hover);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 28px 44px -20px rgba(0, 0, 0, .5);
}

.tp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 2px 0;
}

.tp-no {
    font-family: var(--tp-serif);
    font-style: italic;
    font-size: 15px;
    color: var(--tp-mute);
}

.tp-card h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-top: 2px;
}

.tp-card h3 a {
    text-decoration: none;
}

.tp-card h3 a:hover {
    color: var(--tp-accent);
}

.tp-kind {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--tp-mute);
    line-height: 1.45;
}

.tp-tagline {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.55;
}

.tp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0;
}

.tp-badges span {
    font-size: 13px;
    line-height: 1.3;
    padding: 3px 9px;
    border: 1px solid var(--tp-line);
    border-radius: 4px;
    color: var(--tp-mute);
}

.tp-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: auto;
    padding-top: 18px;
}

.tp-btn-s {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 15px;
}

.tp-more {
    margin-left: auto;
    font-weight: 600;
    font-size: 15px;
    text-underline-offset: 5px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--tp-line);
}

.tp-more:hover {
    color: var(--tp-accent);
    text-decoration-color: currentColor;
}

.tp-empty {
    padding: 48px 0;
    text-align: center;
}

.tp-empty p {
    margin: 0 0 18px;
    font-family: var(--tp-serif);
    font-size: 24px;
}

.tp-notes, .tp-use, .tp-lic {
    padding: clamp(48px, 6vw, 88px) 0;
    border-top: 1px solid var(--tp-line);
}

.tp-notes h2, .tp-use h2, .tp-lic h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.12;
}

.tp-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px clamp(24px, 4vw, 56px);
    margin-top: 32px;
}

.tp-note h3, .tp-steps h3, .tp-lic-grid h3 {
    font-size: 22px;
    line-height: 1.25;
}

.tp-note p, .tp-lic-grid p {
    margin: 8px 0 0;
    color: var(--tp-mute);
    max-width: 58ch;
}

.tp-use {
    background: var(--tp-paper);
}

.tp-sub-lead {
    margin: 12px 0 0;
    color: var(--tp-mute);
    max-width: 62ch;
}

.tp-steps {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    counter-reset: tp-step;
    display: grid;
    gap: 28px;
    max-width: 860px;
}

.tp-steps li {
    counter-increment: tp-step;
    position: relative;
    padding-left: 60px;
}

.tp-steps li::before {
    content: counter(tp-step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tp-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tp-serif);
    font-size: 19px;
}

.tp-steps p {
    margin: 6px 0 0;
    color: var(--tp-mute);
    max-width: 62ch;
}

.tp-code {
    position: relative;
    margin-top: 14px;
    background: var(--tp-band);
    color: var(--tp-band-ink);
    border-radius: 8px;
    max-width: 640px;
}

.tp-code pre {
    margin: 0;
    padding: 54px 18px 16px;
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre;
}

.tp-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    min-height: 34px;
    padding: 4px 12px;
    font: inherit;
    font-size: 14px;
    color: var(--tp-band-ink);
    background: transparent;
    border: 1px solid var(--tp-band-mute);
    border-radius: 6px;
    cursor: pointer;
}

.tp-copy:hover {
    border-color: var(--tp-band-ink);
}

.tp-use-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
    margin-top: 36px;
}

.tp-lic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px clamp(24px, 4vw, 56px);
    margin-top: 28px;
}

.tp-lic-grid a {
    color: var(--tp-accent);
    text-underline-offset: 4px;
}

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

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

.tp-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(--tp-line);
    border-radius: 12px;
    background: var(--tp-paper);
    color: var(--tp-ink);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
    overflow: hidden;
}

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

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

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

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

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

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

.tp-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(--tp-ink);
}

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

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

@media (max-width: 900px) {
    .tp-intro-row, .tp-note-grid, .tp-lic-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tp-sort {
        margin-left: 0;
    }
}

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

    .tp-search {
        flex-basis: 100%;
    }

    .tp-card:hover .tp-card-img, .tp-card:focus-within .tp-card-img {
        transform: translateY(-8px) scale(1.12);
    }

    .tp-steps li {
        padding-left: 0;
        padding-top: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-card-img {
        transition: none;
    }

    .tp-card:hover .tp-card-img, .tp-card:focus-within .tp-card-img {
        transform: none;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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