.grid,
.references,
.screenshots-grid {
  display: grid;
  gap: 18px;
}

.grid,
.references {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.split,
.comparison {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
}

.card {
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius-md);
}

.split {
  padding: 30px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf0;
  color: var(--muted);
}

.check-list strong {
  color: var(--ink);
}

.reference {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius-md);
  color: #f8fafc;
  background: linear-gradient(145deg, var(--navy), var(--accent));
}

.reference p,
.quote-card p {
  color: rgba(248, 250, 252, 0.76);
}

.comparison {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #f1e8d8;
  font-weight: 900;
}

.positive {
  color: var(--success);
  font-weight: 800;
}

.negative {
  color: var(--danger);
  font-weight: 800;
}

.screenshots-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.screenshot-item {
  margin: 0;
  display: grid;
  gap: 16px;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.screenshot-item img:hover {
  box-shadow: 0 12px 40px rgba(54, 42, 25, 0.12);
}

.screenshot-item figcaption {
  display: grid;
  gap: 8px;
}

.screenshot-item figcaption h3 {
  margin-bottom: 0;
  color: var(--ink);
}

.screenshot-item figcaption p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.quote-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--surface);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

footer {
  padding: 36px 0 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer .page {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-github {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-github:hover {
  color: var(--accent-dark);
}
