/* Article: "Inspire humans, inform agents" (resources/inspire-humans-inform-agents/)
   Only what the shared article styles don't cover:
   1. .article-specimen: the hypothetical homepage copy, shown as a small page frame so it
      reads as sample copy rather than a quotation.
   2. .article-pass: the two checklist panels (agent pass, human pass) with numbered checks
      that continue from one panel to the next. */

/* The pull quote closes a section here, so give the next heading its full space back. */
.prose > .pull-quote + h2 { margin-top: 2.2em; }

/* 1. Copy specimens ------------------------------------------------------------------------ */
.prose > .article-specimen { margin-top: 1.35em; }
.prose > .article-specimen + * { margin-top: 1.35em; }

.article-specimen {
  position: relative;
  padding: 46px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(to bottom, var(--bg-2) 0 33px, var(--surface) 33px);
  box-shadow: var(--highlight), var(--shadow-sm);
  color: var(--ink);
  font-size: 1em;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.008em;
  text-wrap: pretty;
}
.article-specimen p { margin: 0; }

/* Window dots */
.article-specimen::before {
  content: "";
  position: absolute; left: 16px; top: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-strong);
  box-shadow: 12px 0 0 var(--line-strong), 24px 0 0 var(--line-strong);
}
/* Frame bar hairline */
.article-specimen::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 33px;
  height: 1px;
  background: var(--line-soft);
}

@media (min-width: 480px) {
  .article-specimen { padding: 50px 28px 24px; background: linear-gradient(to bottom, var(--bg-2) 0 35px, var(--surface) 35px); }
  .article-specimen::before { left: 18px; top: 14px; }
  .article-specimen::after { top: 35px; }
}

/* 2. Checklist panels ----------------------------------------------------------------------- */
.prose > .article-pass { margin-top: 1.5em; }
.prose > .article-pass + .article-pass { margin-top: 16px; }
.prose > .article-pass + * { margin-top: 2.2em; }

.article-pass {
  /* Phones: the panel runs edge to edge so the checks keep a comfortable measure. */
  margin-inline: calc(-1 * var(--gutter));
  padding: 22px var(--gutter) 8px;
  border-block: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
}
.article-pass-head {
  display: flex; align-items: flex-start; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.article-pass-head .icon-tile { margin-top: 2px; }
.article-pass h3 {
  color: var(--ink);
  font-size: clamp(19px, 1.6vw, 21px);
  line-height: 1.3;
  letter-spacing: -.012em;
}
.article-pass-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .9em;
  line-height: 1.55;
}

.article-checks { margin: 0; padding: 0; list-style: none; counter-reset: check; }
.article-checks-cont { counter-reset: check 5; }
.article-checks > li {
  --dot: 26px;
  position: relative;
  counter-increment: check;
  padding: 16px 0 16px calc(var(--dot) + 14px);
  line-height: 1.65;
}
.article-checks > li + li { margin-top: 0; border-top: 1px solid var(--line-soft); }
.article-checks strong { color: var(--ink); font-weight: 600; }

/* Numbered marker, centred on the first line of text */
.article-checks > li::before {
  content: counter(check);
  position: absolute; left: 0; top: calc(16px + .825em - var(--dot) / 2 + 1px);
  width: var(--dot); height: var(--dot);
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 480px) {
  .article-pass { margin-inline: 0; padding: 26px 28px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); }
  .article-pass-head { gap: 16px; padding-bottom: 20px; }
  .article-checks > li { --dot: 30px; padding: 18px 0 18px calc(var(--dot) + 18px); }
  .article-checks > li::before { top: calc(18px + .825em - var(--dot) / 2 + 1px); font-size: 13.5px; }
}
@media (min-width: 768px) {
  .article-pass { padding: 30px 32px 12px; }
}
