/* Content pages: /vs/<name>, /alternatives/<name>, /enterprise/<name> */

.cmp-page {
  width: 100%;
  padding: 120px 20px 70px;
  box-sizing: border-box;
  background: #fff;
  font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
}

.cmp-article {
  max-width: 880px;
  margin: 0 auto;
}

.cmp-article h1 {
  float: none;
  margin: 0 0 12px;
  color: #111827;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.cmp-article h1,
.cmp-article h2,
.cmp-article h3 {
  float: none;
  clear: both;
  width: auto;
  text-align: left;
}

.cmp-article h2 {
  margin: 48px 0 14px;
  color: #111827;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.cmp-article h3 {
  margin: 30px 0 10px;
  color: #111827;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.cmp-article p {
  margin: 0 0 16px;
}

.cmp-article ul,
.cmp-article ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.cmp-article ul {
  list-style: disc outside;
}

.cmp-article ol {
  list-style: decimal outside;
}

.cmp-article li {
  display: list-item;
  float: none;
  width: auto;
  margin: 0 0 8px;
}

.cmp-article a {
  color: #4a3aff;
  text-decoration: underline;
}

.cmp-article a:hover {
  color: #3a2ad4;
}

.cmp-byline {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 15px;
}

.cmp-figure {
  margin: 26px 0;
}

.cmp-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.cmp-figure figcaption {
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

.cmp-hero img {
  border: 0;
}

.cmp-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.cmp-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.cmp-table-wrap th,
.cmp-table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.cmp-table-wrap th {
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
}

.cmp-table-wrap tr:last-child td {
  border-bottom: 0;
}

.cmp-pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 14px 0 28px;
  padding: 26px 28px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #111827;
}

.cmp-article .cmp-pc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp-article .cmp-pc li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
}

.cmp-article .cmp-pc li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.cmp-article .cmp-pc-pros li::before {
  content: "\2713";
  color: #059669;
}

.cmp-article .cmp-pc-cons li::before {
  content: "\2715";
  color: #dc2626;
}

.cmp-article .cmp-pc-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cmp-article .cmp-pc-pros .cmp-pc-label {
  color: #059669;
}

.cmp-article .cmp-pc-cons .cmp-pc-label {
  color: #dc2626;
}

.cmp-cta {
  margin: 28px 0;
  text-align: center;
}

.cmp-article a.cmp-btn {
  display: inline-block;
  margin: 4px;
  padding: 16px 34px;
  border-radius: 50px;
  background: #4a3aff;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.cmp-article a.cmp-btn:hover {
  background: #3a2ad4;
  color: #fff;
}

.cmp-article a.cmp-btn-light {
  background: #fff;
  color: #4a3aff;
  border: 2px solid #4a3aff;
  box-shadow: none;
}

.cmp-article a.cmp-btn-light:hover {
  background: #e8e6ff;
  color: #3a2ad4;
}

.cmp-cta-note {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 15px;
}

.cmp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}

.cmp-card {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.cmp-card a {
  font-weight: 500;
  text-decoration: none;
}

.cmp-card a:hover {
  text-decoration: underline;
}

.cmp-card-plain {
  color: #6b7280;
  background: #f9fafb;
}

.cmp-faq details {
  margin: 0 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.cmp-faq summary {
  padding: 16px 18px;
  cursor: pointer;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.cmp-faq details[open] summary {
  border-bottom: 1px solid #e5e7eb;
}

.cmp-faq-answer {
  padding: 14px 18px 4px;
}

.cmp-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
}

.cmp-author-text {
  min-width: 0;
}

.cmp-author-photo,
.cmp-profile-photo {
  flex: none;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.cmp-profile {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 8px 0 28px;
}

.cmp-profile-photo {
  width: 160px;
  height: 160px;
}

.cmp-profile-title {
  margin: 0 0 12px;
  color: #374151;
  font-size: 20px;
  font-weight: 500;
}

.cmp-profile p:last-child {
  margin-bottom: 0;
}

.cmp-author-name {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
}

.cmp-author-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .cmp-author-box {
    flex-direction: column;
  }

  .cmp-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .cmp-pc {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .cmp-page {
    padding: 96px 16px 50px;
    font-size: 16px;
  }

  .cmp-article h1 {
    font-size: 29px;
  }

  .cmp-article h2 {
    margin-top: 38px;
    font-size: 23px;
  }

  .cmp-article h3 {
    font-size: 19px;
  }

  .cmp-article a.cmp-btn {
    padding: 14px 26px;
    font-size: 17px;
  }
}
