/* ============================================================
   Company pages — Careers, Handbook
   Card-based layout matching the site design system
   ============================================================ */

/* ── Content sections ─────────────────────────────────────── */
.cp-section {
  padding: 0 0 48px;
}

.cp-section-header {
  margin-bottom: 28px;
}

.cp-section-header h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 10px;
}

.cp-section-header p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 680px;
}

/* ── Value cards grid ─────────────────────────────────────── */
.cp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.cp-card {
  background: var(--bg);
  padding: 28px 24px;
  transition: background 0.2s;
}

.cp-card:hover {
  background: var(--surface);
}

.cp-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.cp-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── List cards (stacked) ─────────────────────────────────── */
.cp-list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s;
}

.cp-list-card:hover {
  border-color: var(--border-2);
}

.cp-list-card:last-child {
  margin-bottom: 0;
}

.cp-list-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-dim);
  border: 1px solid rgba(0, 212, 126, 0.2);
  border-radius: var(--radius);
  color: var(--brand);
  flex-shrink: 0;
  font-size: 16px;
}

.cp-list-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}

.cp-list-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── Callout box ──────────────────────────────────────────── */
.cp-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}

.cp-callout a,
.cp-list-card p a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.cp-callout a:hover,
.cp-list-card p a:hover {
  color: var(--brand-light);
}

/* ── Intro text ───────────────────────────────────────────── */
.cp-intro {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 0;
}

.cp-intro strong {
  color: var(--text-1);
  font-weight: 500;
}

/* ── Divider ──────────────────────────────────────────────── */
.cp-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 48px;
}

/* ── Role listing (for future open roles) ─────────────────── */
.cp-role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.cp-role:hover {
  border-color: rgba(0, 212, 126, 0.25);
  background: rgba(0, 212, 126, 0.03);
}

.cp-role h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}

.cp-role-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}

.cp-role-arrow {
  color: var(--text-3);
  font-size: 18px;
  transition: color 0.15s, transform 0.15s;
}

.cp-role:hover .cp-role-arrow {
  color: var(--brand);
  transform: translateX(2px);
}

/* ── Benefits grid ────────────────────────────────────────── */
.cp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.cp-benefit {
  background: var(--bg);
  padding: 24px 22px;
  transition: background 0.2s;
}

.cp-benefit:hover {
  background: var(--surface);
}

.cp-benefit h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
}

.cp-benefit p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .cp-card-grid {
    grid-template-columns: 1fr;
  }
  .cp-benefits-grid {
    grid-template-columns: 1fr;
  }
  .cp-list-card {
    flex-direction: column;
    gap: 12px;
  }
}
