.pkts {
  --pkts-ink: #10151c;
  --pkts-body: #2b333d;
  --pkts-muted: #697482;
  --pkts-faint: #98a3af;
  --pkts-soft: #f6f8fa;
  --pkts-line: #e3e8ee;
  --pkts-accent: #1a93ee;
  --pkts-dark: #0f161e;
  --pkts-dark-soft: #18212b;

  width: min(100%, 1230px);
  margin: 0 auto;
  color: var(--pkts-ink);
  font-family: inherit;
  box-sizing: border-box;
}

.pkts *,
.pkts *::before,
.pkts *::after {
  box-sizing: border-box;
}

.pkts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.pkts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--pkts-muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.pkts-eyebrow i {
  color: var(--pkts-accent);
  font-size: 14px;
}

.pkts-title {
  max-width: 760px;
  margin: 0;
  color: var(--pkts-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.pkts-title span {
  color: #8f949b;
}

.pkts-copy {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--pkts-muted);
  font-size: 15px;
  line-height: 1.72;
  font-weight: 400;
  text-wrap: pretty;
}

.pkts-metrics {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 0;
  padding-bottom: 4px;
}

.pkts-metric {
  min-width: 98px;
  padding: 0 20px;
  border-left: 1px solid var(--pkts-line);
}

.pkts-metric:first-child {
  border-left: 0;
  padding-left: 0;
}

.pkts-metric:last-child {
  padding-right: 0;
}

.pkts-metric strong {
  display: block;
  color: var(--pkts-ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.pkts-metric span {
  display: block;
  margin-top: 7px;
  color: var(--pkts-muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 400;
}

.pkts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: clamp(26px, 3.8vw, 50px);
  align-items: stretch;
}

.pkts-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border-top: 1px solid var(--pkts-line);
  border-bottom: 1px solid var(--pkts-line);
  background: #fff;
}

.pkts-rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 30px 26px 28px 0;
  border-right: 1px solid var(--pkts-line);
  background: #fff;
}

.pkts-rail-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--pkts-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.pkts-rail-label i {
  color: var(--pkts-accent);
  font-size: 13px;
}

.pkts-tabs {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkts-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--pkts-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.pkts-tab:hover,
.pkts-tab:focus-visible {
  outline: none;
  background: var(--pkts-soft);
  border-color: var(--pkts-line);
}

.pkts-tab[aria-selected="true"] {
  background: var(--pkts-soft);
  border-color: #d8eefa;
  color: var(--pkts-ink);
}

.pkts-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--pkts-line);
  color: var(--pkts-ink);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.pkts-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pkts-tab[aria-selected="true"] .pkts-avatar {
  border-color: rgba(26, 147, 238, .34);
}

.pkts-tab-name {
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pkts-tab-role {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--pkts-muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pkts-tab-score {
  color: var(--pkts-accent);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.pkts-rail-footer {
  margin-top: auto;
  padding-top: 24px;
}

.pkts-signal-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--pkts-faint);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.pkts-wave {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pkts-wave span {
  width: 2px;
  flex: 1 1 2px;
  max-width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #dfe6ed;
  transition: background-color .2s ease;
}

.pkts-wave span:nth-child(3n + 1) {
  height: 14px;
}

.pkts-wave span:nth-child(4n + 2) {
  height: 22px;
}

.pkts-wave span:nth-child(7n + 4) {
  height: 28px;
}

.pkts-wave span.is-filled {
  background: var(--pkts-accent);
}

.pkts-quote {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4.8vw, 58px) 0 clamp(34px, 4.8vw, 58px) clamp(36px, 4.2vw, 64px);
}

.pkts-quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(26px, 3.3vw, 38px);
}

.pkts-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pkts-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.pkts-pill i {
  color: var(--pkts-accent);
  font-size: 12px;
}

.pkts-arrows {
  display: flex;
  gap: 6px;
}

.pkts-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--pkts-muted);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.pkts-arrow:hover,
.pkts-arrow:focus-visible {
  outline: none;
  background: var(--pkts-soft);
  border-color: var(--pkts-line);
  color: var(--pkts-ink);
}

.pkts-main-quote {
  position: relative;
  z-index: 1;
  max-width: 690px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--pkts-body);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.66;
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: pretty;
  transition: opacity .18s ease, transform .18s ease;
}

.pkts-main-quote::after {
  content: "\f10e";
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -34px;
  color: var(--pkts-accent);
  font-family: "Font Awesome 6 Free";
  font-size: clamp(86px, 9vw, 132px);
  font-weight: 900;
  line-height: 1;
  opacity: .105;
}

.pkts.is-changing .pkts-main-quote,
.pkts.is-changing .pkts-person-line {
  opacity: .18;
  transform: translateY(4px);
}

.pkts-person-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 34px;
  transition: opacity .18s ease, transform .18s ease;
}

.pkts-active-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 44px;
  border: 1px solid var(--pkts-line);
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.pkts-active-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pkts-active-name {
  margin: 0;
  color: var(--pkts-ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.pkts-active-role {
  display: block;
  margin: 4px 0 0;
  color: var(--pkts-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.pkts-proof {
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(15, 22, 30, .08);
  border-radius: 14px;
  background: var(--pkts-dark);
  color: #fff;
}

.pkts-proof-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: #aeb8c4;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.pkts-proof-kicker i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  font-size: 12px;
}

.pkts-proof-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 21px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.pkts-proof-copy {
  margin: 0 0 24px;
  color: #aeb8c4;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

.pkts-qr {
  display: block;
  width: min(100%, 186px);
  margin: auto auto 24px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease;
}

.pkts-qr:hover,
.pkts-qr:focus-visible {
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(26, 147, 238, .58);
}

.pkts-qr img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}

.pkts-proof-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}

.pkts-proof-link:hover,
.pkts-proof-link:focus-visible {
  outline: none;
  color: var(--pkts-accent);
  border-color: var(--pkts-accent);
}

@media (max-width: 1120px) {
  .pkts-head,
  .pkts-layout {
    grid-template-columns: 1fr;
  }

  .pkts-metrics {
    justify-content: start;
  }

  .pkts-proof {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 178px;
    gap: 22px;
    align-items: center;
  }

  .pkts-proof-kicker,
  .pkts-proof-title,
  .pkts-proof-copy,
  .pkts-proof-link {
    grid-column: 1;
  }

  .pkts-qr {
    grid-column: 2;
    grid-row: 1 / 5;
    margin: 0;
  }
}

@media (max-width: 840px) {
  .pkts-head,
  .pkts-panel {
    display: block;
  }

  .pkts-metrics {
    margin-top: 26px;
    justify-content: start;
    flex-wrap: wrap;
  }

  .pkts-metric {
    min-width: auto;
  }

  .pkts-rail {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pkts-line);
  }

  .pkts-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pkts-tabs::-webkit-scrollbar {
    display: none;
  }

  .pkts-tab {
    flex: 0 0 188px;
  }

  .pkts-rail-footer {
    display: none;
  }

  .pkts-quote {
    padding: 30px 0;
  }

  .pkts-main-quote {
    max-width: none;
    font-size: 18px;
    line-height: 1.68;
  }
}

@media (max-width: 560px) {
  .pkts-title {
    font-size: 31px;
  }

  .pkts-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pkts-metric {
    padding: 0;
    border-left: 0;
  }

  .pkts-proof {
    display: flex;
  }

  .pkts-qr {
    width: 166px;
    margin: 8px auto 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkts-tab,
  .pkts-arrow,
  .pkts-wave span,
  .pkts-qr,
  .pkts-proof-link,
  .pkts-main-quote,
  .pkts-person-line {
    transition: none;
  }
}
