/* ==========================================================================
   Workflow Studio — showreel
   base.css
   Reset, page furniture and the shared elements: container, buttons, eyebrows.
   ========================================================================== */

/* --- Shared elements ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  /* The height is fixed, so a label that wraps does not make the button taller
     — it spills out of it. Every label here is two or three words; if one ever
     stops fitting its bar, the label is what gives (see .nav-cta-tail). */
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: var(--border-selected);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.section {
  padding: 112px 0;
}

/* The modules row gets a wider measure than the rest of the page: at the shared
   1180px the media column tops out around 640px, which is small for a full
   interface. The centred pieces inside are centred on their own (.section-head
   is capped at 640 and the tab list is fit-content), so only the feature grid
   takes the extra width. */
#showreel > .container {
  max-width: 1440px;
}


.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

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

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  /* No top margin: the pill that used to sit above it is gone, so the section
     padding is the only spacing above the heading now. */
  margin: 0 0 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
