/* ============================================================
   utilities.css
   Shared layout helpers, typography classes, buttons,
   badges, and tags used across all sections.
   Depends on: tokens.css
   ============================================================ */

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

/* ── Section typography ─────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-3);
}

.section-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--grey-text);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px var(--space-6);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ── Tags & badges ───────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--green-light);
  color: var(--green-dark);
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: .7rem;
  font-weight: 600;
}

.badge-active {
  background: var(--green-light);
  color: var(--green-dark);
}

.badge-soon {
  background: #FEF3C7;
  color: #92400E;
}
