/* Publik sida /projekt-support. Klasser är scoped under .ps. */

.ps {
  --ps-max: 1120px;
  --ps-line: rgba(238, 243, 239, 0.1);
}

.ps-wrap {
  width: min(var(--ps-max), calc(100% - 40px));
  margin: 0 auto;
}

.ps-kicker {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.ps h1,
.ps h2,
.ps h3,
.ps h4 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}

.ps h1 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ps h2 {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.ps h3,
.ps h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--ink);
}

.ps-lead {
  margin: 0 0 16px;
  max-width: 40rem;
  color: rgba(238, 243, 239, 0.84);
  font-size: 1.08rem;
  line-height: 1.6;
}

.ps-audience {
  margin: 0;
  color: var(--brand);
  font-weight: 650;
  font-size: 0.95rem;
}

.ps-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.ps-login {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.ps-login:hover {
  color: #fff;
}

.ps a:focus-visible,
.ps button:focus-visible,
.ps summary:focus-visible,
.ps input:focus-visible,
.ps textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.ps-hero {
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 4vw, 40px);
}

.ps-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .ps-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 48px;
  }
}

.ps-hero-figure {
  margin: 0;
}

.ps-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #121816;
}

.ps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ps-chips li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(48, 172, 104, 0.35);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  background: rgba(48, 172, 104, 0.08);
}

.ps-section {
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid rgba(48, 172, 104, 0.1);
  scroll-margin-top: 84px;
}

.ps-section--alt {
  background: linear-gradient(180deg, rgba(22, 29, 26, 0.5), transparent);
}

.ps-intro {
  max-width: 40rem;
  margin-bottom: 28px;
}

.ps-intro p,
.ps-quiet {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
}

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

@media (min-width: 760px) {
  .ps-benefits {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ps-benefit {
  padding: 20px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(48, 172, 104, 0.16);
  background: rgba(16, 22, 19, 0.72);
}

.ps-benefit h3 {
  font-size: 1.12rem;
}

.ps-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--brand);
  background: rgba(48, 172, 104, 0.12);
}

.ps-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ps-responsibility {
  margin: 22px 0 0;
  max-width: 40rem;
  color: rgba(238, 243, 239, 0.84);
}

.ps-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .ps-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .ps-services {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ps-service {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(48, 172, 104, 0.16);
  background: rgba(16, 22, 19, 0.72);
}

.ps-service p {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
  font-size: 0.95rem;
}

.ps-benefit-line {
  margin-top: 4px !important;
  color: #fff !important;
  font-weight: 650;
}

.ps-more {
  margin-top: auto;
  padding-top: 8px;
}

.ps-more summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
  list-style: none;
}

.ps-more summary::-webkit-details-marker {
  display: none;
}

.ps-more summary::after {
  content: ' +';
  font-weight: 600;
}

.ps-more[open] summary::after {
  content: ' –';
}

.ps-more ul {
  margin: 10px 0 4px;
  padding-left: 1.1rem;
  color: rgba(238, 243, 239, 0.74);
  font-size: 0.92rem;
}

.ps-more li + li {
  margin-top: 6px;
}

.ps-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ps-example {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .ps-example {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.ps-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 243, 239, 0.18);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ps-kit {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 22, 19, 0.8);
  border: 1px solid rgba(48, 172, 104, 0.18);
}

.ps-kit svg {
  display: block;
  width: 100%;
  height: auto;
}

.ps-kit figcaption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ps-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .ps-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .ps-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ps-step {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid var(--ps-line);
  background: rgba(16, 22, 19, 0.55);
}

.ps-step__no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.ps-step p {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
  font-size: 0.95rem;
}

.ps-delivery {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

@media (min-width: 800px) {
  .ps-delivery {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.ps-delivery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #f4f6f4;
}

.ps-delivery figcaption,
.ps-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ps-flow {
  margin-top: 22px;
  border-top: 1px solid var(--ps-line);
  padding-top: 8px;
}

.ps-flow > summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 700;
  padding: 10px 0;
}

.ps-flow ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.ps-flow li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--ps-line);
}

.ps-flow li strong {
  display: block;
  margin-bottom: 4px;
}

.ps-flow li span {
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
}

.ps-flow p {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
}

.ps-pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .ps-pairs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ps-pair {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(48, 172, 104, 0.16);
  background: rgba(16, 22, 19, 0.72);
}

.ps-pair p {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
}

.ps-pair strong {
  display: block;
  margin: 10px 0 6px;
  color: #fff;
  font-size: 1.05rem;
}

.ps-arrow {
  display: block;
  margin: 8px 0;
  color: var(--brand);
  font-weight: 700;
}

.ps-board {
  margin: 28px 0 0;
}

.ps-board svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.ps-offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

@media (min-width: 800px) {
  .ps-offers {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ps-offer {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(48, 172, 104, 0.16);
  background: rgba(16, 22, 19, 0.72);
}

.ps-offer p {
  margin: 0;
  color: rgba(238, 243, 239, 0.74);
}

.ps-subhead {
  margin: 28px 0 8px;
}

.ps-cases {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 800px) {
  .ps-cases {
    grid-template-columns: 1fr 1fr;
  }
}

.ps-case {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--ps-line);
}

.ps-case p {
  margin: 0 0 8px;
  color: rgba(238, 243, 239, 0.74);
}

.ps-case p:last-child {
  margin-bottom: 0;
}

.ps-faq {
  display: grid;
  gap: 8px;
}

.ps-faq--spaced {
  margin-top: 22px;
}

.ps-faq details {
  border-bottom: 1px solid var(--ps-line);
  padding: 4px 0 8px;
}

.ps-faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 10px 0;
}

.ps-faq p {
  margin: 0 0 12px;
  color: rgba(238, 243, 239, 0.74);
}

.ps-contact {
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .ps-contact {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

.ps-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(48, 172, 104, 0.18);
  background: rgba(16, 22, 19, 0.8);
}

.ps-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 650;
}

.ps-form .ps-optional {
  font-weight: 500;
  color: var(--muted);
}

.ps-form input,
.ps-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #354540;
  border-radius: 10px;
  background: #0e1311;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.75rem;
}

.ps-form textarea {
  min-height: 110px;
  resize: vertical;
}

.ps-form__error,
.ps-form__ok {
  margin: 0;
  font-size: 0.92rem;
}

.ps-form__error {
  color: #f0b4b4;
}

.ps-form__ok {
  color: #b7ebc8;
}

.ps-mailto {
  color: var(--brand);
  font-weight: 700;
}
