:root {
  --pa-navy: #123e92;
  --pa-gold: #857932;
  --pa-blue-mid: #4a90e2;
  --pa-dark: #090909;
  --pa-white: #ffffff;
  --pa-off-white: #f4f7fc;
  --pa-light-bg: #eef2fa;
  --pa-border: #dce4f0;
  --pa-muted: #6b7a99;
  --pa-green: #28a745;
  --font-h: "Comfortaa", sans-serif;
  --font-b: "Poppins", sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --sh-card: 0 2px 16px rgba(18, 62, 146, 0.08);
  --sh-hover: 0 8px 32px rgba(18, 63, 146, 0.079);
  --sec: 80px 24px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-b);
  font-size: 16px;
  color: var(--pa-dark);
  background: var(--pa-white);
  line-height: 1.7;
}
h1 {
  font-family: var(--font-h);
  color: var(--pa-navy);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-family: var(--font-b);
  color: var(--pa-gold);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}
h3 {
  font-family: var(--font-b);
  color: var(--pa-dark);
  font-size: 1.1rem;
  font-weight: 600;
}
p {
  color: #3a4461;
  line-height: 1.75;
}
a {
  color: var(--pa-navy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--pa-white);
  border-bottom: 1px solid var(--pa-border);
  box-shadow: 0 1px 8px rgba(18, 62, 146, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 38px;
  width: auto;
}
.nav-logo-label {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pa-navy);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pa-dark);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--pa-navy);
  text-decoration: none;
}
.nav-cta {
  background: var(--pa-navy) !important;
  color: var(--pa-white) !important;
  padding: 8px 20px;
  border-radius: var(--r-sm);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: #0d2e6e !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pa-dark);
  border-radius: 2px;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(
    135deg,
    #0b2561 0%,
    var(--pa-navy) 45%,
    #1a56c4 80%,
    #2266d8 100%
  );
  padding: 80px 24px 90px;
  text-align: center;
  color: var(--pa-white);
  overflow: hidden;
}
.hero-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.26;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c8d9ff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--pa-white);
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero .sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
}
.search-box {
  display: flex;
  max-width: 560px;
  margin: 0 auto 36px;
  background: var(--pa-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.22);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 16px 20px;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--pa-dark);
}

.search-box button {
  background: var(--pa-gold);
  border: 0;
  padding: 0 28px;
  cursor: pointer;
  color: var(--pa-white);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-box button:hover {
  background: #6a5f28;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pa-green);
  color: var(--pa-white);
  padding: 14px 36px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
  margin-top: 4px;
}
.hero-btn:hover {
  background: #1e8035;
  transform: translateY(-2px);
  text-decoration: none;
}

/* NODE ANIMATION */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}
.nd {
  animation: pulse 3s ease-in-out infinite;
}
.nd:nth-child(2) {
  animation-delay: 0.5s;
}
.nd:nth-child(3) {
  animation-delay: 1s;
}
.nd:nth-child(4) {
  animation-delay: 1.5s;
}
.nd:nth-child(5) {
  animation-delay: 2s;
}
.nd:nth-child(6) {
  animation-delay: 0.3s;
}
.nd:nth-child(7) {
  animation-delay: 0.8s;
}
.nl {
  stroke-dasharray: 12 6;
  animation: dash 3s linear infinite;
}
.nl:nth-child(2) {
  animation-duration: 4s;
  animation-delay: 0.5s;
}
.nl:nth-child(3) {
  animation-duration: 3.5s;
  animation-delay: 1s;
}
.nl:nth-child(4) {
  animation-duration: 2.8s;
  animation-delay: 0.2s;
}
.nl:nth-child(5) {
  animation-duration: 3.8s;
  animation-delay: 0.7s;
}
.nl:nth-child(6) {
  animation-duration: 3.2s;
  animation-delay: 1.3s;
}

/* INTRO */
.intro {
  background: var(--pa-off-white);
  padding: var(--sec);
  text-align: center;
}
.intro h2 {
  margin-bottom: 18px;
}
.intro p {
  max-width: 680px;
  margin: 0 auto 12px;
  font-size: 1.02rem;
}
.a-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--pa-navy);
  font-weight: 600;
  border-bottom: 2px solid var(--pa-navy);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.a-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* SECTION HEADER */
.sec-hdr {
  text-align: center;
  margin-bottom: 48px;
}
.sec-label {
  display: inline-block;
  color: var(--pa-navy);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.sec-label-2 {
  display: inline-block;
  color: var(--pa-off-white);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* TOPIC CARDS */
.topics {
  padding: var(--sec);
  background: var(--pa-white);
}
.tgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tcard {
  background: var(--pa-white);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.tcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--pa-navy);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s;
}
.tcard:hover {
  box-shadow: var(--sh-hover);
  border-color: #b8c8ea;
}
.tcard:hover::before {
  transform: scaleY(1);
}
.ticn {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tcard h3 {
  font-size: 1.05rem;
  color: var(--pa-navy);
}
.tcard p {
  font-size: 0.875rem;
  color: var(--pa-muted);
  flex: 1;
  line-height: 1.65;
}
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pa-navy);
  margin-top: 4px;
  transition: gap 0.2s;
}
.tlink:hover {
  gap: 10px;
  text-decoration: none;
}
.tlink svg,
.path-arrow svg {
  transition: transform 0.2s;
}
.tcard:hover .tlink svg,
.path-card:hover .path-arrow svg {
  transform: translateX(3px);
}
.i-start {
  background: #e8eeff;
}
.i-crm {
  background: #fff4e8;
}
.i-cms {
  background: #e8fff4;
}
.i-proj {
  background: #f4e8ff;
}
.i-camp {
  background: #ffe8f4;
}
.i-comm {
  background: #e8f6ff;
}

/* FORMATS */
.formats {
  background: var(--pa-light-bg);
  padding: var(--sec);
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.fcard {
  background: var(--pa-white);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sh-card);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  border: 1px solid transparent;
}
.fcard:hover {
  box-shadow: var(--sh-hover);
  transform: translateY(-3px);
  border-color: var(--pa-border);
}
.ficn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pa-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.fcard h3 {
  margin-bottom: 10px;
  color: var(--pa-navy);
  font-size: 1rem;
}
.fcard p {
  font-size: 0.875rem;
  color: var(--pa-muted);
}

/* WORKFLOW */
.workflow {
  padding: var(--sec);
  background: var(--pa-white);
}
.wflow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.wflow-text h2 {
  margin-bottom: 20px;
}
.wflow-text p {
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.wchain {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 28px 0 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wstep {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--pa-light-bg);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 0.79rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
  color: var(--pa-navy);
  white-space: nowrap;
}
.warr {
  color: var(--pa-gold);
  font-size: 1.1rem;
  padding: 0 2px;
  font-weight: 600;
  flex-shrink: 0;
}
.wvis {
  border-radius: var(--r-lg);
  border: 1px solid var(--pa-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.wsvg {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* PATHS */
.paths {
  background: var(--pa-off-white);
  padding: var(--sec);
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.path-card {
  background: var(--pa-white);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.path-card:hover {
  border-color: var(--pa-navy);
  box-shadow: var(--sh-hover);
  transform: translateY(-3px);
  text-decoration: none;
}
.path-num {
  font-family: var(--font-h);
  font-size: 2rem;
  color: var(--pa-border);
  font-weight: 700;
  line-height: 1;
}
.path-card h3 {
  font-size: 0.97rem;
  color: var(--pa-navy);
  line-height: 1.4;
}
.path-card p {
  font-size: 0.85rem;
  color: var(--pa-muted);
}
.path-arrow {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--pa-navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* CTA */
.cta-sec {
  background: linear-gradient(
    135deg,
    #0b2561 0%,
    var(--pa-navy) 50%,
    #1a56c4 100%
  );
  padding: 80px 24px;
  text-align: center;
}
.cta-sec h2 {
  color: var(--pa-white);
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}
.cta-sec p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pa-green);
  color: var(--pa-white);
  padding: 14px 36px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-p:hover {
  background: #1e8035;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--pa-white);
  padding: 14px 36px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-s:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  text-decoration: none;
}

/* FOOTER */
.site-footer {
  background: #0b2561;
  color: rgba(255, 255, 255, 0.68);
  padding: 56px 24px 28px;
}
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand img {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.foot-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
}
.foot-col h4 {
  color: var(--pa-white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration: none;
}
.foot-col ul li a:hover {
  color: var(--pa-white);
}
.foot-btm {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .wflow-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--pa-white);
    padding: 16px 24px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .nav-toggle {
    display: flex;
  }
  .search-box {
    flex-direction: column !important;
  }
  .search-box > div {
    width: 100%;
  }
  .search-box input {
    width: 100%;
  }
  .search-box button {
    width: 100%;
    padding: 14px 20px;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ================================================================
   PRIMEAGILE ACADEMY CMS ARTICLE BANNER (#primeagile__13709)
================================================================ */

/* Inner Banner Container */
#primeagile__13709 {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: var(--pa-white, #ffffff);
}

/* Breadcrumb Override (resets Bootstrap gray strip & right-align) */
#primeagile__13709 nav.breadcrumb,
nav#primeagile__13710.breadcrumb {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  list-style: none;
  font-size: 0.86rem;
  gap: 0;
}

#primeagile__13709 .breadcrumb-item,
#primeagile__13709 .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  text-transform: capitalize;
}

#primeagile__13709 .breadcrumb-item a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

#primeagile__13709 .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45) !important;
  content: "/" !important;
  padding: 0 8px;
}

#primeagile__13709 .breadcrumb-item.active {
  color: #ffffff !important;
  font-weight: 500;
}

/* Article Title (H1) */
#primeagile__13711,
#primeagile__13709 h1 {
  font-family: var(--font-h, "Comfortaa", sans-serif);
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

/* Lead Subtitle / Excerpt */
#primeagile__13712.doc-lead,
#primeagile__13712.doc-lead p {
  font-family: var(--font-b, "Poppins", sans-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 0 0 18px 0;
}

/* Meta Data Strip (Read Time, Walkthrough, Date) */
#primeagile__13714.doc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
}

#primeagile__13714.doc-meta > div > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  min-height: auto !important;
}

#primeagile__13714 .doc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
}

#primeagile__13714 .doc-meta-item svg {
  stroke: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* ================================================================
         DOCUMENTATION ARTICLE & GUIDE STYLES
      ================================================================ */
.doc-header {
  background: linear-gradient(
    135deg,
    #0b2561 0%,
    var(--pa-navy) 60%,
    #1a56c4 100%
  );
  padding: 50px 24px 60px;
  color: var(--pa-white);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}
.doc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.doc-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.doc-breadcrumb a:hover {
  color: var(--pa-white);
  text-decoration: underline;
}
.doc-breadcrumb span.sep {
  color: rgba(255, 255, 255, 0.4);
}
.doc-breadcrumb span.current {
  color: #ffffff;
  font-weight: 500;
}
.doc-header h1 {
  color: var(--pa-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
  line-height: 1.25;
}
.doc-header p.doc-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.doc-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  flex-wrap: wrap;
}
.doc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Layout: Main Article + Sticky Sidebar */
.doc-wrapper {
  background: #f8fafc;
  padding: 50px 24px 80px;
}
.doc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.doc-main {
  background: var(--pa-white);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-md);
  padding: 44px 40px;
  box-shadow: var(--sh-card);
}

/* Typography in doc article */
.doc-intro {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #2b354f;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--pa-border);
}
.doc-intro p + p {
  margin-top: 14px;
}

/* Step blocks */
.step-block {
  margin-bottom: 48px;
  scroll-margin-top: 90px;
}
.step-block:last-child {
  margin-bottom: 0;
}
.step-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--pa-light-bg);
  padding-bottom: 10px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pa-navy);
  color: var(--pa-white);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-h);
  flex-shrink: 0;
}
.step-header h2 {
  font-size: 1.45rem;
  color: var(--pa-navy);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.step-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: #333d52;
  margin-bottom: 14px;
}

/* Feature lists in Step 2 */
.feature-bullets {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--pa-light-bg);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--pa-border);
  font-size: 0.95rem;
}
.feature-bullets li strong {
  color: var(--pa-navy);
  min-width: 120px;
  flex-shrink: 0;
}

/* Screenshots / Figures */
.doc-figure {
  margin: 24px 0;
  border: 1px solid var(--pa-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fdfdfd;
  box-shadow: 0 4px 18px rgba(18, 62, 146, 0.06);
}
.doc-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.doc-figure figcaption {
  padding: 10px 16px;
  background: #f4f7fc;
  border-top: 1px solid var(--pa-border);
  font-size: 0.82rem;
  color: var(--pa-muted);
  text-align: center;
  font-style: italic;
}

/* Callouts / Tips */
.doc-callout {
  display: flex;
  gap: 14px;
  background: #fffbef;
  border: 1px solid #fae69e;
  border-left: 4px solid var(--pa-gold);
  padding: 18px 20px;
  border-radius: var(--r-sm);
  margin: 24px 0;
  font-size: 0.95rem;
  color: #5c4f14;
}
.doc-callout svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Learning Path Steps list in Step 9 */
.path-step-list {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.path-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pa-white);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  font-weight: 500;
  color: var(--pa-dark);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.path-step-item:hover {
  border-color: var(--pa-navy);
  transform: translateX(4px);
  box-shadow: var(--sh-card);
}
.path-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pa-light-bg);
  color: var(--pa-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

/* Sticky Sidebar Table of Contents */
.doc-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.toc-card {
  background: var(--pa-white);
  border: 1px solid var(--pa-border);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--sh-card);
}
.toc-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pa-navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-list li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--pa-muted);
  text-decoration: none;
  transition:
    color 0.2s,
    transform 0.2s;
  line-height: 1.4;
}
.toc-list li a:hover {
  color: var(--pa-navy);
  text-decoration: none;
  transform: translateX(3px);
}
.toc-list li a.active {
  color: var(--pa-navy);
  font-weight: 600;
}

/* Responsive Doc Layout */
@media (max-width: 960px) {
  .doc-container {
    grid-template-columns: 1fr;
  }
  .doc-sidebar {
    position: static;
  }
  .doc-main {
    padding: 30px 24px;
  }
}
