/* Keep pricing language and structure easy to revise as commercial plans evolve. */
.pricing-section {
  background: #f5f8fb;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: 72px;
}

.pricing-layout h2 {
  max-width: 630px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(34px, 3.7vw, 52px);
  letter-spacing: -.045em;
  line-height: 1.05;
}

.pricing-layout h2 span {
  color: var(--blue);
}

.pricing-layout > div > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #526278;
  font-size: 17px;
}

.pricing-organization-tree {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  margin-top: 30px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #d8e5f1;
  border-radius: 15px;
  background: linear-gradient(120deg, #ffffff, #edf7ff);
}

.pricing-tree-node {
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 92px;
  padding: 10px 8px;
  border: 1px solid #cfdfed;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 12px rgba(22, 62, 104, .06);
  color: #37516e;
  text-align: center;
}

.pricing-tree-node strong {
  font-size: 11px;
  line-height: 1.2;
}

.pricing-tree-node small {
  color: #148153;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pricing-tree-icon {
  color: var(--blue);
  font-size: 15px;
  line-height: 1;
}

.pricing-tree-node.department {
  border-color: #9bdcc1;
  background: #effbf4;
  color: #136b4b;
}

.pricing-tree-node.department .pricing-tree-icon {
  color: #16835a;
}

.pricing-tree-branch {
  position: relative;
  display: block;
  flex: 1 0 12px;
  min-width: 12px;
  height: 1px;
  background: #9bbbd8;
}

.pricing-tree-branch::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -1px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #9bbbd8;
  border-right: 1px solid #9bbbd8;
  transform: rotate(45deg);
}

.pricing-card {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 32px;
  border: 1px solid #cddfeb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(18, 53, 91, .11);
}

.pricing-card > p:first-child {
  margin: 0;
  color: #58708b;
  font-size: 14px;
  font-weight: 700;
}

.pricing-card strong {
  color: var(--navy);
  font-size: clamp(44px, 5vw, 58px);
  letter-spacing: -.06em;
  line-height: 1;
}

.pricing-card strong span {
  margin-left: 6px;
  color: #55718f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.pricing-card small {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.pricing-card .pricing-note {
  margin: 14px 0 16px;
  color: #657990;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-card {
    padding: 27px 24px;
  }

  .pricing-organization-tree {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 12px 7px;
  }

  .pricing-tree-node {
    min-width: 0;
    padding: 9px 3px;
  }

  .pricing-tree-node strong {
    font-size: 9px;
  }

  .pricing-tree-branch {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card {
    transition: none;
  }
}
