/* ==========================================================================
   North — Components
   Reusable pieces: headings, buttons, status pill, features, spec sheet.
   ========================================================================== */

/* ---------- Eyebrow / mono label ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--red { color: var(--red); }
.section--ink .label,
.section--red .label { color: inherit; opacity: 0.75; }

/* ---------- Section heading ---------- */
/* A short red rule sits above every section heading instead of a label. */
.heading {
  font-size: var(--fs-xl);
}
.heading::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 4px;
  margin-bottom: var(--space-5);
  background: var(--red);
}
.section--red .heading::before { background: var(--white); }
.section--ink .heading::before { background: var(--red-bright); }
.heading em { font-style: normal; color: var(--red); }
.section--red .heading em { color: var(--ink); }

.lede {
  margin-top: var(--space-5);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--muted);
  max-width: 38ch;
}
.section--ink .lede { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }

.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--ink); color: var(--white); }

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

.btn--sm { min-height: 40px; padding: 0.5rem 1rem; }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Status pill ("hosting by request") ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--muted);
}
.status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  80%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Feature list ---------- */
.features {
  display: grid;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) {
  .features { grid-template-columns: 1fr 1fr; column-gap: var(--space-7); }
}
.feature {
  padding-block: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--line);
}
.feature__title {
  font-size: var(--fs-md);
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.feature__text { color: var(--muted); max-width: 40ch; }

/* ---------- Spec sheet ("the fine print") ---------- */
.spec {
  border-top: 1px solid var(--line-dark);
}
.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-dark);
}
.spec__key {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--muted-dark);
}
.spec__val {
  font-size: var(--fs-md);
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: right;
}
.spec__val--red { color: var(--red-bright); }

/* ---------- Email link (big) ---------- */
.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 0.9rem + 4.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.1em;
  transition: background-size 350ms var(--ease);
}
.email-link:hover,
.email-link:focus-visible { background-size: 100% 3px; }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.red { color: var(--red); }
