/* ==========================================================================
   Macaw Bytes - Process page (corporate dark mood)
   Extends home.css tokens via body.page-process
   ========================================================================== */

.proc-hero {
  position: relative;
  min-height: min(68svh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, #0a1218 0%, #0b0d10 45%, #0c1410 100%);
}

.proc-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 14% 22%, rgba(74, 168, 224, 0.28), transparent 62%),
    radial-gradient(ellipse 48% 45% at 88% 16%, rgba(46, 174, 78, 0.22), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 95%, rgba(240, 180, 41, 0.12), transparent 55%);
}

.proc-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proc-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0.65rem auto 1.15rem;
  max-width: 16ch;
}

.proc-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--home-muted);
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.proc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.proc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proc-step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
  transition: border-color 0.2s ease;
}

.proc-step:hover {
  border-color: rgba(74, 168, 224, 0.4);
}

.proc-step__num {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--home-blue), var(--home-green) 55%, var(--home-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 0.15rem;
}

.proc-step__body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--home-ink);
  margin: 0 0 0.65rem;
}

.proc-step__body p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.proc-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.proc-step__tags span {
  font-size: 0.78rem;
  color: var(--home-muted);
  border: 1px solid var(--home-line);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  background: rgba(11, 13, 16, 0.4);
}

@media (max-width: 640px) {
  .proc-hero {
    min-height: auto;
    padding-top: 6.5rem;
  }

  .proc-hero h1 {
    max-width: none;
  }

  .proc-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .proc-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
