/* =====================================================================
   "Need to options" diagram (helping-customers-find-the-right-option)
   Rebuilt 2026-08-08 to match diagnosis-diagram.css's card language
   (dark bordered cards, icon badges with number overlay, arrow-right
   connectors) instead of the source PNG's literal composition (a big
   illustrated circle, inverted cream cards) — user felt the first pass
   didn't read as the same family as the other diagram. Same dark
   palette/type/icon system either way, just a cleaner, more
   componentised layout on top of it.
   ===================================================================== */

.ntdiagram {
  --nt-bg: #1a1810;
  --nt-card: #221f16;
  --nt-text: #f4efe3;
  --nt-muted: #948d7c;
  --nt-border: #3a3527;
  --nt-radius: 16px;

  position: relative;
  background: var(--nt-bg);
  color: var(--nt-text);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  padding: var(--space-6);
  margin: var(--space-4) 0;
}

@media (min-width: 48rem) {
  .ntdiagram { padding: var(--space-8); }
}

@media (min-width: 64rem) {
  .ntdiagram { padding: var(--space-12); }
}

.ntdiagram .diagram-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

/* Intro ------------------------------------------------------------- */

.nt-section-head {
  margin-bottom: var(--space-6);
}

.nt-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nt-muted);
  margin: 0 0 var(--space-2);
}

.ntdiagram h2 {
  font-family: var(--font-display);
  color: var(--nt-text);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  margin: 0 0 var(--space-2);
}

@media (min-width: 48rem) {
  .ntdiagram h2 { font-size: var(--fs-xl); }
}

@media (min-width: 64rem) {
  .ntdiagram h2 { font-size: var(--fs-2xl); }
}

.nt-subtitle {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--nt-muted);
  margin: 0 0 var(--space-4);
}

.nt-triggers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.nt-triggers li {
  background: var(--nt-card);
  border: 1px solid var(--nt-border);
  color: var(--nt-muted);
  border-radius: 999px;
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

/* Flow -------------------------------------------------------------- */

.nt-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.nt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.nt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.nt-step-card {
  background: var(--nt-card);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}

.nt-step-number {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--nt-bg);
  border: 1px solid var(--nt-border);
  color: var(--nt-text);
  flex-shrink: 0;
}

.nt-step-card .diagram-icon {
  width: 22px;
  height: 22px;
  color: var(--nt-text);
  margin-bottom: var(--space-1);
}

.nt-step-title {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  margin: 0;
}

.nt-step-desc {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--nt-muted);
  margin: 0;
}

.nt-arrow {
  color: var(--nt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nt-arrow .diagram-icon {
  transform: rotate(90deg);
}

/* Outcomes ------------------------------------------------------------ */

.nt-outcomes {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nt-outcomes-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nt-muted);
  margin: 0;
}

.nt-outcome-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nt-outcome-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--nt-card);
  border: 1px solid var(--nt-border);
  border-radius: var(--nt-radius);
  padding: var(--space-4);
  font-family: var(--font-body);
  font-weight: 500;
}

.nt-outcome-card .diagram-icon {
  color: var(--nt-text);
}

/* Desktop — single row, matching diagnosis-diagram.css's approach of
   deferring the compact "everything in one row" layout past the site's
   72rem container cap so the row always has consistent breathing room
   (see project memory: 1024px viewport is narrower than the 1152px
   container cap, so testing only at the usual 64rem breakpoint missed
   an overflow there on the first version of this diagram). */

@media (min-width: 78rem) {
  .nt-flow {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-4);
  }

  .nt-steps {
    flex-direction: row;
    align-items: stretch;
    flex: 3;
    min-width: 0;
  }

  .nt-step {
    flex: 1 1 9rem;
    min-width: 8rem;
  }

  .nt-step-card {
    height: 100%;
    justify-content: center;
  }

  .nt-arrow .diagram-icon {
    transform: none;
  }

  .nt-outcomes {
    flex: 1;
    min-width: 12rem;
  }

  .nt-outcome-list {
    flex: 1;
  }

  .nt-outcome-card {
    height: 100%;
  }
}
