.zto-overview {
    --zto-ink: #18243a;
    --zto-muted: #5e6b7d;
    --zto-line: #dce4ed;
    --zto-surface: #f5f8fb;
    --zto-blue: #1769e0;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.25rem 0 4rem;
    color: var(--zto-ink);
}

.zto-overview *,
.zto-overview *::before,
.zto-overview *::after {
    box-sizing: border-box;
}

.zto-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 4vw, 3.25rem);
    border: 1px solid #d8e5f2;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 12%, rgba(69, 144, 255, .18), transparent 28%),
        linear-gradient(135deg, #f6faff 0%, #eef5ff 100%);
}

.zto-hero::after {
    content: "</>";
    position: absolute;
    right: clamp(1.4rem, 5vw, 4rem);
    top: 50%;
    transform: translateY(-54%);
    color: rgba(23, 105, 224, .11);
    font: 800 clamp(4rem, 10vw, 8rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
    pointer-events: none;
}

.zto-eyebrow,
.zto-kicker {
    margin: 0 0 .45rem;
    color: #1769e0;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.zto-hero h2,
.entry-content .zto-hero h2 {
    max-width: 720px;
    margin: 0;
    color: var(--zto-ink);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.zto-intro {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 1rem 0 1.5rem;
    color: var(--zto-muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.zto-search {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 610px;
}

.zto-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #61728a;
    font-size: 1.5rem;
    pointer-events: none;
}

.zto-search input[type="search"] {
    width: 100%;
    min-height: 54px;
    padding: .8rem 1rem .8rem 3rem;
    border: 1px solid #cad7e5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 24px rgba(26, 61, 101, .08);
    color: var(--zto-ink);
    font-size: 1rem;
}

.zto-search input[type="search"]:focus {
    border-color: var(--zto-blue);
    outline: 3px solid rgba(23, 105, 224, .18);
}

.zto-filters {
    display: flex;
    gap: .65rem;
    margin: 1.35rem 0 2.5rem;
    padding: .2rem 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.zto-filter {
    flex: 0 0 auto;
    min-height: 42px;
    padding: .55rem 1rem;
    border: 1px solid var(--zto-line);
    border-radius: 999px;
    background: #fff;
    color: #34445a;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.zto-filter:hover,
.zto-filter:focus-visible {
    border-color: #8eb7ee;
    transform: translateY(-1px);
}

.zto-filter.is-active {
    border-color: var(--zto-blue);
    background: var(--zto-blue);
    color: #fff;
}

.zto-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
}

.zto-section-heading h3,
.entry-content .zto-section-heading h3 {
    margin: 0;
    color: var(--zto-ink);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.zto-featured {
    margin-bottom: 3.25rem;
}

.zto-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.zto-feature-card,
.entry-content .zto-feature-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 1.35rem;
    border: 1px solid #d8e2ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25, 52, 84, .07);
    color: var(--zto-ink);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zto-feature-card *,
.entry-content .zto-feature-card * {
    text-decoration: none !important;
}

.zto-feature-card:hover,
.zto-feature-card:focus-visible {
    border-color: #8eb7ee;
    box-shadow: 0 14px 30px rgba(25, 52, 84, .12);
    transform: translateY(-3px);
}

.zto-feature-label {
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #e9f2ff;
    color: #135abf;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.zto-feature-card strong {
    font-size: 1.17rem;
}

.zto-feature-description {
    margin-top: .5rem;
    color: var(--zto-muted);
    font-size: .93rem;
    line-height: 1.5;
}

.zto-feature-link {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--zto-blue);
    font-weight: 750;
}

.zto-all-heading {
    margin-top: 0;
}

.zto-result-count {
    margin: 0;
    color: var(--zto-muted);
    font-size: .9rem;
}

.zto-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.zto-category {
    --zto-accent: #3478dd;
    overflow: hidden;
    border: 1px solid var(--zto-line);
    border-top: 4px solid var(--zto-accent);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31, 55, 84, .06);
}

.zto-color-2 { --zto-accent: #7357d9; }
.zto-color-3 { --zto-accent: #008a91; }
.zto-color-4 { --zto-accent: #db7b21; }
.zto-color-5 { --zto-accent: #287eb8; }
.zto-color-6 { --zto-accent: #c34a5a; }
.zto-color-7 { --zto-accent: #31845b; }

.zto-category-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .9rem;
    align-items: start;
    padding: 1.35rem 1.35rem 1.15rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--zto-accent) 8%, white), #fff);
}

.zto-category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--zto-accent);
    color: #fff;
    font: 800 .88rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.zto-category-header h4,
.entry-content .zto-category-header h4 {
    margin: .1rem 0 .3rem;
    color: var(--zto-ink);
    font-size: 1.25rem;
}

.zto-category-header p {
    margin: 0;
    color: var(--zto-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.zto-count {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: #eef2f6;
    color: #536175;
    font-size: .78rem;
    font-weight: 800;
}

.zto-tool-list {
    margin: 0;
    padding: .45rem .85rem .9rem;
    list-style: none;
}

.zto-tool {
    margin: 0;
}

.zto-tool a,
.entry-content .zto-tool a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .68rem .65rem;
    border-bottom: 1px solid #edf1f5;
    color: #263b55;
    font-size: .96rem;
    font-weight: 620;
    line-height: 1.35;
    text-decoration: none;
}

.zto-tool:last-child a {
    border-bottom: 0;
}

.zto-tool a:hover,
.zto-tool a:focus-visible {
    border-radius: 9px;
    background: #f3f7fc;
    color: var(--zto-blue);
}

.zto-arrow {
    flex: 0 0 auto;
    color: #8998aa;
    transition: transform .18s ease;
}

.zto-tool a:hover .zto-arrow,
.zto-tool a:focus-visible .zto-arrow {
    color: var(--zto-blue);
    transform: translateX(3px);
}

.zto-empty {
    padding: 3rem 1rem;
    border: 1px dashed #cbd7e5;
    border-radius: 18px;
    background: var(--zto-surface);
    text-align: center;
}

.zto-empty > span {
    display: block;
    color: #7890aa;
    font-size: 2.5rem;
}

.zto-empty h3,
.entry-content .zto-empty h3 {
    margin: .35rem 0;
    color: var(--zto-ink);
}

.zto-empty p {
    margin: 0;
    color: var(--zto-muted);
}

.zto-category[hidden],
.zto-tool[hidden],
.zto-featured[hidden],
.zto-empty[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .zto-featured-grid {
        grid-template-columns: 1fr;
    }

    .zto-feature-card {
        min-height: 0;
    }

    .zto-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .zto-overview {
        padding-top: .5rem;
    }

    .zto-hero {
        padding: 1.5rem 1.15rem;
        border-radius: 18px;
    }

    .zto-hero::after {
        display: none;
    }

    .zto-hero h2,
    .entry-content .zto-hero h2 {
        font-size: 2rem;
    }

    .zto-filters {
        margin-bottom: 2rem;
    }

    .zto-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }

    .zto-category-header {
        grid-template-columns: auto 1fr;
        padding: 1.15rem;
    }

    .zto-count {
        display: none;
    }

    .zto-tool-list {
        padding: .35rem .55rem .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zto-overview * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
