/* Moved from templates/public/tools.html.twig: served as a cached static file. */
.th-hero { position: relative; overflow: hidden; padding: 4.5rem 0 3.5rem; text-align: center; }
.th-hero::before { content: ""; position: absolute; inset: -30% -20% auto; height: 40rem; background:
    radial-gradient(closest-side at 22% 40%, color-mix(in srgb, var(--brand) 16%, transparent), transparent),
    radial-gradient(closest-side at 78% 30%, color-mix(in srgb, var(--lp-accent) 20%, transparent), transparent),
    radial-gradient(closest-side at 50% 85%, color-mix(in srgb, var(--warn) 12%, transparent), transparent); pointer-events: none; }
.th-hero .lp-container { position: relative; z-index: 1; }
.th-hero .pp-crumbs { justify-content: center; }
.th-hero .lp-display { max-width: 46rem; margin: 0.4rem auto 0.9rem; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.th-hero .lp-lead { max-width: 40rem; margin: 0 auto; }
.th-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.th-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border: 1px solid var(--lp-line); border-radius: 999px; background: var(--lp-paper); color: var(--lp-text); font-size: 0.85rem; font-weight: 600; box-shadow: 0 6px 16px -12px rgba(0,0,0,.4); }
.th-pill i { color: var(--lp-accent); }
.th-mosaic { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }
.th-mosaic span { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; color: #fff; font-size: 1.35rem; box-shadow: 0 12px 26px -14px var(--c); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); transform: rotate(var(--r, 0deg)); }
.th-group + .th-group { margin-top: 3rem; }
.th-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.25rem; }
.th-group-head h2 { margin: 0; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--lp-ink); }
.th-group-head p { margin: 0; color: var(--lp-muted); }
.th-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1100px) { .th-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .th-grid { grid-template-columns: minmax(0, 1fr); } }
.th-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; height: 100%; padding: 1.4rem; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-paper); color: inherit; text-decoration: none; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.th-card::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 8rem; height: 8rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); transition: transform .3s ease; }
.th-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--lp-line)); box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--c) 70%, transparent); color: inherit; }
.th-card:hover::after { transform: scale(1.4); }
.th-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 13px; color: #fff; font-size: 1.35rem; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 10px 22px -12px var(--c); }
.th-card h3 { margin: 0; font-size: 1.05rem; color: var(--lp-ink); letter-spacing: -0.01em; }
.th-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--lp-muted); flex: 1; }
.th-card-go { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.88rem; font-weight: 600; color: var(--lp-accent); }
.th-card:hover .th-card-go i { transform: translateX(3px); }
.th-card-go i { transition: transform .15s ease; }
