/* Partners landing — pey.se-inspired layout, BK3000 brand */

:is(.partners-page, .main-page) {
  --px-bg: #033234;
  --px-bg-2: #04494d;
  --px-panel: #0a4548;
  --px-accent: #379b83;
  --px-accent-deep: #2e8270;
  --px-ink: #f4fffb;
  --px-muted: rgba(244, 255, 251, 0.72);
  --px-dim: rgba(244, 255, 251, 0.48);
  --px-font: "Outfit", "Segoe UI", sans-serif;
  --px-max: 68rem;
  --header-h: 5.5rem;
  margin: 0;
  color: var(--px-ink);
  font-family: var(--px-font);
  background: var(--px-bg);
}

:is(.partners-page, .main-page) .site-header {
  position: fixed;
  left: 0;
  right: 0;
  min-height: 0;
  background: transparent;
  color: var(--px-ink);
  box-shadow: none;
  backdrop-filter: none;
}

:is(.partners-page, .main-page) .site-header.is-scrolled {
  background: color-mix(in srgb, var(--px-bg) 88%, transparent);
  backdrop-filter: blur(12px);
}

:is(.partners-page, .main-page) a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.px-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: transparent;
}

@media (min-width: 48rem) {
  .px-header {
    padding: 1.5rem 3rem;
  }
}

.px-header__logo img {
  width: auto;
  height: 2.4rem;
  filter: drop-shadow(0 1px 10px rgba(0, 0, 0, 0.35));
}

.px-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 0;
}

.px-header__cta {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 30rem) {
  .px-header {
    gap: 0.5rem;
    padding: 1rem 0.85rem;
  }

  .px-header__logo img {
    height: 1.85rem;
  }

  .px-header__actions {
    gap: 0.35rem;
  }

  .px-header__cta {
    padding: 0.62rem 0.85rem;
    font-size: 0.82rem;
  }
}

.px-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

.px-cta__note {
  display: block;
  margin: 0;
  max-width: 22rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--px-muted);
  text-align: center;
}

.px-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  background: var(--px-accent);
  color: #fff !important;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.px-pill:hover {
  background: var(--px-accent-deep);
  color: #fff !important;
}

.px-pill:active {
  transform: scale(0.97);
}

.px-pill--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.px-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.px-pill--solid span,
.px-pill span {
  transition: transform 0.25s ease;
}

.px-pill:hover span {
  transform: translateX(3px);
}

.px-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 3rem;
  width: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--px-ink);
  cursor: pointer;
}

.px-menu-btn__label {
  display: none;
}

.px-menu-btn__icon {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
}

.px-menu-btn__icon i {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.px-menu-btn__icon i:nth-child(1) {
  width: 1.75rem;
  margin-top: -0.4rem;
}

.px-menu-btn__icon i:nth-child(2) {
  width: 1.25rem;
}

.px-menu-btn__icon i:nth-child(3) {
  width: 1.75rem;
  margin-top: 0.4rem;
}

.px-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 1.25rem;
  min-width: 14rem;
  padding: 0.85rem;
  border-radius: 1.1rem;
  background: color-mix(in srgb, var(--px-bg) 92%, black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.px-nav.is-open,
.site-header.is-open .px-nav,
.px-header.is-open .px-nav {
  display: block;
}

.px-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.px-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: var(--px-ink);
  font-weight: 500;
}

.px-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--px-accent);
}

/* Hero */
.px-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--px-bg);
  padding-top: var(--header-h);
}

.px-hero__brand {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
  animation: px-rise 0.9s cubic-bezier(0.33, 1, 0.68, 1) both;
}

.px-hero__brand img {
  width: min(88vw, 42rem);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

.px-hero__copy {
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto 2rem;
  text-align: center;
  animation: px-rise 1s cubic-bezier(0.33, 1, 0.68, 1) 0.12s both;
}

.px-hero__copy h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.px-hero__copy p {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--px-muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.55;
}

.px-hero__copy .px-actions {
  margin-top: 1.35rem;
}

.partner-logos {
  display: none;
}

.partner-logos:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  margin: 1.75rem 0 0;
}

.px-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .px-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.px-benefits li {
  margin: 0;
  padding: 0;
}

.px-benefits h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.px-benefits p {
  margin: 0;
  color: var(--px-muted);
  line-height: 1.55;
}

.px-example {
  margin: 2.5rem auto 0;
  max-width: 40rem;
  text-align: center;
}

.px-example h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
}

.px-example p:last-child {
  margin: 0;
  color: var(--px-muted);
  line-height: 1.55;
}

.px-assignments {
  display: grid;
  gap: 2.75rem;
  margin: 0 auto;
  max-width: 40rem;
}

.px-assignment {
  margin: 0;
  text-align: left;
}

.px-assignment + .px-assignment {
  padding-top: 2.75rem;
  border-top: 1px solid color-mix(in srgb, var(--px-ink) 12%, transparent);
}

.px-assignment h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
}

.px-assignment > p {
  margin: 0 0 0.85rem;
  color: var(--px-muted);
  line-height: 1.55;
}

.px-assignment .px-project-meta {
  margin: 0 0 0.85rem;
}

.px-assignment__need {
  color: var(--px-ink) !important;
  font-weight: 500;
}

.px-assignment .px-actions {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.px-assignment__empty {
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
  color: var(--px-muted);
  line-height: 1.55;
}

.px-creds {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.25rem;
  color: var(--px-muted);
  font-size: 0.95rem;
}

.px-project-meta {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--px-muted);
}

.px-photo-credit {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--px-muted);
}

@keyframes px-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.px-rail {
  position: relative;
  height: min(38vh, 22rem);
  overflow: hidden;
}

.px-rail__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.px-rail__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--px-bg), transparent);
}

.px-rail__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--px-bg), transparent);
}

.px-rail__track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.px-rail__shot,
.px-rail__promo {
  flex: 0 0 auto;
  height: 100%;
  margin: 0 0.35rem;
  border-radius: 1.35rem 1.35rem 0 0;
  overflow: hidden;
}

.px-rail__shot {
  width: clamp(8.5rem, 18vw, 15rem);
  background: #021c1e;
}

.px-rail__shot:nth-child(3n) {
  width: clamp(10rem, 22vw, 17rem);
}

.px-rail__shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.px-rail__promo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  width: clamp(11rem, 20vw, 14.5rem);
  padding: 1.25rem;
  background: color-mix(in srgb, var(--px-bg-2) 88%, white 4%);
  color: var(--px-ink);
  text-decoration: none;
}

.px-rail__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--px-accent);
}

.px-rail__promo-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--px-dim);
}

.px-rail__promo strong {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.px-rail__promo-link {
  font-size: 0.9rem;
  color: var(--px-accent);
}

/* Panels */
.px-panel,
.px-offer,
.px-section {
  padding: 5.5rem 1.35rem;
}

.px-panel__inner,
.px-section__head,
.px-offer__box,
.px-stats,
.px-services,
.px-steps,
.px-projects,
.px-footer__inner {
  width: min(100%, var(--px-max));
  margin-inline: auto;
}

.px-lede {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.px-lede strong {
  color: #9fe3d0;
  font-weight: 600;
}

.px-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.px-logos {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  color: var(--px-dim);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.px-offer {
  padding-top: 2rem;
}

.px-offer__box {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.75rem;
  background: var(--px-panel);
  text-align: center;
}

.px-offer__kicker {
  margin: 0 0 0.85rem;
  color: var(--px-accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.px-offer__box h2,
.px-section__head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.px-offer__box p,
.px-section__head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--px-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.px-offer__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem auto 0;
  max-width: 36rem;
}

@media (min-width: 40rem) {
  .px-offer__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.px-offer__form input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--px-ink);
  font: inherit;
}

.px-offer__form input::placeholder {
  color: var(--px-dim);
}

.px-checks {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.35rem;
  color: var(--px-muted);
  font-size: 0.92rem;
}

.px-checks li::before {
  content: "✓ ";
  color: var(--px-accent);
}

.px-stats {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: center;
}

@media (min-width: 40rem) {
  .px-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.px-stats dt {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.px-stats dd {
  margin: 0.35rem 0 0;
  color: var(--px-muted);
}

.px-effects {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.px-effects__title,
.px-section__head h2.px-effects__title {
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-muted);
  line-height: 1.4;
}

.px-effects__grid {
  display: grid;
  gap: 2.5rem;
  width: min(100%, var(--px-max));
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 40rem) {
  .px-effects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 40rem;
  }
}

.px-effects__grid dt {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.px-effects__grid dd {
  margin: 0.45rem 0 0;
  color: var(--px-muted);
  font-size: 1.05rem;
}

.px-newsletter {
  padding: 4.5rem 1.35rem 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(55, 155, 131, 0.16), transparent 70%),
    var(--px-bg);
}

.px-newsletter__inner {
  width: min(100%, 36rem);
  margin: 0 auto;
  text-align: center;
}

.px-newsletter__inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.px-newsletter__lead {
  margin: 0 0 1.5rem;
  color: var(--px-muted);
}

.px-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .px-newsletter__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.px-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--px-ink);
  font: inherit;
}

.px-newsletter__form input::placeholder {
  color: rgba(244, 255, 251, 0.4);
}

.px-newsletter__form input:focus {
  outline: 2px solid rgba(55, 155, 131, 0.55);
  outline-offset: 1px;
}

.px-newsletter__form .px-pill {
  justify-content: center;
  white-space: nowrap;
}

.px-newsletter__status {
  margin: 0.9rem 0 0;
  min-height: 1.25rem;
  font-weight: 500;
}

.px-newsletter__status.is-success {
  color: var(--px-accent);
}

.px-newsletter__status.is-error {
  color: #ffb4a8;
}

.px-section__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.px-services,
.px-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .px-services {
    grid-template-columns: repeat(3, 1fr);
  }

  .px-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.px-services li,
.px-steps li {
  padding: 1.35rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.px-services span,
.px-steps span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--px-accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.px-services h3,
.px-steps h3,
.px-projects h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.px-projects__meta,
.px-section__head h2.px-projects__meta {
  margin: 0;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--px-muted);
  line-height: 1.4;
}

.px-newsletter__consent {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--px-muted);
}

.px-newsletter__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.px-footer__inner a {
  color: var(--px-muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.px-services p,
.px-steps p,
.px-projects p {
  margin: 0;
  color: var(--px-muted);
  line-height: 1.5;
}

.px-projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .px-projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.px-projects li {
  display: grid;
  gap: 1rem;
}

.px-projects img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.35rem;
  display: block;
}

.px-text-link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.85rem;
  color: var(--px-accent) !important;
  text-decoration: none;
  font-weight: 500;
}

.px-text-link:hover {
  color: #7fd4bf !important;
}

.px-section--contact {
  padding-bottom: 4rem;
}

.px-contact-meta {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--px-dim);
}

.px-contact-meta a {
  color: var(--px-ink);
  text-decoration: none;
}

.px-post-grid {
  width: min(100%, var(--px-max));
  margin: 0 auto 1.5rem;
}

:is(.partners-page, .main-page) .post-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  :is(.partners-page, .main-page) .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

:is(.partners-page, .main-page) .post-card {
  background: var(--px-panel);
  border-radius: 1.25rem;
  overflow: hidden;
  color: var(--px-ink);
}

:is(.partners-page, .main-page) .post-card a {
  color: inherit;
  text-decoration: none;
}

:is(.partners-page, .main-page) .post-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

:is(.partners-page, .main-page) .post-card-date,
:is(.partners-page, .main-page) .post-card-cta {
  color: var(--px-accent);
}

:is(.partners-page, .main-page) .post-card-local a {
  color: var(--px-muted);
}

.px-form label {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  color: var(--px-muted);
  font-size: 0.92rem;
}

.px-form label span {
  color: var(--px-dim);
}

.px-form input,
.px-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.22);
  color: var(--px-ink);
  font: inherit;
}

.px-form select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.22);
  color: var(--px-ink);
  font: inherit;
}

.px-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.px-form .form-status.is-success {
  color: var(--px-accent);
}

.px-form .form-status.is-error {
  color: #f0a8a0;
}

/* Mobil: wrap-nudge gav negativ margin (-8px) och klippte text. Nollställ nudge.
   Desktop oförändrad. */
@media (max-width: 47.99rem) {
  :is(.partners-page, .main-page) {
    --wrap-nudge-left: 0px;
    --wrap-gutter: clamp(1.25rem, 5vw, 3rem);
  }
}

/* Fast header — innehåll ska börja under den (samma på kunskap/artikel) */
:is(.partners-page, .main-page) .blog-index,
:is(.partners-page, .main-page) .article {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem);
}

.lecture-hero {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.25rem);
  padding-bottom: 2.5rem;
}

@media (max-width: 47.99rem) {
  .lecture-hero {
    padding-bottom: 2.25rem;
  }

  .lecture-hero + .band {
    padding-top: 2.25rem;
  }
}

.lecture-hero h1 {
  font-size: clamp(1.55rem, 7.2vw, 2.75rem);
  max-width: none;
  overflow-wrap: anywhere;
}

.lecture-lede {
  margin: 0.75rem 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.45;
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
  overflow-wrap: anywhere;
}

.lecture-narrow {
  max-width: 40rem;
}

.lecture-narrow > p,
.lecture-narrow .lecture-links {
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.6;
}

.lecture-format {
  max-width: 40rem;
}

@media (min-width: 48rem) {
  :is(.partners-page, .main-page) .lecture-format.post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lecture-links {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lecture-links a {
  color: var(--px-accent, #5fd4c8);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lecture-quote[hidden] {
  display: none !important;
}

.lecture-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lecture-honey label,
.lecture-honey input {
  position: absolute;
  left: -9999px;
}

.lecture-form {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.lecture-phone {
  margin: 1.5rem 0 0;
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
}

.lecture-phone a {
  color: var(--px-accent, #5fd4c8);
}

.lecture-promo {
  margin-bottom: 2.5rem;
}

.lecture-promo .post-card-body {
  display: grid;
  gap: 0.55rem;
}

.lecture-model-note {
  margin: 1.75rem 0 0;
  max-width: 40rem;
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.6;
}

.lecture-model-note a {
  color: var(--px-accent, #5fd4c8);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.diagnos-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.6;
  display: grid;
  gap: 0.65rem;
}

.lecture-crosslink {
  margin: 0;
}

.lecture-crosslink h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.lecture-crosslink p {
  margin: 0;
  color: var(--px-muted, rgba(255, 255, 255, 0.78));
  line-height: 1.6;
}

.lecture-crosslink__action {
  margin-top: 1rem !important;
}

.lecture-crosslink__action a {
  color: var(--px-accent, #5fd4c8);
  font-weight: 500;
  text-decoration: none;
}

.lecture-crosslink__action a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lecture-speaker {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 48rem) {
  .lecture-speaker {
    grid-template-columns: min(280px, 38%) 1fr;
    gap: 2.5rem;
    max-width: none;
  }
}

.lecture-speaker__photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
}

.lecture-speaker__name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
}

.lecture-speaker__role {
  margin: 0 0 1rem;
  color: var(--px-accent);
  font-weight: 500;
}

.lecture-speaker__copy p {
  margin: 0 0 0.85rem;
  color: var(--px-muted);
  line-height: 1.6;
}

.lecture-speaker__link a {
  color: var(--px-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.px-form .px-pill {
  justify-self: start;
  margin-top: 0.35rem;
}

.px-form .form-status {
  margin: 0;
  min-height: 1.25rem;
  color: var(--px-accent);
}

.px-footer {
  padding: 2.5rem 1.35rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.px-footer__inner {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
  color: var(--px-dim);
  font-size: 0.92rem;
}

.px-footer img {
  width: auto;
  height: 2rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

:is(.partners-page, .main-page) .px-header.is-open .px-nav {
  display: block;
}

@media (max-width: 39.99rem) {
  .px-header .px-pill {
    padding: 0.7rem 1.1rem;
    font-size: 0.92rem;
  }

  .px-hero__brand {
    padding-bottom: 1.5rem;
  }

  .px-rail {
    height: min(34vh, 16.5rem);
  }
}

/* Offert chat (pey-style guided flow) */
body.px-chat-open {
  overflow: hidden;
}

.px-chat {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  height: 100vh;
  height: 100dvh;
}

.px-chat.is-open {
  display: block;
}

.px-chat .is-hidden {
  display: none !important;
}

.px-chat__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 20, 22, 0.55);
}

.px-chat__panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--px-bg, #033234);
  color: var(--px-ink, #f4fffb);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: px-chat-in 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes px-chat-in {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.px-chat__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}

.px-chat__progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.px-chat__restart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--px-dim);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.px-chat__restart:hover {
  color: var(--px-ink);
}

.px-chat__restart-label {
  display: none;
}

@media (min-width: 48rem) {
  .px-chat__restart-label {
    display: inline;
  }
}

.px-chat__step {
  color: var(--px-muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.px-chat__bar {
  width: 5.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

@media (min-width: 48rem) {
  .px-chat__bar {
    width: 7rem;
  }
}

.px-chat__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--px-accent);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.px-chat__close {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--px-ink);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.px-chat__close:hover {
  opacity: 0.7;
}

.px-chat__thread {
  overflow-y: auto;
  padding: 0.5rem 1.25rem 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
}

.px-chat__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  max-width: 100%;
}

.px-chat__row--user {
  justify-content: flex-end;
}

.px-chat__avatar {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--px-panel);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.px-chat__avatar img {
  width: 1.7rem;
  height: auto;
}

.px-chat__bubble {
  max-width: min(32rem, 85%);
  padding: 0.9rem 1.15rem;
  border-radius: 1.15rem;
  line-height: 1.45;
  font-size: 1.02rem;
}

.px-chat__bubble--bot {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.35rem;
}

.px-chat__bubble--user {
  background: var(--px-accent);
  color: #fff;
  border-bottom-right-radius: 0.35rem;
}

.px-chat__composer {
  padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--px-bg) 92%, black);
  position: sticky;
  bottom: 0;
  z-index: 2;
}

@media (max-width: 30rem) {
  .px-chat__panel {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .px-chat__thread {
    padding: 0.85rem 0.9rem;
  }

  .px-chat__composer {
    padding: 0.85rem 0.9rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
  }

  .px-chat__bubble {
    max-width: min(28rem, 92%);
    font-size: 0.98rem;
  }

  .px-chat__choices {
    grid-template-columns: 1fr;
  }

  .px-chat__summary {
    max-height: min(55vh, 24rem);
    overflow: auto;
  }
}

.px-chat__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 0.35rem;
}

.px-chat__choice {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--px-ink);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  min-height: 2.75rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.px-chat__choice:hover {
  background: rgba(55, 155, 131, 0.22);
  border-color: rgba(55, 155, 131, 0.55);
}

.px-chat__choice.is-selected {
  background: rgba(55, 155, 131, 0.32);
  border-color: var(--px-accent);
  color: #fff;
}

.px-chat__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.px-chat__choices--multi {
  margin-bottom: 0.75rem;
}

.px-chat__form {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
  margin: 0 auto;
}

.px-chat__input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: var(--px-ink);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
}

.px-chat__input:focus {
  outline: 2px solid rgba(55, 155, 131, 0.55);
  outline-offset: 1px;
}

.px-chat__form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.px-chat__send {
  min-height: 2.85rem;
  margin-left: auto;
}

.px-chat__skip {
  border: 0;
  background: transparent;
  color: var(--px-dim);
  font: inherit;
  cursor: pointer;
  margin-right: auto;
}

.px-chat__skip:hover {
  color: var(--px-ink);
}

.px-chat__hint {
  margin: 0;
  color: var(--px-dim);
  font-size: 0.82rem;
}

.px-chat__error {
  margin: 0;
  color: #ffb4a8;
  font-size: 0.9rem;
}

.px-chat__summary {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.px-chat__summary p {
  margin: 0;
  color: var(--px-muted);
}

.px-chat__summary dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.px-chat__summary dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
}

.px-chat__summary dt {
  color: var(--px-dim);
  font-size: 0.86rem;
}

.px-chat__summary dd {
  margin: 0;
  color: var(--px-ink);
}

.px-chat__legal {
  font-size: 0.82rem !important;
  color: var(--px-dim) !important;
}

.px-chat__submit {
  justify-self: start;
}

@media (max-width: 39.99rem) {
  .px-chat__summary dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
