/* Styles for interior pages (services, about, legal). Loaded only where
   needed via the `head` block, so the homepage does not download it.
   Reuses the design tokens and component classes already in styles.css —
   this file only adds the prose and detail layouts that did not exist. */

.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 40px;
}

.page-head h1 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
  max-width: 20ch;
}

.page-head .lead {
  max-width: 62ch;
}

/* Breadcrumb trail. Also the internal-link path back to the hub, which is
   how link equity reaches the individual service pages. */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  font-size: 0.875rem;
}

.crumbs li::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.4;
}

.crumbs li:last-child::after { content: ""; }

.crumbs a { text-decoration: none; opacity: 0.7; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

.prose {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.prose h2 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
}

.prose h3 { font-size: 1.125rem; margin: 28px 0 8px; }
.prose p  { max-width: 68ch; margin: 0 0 16px; line-height: 1.7; }

/* Scope list — a definition list reads correctly for "capability: what it
   means" pairs, and gives assistive tech the pairing for free. */
.scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 40px;
  margin: 24px 0 0;
}

.scope > div {
  border-top: 2px solid currentColor;
  padding-top: 14px;
  opacity: 0.95;
}

.scope dt { font-weight: 600; margin-bottom: 6px; }
.scope dd { margin: 0; line-height: 1.6; opacity: 0.85; font-size: 0.95rem; }

/* Tool chips */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.tools li {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.875rem;
  opacity: 0.75;
}

.checklist { list-style: none; padding: 0; margin: 20px 0 0; max-width: 68ch; }

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Grid of links to the other service pages. Every service page links to every
   other one, so no page is more than two clicks from any other. */
.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.related a {
  display: block;
  padding: 14px 16px;
  border: 1px solid currentColor;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease;
}

.related a:hover { transform: translateY(-2px); }

/* Editorial note for unpublished drafts. Never renders in production —
   see the `draft` guard in the templates. */
.draft-note {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 16px 20px;
  border: 2px dashed #e0356b;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.draft-note strong { color: #e0356b; }

@media (max-width: 640px) {
  .page-head { padding-top: 96px; }
}
