.how-hero {
  position: relative;
  overflow: hidden;
}

.how-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(211, 244, 236, 0.8), transparent 34%),
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.78), transparent 30%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.how-hero-grid,
.how-section-grid {
  position: relative;
  z-index: 1;
}

.how-panel {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.how-hero-stat {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
}

.how-kicker-list li::before,
.how-noise-list li::before,
.how-guidance-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  display: inline-block;
  margin-right: 0.65rem;
  vertical-align: middle;
}

.how-workflow-shell {
  position: relative;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.how-workflow-board {
  position: relative;
  width: 1528px;
  height: 520px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.6rem;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.97)),
    radial-gradient(circle at top, rgba(219, 234, 254, 0.7), transparent 36%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 28px 56px rgba(15, 23, 42, 0.08);
}

.how-lane {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 92px;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.how-lane-label {
  position: absolute;
  left: 28px;
  width: 150px;
  padding-top: 0.2rem;
}

.how-lane-label p:first-child {
  color: #0f172a;
  font-weight: 700;
}

.how-lane-label p:last-child {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.how-workflow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.how-workflow-svg .primary {
  fill: none;
  stroke: rgba(15, 118, 110, 0.8);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-workflow-svg .feedback {
  fill: none;
  stroke: rgba(37, 99, 235, 0.36);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 9;
}

.how-stage-node {
  position: absolute;
  width: 140px;
  min-height: 112px;
  padding: 0.9rem 0.9rem 0.8rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 32px rgba(15, 23, 42, 0.08);
}

.how-stage-node::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.24), rgba(37, 99, 235, 0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.how-stage-node h3 {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.how-stage-node p {
  color: #475569;
}

.how-stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.how-step-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
}

.how-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.48rem;
}

.how-stage-icon,
.how-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  flex-shrink: 0;
}

.how-stage-icon {
  width: 2.6rem;
  height: 2.6rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.13), rgba(37, 99, 235, 0.14));
  color: #0f172a;
}

.how-stage-icon svg,
.how-module-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.how-stage-modules,
.how-module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.how-module-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.how-module-pill[data-module="ticket"] { background: rgba(254, 242, 242, 0.96); }
.how-module-pill[data-module="pulse"] { background: rgba(239, 246, 255, 0.96); }
.how-module-pill[data-module="knowledge"] { background: rgba(236, 253, 245, 0.96); }
.how-module-pill[data-module="release"] { background: rgba(255, 251, 235, 0.96); }
.how-module-pill[data-module="standards"] { background: rgba(250, 245, 255, 0.96); }
.how-module-pill[data-module="design"] { background: rgba(255, 247, 237, 0.96); }
.how-module-pill[data-module="ticket"] .how-module-icon::before { background: #dc2626; }
.how-module-pill[data-module="pulse"] .how-module-icon::before { background: #2563eb; }
.how-module-pill[data-module="knowledge"] .how-module-icon::before { background: #059669; }
.how-module-pill[data-module="release"] .how-module-icon::before { background: #d97706; }
.how-module-pill[data-module="standards"] .how-module-icon::before { background: #7c3aed; }
.how-module-pill[data-module="design"] .how-module-icon::before { background: #ea580c; }

.how-module-icon {
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
}

.how-module-icon::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 9999px;
  background: #0f766e;
  display: block;
}

.how-feedback-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.how-feedback-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.82rem;
}

.how-feedback-legend i {
  width: 1.35rem;
  height: 0;
  border-top: 2px solid rgba(37, 99, 235, 0.36);
}

.how-feedback-legend i.primary-line {
  border-top-style: solid;
  border-top-color: rgba(15, 118, 110, 0.8);
}

.how-feedback-legend i.feedback-line {
  border-top-style: dashed;
}

.how-stage-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
}

.how-stage-card-copy p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
}

.how-stage-card dl {
  display: grid;
  gap: 0.7rem;
}

.how-stage-card dt {
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.how-stage-card dd {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.45;
}

.how-matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 160px) minmax(0, 1fr) minmax(0, 180px);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.how-matrix-row + .how-matrix-row {
  margin-top: 0.8rem;
}

.how-matrix-heading {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-mode-card,
.how-outcome-card,
.how-guidance-card,
.how-app-card {
  padding: 1.25rem;
}

.how-mode-card ul,
.how-outcome-card ul {
  display: grid;
  gap: 0.55rem;
}

.how-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.how-label-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.84);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.72rem;
}

.how-callout {
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(255, 255, 255, 0.98));
}

.how-app-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .how-app-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .how-matrix-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .how-stage-node {
    width: 132px;
  }
}
