:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --ink: #1f1f1f;
  --muted: #6f6a61;
  --line: #ddd7cd;
  --soft: #f2eee7;
  --row-alt: #f5f1ea;
  --accent: #2b6b57;
  --accent-soft: #e4efe9;
  --max: 760px;
  --toc: 190px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 34px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.72;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

main {
  display: grid;
  grid-template-columns: var(--toc) minmax(0, var(--max));
  gap: clamp(34px, 5vw, 76px);
  justify-content: center;
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 64px 0 72px;
}

article {
  display: block;
  min-width: 0;
  width: 100%;
}

.toc {
  position: sticky;
  top: 34px;
  align-self: start;
  max-height: calc(100vh - 68px);
  overflow: auto;
  padding: 5px 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.toc-title {
  margin: 0 0 13px;
  color: #3d3932;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 30px;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.toc-link::before {
  content: "";
  display: block;
  width: 10px;
  height: 1px;
  background: #bdb7ae;
  transition: width 180ms ease, background-color 180ms ease;
}

.toc-link:hover,
.toc-link.is-active {
  color: var(--ink);
}

.toc-link:hover::before,
.toc-link.is-active::before {
  width: 22px;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 68px;
}

h2 {
  margin: 58px 0 18px;
  font-size: 40px;
}

h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  vertical-align: -0.13em;
}

.product-site-link {
  display: inline-flex;
  gap: 0.34em;
  align-items: center;
  color: inherit;
  text-decoration-color: transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.product-link-icon {
  width: 0.68em;
  height: 0.68em;
  opacity: 0.58;
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}

.product-site-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.product-site-link:hover .product-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.comparison-link {
  display: inline-flex;
  gap: 0.34em;
  align-items: center;
  color: var(--ink);
  font-weight: 650;
  text-decoration-color: transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.comparison-link-icon {
  width: 0.78em;
  height: 0.78em;
  opacity: 0.5;
  transition: opacity 160ms ease, transform 160ms ease;
}

.comparison-link:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.comparison-link:hover .comparison-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

p {
  margin: 0 0 24px;
}

.dek {
  margin: 26px 0 0;
  color: #38352f;
  font-size: 23px;
  line-height: 1.55;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 42px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.meta span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.meta-icon {
  width: 1.02em;
  height: 1.02em;
  color: var(--accent);
  stroke-width: 1.9;
}

.summary {
  margin: 40px 0 46px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary p {
  margin-bottom: 14px;
}

.answer-lead {
  color: #34312b;
  font-size: 20px;
  line-height: 1.58;
}

.summary ul,
.criteria {
  margin: 0;
  padding-left: 1.2em;
}

.summary li,
.criteria li {
  margin: 0 0 10px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.faq-item h3 {
  margin-bottom: 7px;
  font-size: 22px;
}

.faq-item p {
  margin: 0;
}

.insight-section {
  margin: 54px 0 12px;
}

.insight-copy {
  color: #423e37;
  font-size: 18px;
}

.chart-stack {
  display: grid;
  gap: 30px;
  margin: 30px 0 8px;
}

.mini-chart {
  margin: 0;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.mini-chart:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-chart h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.chart-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 2.4fr) 38px;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.bar-row strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-align: right;
}

.bar-track {
  height: 5px;
  background: var(--line);
}

.bar-fill {
  display: block;
  width: calc(var(--value) * 1%);
  height: 100%;
  background: var(--accent);
  transform-origin: left center;
  animation: grow-bar 900ms ease-out both;
  transition: background-color 180ms ease, transform 180ms ease;
}

.bar-row:hover .bar-fill {
  background: #1f4f40;
  transform: scaleY(1.45);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1.25fr) repeat(4, minmax(70px, 1fr));
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.fit-grid span {
  min-height: 38px;
  padding: 10px 7px;
  border-bottom: 1px solid var(--line);
  color: #34312b;
}

.fit-grid .axis {
  color: var(--muted);
  font-weight: 650;
}

.fit-dot {
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px auto 0;
  border-radius: 50%;
  background: var(--accent);
}

.fit-dot.is-medium {
  opacity: 0.48;
}

.fit-dot.is-empty {
  border: 1px solid var(--line);
  background: transparent;
}

@keyframes grow-bar {
  from {
    opacity: 0.25;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.quick-table {
  width: 100%;
  margin: 28px 0 8px;
  border-collapse: collapse;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.quick-table caption {
  margin-bottom: 12px;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
}

.quick-table th,
.quick-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.quick-table th {
  color: var(--muted);
  font-weight: 650;
}

.quick-table tbody tr:nth-child(even) {
  background: var(--row-alt);
}

.tool {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.tool:first-of-type {
  border-top: 0;
}

.tool-rank {
  margin-bottom: 14px;
  color: var(--accent);
  display: inline-block;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.tool-image {
  margin: 18px 0 22px;
}

.tool-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.tool p {
  margin-bottom: 15px;
}

.fit {
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.note {
  margin: 34px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: #423e37;
  font-size: 17px;
}

.source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1020px) {
  main {
    display: block;
    width: min(var(--max), calc(100% - 40px));
  }

  .toc {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 18px;
    line-height: 1.66;
  }

  main {
    width: min(100% - 28px, var(--max));
  }

  main {
    padding-top: 38px;
  }

  .dek {
    font-size: 20px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 30px;
  }

  .quick-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .bar-row {
    grid-template-columns: minmax(104px, 1fr) minmax(108px, 1.6fr) 34px;
    gap: 8px;
    font-size: 13px;
  }

  .fit-grid {
    grid-template-columns: minmax(92px, 1.2fr) repeat(4, minmax(52px, 1fr));
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bar-fill {
    animation: none;
    transition: none;
  }
}
