:root {
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --line: rgba(17, 24, 39, 0.09);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #171923;
  --muted: #667085;
  --faint: #98a2b3;
  --accent: #4f6ef7;
  --shadow: 0 8px 26px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 14px 36px rgba(15, 23, 42, 0.11);
  --radius: 8px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #101114;
  --surface: #181a20;
  --surface-soft: #20232b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #a6adbb;
  --faint: #737b8c;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body > main { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.15; letter-spacing: 0; }
code { font-family: var(--font-mono); font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--text);
  color: var(--surface);
  border-radius: 6px;
}
.skip-link:focus { left: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.topbar__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.wordmark__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}
.wordmark__text { color: var(--text); font-weight: 800; font-size: 18px; white-space: nowrap; }
.wordmark__text span { color: var(--accent); }
.topnav { display: flex; align-items: center; gap: 16px; margin-left: auto; font-weight: 600; font-size: 14px; }
.topnav a { color: var(--muted); }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--text); }
.catalog-menu { position: relative; color: var(--muted); }
.catalog-menu summary { cursor: pointer; list-style: none; }
.catalog-menu summary::-webkit-details-marker { display: none; }
.catalog-menu[open] summary, .catalog-menu summary:hover { color: var(--text); }
.catalog-menu__panel {
  position: absolute;
  right: -180px;
  top: calc(100% + 18px);
  width: 520px;
  max-height: 420px;
  overflow-y: auto;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.catalog-menu__panel a { padding: 8px 10px; border-radius: 6px; }
.catalog-menu__panel a:hover { background: var(--surface-soft); }
.header-search { width: 170px; }
.header-search input {
  width: 100%;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
}
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; }
.mobile-menu__panel {
  position: fixed;
  top: 58px;
  right: 16px;
  width: min(330px, calc(100vw - 32px));
  max-height: 70vh;
  overflow-y: auto;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.mobile-menu__panel a, .mobile-menu__panel strong {
  display: block;
  padding: 8px 10px;
}
.mobile-menu__panel strong { color: var(--faint); font-size: 12px; text-transform: uppercase; }
.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; }

.hero {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 24px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}
.hero__copy { min-width: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { max-width: 760px; font-size: 42px; margin-top: 8px; }
.hero__lead { max-width: 660px; font-size: 17px; color: var(--muted); margin-top: 12px; }
.hero h1, .hero__lead, .page-hero h1, .page-hero p, .category-hero h1, .category-hero p, .article h1 {
  overflow-wrap: break-word;
}
.search-bar {
  margin-top: 26px;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.search-bar svg, .mini-search svg { width: 19px; height: 19px; color: var(--faint); }
.search-bar input, .mini-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 10px;
}
.stats-row div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.stats-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--faint);
}
.stats-row dd { margin: 3px 0 0; color: var(--text); font-weight: 800; font-size: 20px; }

.category-strip {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.category-strip a {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.category-strip a:hover { color: var(--text); border-color: var(--accent); }

.card-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 392px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.category-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 16px 13px;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.category-card__badge, .category-hero__badge {
  width: 46px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
}
.category-card h2 { font-size: 15px; }
.category-card__head p { margin-top: 3px; font-size: 12px; color: var(--faint); }
.tool-line-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.tool-line-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 7px;
}
.tool-line-list li:hover { background: var(--surface-soft); }
.tool-line__main {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
}
.tool-line__rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}
.tool-line__main img, .tool-row__logo, .related-item img {
  object-fit: contain;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.tool-line__main img { width: 22px; height: 22px; border-radius: 6px; padding: 2px; }
.tool-line__main span:last-child {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
}
.tool-line__detail {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border-radius: 6px;
}
.tool-line__detail svg { width: 15px; height: 15px; }
.tool-line__detail:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.empty-line {
  padding: 8px 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 12px;
  background: repeating-linear-gradient(90deg, transparent, transparent 7px, color-mix(in srgb, var(--line) 70%, transparent) 8px);
}
.category-card__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}
.category-card__foot span { color: var(--muted); }

.about-section, .section, .category-hero, .toolbar, .tool-rows, .category-guide, .category-deep-dive, .category-faq, .pagination, .page-hero, .blog-featured, .blog-grid, .contact-layout, .legal, .article, .breadcrumb, .tool-detail-layout {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.about-section {
  padding-top: 46px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.about-section h2 { font-size: 28px; margin-bottom: 12px; }
.about-section p { color: var(--muted); }
.about-checks { display: grid; gap: 12px; }
.about-checks p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.about-checks strong { color: var(--text); }

.breadcrumb {
  padding-top: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb strong { color: var(--text); }
.category-hero, .page-hero {
  padding-top: 26px;
  padding-bottom: 26px;
}
.category-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}
.category-hero__badge { width: 66px; height: 58px; font-size: 12px; flex: 0 0 auto; }
.category-hero h1, .page-hero h1, .article h1 { font-size: 34px; margin-top: 8px; }
.category-hero p, .page-hero p { max-width: 720px; color: var(--muted); margin-top: 8px; }
.toolbar {
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.toolbar p { color: var(--faint); font-family: var(--font-mono); font-size: 12px; }
.mini-search {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.mini-search span { color: var(--faint); font-size: 13px; }
.tool-rows {
  padding-bottom: 18px;
  display: grid;
  gap: 10px;
}
.tool-row {
  display: grid;
  grid-template-columns: 42px 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tool-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.tool-row__rank { font-family: var(--font-mono); font-weight: 800; color: var(--faint); text-align: center; }
.tool-row__logo { width: 42px; height: 42px; border-radius: 8px; padding: 4px; }
.tool-row__main { min-width: 0; }
.tool-row h2 { font-size: 16px; }
.tool-row h2 a:hover { color: var(--accent); }
.tool-row p {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tool-row__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 999px;
  padding: 4px 9px;
}
.tool-row__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.tool-row__visit {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: var(--accent);
  font-weight: 800;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}
.tool-row__visit:hover { border-color: var(--accent); }
.pagination {
  padding-bottom: 36px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination a {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-weight: 800;
}
.pagination a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination__dots { padding: 8px 2px; color: var(--faint); }

.category-guide {
  margin-top: 0;
  margin-bottom: 42px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 52px;
}
.category-guide h2 { margin-top: 8px; font-size: 27px; }
.category-guide h3 { font-size: 15px; margin-bottom: 10px; }
.category-guide__copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}
.category-guide__aside ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 19px;
  color: var(--muted);
}
.category-guide__aside li { padding-left: 3px; }
.category-guide__links { display: grid; gap: 3px; }
.category-guide__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}
.category-guide__links a:hover { color: var(--accent); }
.category-guide__links span { color: var(--accent); }

.category-deep-dive {
  padding-top: 8px;
  padding-bottom: 46px;
}
.category-section-heading { max-width: 760px; margin-bottom: 24px; }
.category-section-heading h2 { margin-top: 8px; font-size: 27px; }
.category-section-heading > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.category-deep-dive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.category-deep-dive article {
  padding-top: 18px;
  border-top: 2px solid var(--line-strong);
}
.category-deep-dive h3 { font-size: 17px; line-height: 1.35; }
.category-deep-dive article p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.75;
}
.category-faq {
  padding-top: 38px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
}
.category-faq__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
}
.category-faq details { border-top: 1px solid var(--line); }
.category-faq details:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.category-faq summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 2px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.category-faq summary::-webkit-details-marker { display: none; }
.category-faq summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 15px;
}
.category-faq details[open] summary::after { content: "-"; }
.category-faq details p {
  max-width: 610px;
  padding: 0 34px 18px 2px;
  color: var(--muted);
  line-height: 1.7;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.empty-state h2 { font-size: 20px; margin-bottom: 8px; }

.tool-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  padding-bottom: 28px;
  align-items: start;
}
.tool-detail-layout > * { min-width: 0; }
.tool-hero {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  margin-bottom: 16px;
}
.tool-hero--panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tool-hero--panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}
.tool-hero__logo { width: 82px; height: 82px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-soft); padding: 8px; object-fit: contain; flex: 0 0 auto; }
.tool-hero h1 { font-size: 34px; margin-top: 6px; }
.tool-hero p { max-width: 700px; color: var(--muted); margin-top: 7px; }
.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.tool-categories, .fact-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tool-categories { margin-top: 13px; }
.tool-categories a, .fact-category-links a {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.tool-categories a:hover, .fact-category-links a:hover { color: var(--text); border-color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--block { width: 100%; }
.content-block, .fact-box, .blog-card, .contact-form, .contact-aside, .legal__toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-block { padding: 22px; margin-bottom: 14px; }
.content-block h2, .fact-box h2 { font-size: 20px; margin-bottom: 12px; }
.content-block p { margin-bottom: 12px; color: var(--muted); }
.content-kicker, .fact-box__status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.tool-review > .content-kicker { margin-bottom: 10px; }
.bullets { margin: 0; padding-left: 20px; color: var(--muted); }
.bullets li { margin: 9px 0; }
.bullets strong { color: var(--text); }
.review-content {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.review-content h2 {
  color: var(--text);
  font-size: 24px;
  margin: 4px 0 14px;
}
.review-content h3 {
  color: var(--text);
  font-size: 18px;
  margin: 24px 0 9px;
}
.review-content h4 {
  color: var(--text);
  font-size: 15px;
  margin: 20px 0 8px;
}
.review-content ul, .review-content ol { padding-left: 22px; margin: 10px 0 18px; }
.review-content li { margin: 7px 0; }
.review-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.review-content strong { color: var(--text); }
.review-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 16px 0 22px;
  border-collapse: collapse;
  overflow-x: auto;
  white-space: normal;
}
.review-content th, .review-content td {
  min-width: 120px;
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.review-content th { color: var(--text); background: var(--surface-soft); }
.review-content video {
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-height: 640px;
  margin: 16px auto 22px;
  border-radius: var(--radius);
  background: #111;
}
.review-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 16px auto 22px;
  border-radius: var(--radius);
}
.review-content figure { margin: 18px 0 24px; }
.description-pending h2 { margin-top: 5px; }
.check-list { margin: 0; padding-left: 18px; color: var(--muted); }
.check-list li { margin: 8px 0; }
.fact-box { padding: 20px; position: sticky; top: 84px; border-top: 3px solid var(--accent); }
.fact-box__status { margin-bottom: 6px; }
.fact-box__row { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 11px 0; border-top: 1px solid var(--line); }
.fact-box__row span { color: var(--faint); font-size: 12px; }
.fact-box__row strong { color: var(--text); }
.fact-box__row strong > a:hover { color: var(--accent); }
.fact-box .btn { margin-top: 14px; }
.section { padding-top: 8px; padding-bottom: 56px; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section__head h2 { font-size: 24px; }
.section__head a { color: var(--accent); font-weight: 800; }
.search-results[hidden] { display: none; }
.search-results__head { margin-bottom: 16px; }
.search-results__head h2 { font-size: 26px; }
.search-results__head p { margin-top: 6px; color: var(--muted); }
.search-results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.search-result img { width: 38px; height: 38px; padding: 4px; border: 1px solid var(--line); border-radius: 7px; }
.search-result strong { display: block; color: var(--text); }
.search-result span { display: block; color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seo-content {
  width: 100%;
  max-width: 1040px;
  margin: 36px auto 0;
  padding: 44px 24px 72px;
  color: var(--muted);
  line-height: 1.75;
}
.seo-content h1 { font-size: 36px; margin-bottom: 16px; }
.seo-content h2 { font-size: 25px; margin: 38px 0 12px; }
.seo-content h3 { font-size: 18px; margin: 24px 0 8px; }
.seo-content p { margin-bottom: 13px; }
.seo-content ul { margin: 10px 0 20px; padding-left: 22px; columns: 2; }
.seo-content li { margin: 5px 0; break-inside: avoid; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.related-item:hover { border-color: var(--line-strong); }
.related-item img { width: 34px; height: 34px; border-radius: 8px; padding: 3px; }
.related-item span { color: var(--text); font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 34px;
}
.blog-featured__visual, .blog-card__thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #111827, #4f6ef7 48%, #22a66e);
  font-family: var(--font-mono);
  font-weight: 800;
}
.blog-featured__visual { overflow: hidden; }
.blog-featured__visual img, .blog-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-featured h2 { font-size: 30px; margin: 8px 0; }
.blog-featured p { color: var(--muted); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 56px;
}
.blog-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.blog-card__thumb { border-radius: 0; background: linear-gradient(135deg, var(--accent), #111827); }
.blog-card__body { padding: 16px; }
.blog-card h2 { font-size: 18px; margin: 8px 0; }
.blog-card p { color: var(--muted); }
.blog-card span { display: block; margin-top: 12px; color: var(--faint); font-family: var(--font-mono); font-size: 12px; }

.article {
  max-width: 900px;
  padding-top: 28px;
  padding-bottom: 64px;
}
.article__cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 18px 0 28px;
  border-radius: var(--radius);
  background: var(--surface);
}
.article__content { color: var(--muted); }
.article__content figure { width: 100%; }
.article__content img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: 0;
  margin-right: 0;
}
.article h1 { margin-bottom: 8px; }
.article__meta { color: var(--faint); font-family: var(--font-mono); font-size: 12px; margin-bottom: 22px; }
.article .lead { color: var(--text); font-size: 18px; margin-bottom: 26px; }
.article h2 { font-size: 22px; margin: 28px 0 10px; }
.article p { color: var(--muted); margin-bottom: 14px; }
.article blockquote {
  margin: 22px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  color: var(--text);
  border-radius: 0 8px 8px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  max-width: 1120px;
  padding-bottom: 72px;
}
.contact-hero { max-width: 1120px; }
.contact-form { padding: 28px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: grid;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--text);
  font-weight: 800;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-status { color: var(--accent); font-weight: 800; margin-top: 12px; }
.form-note { margin-top: 12px; text-align: center; color: var(--faint); font-size: 12px; }
.contact-aside { padding: 24px; border-top: 3px solid var(--accent); }
.contact-aside h2 { font-size: 20px; margin-bottom: 14px; }
.contact-aside p { margin-top: 18px; color: var(--muted); }
.contact-aside__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-aside__row > span { color: var(--faint); font-size: 12px; }
.contact-aside__row a, .contact-aside__row strong { color: var(--text); overflow-wrap: anywhere; }
.contact-aside__row a:hover { color: var(--accent); }
.contact-direct {
  max-width: 680px;
  padding: 36px;
  margin-bottom: 64px;
  text-align: center;
}
.contact-email {
  display: block;
  margin: 10px 0 16px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.comments-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 18px;
}
.comment-form h3 { margin-bottom: 8px; }
.comment-form label {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  color: var(--text);
  font-weight: 700;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.comment-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-count { color: var(--faint); font-size: 13px; }
.comment-list { display: grid; align-content: start; gap: 10px; }
.comment-item {
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comment-item__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.comment-item__meta strong { color: var(--text); }
.comment-item__meta time { color: var(--faint); font-size: 12px; }
.comment-item__delete {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.comment-item__delete:hover { color: var(--text); border-color: var(--line-strong); }
.comment-empty { padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--faint); }

.legal {
  max-width: 900px;
  padding-bottom: 64px;
}
.legal__toc { padding: 16px 20px; display: grid; gap: 8px; margin-bottom: 24px; }
.legal__toc a { color: var(--accent); font-weight: 800; }
.legal h2 { font-size: 23px; margin: 28px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 12px; }

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer__main {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer__brand p { max-width: 330px; color: var(--muted); margin-top: 12px; }
.footer__col h2 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.footer__col a { display: block; padding: 4px 0; color: var(--muted); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bottom p { color: var(--faint); font-family: var(--font-mono); font-size: 12px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}
.footer__social a:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }

@media (max-width: 1120px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .stats-row { width: 100%; max-width: 520px; }
  .topnav__external, .header-search { display: none; }
}
@media (max-width: 880px) {
  .topnav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .card-grid, .blog-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section, .tool-detail-layout, .contact-layout, .blog-featured, .comments-layout, .category-guide { grid-template-columns: 1fr; }
  .category-guide { gap: 30px; }
  .category-deep-dive__grid { grid-template-columns: 1fr; gap: 24px; }
  .category-faq__items { grid-template-columns: 1fr; }
  .category-faq details:nth-last-child(2) { border-bottom: 0; }
  .fact-box { position: static; }
}
@media (max-width: 640px) {
  .topbar__inner, .hero, .category-strip, .card-grid, .about-section, .section, .seo-content, .category-hero, .toolbar, .tool-rows, .category-guide, .category-deep-dive, .category-faq, .pagination, .page-hero, .blog-featured, .blog-grid, .contact-layout, .legal, .article, .breadcrumb, .tool-detail-layout, .footer__main, .footer__bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 16px; }
  .stats-row { grid-template-columns: 1fr; }
  .card-grid, .blog-grid, .related-grid { grid-template-columns: 1fr; }
  .search-results__grid { grid-template-columns: 1fr; }
  .tool-row {
    grid-template-columns: 24px 44px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px;
  }
  .tool-row__rank { padding-top: 11px; font-size: 13px; }
  .tool-row__logo { width: 44px; height: 44px; }
  .tool-row h2 { margin-top: 1px; line-height: 1.25; }
  .tool-row p {
    margin-top: 4px;
    line-height: 1.45;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .tool-row__actions {
    grid-column: 3;
    justify-self: start;
    justify-content: flex-start;
    margin-top: 10px;
  }
  .tool-row__visit { min-height: 30px; padding: 0 10px; }
  .category-hero { align-items: flex-start; }
  .category-guide { margin-top: 10px; margin-bottom: 34px; padding-top: 28px; padding-bottom: 28px; }
  .category-guide h2 { font-size: 24px; }
  .category-deep-dive { padding-bottom: 38px; }
  .category-section-heading h2 { font-size: 24px; }
  .category-faq { padding-top: 32px; padding-bottom: 44px; }
  .category-faq summary { min-height: 62px; }
  .footer__main { grid-template-columns: 1fr; }
  .seo-content ul { columns: 1; }
  .seo-content h1 { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .tool-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }
  .tool-hero > div { width: 100%; }
  .tool-hero h1 { font-size: 30px; }
  .tool-hero__logo { width: 76px; height: 76px; }
  .tool-actions { display: grid; grid-template-columns: 1fr; }
  .tool-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}