:root {
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --white: #fff;
  --green: #07876f;
  --shadow: 0 16px 40px rgba(15, 23, 42, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f8fafc; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(226,232,240,.88); }
.header-inner { width: min(1200px, calc(100% - 48px)); height: 70px; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark { width: 31px; height: 31px; display: inline-grid; place-items: center; border-radius: 9px; background: var(--blue); color: white; font-family: Manrope, sans-serif; font-size: 23px; line-height: 1; font-weight: 800; }
.brand-word { font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.8px; color: #12213d; }
.primary-nav { margin-left: auto; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.7vw, 25px); }
.primary-nav a { color: #475569; font-size: 13px; font-weight: 600; transition: color .15s ease; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a.active { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 11px; margin-left: 2px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: .2s ease; }
.icon-button:hover { border-color: #b9cdfd; background: #f7faff; color: var(--blue); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.language-wrap { position: relative; }
.language-button { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; color: #334155; border: 0; border-radius: 9px; background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-button:hover { background: #f1f5f9; }
.globe-icon { color: var(--blue); font-size: 16px; }
.chevron { color: #94a3b8; font-size: 14px; }
.language-menu { position: absolute; top: 46px; right: 0; z-index: 40; width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow); }
.language-menu strong { display: block; padding: 8px 9px 9px; color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.language-menu span { display: flex; justify-content: space-between; align-items: center; padding: 8px 9px; border-radius: 7px; color: #334155; font-size: 12px; }
.language-menu .language-current { background: #eff6ff; color: var(--blue-dark); font-weight: 700; }
.language-menu small { color: #94a3b8; font-size: 10px; font-weight: 500; }
.mobile-menu-button, .mobile-nav { display: none; }
#app { flex: 1; }
.initial-loader { min-height: 50vh; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 14px; }
.initial-loader .brand-mark { animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .45; transform: scale(.94); } }
.page-wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.home-hero { position: relative; overflow: hidden; padding: 76px 24px 58px; background: radial-gradient(ellipse 760px 400px at 50% -160px, #e6efff 0%, rgba(230,239,255,.72) 40%, rgba(248,250,252,0) 80%); text-align: center; }
.hero-content { max-width: 830px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #dbeafe; border-radius: 99px; color: #1d4ed8; background: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.eyebrow-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 3px #dcfce7; }
.home-hero h1 { margin: 22px 0 13px; font-family: Manrope, sans-serif; color: #101d38; font-size: clamp(43px, 6.2vw, 66px); font-weight: 800; letter-spacing: -3.3px; line-height: 1.06; }
.home-hero h1 span { color: var(--blue); }
.hero-copy { margin: 0 auto; max-width: 570px; color: #64748b; font-size: 16px; line-height: 1.7; }
.hero-search { max-width: 650px; height: 60px; margin: 28px auto 17px; padding: 6px 7px 6px 20px; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #dbe3ef; border-radius: 13px; box-shadow: 0 9px 28px rgba(30,64,175,.08), 0 1px 3px rgba(15,23,42,.04); text-align: left; }
.hero-search .magnifier { color: #94a3b8; font-size: 24px; line-height: 1; }
.hero-search input { min-width: 0; flex: 1; height: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 14px; }
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button, .button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 19px; color: white; border: 1px solid var(--blue); border-radius: 9px; background: var(--blue); font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.hero-search button:hover, .button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.hero-hints { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; color: #94a3b8; font-size: 11px; }
.hero-hints button { padding: 5px 9px; border: 1px solid #e2e8f0; border-radius: 99px; background: rgba(255,255,255,.65); color: #64748b; font-size: 11px; cursor: pointer; }
.hero-hints button:hover { border-color: #bfdbfe; color: var(--blue); }
.trust-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 31px; color: #64748b; font-size: 11px; }
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #07876f; background: #e9fbf4; font-size: 11px; font-weight: 800; }
.trust-icon.blue { background: #eff6ff; color: #2563eb; }
.trust-icon.amber { background: #fff7ed; color: #d97706; }
.section { padding: 34px 0 27px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-kicker { display: block; margin-bottom: 6px; color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.section-head h2 { margin: 0; color: #17233d; font-family: Manrope, sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -.7px; }
.section-head p { margin: 6px 0 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--blue-dark); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-card { display: flex; min-height: 106px; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.category-card:hover { transform: translateY(-2px); border-color: #c7d7f9; box-shadow: 0 12px 25px rgba(15,23,42,.05); }
.category-icon { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #2563eb; background: #eff6ff; font-size: 16px; font-weight: 700; }
.category-icon.pdf { color: #e05252; background: #fff1f1; }
.category-icon.calc { color: #0b9b75; background: #eafaf4; }
.category-icon.convert { color: #8b5cf6; background: #f5f0ff; }
.category-info strong { display: block; margin: 1px 0 5px; color: #17233d; font-size: 13px; font-weight: 700; }
.category-info span { color: #94a3b8; font-size: 11px; line-height: 1.45; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool-card { position: relative; display: flex; min-height: 148px; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: #c7d7f9; box-shadow: 0 12px 24px rgba(15,23,42,.055); }
.tool-card-top { display: flex; align-items: center; gap: 11px; }
.tool-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 37px; border-radius: 10px; color: #2563eb; background: #eff6ff; font-size: 17px; font-weight: 700; }
.tool-card h3 { margin: 0; color: #17233d; font-size: 13px; font-weight: 700; }
.tool-card p { min-height: 34px; margin: 11px 0 15px; color: #64748b; font-size: 11px; line-height: 1.55; }
.tool-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: #94a3b8; font-size: 10px; }
.card-arrow { color: #94a3b8; font-size: 16px; transition: transform .15s ease, color .15s ease; }
.tool-card:hover .card-arrow { color: var(--blue); transform: translateX(3px); }
.privacy-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0 58px; padding: 23px 26px; border: 1px solid #d8e8f9; border-radius: 14px; background: linear-gradient(100deg, #eef6ff 0%, #f5f9ff 55%, #f0fdfa 100%); }
.privacy-band-content { display: flex; align-items: center; gap: 14px; }
.privacy-band-icon { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; color: #16876d; border-radius: 12px; background: #dff8ee; font-size: 19px; }
.privacy-band h3 { margin: 0 0 4px; color: #123057; font-size: 14px; }
.privacy-band p { margin: 0; color: #64748b; font-size: 12px; line-height: 1.5; }
.privacy-band .text-link { flex: 0 0 auto; }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: white; }
.footer-inner { width: min(1120px, calc(100% - 48px)); display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; margin: 0 auto; padding: 43px 0 32px; }
.footer-brand-column p { color: #64748b; font-size: 12px; line-height: 1.7; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-group strong { margin-bottom: 3px; color: #334155; font-size: 11px; }
.footer-group a { color: #64748b; font-size: 11px; }
.footer-group a:hover { color: var(--blue); }
.footer-bottom { width: min(1120px, calc(100% - 48px)); display: flex; justify-content: space-between; gap: 15px; margin: 0 auto; padding: 15px 0 18px; border-top: 1px solid #f1f5f9; color: #94a3b8; font-size: 10px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 24px 0 18px; color: #94a3b8; font-size: 11px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .current { color: #475569; }
.page-heading { padding: 22px 0 26px; }
.page-heading .eyebrow { margin-bottom: 14px; }
.page-heading h1 { margin: 0; color: #13213d; font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -1.7px; }
.page-heading p { max-width: 690px; margin: 10px 0 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.category-pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.category-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: #64748b; background: white; font-size: 11px; font-weight: 600; }
.category-pill.active, .category-pill:hover { border-color: #bfdbfe; color: var(--blue); background: #eff6ff; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 10px 0 18px; }
.inline-filters { display: flex; align-items: center; gap: 9px; min-width: 0; }
.listing-search { width: min(330px, 45vw); min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: #334155; background: white; font-size: 11px; }
.listing-search:focus { border-color: #8fb3ff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.listing-count { margin: -6px 0 13px; color: #94a3b8; font-size: 10px; }
.span-two { grid-column: 1 / -1; }
.check-label { display: flex !important; align-items: center; gap: 7px; min-height: 40px; }
.check-label input { width: 15px; min-height: auto; height: 15px; accent-color: var(--blue); }
.filter-row p { margin: 0; color: #64748b; font-size: 12px; }
.filter-row select { min-height: 36px; padding: 0 31px 0 11px; border: 1px solid var(--line); border-radius: 8px; color: #475569; background: white; font-size: 11px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 24px; padding-bottom: 64px; }
.tool-main { min-width: 0; }
.tool-title-row { display: flex; align-items: flex-start; gap: 15px; margin: 8px 0 21px; }
.tool-title-icon { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; color: var(--blue); background: #eff6ff; font-size: 23px; }
.tool-title-row h1 { margin: 0; font-family: Manrope, sans-serif; color: #14213c; font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.tool-title-row p { max-width: 700px; margin: 7px 0 0; color: #64748b; font-size: 13px; line-height: 1.6; }
.tool-panel { padding: 22px; border: 1px solid #dfe6ef; border-radius: 14px; background: white; box-shadow: 0 8px 22px rgba(15,23,42,.035); }
.tool-panel h2 { margin: 0 0 7px; color: #17233d; font-size: 15px; }
.tool-panel > p { margin: 0 0 18px; color: #64748b; font-size: 12px; line-height: 1.6; }
.drop-zone { position: relative; display: grid; min-height: 190px; place-items: center; padding: 22px; border: 1.5px dashed #cbd5e1; border-radius: 12px; background: #fbfdff; text-align: center; transition: border .15s ease, background .15s ease; }
.drop-zone.dragover { border-color: var(--blue); background: #eff6ff; }
.drop-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 11px; border-radius: 13px; color: var(--blue); background: #eaf2ff; font-size: 22px; }
.drop-zone strong { color: #334155; font-size: 13px; }
.drop-zone span { margin-top: 5px; color: #94a3b8; font-size: 11px; }
.drop-zone .button-secondary { margin-top: 12px; }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.button-secondary, .button-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 37px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; color: #334155; background: white; font-size: 11px; font-weight: 700; cursor: pointer; }
.button-secondary:hover, .button-quiet:hover { border-color: #bfdbfe; color: var(--blue); background: #f8fbff; }
.tool-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: #475569; font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #dce3ed; border-radius: 8px; outline: 0; color: #17233d; background: #fff; font-size: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8fb3ff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.field textarea { min-height: 160px; resize: vertical; font-family: "SFMono-Regular", Consolas, monospace; line-height: 1.6; }
.field small { color: #94a3b8; font-size: 10px; line-height: 1.5; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input { flex: 1; accent-color: var(--blue); }
.range-value { min-width: 39px; color: var(--blue); font-size: 11px; font-weight: 700; text-align: right; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.button-primary { min-height: 39px; padding: 0 17px; font-size: 12px; }
.button-primary:disabled { cursor: wait; opacity: .55; transform: none; }
.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 13px; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 9px; background: #fbfdff; }
.file-meta { min-width: 0; display: flex; align-items: center; gap: 9px; }
.file-badge { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px; color: #2563eb; background: #eff6ff; font-size: 9px; font-weight: 800; }
.file-name { overflow: hidden; color: #334155; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: #94a3b8; font-size: 10px; white-space: nowrap; }
.remove-file { width: 27px; height: 27px; border: 0; border-radius: 6px; color: #94a3b8; background: transparent; cursor: pointer; }
.remove-file:hover { color: #dc2626; background: #fff1f2; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; padding: 11px 12px; border: 1px solid #d8efe5; border-radius: 9px; color: #427560; background: #f1fbf5; font-size: 10px; line-height: 1.5; }
.privacy-note .shield { color: #14976e; font-size: 14px; }
.tool-result { margin-top: 15px; padding: 13px; border: 1px solid #dbeafe; border-radius: 10px; color: #334155; background: #f7fbff; font-size: 12px; line-height: 1.55; }
.tool-result.error { border-color: #fecaca; color: #b91c1c; background: #fff7f7; }
.tool-result.success { border-color: #bbf7d0; color: #166534; background: #f3fff6; }
.tool-result:empty { display: none; }
.result-preview { display: block; max-width: 100%; max-height: 360px; margin: 11px auto; border: 1px solid #e2e8f0; border-radius: 8px; object-fit: contain; background: #f8fafc; }
.result-link { display: inline-flex; align-items: center; justify-content: center; margin-top: 9px; min-height: 35px; padding: 0 12px; border-radius: 8px; color: white; background: #15836b; font-size: 11px; font-weight: 700; }
.result-link:hover { background: #116c59; }
.result-details { display: flex; flex-wrap: wrap; gap: 12px; color: #64748b; font-size: 10px; }
.result-details strong { color: #334155; }
.text-tool-area { width: 100%; min-height: 245px; padding: 14px; border: 1px solid #dce3ed; border-radius: 9px; color: #17233d; background: #fff; font: 12px/1.7 "SFMono-Regular", Consolas, monospace; resize: vertical; outline: none; }
.text-tool-area:focus { border-color: #8fb3ff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.tool-aside { position: sticky; top: 91px; }
.aside-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.aside-card + .aside-card { margin-top: 12px; }
.aside-card h2 { margin: 0 0 11px; color: #24324a; font-size: 12px; }
.aside-card p { margin: 0; color: #64748b; font-size: 11px; line-height: 1.65; }
.aside-list { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.aside-list li { display: flex; align-items: flex-start; gap: 8px; color: #64748b; font-size: 10px; line-height: 1.5; }
.aside-check { color: #159775; font-size: 12px; }
.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-tool { display: flex; align-items: center; gap: 8px; color: #475569; font-size: 10px; }
.related-tool:hover { color: var(--blue); }
.related-tool span:first-child { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #eff6ff; color: #2563eb; }
.content-section { margin: 19px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.content-section h2 { margin: 0 0 10px; color: #17233d; font-size: 15px; }
.content-section h3 { margin: 16px 0 6px; color: #334155; font-size: 12px; }
.content-section p, .content-section li { color: #64748b; font-size: 11px; line-height: 1.7; }
.content-section p { margin: 0; }
.content-section ol, .content-section ul { padding-left: 18px; margin: 9px 0 0; }
.faq-item { padding: 12px 0; border-top: 1px solid #f1f5f9; }
.faq-item:first-of-type { border-top: 0; }
.faq-item strong { display: block; margin-bottom: 5px; color: #334155; font-size: 11px; }
.faq-item p { font-size: 10px; }
.empty-state { padding: 36px 20px; border: 1px dashed #cbd5e1; border-radius: 12px; color: #64748b; background: white; text-align: center; }
.empty-state h2 { margin: 0 0 8px; color: #334155; font-size: 16px; }
.empty-state p { max-width: 500px; margin: 0 auto; font-size: 12px; line-height: 1.6; }
.legal-copy { max-width: 800px; padding-bottom: 70px; }
.legal-copy .content-section { margin-top: 10px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding-bottom: 60px; }
.blog-card { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.blog-card small { color: var(--blue); font-size: 10px; font-weight: 700; }
.blog-card h2 { margin: 10px 0 7px; color: #17233d; font-size: 14px; }
.blog-card p { color: #64748b; font-size: 11px; line-height: 1.6; }
.search-overlay[hidden], [hidden] { display: none !important; }
.search-overlay { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: flex-start; padding: 15vh 20px 20px; }
.search-backdrop { position: absolute; inset: 0; border: 0; background: rgba(15,23,42,.42); backdrop-filter: blur(3px); }
.search-dialog { position: relative; width: min(610px, 100%); overflow: hidden; border: 1px solid #dce3ed; border-radius: 14px; background: white; box-shadow: 0 25px 80px rgba(15,23,42,.24); }
.search-dialog-top { display: flex; align-items: center; gap: 13px; padding: 14px 17px; border-bottom: 1px solid #edf1f5; }
.search-large-icon { color: #64748b; font-size: 25px; line-height: 1; }
.search-dialog-top input { min-width: 0; flex: 1; height: 36px; border: 0; outline: 0; color: #17233d; font-size: 14px; }
.search-dialog-top kbd { padding: 3px 6px; border: 1px solid #e2e8f0; border-radius: 5px; color: #94a3b8; font-size: 9px; }
.search-results { max-height: 55vh; overflow: auto; padding: 8px; }
.search-caption { padding: 9px 9px 6px; color: #94a3b8; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.search-hit { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 8px; }
.search-hit:hover, .search-hit:focus { outline: 0; background: #f1f6ff; }
.search-hit-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #eff6ff; color: var(--blue); font-size: 15px; }
.search-hit strong { display: block; color: #334155; font-size: 11px; }
.search-hit small { display: block; margin-top: 3px; color: #94a3b8; font-size: 9px; }
.search-empty { padding: 24px 12px; color: #64748b; font-size: 12px; text-align: center; }
.toast-region { position: fixed; right: 19px; bottom: 19px; z-index: 150; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 9px; color: #334155; background: white; box-shadow: 0 7px 22px rgba(15,23,42,.14); font-size: 11px; animation: toast-in .18s ease-out; }
.toast.error { border-color: #fecaca; color: #b91c1c; }
@keyframes toast-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1020px) {
  .header-inner { gap: 19px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .header-inner { width: min(100% - 34px,1200px); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 790px) {
  .header-inner { height: 62px; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu-button { display: flex; width: 38px; height: 38px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
  .mobile-menu-button span { width: 15px; height: 1.7px; background: #475569; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; padding: 0 17px 12px; border-top: 1px solid #f1f5f9; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 9px 4px; color: #475569; font-size: 11px; text-align: center; }
  .mobile-nav a:hover { color: var(--blue); background: #f8fafc; border-radius: 7px; }
  .home-hero { padding-top: 61px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tool-layout { grid-template-columns: 1fr; }
  .tool-aside { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .aside-card + .aside-card { margin-top: 0; }
  .footer-inner { gap: 24px; grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-group:last-child { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(3,auto); align-items: center; }
}
@media (max-width: 560px) {
  .page-wrap { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 30px); }
  .home-hero { padding: 48px 16px 42px; }
  .home-hero h1 { font-size: 43px; letter-spacing: -2.5px; }
  .hero-copy { font-size: 13px; }
  .hero-search { height: auto; min-height: 56px; gap: 7px; padding-left: 13px; }
  .hero-search input { font-size: 12px; }
  .hero-search button { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .trust-row { gap: 11px 16px; margin-top: 23px; font-size: 10px; }
  .section { padding-top: 25px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 20px; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .category-card { min-height: 98px; gap: 9px; padding: 12px 10px; }
  .category-icon { width: 32px; height: 32px; font-size: 14px; }
  .category-info strong { font-size: 11px; }
  .category-info span { font-size: 9px; }
  .tool-grid { grid-template-columns: 1fr; gap: 9px; }
  .tool-card { min-height: unset; padding: 14px; }
  .tool-card p { min-height: unset; margin: 8px 0 11px; }
  .privacy-band { align-items: flex-start; flex-direction: column; margin: 28px 0 39px; padding: 17px; }
  .privacy-band-content { align-items: flex-start; }
  .footer-inner { width: calc(100% - 34px); grid-template-columns: 1fr 1fr; gap: 25px 18px; padding-top: 30px; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-group:last-child { grid-column: auto; display: flex; }
  .footer-bottom { width: calc(100% - 34px); align-items: flex-start; flex-direction: column; gap: 5px; }
  .tool-title-row h1 { font-size: 25px; }
  .tool-title-icon { width: 45px; height: 45px; }
  .tool-panel { padding: 16px; }
  .tool-options { grid-template-columns: 1fr; }
  .filter-row { align-items: stretch; flex-direction: column; }
  .inline-filters { width: 100%; }
  .listing-search { flex: 1; width: auto; }
  #listing-category { max-width: 46%; }
  #listing-sort { align-self: flex-end; }
  .tool-aside { grid-template-columns: 1fr; }
  .breadcrumb { padding-top: 17px; }
  .page-heading { padding-top: 16px; }
  .page-heading h1 { font-size: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .search-overlay { padding: 10vh 12px 12px; }
}
