body {
  background: #edf1ed;
}

.kp-live-header {
  position: sticky;
  top: 0;
}

.brand-inline {
  cursor: pointer;
}

.preview-page {
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.kp-editor-content {
  background: var(--paper);
}

.kp-editor-content > *:first-child {
  margin-top: 0;
}

.kp-editor-content .section {
  padding: 54px 38px;
}

.kp-editor-content .section:first-child {
  padding-top: 48px;
}

.kp-editor-content a {
  color: inherit;
}

.kp-rich-content {
  display: grid;
  gap: 18px;
}

.kp-rich-content p,
.kp-rich-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.kp-rich-content ul {
  margin: 0;
  padding-left: 18px;
}

.kp-media-grid,
.kp-card-grid,
.kp-case-grid {
  display: grid;
  gap: 18px;
}

.kp-media-grid,
.kp-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kp-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kp-media-card,
.kp-case-card,
.kp-note-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5, 46, 22, 0.08);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.kp-note-card {
  padding: 24px;
}

.kp-media-card img,
.kp-case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kp-media-card .copy,
.kp-case-card .copy {
  padding: 22px 24px 24px;
}

.kp-media-card h3,
.kp-case-card h3,
.kp-note-card h3 {
  margin: 8px 0 12px;
  font-size: 24px;
  line-height: 1.08;
}

.kp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.kp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.kp-table th,
.kp-table td {
  padding: 15px 16px;
  text-align: left;
}

.kp-table th {
  background: var(--paper-alt);
  color: var(--signal-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kp-table td {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.footer-column a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .kp-editor-content .section,
  .hero,
  .footer-preview,
  .website-header {
    padding-left: 22px;
    padding-right: 22px;
  }

  .kp-media-grid,
  .kp-card-grid,
  .kp-case-grid {
    grid-template-columns: 1fr;
  }
}
