.pg-id-hero {
  background-color: #f4f7fd;
  padding: 104px 0 116px;
  overflow: hidden;
}

.pg-id-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

/* --- left: copy --- */
.pg-id-hero__kicker {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0036fa, #4e87fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pg-id-hero__title {
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #12140f;
  margin-top: 22px;
}

.pg-id-hero__subtitle {
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #5a5a5a;
  max-width: 540px;
  margin-top: 26px;
}

.pg-id-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.pg-id-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.pg-id-hero__btn--solid {
  background-image: linear-gradient(90deg, #0036fa 0%, #4e87fc 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 54, 250, 0.26);
}

.pg-id-hero__btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 54, 250, 0.38);
  filter: brightness(1.04);
}

.pg-id-hero__btn--outline {
  background-color: transparent;
  color: #12140f;
  border: 1px solid #cfcdc3;
}

.pg-id-hero__btn--outline:hover {
  border-color: #0036fa;
  color: #0036fa;
  transform: translateY(-2px);
}

/* --- right: identity → access mapping card (focal visual) --- */
.pg-id-hero__panel {
  position: relative;
  background-color: #fff;
  border: 1px solid #e9e7de;
  border-radius: 18px;
  padding: 26px 26px 28px;
  box-shadow: 0 24px 60px rgba(18, 20, 15, 0.08);
}

.pg-id-hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #efede4;
}

.pg-id-hero__panel-title {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #12140f;
}

.pg-id-hero__panel-src {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #2f5bf0;
  background-color: #eef3ff;
  border-radius: 999px;
  padding: 5px 11px;
}

.pg-id-hero__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.pg-id-hero__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background-color: #f8f8f4;
  border: 1px solid #eeece3;
}

.pg-id-hero__avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background-image: linear-gradient(135deg, #0036fa, #4e87fc);
}

.pg-id-hero__row--agent .pg-id-hero__avatar {
  background-image: none;
  background-color: #0c1424;
  color: #6fa0ff;
}

.pg-id-hero__who {
  min-width: 0;
}

.pg-id-hero__who-name {
  font-family: "Cabin", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #12140f;
}

.pg-id-hero__who-role {
  font-family: "Cabin", sans-serif;
  font-size: 12.5px;
  color: #8a8a82;
  margin-top: 2px;
}

.pg-id-hero__grant {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  color: #2f5bf0;
  background-color: #eef3ff;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.pg-id-hero__grant::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #0036fa, #4e87fc);
}

.pg-id-hero__panel-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #efede4;
  font-family: "Cabin", sans-serif;
  font-size: 12.5px;
  color: #6a6a62;
}

.pg-id-hero__revoke {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #12140f;
}

.pg-id-hero__revoke::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #0036fa;
  box-sizing: border-box;
}

/* --- on-load rise + stagger (site motion language) --- */
@keyframes id-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.pg-id-hero__kicker,
.pg-id-hero__title,
.pg-id-hero__subtitle,
.pg-id-hero__actions,
.pg-id-hero__panel {
  opacity: 0;
  animation: id-rise 0.7s ease forwards;
}

.pg-id-hero__kicker { animation-delay: 0.05s; }
.pg-id-hero__title { animation-delay: 0.15s; }
.pg-id-hero__subtitle { animation-delay: 0.28s; }
.pg-id-hero__actions { animation-delay: 0.4s; }
.pg-id-hero__panel { animation-delay: 0.34s; }

.pg-id-hero__row {
  opacity: 0;
  animation: id-rise 0.6s ease forwards;
}

.pg-id-hero__row:nth-child(1) { animation-delay: 0.5s; }
.pg-id-hero__row:nth-child(2) { animation-delay: 0.6s; }
.pg-id-hero__row:nth-child(3) { animation-delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  .pg-id-hero__kicker,
  .pg-id-hero__title,
  .pg-id-hero__subtitle,
  .pg-id-hero__actions,
  .pg-id-hero__panel,
  .pg-id-hero__row {
    opacity: 1;
    animation: none;
  }
}

/* --- responsive --- */
@media (max-width: 1040px) {
  .pg-id-hero {
    padding: 84px 0 92px;
  }
  .pg-id-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }
  .pg-id-hero__title {
    font-size: 46px;
  }
  .pg-id-hero__subtitle {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .pg-id-hero__title {
    font-size: 36px;
  }
  .pg-id-hero__subtitle {
    font-size: 16px;
    line-height: 27px;
  }
  .pg-id-hero__actions {
    flex-wrap: wrap;
  }
  .pg-id-hero__btn {
    flex: 1 1 auto;
  }
  .pg-id-hero__panel {
    padding: 20px 18px 22px;
  }
  .pg-id-hero__grant {
    display: none;
  }
  .pg-id-hero__row {
    grid-template-columns: auto 1fr;
  }
}
