/* Tools directory. Uses the shared theme container and local OpenSans font. */
.tools-index-page { --tools-ink: #131b26; --tools-muted: #606b78; --tools-line: #e3e7ec; --tools-brand: #b83543; font-family: OpenSans, Arial, sans-serif; font-weight: 400; color: var(--tools-ink); background: #fff; }
.tools-index-page *, .tools-index-page *::before, .tools-index-page *::after { box-sizing: border-box; }
.tools-index-page :is(h1, h2, h3, p) { font-family: inherit; color: inherit; }
.tools-index-page a { text-decoration: none; }
.tools-index-page a::after { content: none; }
.tools-index-page a:focus-visible { outline: 3px solid #376998; outline-offset: 5px; }
.tools-index-hero { padding: 22px 0 46px; color: #fff; background: radial-gradient(ellipse at 10% 115%, #6b2834 0, transparent 53%), radial-gradient(ellipse at 95% 130%, #365941 0, transparent 49%), #101216; }
.tools-index-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px; font-size: 12px; line-height: 1.5; color: #aeb3bb; }
.tools-index-breadcrumbs a { color: #e4e6ea; }
.tools-index-breadcrumbs a:hover { text-decoration: underline; }
.tools-index-page .tools-index-eyebrow { color: var(--tools-brand); font-size: 10px; line-height: 1.6; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 12px; }
.tools-index-hero .tools-index-eyebrow { color: #dcabb1; }
.tools-index-hero h1 { margin: 0 0 17px; font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
.tools-index-hero .tools-index-intro { max-width: 740px; margin: 0; color: #d1d3d9; font-size: 15px; line-height: 1.8; }
.tools-index-jump { display: inline-flex; align-items: center; gap: 24px; margin-top: 24px; padding: 12px 16px; border-radius: 6px; background: #fff; color: #222731; font-size: 12px; line-height: 20px; font-weight: 700; }
.tools-index-jump:hover { background: #f0e7e8; color: #222731; }
.tools-index-directory { padding: 42px 0 56px; background: linear-gradient(#f6f8fa, #fff 460px); scroll-margin-top: 90px; }
.tools-index-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.tools-index-section-heading h2 { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1.3; }
.tools-index-section-heading > p { margin: 0; color: var(--tools-muted); font-size: 12px; line-height: 1.7; }
.tools-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tools-index-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--tools-line); border-radius: 10px; background: #fff; }
.tools-index-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.tools-index-icon { display: grid; place-items: center; flex-shrink: 0; width: 58px; height: 58px; border-radius: 10px; color: var(--tools-brand); background: #f8edef; }
.tools-index-category { color: var(--tools-muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-align: right; }
.tools-index-card h3 { margin: 0 0 14px; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.tools-index-card h3 a { color: inherit; }
.tools-index-card h3 a:hover { color: var(--tools-brand); }
.tools-index-card > p { margin: 0 0 24px; color: var(--tools-muted); font-size: 13px; line-height: 1.85; }
.tools-index-features { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: auto 0 26px; }
.tools-index-features li { padding: 6px 9px; border-radius: 4px; background: #f3f5f7; color: #4e5a68; font-size: 10px; line-height: 1.5; }
.tools-index-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--tools-line); padding-top: 20px; min-height: 44px; color: var(--tools-brand); font-size: 12px; font-weight: 700; line-height: 1.7; }
.tools-index-card-link > span { font-size: 20px; }
.tools-index-card-link:hover { color: #892332; text-decoration: underline; }
.tools-index-context { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; padding: 28px 0 0; border-top: 1px solid var(--tools-line); }
.tools-index-context h2 { margin: 0 0 9px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.tools-index-context p { margin: 0; color: var(--tools-muted); font-size: 12px; line-height: 1.8; }
.tools-index-context a { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; color: var(--tools-brand); font-size: 12px; font-weight: 700; line-height: 1.7; }
.tools-index-context a:hover { text-decoration: underline; }
@media (max-width: 767px) {
	.tools-index-hero { padding-bottom: 32px; }
	.tools-index-breadcrumbs { margin-bottom: 26px; }
	.tools-index-directory { padding: 30px 0 40px; }
	.tools-index-section-heading, .tools-index-context { flex-direction: column; align-items: flex-start; gap: 14px; }
	.tools-index-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.tools-index-card { padding: 22px; }
	.tools-index-card h3 { font-size: 24px; }
}
