:root {
  --ps-bg: linear-gradient(180deg, #f4fbf8 0%, #eef4fb 100%);
  --ps-surface: rgba(255, 255, 255, 0.94);
  --ps-surface-strong: #ffffff;
  --ps-text: #102033;
  --ps-text-soft: #41556d;
  --ps-text-muted: #6b7a8e;
  --ps-line: #d8e3ef;
  --ps-line-strong: #c3d3e3;
  --ps-brand: #0f766e;
  --ps-brand-strong: #0b5f59;
  --ps-brand-soft: #d8faf0;
  --ps-accent: #f59e0b;
  --ps-accent-soft: #fff1cf;
  --ps-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --ps-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
  --ps-radius-xl: 28px;
  --ps-radius-lg: 20px;
  --ps-radius-md: 16px;
  --ps-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.public-site {
  margin: 0;
  min-height: 100vh;
  color: var(--ps-text);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 20%),
    var(--ps-bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.ps-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 251, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(195, 211, 227, 0.8);
}

.ps-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.ps-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ps-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #effaf6);
  border: 1px solid rgba(15, 118, 110, 0.18);
  box-shadow: var(--ps-shadow-soft);
  flex-shrink: 0;
}

.ps-brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ps-brand-copy {
  display: grid;
  gap: 2px;
}

.ps-brand-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ps-brand-sub {
  font-size: 0.72rem;
  color: var(--ps-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.ps-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ps-line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ps-text);
  font-size: 1.15rem;
}

.ps-nav-links,
.ps-footer-links,
.ps-inline-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ps-nav-links a,
.ps-footer-links a,
.ps-inline-links a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ps-text-soft);
}

.ps-nav-links a.active {
  color: var(--ps-brand-strong);
}

.ps-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ps-btn:hover { transform: translateY(-1px); }

.ps-btn-primary {
  background: linear-gradient(135deg, var(--ps-brand-strong), var(--ps-brand));
  color: #fff;
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.2);
}

.ps-btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ps-text);
  border-color: var(--ps-line-strong);
}

.ps-btn-ghost {
  background: transparent;
  color: var(--ps-text-soft);
  border-color: var(--ps-line-strong);
}

.ps-main {
  padding: 28px 0 48px;
}

.ps-page-head,
.ps-hero,
.ps-card,
.ps-banner,
.ps-metric,
.ps-trust-card,
.ps-quote,
.ps-section {
  position: relative;
}

.ps-page-head,
.ps-hero,
.ps-card,
.ps-banner,
.ps-metric,
.ps-trust-card,
.ps-quote {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--ps-surface);
  box-shadow: var(--ps-shadow);
  border-radius: var(--ps-radius-xl);
}

.ps-page-head,
.ps-hero,
.ps-banner {
  padding: 28px;
}

.ps-page-kicker,
.ps-chip,
.ps-faq-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-page-kicker,
.ps-faq-tag {
  color: var(--ps-brand-strong);
  background: var(--ps-brand-soft);
}

.ps-chip {
  color: var(--ps-text-soft);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--ps-line);
}

.ps-page-title,
.ps-section-title,
.ps-hero-title,
.ps-card-title,
.ps-quote-title {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1;
}

.ps-page-title,
.ps-hero-title {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.ps-section-title {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.ps-card-title,
.ps-quote-title {
  font-size: 1.28rem;
}

.ps-page-subtitle,
.ps-section-copy,
.ps-card-copy,
.ps-hero-copy,
.ps-quote-copy,
.ps-footer-copy,
.ps-list li,
.ps-faq-answer,
.ps-trust-copy,
.ps-metric-copy {
  color: var(--ps-text-soft);
  line-height: 1.75;
}

.ps-page-subtitle,
.ps-hero-copy {
  margin-top: 14px;
  font-size: 1rem;
  max-width: 70ch;
}

.ps-section {
  margin-top: 24px;
}

.ps-section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.ps-grid {
  display: grid;
  gap: 20px;
}

.ps-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ps-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ps-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ps-card,
.ps-metric,
.ps-trust-card,
.ps-quote {
  padding: 22px;
}

.ps-card-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ps-brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ps-card-title {
  margin-top: 10px;
}

.ps-card-copy {
  margin-top: 10px;
}

.ps-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.ps-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #102136, #183250 68%, #115e59);
  color: #fff;
}

.ps-banner .ps-page-kicker { background: rgba(255, 255, 255, 0.14); color: #d8faf0; }
.ps-banner .ps-page-title,
.ps-banner .ps-page-subtitle { color: #fff; }
.ps-banner .ps-page-subtitle { color: rgba(255,255,255,0.82); }

.ps-cta-row,
.ps-chip-row,
.ps-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ps-chip-row { margin-top: 18px; }

.ps-metric strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ps-metric span {
  display: block;
  margin-top: 8px;
  color: var(--ps-text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ps-metric-copy { margin-top: 10px; }

.ps-trust-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,253,0.98));
}

.ps-trust-copy {
  margin-top: 12px;
}

.ps-quote {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.ps-quote-copy {
  margin-top: 12px;
  font-size: 1rem;
}

.ps-quote-attribution {
  margin-top: 16px;
  color: var(--ps-text-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.ps-faq-item {
  padding: 18px 20px;
  border-radius: var(--ps-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ps-line);
  box-shadow: var(--ps-shadow-soft);
}

.ps-faq-question {
  margin: 0;
  font-size: 1.02rem;
}

.ps-faq-answer {
  margin: 10px 0 0;
}

.ps-footer {
  padding: 0 0 28px;
}

.ps-footer-grid {
  border-top: 1px solid var(--ps-line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .ps-grid-2,
  .ps-grid-3,
  .ps-grid-4,
  .ps-banner {
    grid-template-columns: 1fr;
  }

  .ps-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .ps-nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--ps-line);
    box-shadow: var(--ps-shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .ps-nav-links.ps-open {
    display: flex;
  }

  .ps-nav-links .ps-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ps-shell {
    width: min(calc(100% - 20px), var(--ps-shell));
  }

  .ps-main {
    padding-top: 20px;
  }

  .ps-page-head,
  .ps-hero,
  .ps-card,
  .ps-banner,
  .ps-metric,
  .ps-trust-card,
  .ps-quote {
    padding: 20px;
  }

  .ps-cta-row .ps-btn,
  .ps-banner .ps-btn {
    width: 100%;
  }
}
