/* ============================================================================
   plagum — entry-door pages (plagiarism-checker, ai-detector)
   Shared: 4-gradient hero wash, image/text splits, honest-fact tiles, feature
   card grids, numbered steps.
   ========================================================================== */

/* Hero carries a 4th subtle wash on these pages */
.page-hero--detector .page-hero__wash {
  background:
    radial-gradient(46rem 32rem at 8% -8%, rgb(var(--brand-500-rgb) / 0.14), transparent 60%),
    radial-gradient(42rem 30rem at 94% 4%, rgb(var(--brand-300-rgb) / 0.16), transparent 58%),
    radial-gradient(34rem 26rem at 82% 98%, rgb(var(--brand-400-rgb) / 0.1), transparent 60%),
    radial-gradient(28rem 22rem at 12% 92%, rgb(var(--brand-300-rgb) / 0.1), transparent 58%);
}
.detector-intake {
  margin-inline: auto;
  margin-top: 2.5rem;
  max-width: 42rem;
}

/* ── Image / text split ───────────────────────────────────────────────────── */
.split {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .split--a {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
  .split--b {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}
/* Sizes come from the site-wide illustration scale in tokens.css and cap the
   longest side of the object — see the note there. */
.split__fig {
  margin-inline: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  --fig: var(--fig-md);
}
.split__fig img {
  width: auto;
  height: auto;
  max-width: min(100%, var(--fig));
  max-height: var(--fig);
}
.split__fig--lg {
  --fig: var(--fig-lg);
}
.split__fig--sm {
  --fig: var(--fig-sm);
}
.split__cap {
  margin-top: var(--sp-3);
  text-align: center;
  color: var(--neutral-400);
}
/* Figure after copy on mobile, before it on desktop (order-last → lg:order-first). */
.split__fig--first {
  order: 2;
}
@media (min-width: 1024px) {
  .split__fig--first {
    order: -1;
  }
}

/* ── Honest-fact tiles (dl) ───────────────────────────────────────────────── */
.facts {
  margin-top: 3.5rem;
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.facts__item {
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.facts__figure {
  color: var(--neutral-950);
}
.facts__label {
  margin-top: var(--sp-3);
  color: var(--neutral-500);
}

/* ── Feature card grid (chip + title + body) ──────────────────────────────── */
.feature-cards {
  margin-top: 3.5rem;
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card__title {
  margin-top: var(--sp-10);
  color: var(--neutral-950);
}
.feature-card__body {
  margin-top: var(--sp-3);
  color: var(--neutral-500);
  line-height: 1.625;
}

/* (Numbered steps moved to components.css — shared with the homepage.) */
