/* Free Security Tools hub. Keep all page rules independent of other tools. */
body:not(.home) #content.ad-free-tools {
    --tools-ink: #111827;
    --tools-copy: #465168;
    --tools-purple: #6d28d9;
    --tools-border: #dfe4ee;
    margin: 0;
    background: #f7f8fc;
    color: var(--tools-ink);
    font-family: 'Astley Body', 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body:not(.home) #content.ad-free-tools *,
body:not(.home) #content.ad-free-tools *::before,
body:not(.home) #content.ad-free-tools *::after { box-sizing: border-box; }

body:not(.home) #content.ad-free-tools .ad-free-tools__shell {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

body:not(.home) #content.ad-free-tools :is(h1, h2, h3) {
    margin: 0;
    color: var(--tools-ink);
    font-family: 'Astley Display', 'Manrope', sans-serif;
    font-weight: 750;
    letter-spacing: -.04em;
}

body:not(.home) #content.ad-free-tools p { margin: 0; color: var(--tools-copy); }

body:not(.home) #content.ad-free-tools .ad-free-tools__intro {
    padding: 72px 0 48px;
    background: radial-gradient(ellipse at 100% 0, rgba(109, 40, 217, .085), transparent 58%), linear-gradient(180deg, #fff, #f7f8fc);
}

body:not(.home) #content.ad-free-tools .ad-free-tools__eyebrow {
    display: block;
    margin-bottom: 19px;
    color: var(--tools-purple);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__intro h1 {
    font-size: clamp(44px, 5.4vw, 68px);
    line-height: 1.08;
    letter-spacing: -.055em;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__intro h1 span { color: var(--tools-purple); }

body:not(.home) #content.ad-free-tools .ad-free-tools__intro p {
    max-width: 690px;
    margin-top: 23px;
    font-size: 19px;
    line-height: 1.75;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__directory { padding: 0 0 80px; }

body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 23px;
    padding-top: 27px;
    border-top: 1px solid var(--tools-border);
}

body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading h2 {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.025em;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading p { font-size: 16px; }

body:not(.home) #content.ad-free-tools .ad-free-tools__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body:not(.home) #content.ad-free-tools a.ad-free-tools__tool {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 292px;
    margin: 0;
    padding: 30px 32px 25px;
    border: 1px solid var(--tools-border);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(34, 23, 55, .025);
    color: var(--tools-ink);
    text-decoration: none;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body:not(.home) #content.ad-free-tools a.ad-free-tools__tool::before,
body:not(.home) #content.ad-free-tools a.ad-free-tools__tool::after { display: none !important; }

body:not(.home) #content.ad-free-tools a.ad-free-tools__tool--breach {
    border-color: #d5c2f0;
    background: linear-gradient(135deg, #fff 45%, #faf7ff);
}

body:not(.home) #content.ad-free-tools a.ad-free-tools__tool:hover {
    border-color: #ae88e4;
    box-shadow: 0 12px 34px rgba(76, 29, 149, .08);
}

body:not(.home) #content.ad-free-tools a.ad-free-tools__tool:focus-visible {
    outline: 3px solid var(--tools-purple);
    outline-offset: 5px;
    border-color: var(--tools-purple);
}

body:not(.home) #content.ad-free-tools .ad-free-tools__tool-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 21px;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: #efe8fb;
    color: var(--tools-purple);
}

body:not(.home) #content.ad-free-tools .ad-free-tools__tool--breach .ad-free-tools__icon { background: var(--tools-purple); color: #fff; }
body:not(.home) #content.ad-free-tools .ad-free-tools__tool--ip .ad-free-tools__icon { background: #edf3ff; color: #275fbb; }
body:not(.home) #content.ad-free-tools .ad-free-tools__tool--password .ad-free-tools__icon { background: #e9f6f0; color: #087753; }
body:not(.home) #content.ad-free-tools .ad-free-tools__tool--abuse .ad-free-tools__icon { background: #fff3e7; color: #a64e19; }

body:not(.home) #content.ad-free-tools .ad-free-tools__icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__category {
    color: #616c7f;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__tool h3 {
    margin: 0 0 11px;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -.035em;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__tool p {
    max-width: 485px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.75;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__action {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    color: var(--tools-purple);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-color: #d8c7ed;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

body:not(.home) #content.ad-free-tools .ad-free-tools__tool:hover .ad-free-tools__action { text-decoration-color: var(--tools-purple); }

/* This directory is immediately usable, including cards below the fold. */
body:not(.home) #content.ad-free-tools :is(.ad-motion-section, .ad-motion-reveal, .ad-motion-depth) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

@media (max-width: 800px) {
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro { padding-top: 56px; }
    body:not(.home) #content.ad-free-tools a.ad-free-tools__tool { padding: 25px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__tool h3 { font-size: 23px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__grid { gap: 18px; }
}

@media (max-width: 620px) {
    body:not(.home) #content.ad-free-tools .ad-free-tools__shell { width: calc(100% - 32px); }
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro { padding: 43px 0 34px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__eyebrow { margin-bottom: 17px; font-size: 13px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro h1 { max-width: 440px; font-size: clamp(40px, 10.5vw, 54px); }
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro p { margin-top: 20px; font-size: 17px; line-height: 1.75; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__directory { padding-bottom: 52px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 21px; padding-top: 23px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading h2 { font-size: 21px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__directory-heading p { font-size: 15px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__grid { grid-template-columns: 1fr; gap: 16px; }
    body:not(.home) #content.ad-free-tools a.ad-free-tools__tool { min-height: 0; padding: 25px 23px 20px; border-radius: 16px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__tool-top { margin-bottom: 19px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__tool h3 { font-size: 24px; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__tool p { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.home) #content.ad-free-tools * { transition: none !important; }
}

@media print {
    body:not(.home) #content.ad-free-tools { background: #fff; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro { padding: 30px 0; background: #fff; }
    body:not(.home) #content.ad-free-tools .ad-free-tools__intro h1 { font-size: 36px; }
    body:not(.home) #content.ad-free-tools a.ad-free-tools__tool { break-inside: avoid; box-shadow: none; }
}
