/* Shared SWFT page shell — team, case studies hub, contact */
.ps-page {
  --ps-bg: #010101;
  --ps-text: #e5e2e1;
  --ps-muted: #a8a8a8;
  --ps-accent: #7fffe5;
  --ps-border: rgba(255, 255, 255, 0.1);
  --ps-card: #0a0a0a;
  background: var(--ps-bg);
  color: var(--ps-text);
  font-family: "Inter Display", Inter, sans-serif;
}

.ps-page main {
  padding: 5.5rem 1.25rem 3rem;
}

.ps-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.ps-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ps-hero--left {
  text-align: left;
}

.ps-eyebrow {
  display: inline-block;
  color: var(--ps-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(127, 255, 229, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.ps-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.85rem;
}

.ps-title .ps-accent {
  color: var(--ps-accent);
}

.ps-lead {
  color: #c4c7c7;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 52ch;
}

.ps-hero--left .ps-lead {
  margin: 0;
  max-width: 48ch;
}

.ps-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.ps-search {
  flex: 1 1 14rem;
  min-width: 12rem;
  position: relative;
}

.ps-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  background: var(--ps-card);
  color: #fff;
  font-size: 0.9rem;
}

.ps-search input::placeholder {
  color: var(--ps-muted);
}

.ps-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ps-muted);
  pointer-events: none;
  font-size: 0.85rem;
}

.ps-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ps-filter {
  border: 1px solid var(--ps-border);
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.ps-filter:hover {
  border-color: rgba(127, 255, 229, 0.5);
}

.ps-filter.is-active {
  background: var(--ps-accent);
  border-color: var(--ps-accent);
  color: #010101;
  font-weight: 600;
}

.ps-cta-band {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--ps-border);
  background: linear-gradient(180deg, rgba(127, 255, 229, 0.06) 0%, var(--ps-card) 50%);
  border-radius: 12px;
  text-align: center;
}

.ps-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.ps-cta-band p {
  color: #c4c7c7;
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  line-height: 1.55;
}

.ps-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

/* Match homepage / Webflow button.is-course on shell pages */
.ps-page .button-group.is-course {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.ps-page .button {
  background-color: #fff;
  color: #010101;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 600;
  line-height: 0.9;
  text-decoration: none;
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9375rem;
}

.ps-page .button.is-course {
  border-radius: 4px;
}

.ps-page .button.is-course.outlined {
  border: 0.5px solid #fff;
  color: #fff;
  background-color: transparent;
}

.ps-page .button.is-course.outlined:hover {
  color: #010101;
}

.ps-page .button_bg {
  background-color: var(--ps-accent, #7fffe5);
  pointer-events: none;
  width: 0%;
  transition: width 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ps-page .button:hover .button_bg {
  width: 100%;
}

.ps-page .button_text {
  position: relative;
  z-index: 1;
}

.ps-footer {
  border-top: 1px solid var(--ps-border);
  margin-top: 3rem;
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ps-muted);
}

.ps-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-left: 1rem;
}

.ps-footer a:hover {
  color: var(--ps-accent);
}
