/* Shared look for /roadmap and /compare pages (the help pages carry their own copy). */
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
}
body {
  margin: 0;
  background: #fafaf8;
  color: #111311;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: #1f6f4a;
}
a:hover {
  color: #16543a;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid #e4e4e0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.top {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  font-size: 15px;
}
.top .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: #111311;
  margin-right: auto;
}
.top a {
  text-decoration: none;
  color: #3a3e46;
}
.top a:hover,
.top a[aria-current] {
  color: #16543a;
}
.top a[aria-current] {
  font-weight: 600;
}
.top .dl {
  background: #1f6f4a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
}
.top .dl:hover {
  background: #16543a;
  color: #fff;
}
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}
.narrow {
  max-width: 760px;
}
.crumb {
  font-size: 14px;
  color: #5b606b;
}
h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  margin: 12px 0 10px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 22px;
  margin: 48px 0 10px;
}
.lead {
  color: #3a3e46;
  margin: 0;
  font-size: 19px;
}
.verdict {
  background: #e8f3ec;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 22px;
}
.logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.logos img {
  height: 28px;
  width: auto;
}
.tbl {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  margin-top: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 15px;
  line-height: 1.45;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid #efefec;
  text-align: left;
  vertical-align: top;
}
thead th {
  font-size: 14px;
}
tbody th {
  font-weight: 500;
}
td.us {
  background: #f3f8f4;
}
.y {
  color: #16543a;
  font-weight: 600;
}
.n {
  color: #a1261a;
}
.m {
  color: #5b606b;
  font-size: 13px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.card {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  padding: 18px 20px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.card ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.card li {
  margin: 6px 0;
}
ol.steps {
  padding-left: 22px;
}
ol.steps li {
  margin: 6px 0;
}
.src {
  font-size: 13px;
  color: #5b606b;
  margin-top: 10px;
}
.cta {
  background: #1f6f4a;
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  margin-top: 48px;
  text-align: center;
}
.cta a.btn {
  display: inline-block;
  background: #fff;
  color: #16543a;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 12px;
}
.foot {
  margin-top: 56px;
  font-size: 14px;
  color: #5b606b;
}
@media (max-width: 520px) {
  .top {
    gap: 6px 14px;
  }
  .top a[href^="https://github.com"] {
    display: none;
  }
}
/* Compare pages: centered hero, choose cards, at-a-glance rows, timeline, icon steps */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 16px;
}
.hero h1 {
  margin-top: 0;
}
.hero-cta {
  margin: 22px 0 8px;
}
.btn {
  display: inline-block;
  background: #1f6f4a;
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.btn:hover {
  background: #16543a;
  color: #fff;
}
.vscard {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 40px -28px rgba(17, 19, 17, 0.35);
}
.vscard .logos {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  font-weight: 600;
  background: #fafaf8;
}
.tile.us {
  background: #f3f8f4;
  border-color: #c9decf;
}
.tile img,
.tile .wm {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.tile .wm {
  display: grid;
  place-items: center;
  background: #111311;
  color: #fff;
  font-size: 28px;
}
.vscard .vs {
  font-size: 15px;
  color: #5b606b;
}
.vscard .shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e4e4e0;
  border-radius: 10px;
}
.props {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.props li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  padding: 18px;
}
.props b {
  display: block;
  font-size: 18px;
}
.props div {
  color: #3a3e46;
  font-size: 15px;
}
.read {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.choose .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.choose h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin: 0;
}
.choose h3 img,
.choose h3 .wm {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.choose h3 .wm {
  display: grid;
  place-items: center;
  background: #111311;
  color: #fff;
  font-size: 15px;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}
.checks li {
  padding-left: 26px;
  position: relative;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f6f4a;
  font-weight: 600;
}
.choose .card.us {
  border-color: #1f6f4a;
  background: #e8f3ec;
}
.choose .btn {
  align-self: flex-start;
}
.choose .ext {
  font-size: 15px;
}
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0f1ee;
  font-size: 14px;
}
.chip.good {
  background: #e8f3ec;
  color: #16543a;
  font-weight: 600;
}
.chip.bad {
  background: #fbeceb;
  color: #a1261a;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 7px;
  height: 2px;
  background: #d6d6d0;
}
.timeline li {
  position: relative;
  padding-top: 26px;
  font-size: 15px;
  line-height: 1.4;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #5b606b;
}
.timeline b {
  display: block;
}
.timeline .hot b {
  color: #a1261a;
  font-size: 18px;
}
.timeline .hot::before {
  background: #a1261a;
  border-color: #a1261a;
}
.isteps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  counter-reset: s;
}
.isteps li {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  counter-increment: s;
}
.isteps img {
  width: 36px;
  height: 36px;
}
.isteps h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}
.isteps h3::before {
  content: counter(s) ". ";
  color: #1f6f4a;
}
.idx .card img,
.idx .card .wordmark {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}
@media (max-width: 600px) {
  .timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .timeline::before {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
  }
}
.bar {
  display: inline-flex;
  gap: 3px;
  margin-right: 10px;
  vertical-align: middle;
}
.bar i {
  width: 16px;
  height: 8px;
  border-radius: 3px;
  background: #e4e4e0;
}
.b1 i:first-child {
  background: #a8d5b9;
}
.b2 i:nth-child(-n + 2) {
  background: #4fa374;
}
.b3 i {
  background: #1f6f4a;
}
.key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: #5b606b;
  margin: 10px 0 0;
}
/* /learn articles */
.short {
  background: #e8f3ec;
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 22px;
}
.ex {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  margin: 14px 0;
}
.ex table {
  min-width: 0;
}
.ex .r {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.formula {
  background: #fff;
  border: 1px solid #e4e4e0;
  border-left: 4px solid #1f6f4a;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
}
.faq details {
  border-bottom: 1px solid #e4e4e0;
  padding: 12px 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.faq p {
  margin: 8px 0 0;
}
.srcs {
  font-size: 15px;
}
.learn-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e4e4e0;
  border-radius: 12px;
  margin-top: 12px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.related a {
  display: inline-block;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 10px;
  padding: 8px 14px;
  text-decoration: none;
}

/* /learn hero band with the brand illustration, and the index cards */
.lhero {
  background: #f3f8f4;
  border-bottom: 1px solid #dfeae2;
}
.lhero-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
}
.lhero h1 {
  margin: 10px 0 12px;
}
.lhero .meta {
  font-size: 14px;
  color: #5b606b;
  margin: 0;
}
.lhero img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
@media (max-width: 760px) {
  .lhero-in {
    grid-template-columns: 1fr;
  }
  .lhero img {
    max-width: 260px;
    margin: 0 auto;
    order: -1;
  }
}
.lcards {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.lcard {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #e4e4e0;
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.lcard:hover {
  border-color: #1f6f4a;
}
.lcard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #f3f8f4;
  mix-blend-mode: multiply;
}
.lcard h3 {
  margin: 16px 20px 6px;
}
.lcard p {
  margin: 0 20px 20px;
  color: #3a3e46;
}
