/* Shared styles for commercial pages: comparisons and industry pages */

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 20px 8px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--text);
}

.page-hero .updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}

.answer-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 800px;
  margin: 0 auto;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.verdict-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.verdict-card h2 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--text);
}

.verdict-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.compare-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table.wide {
  min-width: 920px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  vertical-align: top;
}

.compare-table th {
  background: var(--surface-2);
  font-weight: 700;
  color: var(--text);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-copy,
.industry-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px 8px;
}

.compare-copy h2,
.industry-page h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin: 34px 0 12px;
  color: var(--text);
}

.compare-copy h2:first-child,
.industry-page h2:first-child {
  margin-top: 0;
}

.compare-copy p,
.industry-page p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 14px;
}

.compare-copy ul,
.industry-page ul {
  color: var(--ink-soft);
  line-height: 1.8;
  padding-left: 22px;
  margin: 0 0 14px;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 8px;
}

.use-case-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.use-case-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--text);
}

.use-case-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 44px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime-strong);
  border-radius: var(--radius-xs);
  padding: 18px 20px;
  margin: 20px 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}

.notice-box strong {
  color: var(--text);
}

.source-note {
  max-width: 880px;
  margin: 24px auto 0;
  padding: 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.source-note a {
  color: inherit;
}

.compare-link {
  text-align: center;
  margin: 26px auto 0;
}

.compare-link a {
  color: var(--text);
  font-weight: 700;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 700px) {
  .verdict-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }
}
