.platform-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
  font-size: 14px;
}
.platform-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #685f75;
}
.platform-nav a:hover,
.platform-nav [aria-current="page"] {
  color: #5d4da4;
}
.platform-nav [aria-current="page"] {
  font-weight: 650;
}
.platform-main {
  width: min(1120px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 72px) 0 64px;
}
.directory-heading {
  margin-bottom: 28px;
}
.directory-heading p {
  margin: 0;
  color: #65569f;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .06em;
}
.directory-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.directory-card {
  --accent: #6151aa;
  --tint: #eee9fa;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #e3dfee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px #2a204208;
}
.crm-card {
  --accent: #385f9e;
  --tint: #e7eefb;
}
.acquisition-card {
  --accent: #14665f;
  --tint: #dff1ea;
}
.directory-card:focus-within,
.directory-card:hover {
  border-color: var(--accent);
}
.card-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(136px, 14vw, 178px);
  overflow: hidden;
  border-radius: 19px 19px 0 0;
  background-color: var(--tint);
}
.voice-card .card-art {
  background-image: repeating-radial-gradient(circle at 50% 90%, transparent 0 40px, #ffffff8c 41px 42px, transparent 43px 57px);
}
.robot-art {
  display: block;
  height: 92%;
  width: auto;
}
.crm-card .card-art {
  background-image: repeating-linear-gradient(135deg, transparent 0 23px, #ffffff66 24px 25px, transparent 26px 44px);
}
.acquisition-card .card-art {
  background-image: radial-gradient(#69958842 1px, transparent 1px);
  background-size: 13px 13px;
}
.contact-illustration,
.search-illustration {
  position: relative;
  width: 146px;
  height: 86px;
  border: 1px solid #a6bddb;
  border-radius: 12px;
  background: #ffffffed;
  box-shadow: 0 8px 12px #42629a15;
}
.contact-illustration {
  background: #b8cdee;
  transform: translate(5px, -3px) rotate(5deg);
}
.contact-sheet {
  position: absolute;
  inset: 5px 6px -4px -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #98b3dc;
  border-radius: inherit;
  background: white;
  transform: rotate(-10deg);
}
.profile-symbol {
  position: relative;
  width: 36px;
  height: 40px;
  overflow: hidden;
  border-radius: 9px;
  background: #e9f0fc;
}
.profile-symbol::before,
.profile-symbol::after {
  position: absolute;
  left: 50%;
  content: "";
  border-radius: 50%;
  transform: translateX(-50%);
}
.profile-symbol::before {
  top: 5px;
  width: 14px;
  height: 14px;
  background: #7e9bcb;
}
.profile-symbol::after {
  bottom: -4px;
  width: 29px;
  height: 23px;
  background: #9fb6de;
}
.contact-lines {
  width: 52px;
  height: 6px;
  border-radius: 3px;
  background: #7390c1;
  box-shadow: 0 12px #cfdbed;
}
.search-illustration {
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 18px;
  border-color: #b0ccc0;
  transform: translateX(-9px) rotate(-5deg);
}
.search-result {
  height: 12px;
  border-left: 12px solid #a6ccbc;
  background: linear-gradient(90deg, transparent 7px, #cbdfd6 7px) left center / 90% 4px no-repeat;
}
.magnifier {
  position: absolute;
  top: 46%;
  left: calc(50% + 14px);
  width: 43px;
  height: 43px;
  border: 5px solid #459383;
  border-radius: 50%;
  background: #d3eee6aa;
  box-shadow: inset 2px 3px #f7fffb;
}
.magnifier::after {
  position: absolute;
  right: -17px;
  bottom: -13px;
  width: 23px;
  height: 7px;
  border-radius: 4px;
  background: #378373;
  content: "";
  transform: rotate(45deg);
}
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(19px, 2vw, 28px);
}
.console-index {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.card-body h2 {
  margin: 10px 0 9px;
  color: #30273f;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}
.console-description {
  margin: 0 0 18px;
  color: #645d70;
  font-size: 15px;
  line-height: 1.75;
}
.open-console {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
.open-console::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.open-console span {
  font-size: 17px;
}
.quick-access {
  margin-top: 38px;
}
.quick-access h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.quick-access-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e3dfee;
  border-radius: 12px;
  background: #fff;
}
.quick-access a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 49px;
  padding: 10px 20px;
  border-radius: inherit;
  font-size: 14px;
}
.quick-access a + a {
  border-left: 1px solid #ece9f3;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.quick-access a:hover {
  color: #59499b;
  background: #faf8ff;
}
.quick-access a span {
  color: #7666b4;
}
@media (max-width: 800px) {
  .platform-main {
    width: calc(100% - 40px);
  }
  .directory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .directory-card {
    display: grid;
    grid-template-columns: minmax(110px, 25%) 1fr;
    border-radius: 14px;
  }
  .card-art {
    height: 100%;
    min-height: 142px;
    border-radius: 13px 0 0 13px;
  }
  .robot-art {
    width: min(100%, 155px);
    height: auto;
  }
  .contact-illustration,
  .search-illustration {
    scale: .82;
  }
  .magnifier {
    scale: .82;
  }
  .card-body {
    padding: 15px 18px;
  }
  .card-body h2 {
    margin: 4px 0;
  }
  .console-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }
  .open-console {
    padding: 0;
    min-height: 33px;
    background: none;
    color: var(--accent);
  }
}
@media (max-width: 520px) {
  .platform-nav { gap: 12px; font-size: 13px; }
  .platform-main { width: calc(100% - 28px); padding: 28px 0 40px; }
  .directory-heading { margin-bottom: 20px; }
  .directory-card { grid-template-columns: clamp(62px, 21vw, 100px) 1fr; }
  .card-art { min-height: 116px; }
  .card-body { padding: 11px 13px; }
  .card-body h2 { font-size: 19px; }
  .console-index { font-size: 12px; }
  .contact-illustration, .search-illustration { position: absolute; scale: .44; }
  .magnifier { top: 48%; left: 46%; scale: .48; }
  .quick-access { margin-top: 24px; }
  .quick-access-links { grid-template-columns: repeat(3, 1fr); }
  .quick-access a { padding: 8px 7px; justify-content: center; gap: 4px; }
}
