.ap-pilot-page .ap-hero-note {
  max-width: 62ch;
  margin: 18px 0 0;
  color: rgba(244, 248, 252, 0.72);
  font-size: 0.9rem;
}

.ap-hero-flow {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  margin: 0 auto;
}

.ap-hero-flow::before {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 25px;
  width: 2px;
  background: linear-gradient(180deg, #bfe8ff, var(--accent));
  content: "";
}

.ap-hero-flow span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 16px 18px 16px 72px;
  border: 1px solid rgba(191, 232, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.36);
  color: var(--paper);
  font-weight: 820;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.ap-hero-flow span::before {
  position: absolute;
  left: 17px;
  display: grid;
  width: 18px;
  height: 18px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: #bfe8ff;
  box-shadow: 0 0 0 1px rgba(191, 232, 255, 0.45);
  content: "";
}

.ap-boundary-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 46px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.ap-boundary-note strong {
  color: var(--accent-dark);
}

.ap-boundary-note p {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
}

.ap-demo-section {
  background: #eef6ff;
}

.ap-demo-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 54px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(16, 35, 62, 0.16);
}

.ap-demo-banner h2,
.ap-demo-banner p {
  margin-bottom: 0;
}

.ap-demo-banner > p {
  color: var(--ink-soft);
}

.ap-process-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.ap-process-map li {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(16, 35, 62, 0.06);
}

.ap-process-map li > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #bfe8ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.ap-process-map strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.ap-process-map p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ap-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ap-demo-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ap-demo-grid h3 {
  margin-bottom: 18px;
}

.ap-demo-grid ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.ap-demo-grid li::marker {
  color: var(--accent-dark);
}

.ap-matrix-section {
  background: var(--surface);
}

.ap-table-wrap {
  margin-top: 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ap-table-wrap:focus-visible {
  outline: 3px solid rgba(20, 112, 159, 0.4);
  outline-offset: 4px;
}

.ap-test-matrix {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ap-test-matrix th,
.ap-test-matrix td {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ap-test-matrix th:last-child,
.ap-test-matrix td:last-child {
  border-right: 0;
}

.ap-test-matrix tbody tr:last-child th,
.ap-test-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.ap-test-matrix thead th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ap-test-matrix tbody th {
  color: var(--accent-dark);
  font-weight: 900;
  white-space: nowrap;
}

.ap-test-matrix tbody tr:nth-child(even) {
  background: rgba(238, 246, 255, 0.48);
}

.ap-table-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ap-evidence-section {
  background: var(--ink);
  color: var(--paper);
}

.ap-evidence-section h2 {
  color: var(--paper);
}

.ap-evidence-section .section-heading .guide-lede {
  color: rgba(244, 248, 252, 0.7);
}

.ap-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(244, 248, 252, 0.14);
  border-radius: var(--radius);
  background: rgba(244, 248, 252, 0.14);
}

.ap-evidence-grid article {
  min-height: 220px;
  padding: 26px;
  background: rgba(7, 12, 18, 0.44);
}

.ap-evidence-grid span {
  display: block;
  margin-bottom: 34px;
  color: #bfe8ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.ap-evidence-grid h3 {
  color: var(--paper);
  font-size: 1.08rem;
}

.ap-evidence-grid p {
  margin: 0;
  color: rgba(244, 248, 252, 0.7);
  font-size: 0.92rem;
}

.ap-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ap-downloads a {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(191, 232, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(114, 188, 233, 0.08);
  transition: border-color 160ms ease, transform 160ms ease;
}

.ap-downloads a:hover,
.ap-downloads a:focus-visible {
  border-color: #bfe8ff;
  transform: translateY(-2px);
}

.ap-downloads span {
  color: #bfe8ff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ap-downloads strong {
  color: var(--paper);
  font-size: 1.08rem;
}

.ap-downloads small {
  color: rgba(244, 248, 252, 0.68);
}

.ap-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1080px) {
  .ap-process-map,
  .ap-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-demo-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .ap-boundary-note,
  .ap-process-map,
  .ap-demo-grid,
  .ap-evidence-grid,
  .ap-downloads {
    grid-template-columns: 1fr;
  }

  .ap-process-map li,
  .ap-evidence-grid article {
    min-height: 0;
  }

  .ap-final-actions {
    justify-content: flex-start;
  }
}
