.ao-stage5-page {
  --ao-ink: #111827;
  --ao-muted: #5b6678;
  --ao-line: #dfe5ee;
  --ao-soft: #f5f7fa;
  --ao-blue: #2458d3;
  --ao-green: #0f766e;
  --ao-amber: #b45309;
  color: var(--ao-ink);
}

.ao-stage5-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ao-stage5-hero,
.ao-stage5-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 78px 24px;
}

.ao-stage5-hero {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--ao-line);
}

.ao-stage5-section.alt {
  background: var(--ao-soft);
}

.ao-stage5-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.ao-stage5-kicker {
  margin: 0 0 12px;
  color: var(--ao-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.ao-stage5-page h1 {
  max-width: 850px;
  margin: 0 0 18px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
}

.ao-stage5-page h2 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 820;
  letter-spacing: 0;
}

.ao-stage5-page h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.ao-stage5-lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: #334155;
  font-size: 19px;
  line-height: 1.62;
}

.ao-stage5-copy {
  max-width: 760px;
  color: var(--ao-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ao-stage5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ao-stage5-actions .wp-block-button__link {
  border-radius: 6px;
  font-weight: 800;
}

.ao-stage5-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.ao-stage5-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ao-stage5-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--ao-line);
  border-radius: 8px;
  background: #fff;
}

.ao-stage5-card p {
  margin: 0 0 14px;
  color: var(--ao-muted);
  line-height: 1.6;
}

.ao-stage5-card ul {
  margin: 0 0 18px 18px;
  padding: 0;
  color: #334155;
}

.ao-stage5-card li {
  margin: 5px 0;
}

.ao-stage5-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ao-stage5-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
}

.ao-stage5-pill.green {
  background: #ecfdf5;
  color: #065f46;
}

.ao-stage5-pill.amber {
  background: #fff7ed;
  color: var(--ao-amber);
}

.ao-stage5-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid var(--ao-green);
  background: #f0fdfa;
  color: #164e63;
  font-size: 14px;
  line-height: 1.55;
}

.ao-stage5-table {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 0;
  border: 1px solid var(--ao-line);
  border-radius: 8px;
  background: #fff;
}

.ao-stage5-table table {
  min-width: 1080px;
  margin: 0;
  border-collapse: collapse;
}

.ao-stage5-table th,
.ao-stage5-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--ao-line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.45;
}

.ao-stage5-table th {
  background: #f8fafc;
  color: #1f2937;
  font-weight: 820;
}

.ao-stage5-table tr:last-child td {
  border-bottom: 0;
}

.ao-stage5-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1024px) {
  .ao-stage5-card-grid,
  .ao-stage5-card-grid.two,
  .ao-stage5-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ao-stage5-hero,
  .ao-stage5-section {
    padding: 54px 18px;
  }

  .ao-stage5-page h1 {
    font-size: 38px;
  }

  .ao-stage5-page h2 {
    font-size: 30px;
  }

  .ao-stage5-lead {
    font-size: 17px;
  }

  .ao-stage5-card {
    padding: 22px;
  }
}
