.dev-ai-main {
  color: #26364a;
  overflow-x: hidden;
}

.dev-ai-main .container {
  max-width: 1120px;
}

.dev-ai-main section[id],
.dev-ai-main [id],
.dev-ai-page [id] {
  scroll-margin-top: calc(var(--dev-ai-nav-offset, 100px) + 56px);
}

.dev-ai-page {
  display: flex;
  flex-direction: column;
}

.dev-ai-hero {
  order: -1;
  background: #0747a6;
  padding: 128px 0 56px;
}

.dev-ai-hero .display-4 {
  font-size: 44px;
  letter-spacing: normal;
  line-height: 1.2;
  max-width: 920px;
}

.dev-ai-hero .lead {
  font-size: 1.12rem;
  line-height: 1.65;
}

.dev-ai-eyebrow,
.dev-ai-card-kicker {
  color: #e94b35;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dev-ai-hero .dev-ai-eyebrow {
  color: #9fd5f7;
}

.dev-ai-body .stickyadd.custom-nav {
  border-bottom: none;
  box-shadow: none;
}

.dev-ai-subnav {
  background: #fff;
  border-bottom: 1px solid #dce4ec;
  position: sticky;
  top: calc(var(--dev-ai-nav-offset, 100px) - 1px);
  z-index: 100;
}

.dev-ai-subnav .nav {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.dev-ai-subnav .nav-link {
  color: #425466;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.78rem 1.1rem;
  white-space: nowrap;
}

.dev-ai-subnav .nav-link.active {
  box-shadow: inset 0 -3px 0 #e94b35;
  color: #0062a9;
}

.dev-ai-section {
  padding: 52px 0;
}

.dev-ai-section.alt {
  background: #f5f8fb;
}

.dev-ai-section h2 {
  color: #142e45;
  letter-spacing: -0.015em;
}

.dev-ai-lead {
  color: #5a6c7d;
  font-size: 1.05rem;
  max-width: 760px;
}

.dev-ai-card {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: 8px;
  height: 100%;
  padding: 26px;
}

.dev-ai-card h3 {
  color: #0b4f80;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 8px;
}

.dev-ai-product-card {
  border-top: 4px solid #0062a9;
}

.dev-ai-boundary {
  background: #fff7f4;
  border-left: 4px solid #e94b35;
  border-radius: 4px;
  color: #4c3c38;
  padding: 14px 18px;
}

.dev-ai-hero .dev-ai-boundary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dev-ai-prompt-grid,
.dev-ai-tool-grid,
.dev-ai-skill-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dev-ai-prompt {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-left: 4px solid #0062a9;
  border-radius: 5px;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.91rem;
  font-style: normal;
  line-height: 1.55;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 15px 17px;
}

.dev-ai-flow-grid {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  overflow-x: auto;
  padding: 2px 2px 12px;
}

.dev-ai-flow-node {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: 7px;
  display: flex;
  flex: 1 0 160px;
  flex-direction: column;
  min-height: 132px;
  padding: 17px;
  position: relative;
}

.dev-ai-flow-node:not(:last-child)::after {
  color: #83a0b7;
  content: "→";
  font-size: 1.35rem;
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
}

.dev-ai-flow-number,
.dev-ai-step > span {
  align-items: center;
  background: #e6f2fa;
  border-radius: 50%;
  color: #0062a9;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  height: 25px;
  justify-content: center;
  margin-bottom: 12px;
  margin-right: 8px;
  width: 25px;
}

.dev-ai-flow-node strong,
.dev-ai-step strong {
  color: #163d5c;
}

.dev-ai-flow-node small,
.dev-ai-step small {
  color: #627487;
  display: block;
  line-height: 1.45;
  margin-top: 5px;
}

.dev-ai-pre {
  background: #14283b;
  border-radius: 6px;
  color: #f2f7fb;
  font-size: 0.86rem;
  margin: 14px 0 20px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 17px;
  white-space: pre;
}

.dev-ai-pre code {
  color: inherit;
  white-space: pre;
}

.dev-ai-tool-name,
.dev-ai-skill-id {
  color: #0b4f80;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

.dev-ai-connect-grid,
.dev-ai-install-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  margin-top: 24px;
}

.dev-ai-connect-grid > *,
.dev-ai-install-grid > * {
  min-width: 0;
}

.dev-ai-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.dev-ai-chip-list a,
.dev-ai-chip-list span {
  background: #fff;
  border: 1px solid #cbd9e4;
  border-radius: 999px;
  color: #0b4f80;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 13px;
}

.dev-ai-chip-list a:hover {
  background: #eaf4fa;
  text-decoration: none;
}

.dev-ai-compare-card {
  border-color: #7f9eb3;
  border-top: 4px solid #0062a9;
}

.dev-ai-bullets {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.dev-ai-bullets li {
  padding-left: 22px;
  position: relative;
}

.dev-ai-bullets li::before {
  background: #425466;
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 0.5em;
  width: 7px;
}

.dev-ai-client-block {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: 6px;
  margin-bottom: 10px;
  max-width: 100%;
  min-width: 0;
  padding: 0 18px;
}

.dev-ai-client-block summary {
  color: #163d5c;
  cursor: pointer;
  font-weight: 800;
  padding: 15px 0;
}

.dev-ai-client-block[open] {
  padding-bottom: 18px;
}

.dev-ai-check-card {
  background: #fff;
  border: 1px solid #cbd9e4;
  border-radius: 8px;
  padding: 24px;
}

.dev-ai-check-card h3 {
  color: #163d5c;
  font-size: 1.25rem;
  margin: 8px 0 16px;
}

.dev-ai-check-card .dev-ai-prompt {
  margin-bottom: 18px;
}

.dev-ai-tool-grid,
.dev-ai-skill-grid {
  margin-top: 26px;
}

.dev-ai-skill-grid .dev-ai-card {
  border-top: 3px solid #0062a9;
}

.dev-ai-skill-grid h3 {
  margin-top: 4px;
}

.dev-ai-step-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0 22px;
}

.dev-ai-step {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: 7px;
  padding: 18px;
}

.dev-ai-section li {
  margin-bottom: 8px;
}

.dev-ai-section code {
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .dev-ai-connect-grid,
  .dev-ai-install-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dev-ai-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .dev-ai-hero {
    padding: 120px 0 40px;
  }

  .dev-ai-hero .display-4 {
    font-size: 32px;
    line-height: 2.5rem;
  }

  .dev-ai-hero .btn {
    margin-right: 0 !important;
    width: 100%;
  }

  .dev-ai-section {
    padding: 42px 0;
  }

  .dev-ai-prompt-grid,
  .dev-ai-tool-grid,
  .dev-ai-skill-grid,
  .dev-ai-step-grid {
    grid-template-columns: 1fr;
  }

  .dev-ai-card,
  .dev-ai-check-card {
    padding: 21px;
  }
}
