@charset "UTF-8";

.ndp-section {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.ndp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(42px, 5.7vw, 84px);
  align-items: start;
}

.ndp-copy,
.ndp-capabilities {
  min-width: 0;
}

.ndp-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--cyan);
}

.ndp-eyebrow span:last-child {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.ndp-section .ndp-title {
  font-size: clamp(30px, 3.2vw, 45px);
  line-height: 1.45;
}

.ndp-intro {
  max-width: 490px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.ndp-intro strong {
  color: var(--text);
  font-weight: 500;
}

.ndp-path {
  margin: 34px 0 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.ndp-path figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 11px;
}

.ndp-path figcaption span:last-child {
  color: var(--subtle);
}

.ndp-path ol {
  display: grid;
  grid-template-columns: 1fr 1.22fr 1fr;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ndp-path li {
  position: relative;
  min-width: 0;
}

.ndp-path li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 27px;
  right: -15px;
  color: var(--subtle);
  font-size: 15px;
}

.ndp-step {
  display: block;
  margin-bottom: 7px;
  font-family: "Segoe UI", sans-serif;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.ndp-path strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ndp-path small {
  display: block;
  margin-top: 6px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.7;
}

.ndp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin-top: 22px;
}

.ndp-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-align: left;
}

.ndp-action span {
  color: var(--cyan);
  font-size: 21px;
}

.ndp-action:hover {
  color: var(--cyan);
}

.ndp-capabilities {
  border-top: 1px solid var(--line);
}

.ndp-capability {
  border-bottom: 1px solid var(--line);
}

.ndp-capability summary {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.ndp-capability summary::-webkit-details-marker {
  display: none;
}

.ndp-capability summary:hover {
  color: var(--cyan);
}

.ndp-capability summary:focus-visible,
.ndp-action:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
  border-radius: 2px;
}

.ndp-number {
  align-self: start;
  padding-top: 4px;
  font-family: "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--subtle);
}

.ndp-expand {
  position: relative;
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.ndp-expand::before,
.ndp-expand::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.ndp-expand::before {
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1px;
}

.ndp-expand::after {
  top: 3px;
  left: 8px;
  width: 1px;
  height: 12px;
}

.ndp-capability[open] .ndp-expand::after {
  display: none;
}

.ndp-capability[open] .ndp-number {
  color: var(--cyan);
}

.ndp-detail {
  padding: 0 34px 23px 42px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
}

.ndp-detail p + p {
  margin-top: 12px;
}

.ndp-capability-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--violet);
  font-size: 11px;
  line-height: 1.6;
}

.ndp-scope {
  max-width: 850px;
  margin-top: 31px;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.85;
}

@media (max-width: 1000px) {
  .ndp-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ndp-copy {
    max-width: 660px;
  }

  .ndp-intro {
    max-width: 600px;
  }

  .ndp-path {
    max-width: 560px;
  }
}

@media (max-width: 540px) {
  .ndp-section .ndp-title {
    font-size: clamp(26px, 6.2vw, 32px);
  }

  .ndp-intro {
    font-size: 13px;
  }

  .ndp-path ol {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .ndp-path li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 10px;
  }

  .ndp-path li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -24px;
    left: 35px;
  }

  .ndp-step {
    grid-row: 1 / 3;
    padding-top: 2px;
    margin: 0;
  }

  .ndp-path small {
    margin-top: 2px;
  }

  .ndp-actions {
    gap: 1px 24px;
  }

  .ndp-capability summary {
    grid-template-columns: 23px minmax(0, 1fr) 18px;
    gap: 9px;
    min-height: 72px;
    font-size: 14px;
  }

  .ndp-detail {
    padding: 0 4px 22px 34px;
    font-size: 12px;
  }

  .ndp-scope {
    margin-top: 24px;
  }
}
