@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/inter-400.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url("/fonts/inter-700.woff2") format("woff2");
}

html:has(> body.tools-2026) {
    overflow-x: clip;
}

.tools-2026 {
    --tools-ink: var(--site-ink, #071a3d);
    --tools-muted: var(--site-muted, #536078);
    --tools-paper: var(--site-paper, #fbfaf7);
    --tools-line: var(--site-line, #dce2eb);
    --tools-red: var(--site-accent, #ef3946);
    --tools-blue: #2878f0;
    --tools-yellow: #f6b814;
    --tools-green: #27a463;
    --tools-max: var(--site-max, 1200px);
    color: var(--tools-ink);
    background: var(--tools-paper);
    font-family: "Inter", "Noto Sans", system-ui, sans-serif;
    overflow-x: clip;
}

.tools-2026 > .flex {
    display: flex;
    min-block-size: 100vh;
    flex-direction: column;
}

.tools-2026 .skip-link {
    position: absolute;
    z-index: 2000;
    inset-block-start: -100px;
    inset-inline-start: 0;
}

.tools-2026 .skip-link:focus {
    inset-block-start: 0;
}

.tools-2026 #main-content {
    display: flex;
    inline-size: 100%;
    max-inline-size: none;
    flex: 1;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: var(--tools-paper);
}

.tools-2026 #main-content > .text-center {
    order: 1;
    margin: 0;
    padding: clamp(72px, 9vw, 124px) max(20px, calc((100% - var(--tools-max)) / 2));
    padding-block-end: 34px;
    background:
        radial-gradient(circle at 85% 15%, #fff1d8 0, transparent 28%),
        var(--tools-paper);
    text-align: start;
}

.tools-2026 #main-content > .text-center::before {
    display: block;
    margin-block-end: 18px;
    color: var(--tools-red);
    content: "ZMCOR LABS";
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tools-2026 #main-content > .text-center h1 {
    max-inline-size: 900px;
    margin: 0 0 22px;
    color: var(--tools-ink);
    font-size: clamp(2.8rem, 5.6vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.tools-2026 #main-content > .text-center p {
    max-inline-size: 700px;
    margin: 0;
    color: var(--tools-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    line-height: 1.7;
}

.tools-2026 #main-content > .mb-10 {
    display: flex;
    order: 2;
    justify-content: flex-start;
    margin: 0;
    padding: 0 max(20px, calc((100% - var(--tools-max)) / 2)) clamp(54px, 7vw, 88px);
    border-block-end: 1px solid var(--tools-line);
    background: var(--tools-paper);
}

.tools-2026 #main-content > .mb-10 > div {
    position: relative;
    inline-size: min(100%, 680px);
}

.tools-2026 #main-content > .mb-10 .material-symbols-outlined {
    display: none;
}

.tools-2026 #toolSearch {
    inline-size: 100%;
    min-block-size: 56px;
    padding: 0 18px;
    border: 1px solid var(--tools-line);
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: var(--tools-ink);
    font: inherit;
    box-shadow: 0 12px 30px rgb(7 26 61 / 6%);
}

.tools-2026 #toolSearch::placeholder {
    color: #718096;
}

.tools-2026 #toolSearch:focus {
    border-color: var(--tools-blue);
    box-shadow: 0 0 0 3px rgb(40 120 240 / 18%);
}

.tools-2026 #main-content > .flex.flex-wrap {
    display: flex;
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 28px 20px;
    border-block-end: 1px solid var(--tools-line);
    background: #fff;
}

.tools-2026 .filter-tab {
    min-block-size: 42px;
    padding: 0 18px;
    border: 1px solid var(--tools-line);
    border-radius: 999px;
    background: #fff;
    color: var(--tools-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.tools-2026 .filter-tab:hover {
    border-color: #aebbd0;
    color: var(--tools-ink);
}

.tools-2026 .filter-tab.active {
    border-color: var(--tools-ink);
    background: var(--tools-ink);
    color: #fff;
}

.tools-2026 #toolsGrid {
    display: grid;
    inline-size: min(calc(100% - 40px), var(--tools-max));
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 auto;
    padding-block: clamp(64px, 8vw, 104px);
}

.tools-2026 .tool-card {
    display: flex;
    min-inline-size: 0;
    min-block-size: 290px;
    flex-direction: column;
    padding: 34px;
    border: 1px solid var(--tools-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    cursor: default;
    transition: border-color 180ms ease, translate 180ms ease;
}

.tools-2026 .tool-card::before,
.tools-2026 .tool-card::after {
    display: none;
}

.tools-2026 .tool-card:hover {
    border-color: #aebbd0;
    box-shadow: none;
    transform: none;
    translate: 0 -3px;
}

.tools-2026 .tool-card > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-block-end: 28px;
}

.tools-2026 .tool-card > div:first-child > div:first-child {
    display: grid;
    inline-size: 48px;
    block-size: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--tools-blue);
    color: #fff;
    font-weight: 800;
}

.tools-2026 .tool-card:nth-child(2) > div:first-child > div:first-child {
    background: var(--tools-green);
}

.tools-2026 .tool-card:nth-child(3) > div:first-child > div:first-child {
    background: var(--tools-yellow);
}

.tools-2026 .tool-card:nth-child(4) > div:first-child > div:first-child {
    background: var(--tools-red);
}

.tools-2026 .tool-card > div:first-child > div:first-child .material-symbols-outlined {
    font-size: 0;
}

.tools-2026 .tool-card > div:first-child > div:first-child .material-symbols-outlined::before {
    content: "01";
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
}

.tools-2026 .tool-card:nth-child(2) > div:first-child > div:first-child .material-symbols-outlined::before {
    content: "02";
}

.tools-2026 .tool-card:nth-child(3) > div:first-child > div:first-child .material-symbols-outlined::before {
    content: "03";
}

.tools-2026 .tool-card:nth-child(4) > div:first-child > div:first-child .material-symbols-outlined::before {
    content: "04";
}

.tools-2026 .tool-card > div:first-child > span:last-child {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f6fa;
    color: var(--tools-muted);
    font-size: 0.74rem;
    font-weight: 750;
}

.tools-2026 .tool-card h3 {
    margin: 0 0 12px;
    color: var(--tools-ink);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.2;
}

.tools-2026 .tool-card > p {
    max-inline-size: 58ch;
    margin: 0 0 28px;
    color: var(--tools-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.tools-2026 .tool-card > a {
    display: inline-flex;
    min-block-size: 44px;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-block-start: auto;
    color: var(--tools-ink);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
}

.tools-2026 .tool-card > a::after {
    content: "→";
    color: var(--tools-red);
    font-size: 1.1rem;
}

.tools-2026 .tool-card > a .material-symbols-outlined {
    display: none;
}

.tools-2026 #main-content > .mt-16 {
    display: none;
}

.tools-2026 .site-consultation {
    order: 6;
}

[dir="rtl"] .tools-2026 #main-content > .text-center,
[dir="rtl"] .tools-2026 .tool-card {
    text-align: start;
}

[dir="rtl"] .tools-2026 .tool-card > a::after {
    content: "←";
}

@media (max-width: 760px) {
    .tools-2026 #toolsGrid {
        grid-template-columns: 1fr;
    }

    .tools-2026 .tool-card {
        min-block-size: 0;
        padding: 26px;
    }
}

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