.bay-pathways,
.bay-pathways * {
  box-sizing: border-box;
}

.bay-pathways {
  --bay-blue: #005a8d;
  --bay-blue-deep: #0a2f5a;
  --bay-blue-dark: #003c66;
  --bay-yellow: #fcce0b;
  --bay-gold: #d4a017;
  --bay-white: #fff;
  --bay-soft: rgba(255, 255, 255, 0.86);
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: var(--bay-blue);
  color: var(--bay-white);
  box-shadow: 0 18px 46px rgba(0, 60, 102, 0.18);
}

.bay-pathways-sidebar {
  background: var(--bay-blue-dark);
  padding: 26px 18px;
}

.bay-pathways-label {
  margin: 0 0 14px;
  color: var(--bay-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bay-pathway-btn {
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  margin: 0 0 8px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--bay-white);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bay-pathway-btn:hover,
.bay-pathway-btn:focus-visible {
  border-color: rgba(252, 206, 11, 0.7);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.bay-pathway-btn.active {
  border-color: var(--bay-yellow);
  background: var(--bay-yellow);
  color: var(--bay-blue-dark);
}

.bay-pathway-btn.active svg rect,
.bay-pathway-btn.active svg path,
.bay-pathway-btn.active svg circle {
  stroke: var(--bay-blue-dark);
}

.bay-pathway-btn.active svg circle[fill="white"] {
  fill: var(--bay-blue-dark);
}

.bay-pi,
.bay-pa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bay-pa {
  font-size: 24px;
  line-height: 1;
}

.bay-pathways-content {
  min-width: 0;
  padding: 38px;
}

.bay-pathway-panel {
  display: none;
}

.bay-pathway-panel.active {
  display: block;
}

.bay-panel-eyebrow {
  margin: 0 0 12px;
  color: var(--bay-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.bay-panel-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
}

.bay-pt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.bay-panel-title h3 {
  margin: 0;
  padding: 0;
  color: var(--bay-white);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.bay-panel-desc {
  max-width: 880px;
  margin: 0 0 30px;
  color: var(--bay-soft);
  font-size: 17px;
  line-height: 1.65;
}

.bay-panel-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
}

.bay-panel-col {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.bay-panel-col h4 {
  margin: 0 0 14px;
  padding: 0;
  color: var(--bay-yellow);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.bay-panel-col ul {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.bay-panel-col li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 22px;
  color: var(--bay-soft);
  font-size: 15px;
  line-height: 1.42;
  list-style: none !important;
}

.bay-panel-col li::marker {
  content: "";
}

.bay-panel-col li::before {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bay-white);
  content: "";
}

.bay-panel-ai {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -8px 0 22px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.bay-panel-ai-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--bay-blue-deep);
  color: var(--bay-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.bay-panel-ai p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.5;
}

.bay-panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.bay-panel-stat {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-radius: 12px;
  background: rgba(10, 47, 90, 0.54);
}

.bay-ps-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.bay-ps-label {
  margin: 0 0 5px;
  color: var(--bay-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.bay-ps-val {
  margin: 0;
  color: var(--bay-white);
  font-size: 15px;
  line-height: 1.45;
}

.bay-panel-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bay-btn-primary,
.bay-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.bay-btn-primary {
  border: 2px solid var(--bay-yellow);
  background: var(--bay-yellow);
  color: var(--bay-blue-dark) !important;
}

.bay-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.74);
  background: transparent;
  color: var(--bay-white) !important;
}

.bay-panel-note,
.bay-pathways-footnote {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.5;
}

.bay-panel-note {
  margin: 14px 0 0;
}

.bay-pathways-footnote {
  max-width: 1280px;
  margin: 16px auto 0;
  color: #fff;
  text-align: left;
}

@media (max-width: 980px) {
  .bay-pathways {
    grid-template-columns: 1fr;
  }

  .bay-pathways-sidebar {
    padding: 22px;
  }

  .bay-panel-cols {
    grid-template-columns: 1fr;
  }

  .bay-pathways-content {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .bay-pathways {
    border-radius: 14px;
  }

  .bay-pathways-sidebar,
  .bay-pathways-content {
    padding: 20px;
  }

  .bay-panel-title {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .bay-panel-title h3 {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.08;
    white-space: normal;
  }

  .bay-pt-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .bay-panel-stats {
    grid-template-columns: 1fr;
  }

  .bay-panel-btns {
    align-items: stretch;
    flex-direction: column;
  }

  .bay-btn-primary,
  .bay-btn-outline {
    width: 100%;
  }
}

.bay-panel-stat p {
  padding: 0;
}

.bay-ps-sublabel {
  margin: 12px 0 2px;
  color: var(--bay-white);
  opacity: 0.72;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.bay-ps-label + .bay-ps-sublabel,
.bay-ps-sublabel:first-child {
  margin-top: 2px;
}
