/* ==================================================================== */
/* About-project pages — the "Read more" articles behind the landing     */
/* page's feature cards, plus the roadmap.                               */
/*                                                                       */
/* Loaded after CSS/ND.css, which supplies the reset, the type scale and */
/* the colour tokens. Long-form reading, same as the legal pages, so the */
/* headings step back down out of ND.css's display scale.                */
/* ==================================================================== */

body {
  color: var(--nd-text-quiet);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- Topbar ---------------- */
.ap-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--nd-border-soft);
  background-color: var(--nd-navbar-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.ap-home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--nd-text);
  font-weight: 600;
}

.ap-home img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.ap-topbar nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.ap-topbar nav a {
  color: var(--nd-text-muted);
  transition: color 0.2s ease;
}

.ap-topbar nav a:hover,
.ap-topbar nav a[aria-current="page"] {
  color: var(--nd-action);
}

/* ---------------- Article ---------------- */
.ap-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* Body copy, not display type — hold the face and rhythm from <body>
   rather than ND.css's landing-page scale. */
.ap-wrap h1,
.ap-wrap h2,
.ap-wrap h3 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
  /* `inherit`, not `normal` — see the same line in legal.css. */
  letter-spacing: inherit;
  color: var(--nd-text);
}

.ap-wrap h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 0 0 10px;
}

.ap-wrap h2 {
  font-size: 22px;
  margin: 42px 0 12px;
}

.ap-wrap h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.ap-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--nd-glow-action-wash);
  border: 1px solid var(--nd-glow-action-border);
  color: var(--nd-action);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ap-lead {
  font-size: 17px;
  color: var(--nd-text-lilac);
  margin: 0 0 32px;
}

.ap-wrap p,
.ap-wrap li {
  font-size: 15px;
}

.ap-wrap ul {
  padding-left: 22px;
}

.ap-wrap li {
  margin-bottom: 8px;
}

.ap-wrap a {
  color: var(--nd-action);
  /* ND.css strips underlines site-wide; inside running prose the underline
     is what marks the link. Chrome and buttons are classed, so they miss
     this rule. */
  text-decoration: underline;
}

/* ---------------- Roadmap list ---------------- */
.ap-roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ap-roadmap li {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  background-color: var(--nd-panel);
  border: 1px solid var(--nd-border-soft);
}

.ap-roadmap h3 {
  margin: 0 0 6px;
}

.ap-roadmap p {
  margin: 0;
  color: var(--nd-text-muted);
}

.ap-status {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--nd-warn);
  color: var(--nd-warn);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  vertical-align: middle;
  text-transform: uppercase;
}

/* ---------------- Footer ---------------- */
.ap-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--nd-border-soft);
  font-size: 14px;
}

.ap-footer a {
  color: var(--nd-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-footer a:hover {
  color: var(--nd-action);
}

@media (max-width: 640px) {
  .ap-topbar {
    padding: 12px 16px;
  }
  .ap-wrap {
    padding: 32px 18px 72px;
  }
}
