/* Scoped to the three automation-section pages. Shared site styles stay unchanged. */
.automation-section .direct-answer {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3vw, 36px);
}
.automation-section .direct-answer > * { min-width: 0; }
.automation-section .direct-answer h2 {
  max-width: 32ch;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.automation-section .direct-answer p {
  max-width: 80ch;
  font-size: 17px;
  line-height: 1.75;
}
/* Keep the native table on larger screens; present each row as a labelled card on phones. */
@media (max-width: 640px) {
  .automation-section .comparison-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .automation-section .comparison {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
  }
  .automation-section .comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .automation-section .comparison tbody {
    display: grid;
    width: 100%;
    gap: 16px;
  }
  .automation-section .comparison tbody tr {
    display: grid;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }
  .automation-section .comparison tbody td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .automation-section .comparison tbody td:last-child { border-bottom: 0; }
  .automation-section .comparison tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
  }
  .automation-section .comparison tbody td:first-child {
    color: var(--ink);
    font-weight: 650;
  }
}
