/* ─── Blog: remote-desktop-vs-vpn (.network-anatomy-diptych, .decision-matrix) ─── */

/* Diptych — two literal side-by-side network topology columns. */
.network-anatomy-diptych {
  margin: 40px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.nad-col {
  background: var(--ink-700);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nad-col-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.nad-col-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-primary);
  margin: 0;
  line-height: 1.2;
}
.nad-col-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0 0 6px 0;
}
.nad-topology {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
}
.nad-hop {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
}
.nad-hop-dot {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--ember-300);
  box-shadow: 0 0 0 4px rgba(255, 122, 60, 0.08);
  flex-shrink: 0;
  justify-self: center;
}
.nad-hop--terminus .nad-hop-dot {
  background: var(--fg-primary);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}
.nad-hop-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.nad-hop-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-primary);
  line-height: 1.25;
}
.nad-hop-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-tertiary);
}
.nad-rule {
  margin-left: 5px;
  width: 1px;
  height: 22px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 50%, transparent 50%);
  background-size: 1px 6px;
  background-repeat: repeat-y;
}
.nad-foot {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nad-foot-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
}
.nad-foot-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.nad-col--rd .nad-foot-value {
  color: var(--ember-300);
}

/* Decision matrix — hairline-divided scenario vs verdict table. */
.decision-matrix {
  margin: 36px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.decision-matrix .dm-head,
.decision-matrix .dm-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  background: var(--ink-700);
  align-items: center;
  gap: 0;
}
.decision-matrix .dm-head {
  background: rgba(255, 255, 255, 0.025);
}
.decision-matrix .dm-cell {
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.decision-matrix .dm-head .dm-cell {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-tertiary);
  padding: 14px 22px;
}
.decision-matrix .dm-cell--scenario {
  color: var(--fg-primary);
}
.decision-matrix .dm-cell--verdict {
  text-align: right;
}
.dm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 11px 6px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  line-height: 1;
  white-space: nowrap;
}
.dm-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  flex-shrink: 0;
}
.dm-chip--rd {
  color: var(--ember-300);
  background: rgba(255, 122, 60, 0.06);
}
.dm-chip--vpn {
  color: var(--fg-primary);
  background: rgba(255, 255, 255, 0.03);
}
.dm-chip--both {
  color: var(--state-warning);
  background: rgba(255, 176, 112, 0.08);
}

/* Keep the diptych and matrix flush inside the essay prose column. */
.essay-prose .network-anatomy-diptych,
.essay-prose .decision-matrix { margin-left: 0; margin-right: 0; }
