.compare-page-hero{
  background:var(--x-surface-soft);
  border-bottom:1px solid var(--x-line);
}

.compare-page-hero h1{
  max-width:16ch;
}

.compare-page-hero .x-lead{
  max-width:820px;
}

.compare-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:var(--x-space-2);
  margin-top:var(--x-space-3);
}

.compare-hero-facts{
  display:flex;
  flex-wrap:wrap;
  gap:var(--x-space-1);
  margin-top:var(--x-space-4);
  padding-top:var(--x-space-3);
  border-top:1px solid var(--x-line);
}

.compare-hero-facts span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--x-muted);
  font-family:var(--x-font-mono);
  font-size:var(--x-fs-1);
  font-variant-numeric:tabular-nums;
}

.compare-hero-facts span::before{
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--x-green);
  content:"";
}

.compare-principles{
  margin-top:var(--x-space-4);
}

.compare-principle{
  display:flex;
  min-width:0;
  flex-direction:column;
}

.compare-principle svg{
  width:30px;
  height:30px;
  margin-bottom:var(--x-space-2);
  color:var(--x-primary);
}

.compare-principle h3{
  margin-bottom:var(--x-space-1);
}

.compare-principle p{
  margin-bottom:0;
  color:var(--x-muted);
}

.compare-form-table{
  min-width:960px;
}

.compare-form-table th:first-child{
  width:15%;
}

.compare-form-table th:not(:first-child){
  width:auto;
}

.compare-form-table tbody th,
.compare-config-table tbody th,
.compare-price-table tbody th{
  color:var(--x-ink);
  font-weight:750;
}

.compare-config-table{
  min-width:900px;
}

.compare-config-table td:nth-child(2),
.compare-config-table td:nth-child(3),
.compare-config-table td:nth-child(4){
  white-space:nowrap;
}

.compare-config-notes{
  margin-top:var(--x-space-3);
}

.compare-config-notes .c-notice{
  min-width:0;
}

.compare-config-notes h3{
  margin-bottom:var(--x-space-1);
  font-size:var(--x-fs-3);
}

.compare-config-notes p{
  margin-bottom:0;
}

.compare-dark-head p{
  color:var(--x-subtle);
}

.compare-dark-head .x-eyebrow{
  color:var(--x-accent);
}

.compare-dark-table{
  border-color:var(--x-line-dark);
  background:var(--x-dark);
}

.compare-dark-table .c-table th,
.compare-dark-table .c-table td{
  border-color:var(--x-line-dark);
}

.compare-dark-table .c-table th{
  background:var(--x-dark);
  color:var(--x-subtle);
}

.compare-dark-table .c-table td,
.compare-dark-table .c-table tbody th{
  background:var(--x-black);
  color:var(--x-white);
}

.compare-price-table{
  min-width:840px;
}

.compare-price-table td:not(:last-child){
  white-space:nowrap;
}

.compare-cycle-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:var(--x-space-4);
  border-top:1px solid var(--x-line-dark);
  border-left:1px solid var(--x-line-dark);
}

.compare-cycle-grid article{
  min-width:0;
  padding:var(--x-space-3);
  border-right:1px solid var(--x-line-dark);
  border-bottom:1px solid var(--x-line-dark);
}

.compare-cycle-grid span{
  display:block;
  margin-bottom:var(--x-space-2);
  color:var(--x-green);
  font-size:var(--x-fs-0);
  letter-spacing:.12em;
}

.compare-cycle-grid h3{
  margin-bottom:var(--x-space-1);
}

.compare-cycle-grid p{
  margin-bottom:0;
  color:var(--x-subtle);
  font-size:var(--x-fs-2);
}

.compare-node-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--x-space-3);
  margin-top:var(--x-space-4);
}

.compare-node-card{
  min-width:0;
}

.compare-node-card .c-badge{
  width:fit-content;
  margin-bottom:var(--x-space-2);
}

.compare-node-card h3{
  margin-bottom:var(--x-space-1);
}

.compare-node-card > p{
  color:var(--x-muted);
}

.compare-node-card dl{
  display:grid;
  gap:var(--x-space-1);
  margin:var(--x-space-3) 0 0;
  padding-top:var(--x-space-3);
  border-top:1px solid var(--x-line);
}

.compare-node-card dl div{
  display:grid;
  grid-template-columns:minmax(max-content,auto) minmax(0,1fr);
  gap:var(--x-space-2);
}

.compare-node-card dt{
  color:var(--x-muted);
  font-size:var(--x-fs-1);
  font-weight:750;
}

.compare-node-card dd{
  min-width:0;
  color:var(--x-ink);
  font-size:var(--x-fs-2);
}

.compare-node-method{
  margin-top:var(--x-space-3);
}

.compare-node-method h3{
  margin-bottom:var(--x-space-2);
  font-size:var(--x-fs-3);
}

.compare-node-method ol{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:var(--x-space-2);
  margin:0;
  padding-left:var(--x-space-3);
}

.compare-node-method li{
  min-width:0;
  padding-left:4px;
  font-size:var(--x-fs-2);
}

.compare-workflows{
  margin-top:var(--x-space-4);
  border-top:1px solid var(--x-line);
}

.compare-workflow{
  display:grid;
  grid-template-columns:auto minmax(0,1.45fr) minmax(0,1fr);
  gap:var(--x-space-3);
  align-items:start;
  padding-block:var(--x-space-4);
  border-bottom:1px solid var(--x-line);
}

.compare-workflow-index{
  min-width:2.5em;
  color:var(--x-primary);
  font-size:var(--x-fs-1);
  font-weight:750;
  letter-spacing:.1em;
}

.compare-workflow h3{
  margin-bottom:var(--x-space-1);
}

.compare-workflow p{
  margin-bottom:0;
  color:var(--x-muted);
}

.compare-workflow ul{
  min-width:0;
  margin:0;
  padding-left:var(--x-space-3);
  color:var(--x-muted);
  font-size:var(--x-fs-2);
}

.compare-workflow li + li{
  margin-top:var(--x-space-1);
}

.compare-decision-grid{
  align-items:stretch;
}

.compare-decision-card{
  display:flex;
  min-width:0;
  flex-direction:column;
}

.compare-decision-card .c-badge{
  width:fit-content;
  align-self:flex-start;
  margin-bottom:var(--x-space-2);
}

.compare-decision-card h2{
  margin-bottom:var(--x-space-2);
  font-size:clamp(1.75rem,3vw,2.4rem);
}

.compare-decision-card > p{
  color:var(--x-muted);
}

.compare-decision-card .c-checklist{
  margin:var(--x-space-2) 0 var(--x-space-3);
}

.compare-decision-card > .c-btn{
  align-self:flex-start;
  margin-top:auto;
}

.compare-cta{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:var(--x-space-4);
  align-items:center;
  padding:var(--x-space-5);
  overflow:hidden;
  border-radius:var(--x-radius-lg);
  background:var(--x-primary);
  color:var(--x-white);
}

.compare-cta .x-eyebrow{
  color:var(--x-white);
}

.compare-cta .x-eyebrow::before{
  background:var(--x-green);
}

.compare-cta h2{
  margin-bottom:var(--x-space-2);
  color:var(--x-white);
}

.compare-cta p:not(.x-eyebrow){
  max-width:720px;
  margin-bottom:0;
  color:var(--x-surface-soft);
}

.compare-cta-actions{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:stretch;
  gap:var(--x-space-2);
}

.compare-cta-ghost{
  border-color:var(--x-white);
  color:var(--x-white);
}

.compare-cta-ghost:hover{
  border-color:var(--x-white);
  background:var(--x-white);
  color:var(--x-primary);
}

@media(max-width:960px){
  .compare-cycle-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .compare-node-method ol{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .compare-workflow{
    grid-template-columns:auto minmax(0,1fr);
  }

  .compare-workflow ul{
    grid-column:2;
  }

  .compare-cta{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){
  .compare-node-grid{
    grid-template-columns:1fr;
  }

  .compare-node-method ol{
    grid-template-columns:1fr;
  }

  .compare-workflow{
    grid-template-columns:1fr;
    gap:var(--x-space-2);
  }

  .compare-workflow ul{
    grid-column:auto;
  }

  .compare-decision-card > .c-btn{
    width:100%;
    align-self:stretch;
  }

  .compare-cta{
    padding:var(--x-space-4);
  }
}

@media(max-width:390px){
  .compare-hero-actions{
    flex-direction:column;
  }

  .compare-hero-actions .c-btn{
    width:100%;
    white-space:normal;
  }

  .compare-cycle-grid{
    grid-template-columns:1fr;
  }

  .compare-node-card dl div{
    grid-template-columns:1fr;
    gap:4px;
  }

  .compare-cta{
    padding:var(--x-space-3);
  }

  .compare-cta-actions .c-btn{
    width:100%;
    white-space:normal;
  }
}
