/* Kadraj vs Screen Studio (/screen-studio-alternative). Everything else comes from site.css. */
.cmp { max-width: 980px; padding: 150px 0 40px; }
.cmp section { padding: 0; }
.cmp-head { text-align: center; }
.cmp-head h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.045em; line-height: 1.04; margin: 0; }
.cmp-head .lead { margin: 24px auto 0; }
.cmp-head .hero-note { margin-top: 22px; }
.cmp h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin: 110px 0 26px; }
.cmp h2 .dim { color: var(--ink-3); }

/* The table: Kadraj's column in full white, Screen Studio's in grey; a green tick where a feature is there. */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 1.42; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 0; }
.cmp-table thead th:nth-child(2) { color: var(--ink); }
.cmp-table tbody th { width: 24%; font-weight: 600; color: var(--ink); }
.cmp-table td { width: 38%; color: var(--ink-3); }
.cmp-table td.k { color: var(--ink); }
.cmp-table td.y::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.cmp-table tbody tr:first-child td.k { color: var(--green); font-weight: 600; }

.cmp-parts { margin-top: 0; }
.cmp-parts .part h3 { margin-top: 0; }

.cmp-honest { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.cmp-honest li { padding: 20px 0; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 46em; }
.cmp-honest li:last-child { border-bottom: 1px solid var(--line); }
.cmp-honest b { display: block; color: var(--ink); font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; margin-bottom: 4px; }

.cmp .faq { max-width: 760px; }
.cmp .cmp-end { text-align: center; padding-top: 40px; }
.cmp-end h2 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 0; }
.cmp-note { max-width: 640px; margin: 70px auto 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 900px) {
  .cmp { padding-top: 120px; }
  .cmp-parts { grid-template-columns: minmax(0, 1fr); }
}
/* Phones: the feature on its own line, Kadraj and Screen Studio side by side under it. */
@media (max-width: 640px) {
  .cmp h2 { margin-top: 80px; }
  .cmp-table { min-width: 0; font-size: 14px; }
  .cmp-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; border-bottom: 1px solid var(--line); }
  .cmp-table th, .cmp-table td { width: auto; padding: 0; border-bottom: 0; }
  .cmp-table thead th:first-child { display: none; }
  .cmp-table thead th { padding-bottom: 12px; }
  .cmp-table tbody th { grid-column: 1 / -1; width: auto; padding: 16px 0 6px; }
  .cmp-table tbody td { width: auto; }
  .cmp-table tbody td { padding-bottom: 16px; }
}
