/* Pailo lab page. Shares tokens and the topbar/footer with styles.css;
   the header mirrors the robot-arm page (.ra-head). */

.pl {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 3rem;
}

/* ---------- Header ---------- */
.pl-head {
  padding: 1.75rem 0 1.25rem;
}

.pl-back {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.pl-back:hover {
  color: var(--ink);
}

.pl-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.4rem;
}

.pl-role,
.pl-links {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pl-links {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
}

.pl-link {
  color: var(--ink);
}

.pl-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}

/* ---------- Figure ---------- */
.pl-figure {
  margin: 0.5rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--raised);
}

.pl-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Body ---------- */
.pl-section {
  margin: 0 0 1.75rem;
}

.pl-section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.pl-section p,
.pl-steps {
  margin: 0;
  color: var(--ink);
  font-size: 0.975rem;
  line-height: 1.6;
}

.pl-steps {
  padding-left: 1.25rem;
}

.pl-steps li + li {
  margin-top: 0.5rem;
}

.pl-steps li::marker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* ---------- Call to action ---------- */
.pl-cta-wrap {
  margin: 2.5rem 0 0;
}

.pl-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}

.pl-cta:hover {
  opacity: 0.85;
}

.pl-cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 30rem) {
  .pl-cta {
    display: flex;
    justify-content: center;
  }
}
