.psl-page-shell {
  color: var(--text-light);
}

.psl-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(99, 102, 241, 0.25), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(12, 18, 32, 0.98), rgba(8, 13, 24, 0.96));
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
}

.psl-hero-grid,
.psl-split,
.psl-card-grid {
  display: grid;
  gap: 1.5rem;
}

.psl-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 520px);
  align-items: start;
}

.psl-copy h1,
.psl-section-header h2,
.psl-split h2,
.psl-faq h2,
.psl-card h2 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  color: var(--text-color);
}

.psl-kicker,
.psl-card-kicker,
.psl-section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .85rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, .14);
  color: #c4b5fd;
  font-size: .9rem;
}

.psl-copy h1 {
  max-width: 740px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.psl-subtitle,
.psl-card-header p,
.psl-section-header p,
.psl-split > div > p,
.psl-info-card p,
.psl-link-card p,
.psl-step-item p,
.psl-check-row p,
.psl-faq-item p,
.psl-table-note,
.psl-form-note,
.psl-scale-help,
.psl-field small,
.psl-result-note {
  color: var(--text-light);
}

.psl-subtitle {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.75;
}

.psl-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.psl-points span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.psl-card,
.psl-info-card,
.psl-link-card,
.psl-step-item,
.psl-check-row,
.psl-table-wrap,
.psl-faq-item {
  background: rgba(15, 23, 42, .8);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.psl-card {
  border-radius: 12px;
  padding: 1.5rem;
}

.psl-card-header {
  margin-bottom: 1.25rem;
}

.psl-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.psl-fields legend {
  margin-bottom: .35rem;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 700;
}

.psl-scale-help {
  margin-bottom: 1rem;
  font-size: .9rem;
  line-height: 1.55;
}

.psl-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.psl-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .45rem;
  color: var(--text-color);
  font-weight: 600;
}

.psl-field input {
  width: 100%;
  min-width: 0;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-color);
}

.psl-field input:focus {
  outline: none;
  border-color: rgba(129, 140, 248, .8);
  box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .18);
}

.psl-field small {
  min-height: 2.8em;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.45;
}

.psl-form-note {
  margin: 1rem 0 0;
  font-size: .86rem;
  line-height: 1.55;
}

.psl-error {
  margin: .8rem 0 0;
}

.psl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.psl-btn-primary,
.psl-btn-secondary,
.psl-btn-reset {
  border-radius: 999px;
  padding: .8rem 1.15rem;
  font-weight: 700;
}

.psl-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #6366f1, #ec4899);
}

.psl-btn-secondary {
  border-color: rgba(255, 255, 255, .22);
}

.psl-btn-reset {
  color: #c4b5fd;
  text-decoration: none;
}

.psl-result {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.psl-result-top,
.psl-result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.psl-result-label {
  margin-bottom: .4rem;
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#pslRatingScore {
  display: block;
  color: #ddd6fe;
  font-size: 2.35rem;
  line-height: 1.1;
}

.psl-status {
  max-width: 170px;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, .18);
  color: #ddd6fe;
  font-weight: 700;
  text-align: center;
}

.psl-result-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 1rem 0;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
}

.psl-result-meta span {
  padding: .45rem .65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.psl-result-meta strong {
  color: var(--text-color);
}

.psl-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.psl-metric {
  padding: .8rem .9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.psl-metric span {
  display: block;
  margin-bottom: .3rem;
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
}

.psl-metric strong,
.psl-insights h3,
.psl-info-card h3,
.psl-link-card strong,
.psl-step-item h3,
.psl-check-row h3,
.psl-faq-item h3,
.psl-score-card strong {
  color: var(--text-color);
}

.psl-insights {
  margin-top: 1.1rem;
}

.psl-insights ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
}

.psl-section,
.psl-faq {
  padding: 4rem 0;
}

.psl-section-alt,
.psl-faq {
  background: rgba(9, 14, 24, .82);
}

.psl-section-header {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.psl-section-header p,
.psl-split > div > p,
.psl-info-card p,
.psl-step-item p,
.psl-check-row p,
.psl-faq-item p,
.psl-link-card p {
  line-height: 1.75;
}

.psl-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.psl-info-card,
.psl-link-card {
  min-width: 0;
  border-radius: 10px;
  padding: 1.3rem;
}

.psl-info-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: .9rem;
  border-radius: 10px;
  background: rgba(99, 102, 241, .15);
  color: #c4b5fd;
}

.psl-score-card > strong {
  display: block;
  margin-bottom: .75rem;
  color: #c4b5fd;
  font-size: 1.2rem;
}

.psl-split {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}

.psl-step-list,
.psl-checklist,
.psl-faq-list {
  display: grid;
  gap: 1rem;
}

.psl-step-item,
.psl-check-row {
  min-width: 0;
  border-radius: 10px;
  padding: 1.1rem 1.15rem;
}

.psl-step-item {
  display: flex;
  gap: 1rem;
}

.psl-step-index {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #fff;
  font-weight: 800;
}

.psl-check-row {
  display: flex;
  gap: 1rem;
}

.psl-check-row > i {
  flex: 0 0 auto;
  margin-top: .2rem;
  color: #c4b5fd;
}

.psl-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

.psl-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

.psl-table th,
.psl-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  vertical-align: top;
  line-height: 1.65;
}

.psl-table thead th {
  background: rgba(255, 255, 255, .04);
  color: var(--text-color);
}

.psl-table-note {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.65;
}

.psl-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.psl-link-card:hover,
.psl-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, .55);
}

.psl-link-card span {
  display: inline-block;
  margin-bottom: .7rem;
  color: #c4b5fd;
  font-size: .82rem;
  text-transform: uppercase;
}

.psl-faq h2 {
  margin-bottom: 1.3rem;
}

.psl-faq-item {
  border-radius: 10px;
  padding: 0 1.2rem;
}

.psl-faq-item summary {
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
}

.psl-faq-item summary::-webkit-details-marker {
  display: none;
}

.psl-faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
}

.psl-faq-item p {
  margin: 0;
  padding: 0 0 1.2rem;
}

@media (max-width: 991.98px) {
  .psl-hero-grid,
  .psl-split,
  .psl-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .psl-hero {
    padding-top: 3.2rem;
  }

  .psl-card {
    padding: 1.1rem;
  }

  .psl-field-grid,
  .psl-metrics {
    grid-template-columns: 1fr;
  }

  .psl-result-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .psl-status {
    max-width: none;
  }

  .psl-actions .btn {
    width: 100%;
  }
}
