/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section--tight {
  padding-block: var(--space-xl);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--primary);
  color: var(--text-inverse);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-head h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-sm);
}

.section-head p {
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

.section--dark .section-head p {
  color: var(--muted-inverse);
}

/* ---- Generic two-column layout (mobile-first: stacked) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* ---- Grid for cards ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.visually-hidden-mobile {
  display: none;
}
