.technical-hero {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(
      circle at 87% 10%,
      rgba(139, 92, 246, 0.2),
      transparent 42%
    ),
    radial-gradient(
      circle at 10% 82%,
      rgba(37, 208, 208, 0.16),
      transparent 35%
    ),
    linear-gradient(160deg, rgba(18, 24, 43, 0.68), rgba(24, 31, 56, 0.26));
  padding: 2.2rem 1.65rem 2.05rem;
  border-radius: var(--radius-section);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 20px 38px rgba(5, 7, 15, 0.22);
}

.technical-hero h1 {
  font-size: clamp(2.02rem, 4.42vw, 3.72rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 0.82rem;
  max-width: 18ch;
}

.technical-hero .hero-lead {
  max-width: 66ch;
  font-size: 1.06rem;
  line-height: 1.72;
}

.text-cyan {
  color: var(--accent-cyan);
}

.text-warn {
  color: #f2c26f;
}

.text-emphasis {
  color: var(--text);
  font-weight: 600;
}

.technical-diagnosis {
  margin-top: 2.02rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem 1.36rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-section);
  background: linear-gradient(165deg, rgba(18, 24, 43, 0.52), rgba(24, 31, 56, 0.2));
}

.technical-diagnosis::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.07;
  pointer-events: none;
}

.diagnosis-head,
.diagnosis-layout {
  position: relative;
  z-index: 1;
}

.diagnosis-head {
  margin-bottom: 1.2rem;
}

.diagnosis-head p {
  max-width: 79ch;
  font-size: 1rem;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 1.12rem;
  align-items: start;
}

.diagnosis-timeline {
  position: relative;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.92rem;
}

.diagnosis-timeline::before {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.32rem;
  bottom: 0.32rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(37, 208, 208, 0.62),
    rgba(139, 92, 246, 0.36)
  );
}

.check-row {
  position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 0.06rem 0 0.45rem 0.46rem;
}

.check-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.1rem;
}

.check-row::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.4rem;
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  border: 1px solid rgba(170, 179, 197, 0.85);
  background: rgba(11, 16, 32, 0.95);
  box-shadow: 0 0 8px rgba(170, 179, 197, 0.22);
}

.check-row.critical::before {
  border-color: rgba(255, 109, 109, 0.9);
  box-shadow: 0 0 10px rgba(255, 109, 109, 0.32);
}

.check-row.warn::before {
  border-color: rgba(242, 194, 111, 0.9);
  box-shadow: 0 0 10px rgba(242, 194, 111, 0.28);
}

.check-row.stable::before {
  border-color: rgba(37, 208, 208, 0.9);
  box-shadow: 0 0 10px rgba(37, 208, 208, 0.28);
}

.check-status {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.check-row.critical .check-status {
  color: #ff9e9e;
}

.check-row.warn .check-status {
  color: #f2c26f;
}

.check-row.stable .check-status {
  color: #93e8e8;
}

.check-row h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.check-row p {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 62ch;
}

.diagnosis-panel {
  border: 1px solid var(--line);
  background: linear-gradient(
    170deg,
    rgba(18, 24, 43, 0.82),
    rgba(24, 31, 56, 0.5)
  );
  padding: 0.92rem;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(5, 7, 15, 0.24);
  border-radius: var(--radius-card);
}

.diagnosis-panel h3 {
  margin-bottom: 0.55rem;
}

.diagnosis-summary {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.diagnosis-summary li + li {
  margin-top: 0.38rem;
}

.diagnosis-next {
  margin-top: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.62rem;
  border-radius: var(--radius-control);
}

.diagnosis-next p {
  font-size: 0.84rem;
  margin-bottom: 0.22rem;
}

.diagnosis-next strong {
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.45;
}

.technical-content {
  margin-top: 1.78rem;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-areas:
    "main causes"
    "free free"
    "impact impact";
  gap: 1.08rem;
  align-items: start;
}

.content-main {
  grid-area: main;
  border: 1px solid var(--line);
  background: linear-gradient(162deg, rgba(18, 24, 43, 0.78), rgba(24, 31, 56, 0.42));
  padding: 1.12rem;
  border-radius: var(--radius-card);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.content-main p {
  margin-bottom: 0.64rem;
}

.content-cause-panel {
  grid-area: causes;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(120deg, rgba(242, 194, 111, 0.1), rgba(255, 123, 123, 0.07));
  padding: 0.95rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
}

.content-free {
  grid-area: free;
  padding: 0.35rem 0 0.15rem;
  width: min(100%, 49rem);
  justify-self: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.content-free p {
  margin-bottom: 0.65rem;
}

.content-free p:last-child {
  margin-bottom: 0;
}

.content-impact {
  grid-area: impact;
  width: min(100%, 49rem);
  justify-self: start;
  padding: 0.9rem 1rem 0.95rem;
  border-left: 3px solid rgba(37, 208, 208, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 0;
  border-bottom: 0;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, rgba(37, 208, 208, 0.08), rgba(24, 31, 56, 0.14));
  box-shadow: none;
}

.technical-content ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.technical-content li + li {
  margin-top: 0.34rem;
}

.technical-highlight {
  margin-top: 1.7rem;
  max-width: 52rem;
  border: 1px solid rgba(37, 208, 208, 0.26);
  background: linear-gradient(160deg, rgba(18, 24, 43, 0.74), rgba(24, 31, 56, 0.46));
  position: relative;
  padding: 1.08rem 1.06rem;
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.technical-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 999px;
}

.technical-highlight p {
  font-size: 1.01rem;
  max-width: 70ch;
}

.technical-actions {
  margin-top: 1.5rem;
  gap: 0.74rem;
}

@media (max-width: 980px) {
  .diagnosis-layout,
  .technical-content {
    grid-template-columns: 1fr;
  }

  .technical-content {
    grid-template-areas:
      "main"
      "causes"
      "free"
      "impact";
  }

  .content-free,
  .content-impact {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .technical-hero {
    padding: 1.72rem 1.1rem 1.58rem;
  }

  .technical-hero h1 {
    max-width: 100%;
  }

  .technical-diagnosis {
    padding: 1.18rem 0.85rem 1.08rem;
  }

  .diagnosis-layout {
    gap: 0.95rem;
  }

  .diagnosis-panel {
    padding: 0.72rem;
  }

  .content-main,
  .content-cause-panel {
    padding: 0.9rem;
  }

  .content-impact {
    padding: 0.85rem 0.9rem 0.9rem;
  }
}

@media (max-width: 640px) {
  .technical-diagnosis,
  .technical-content,
  .technical-highlight {
    margin-top: 1.55rem;
  }

  .diagnosis-timeline {
    padding-left: 1.35rem;
  }

  .check-row::before {
    left: -1.35rem;
  }
}
