﻿/* =========================
   FOOTER
========================= */

.ps-footer {
  --ps-footer-line: rgba(73, 145, 210, 0.22);
  --ps-footer-line-soft: rgba(73, 145, 210, 0.08);
  --ps-footer-link: rgba(208, 226, 245, 0.84);
  --ps-footer-link-hover: rgba(239, 248, 255, 0.98);
  position: relative;
  width: 100%;
  padding: 17px 0 0;
  border-top: 1px solid var(--ps-footer-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    0 -34px 82px rgba(42, 119, 190, 0.055);
  transform: translateY(clamp(-18px, -1.55vh, -12px));
  isolation: isolate;
}

.ps-footer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(720px, 72vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 172, 232, 0.42), transparent);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.ps-footer::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -22px;
  width: min(760px, 76vw);
  height: 58px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, var(--ps-footer-line-soft), transparent 68%);
  transform: translateX(-50%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}

.ps-footer-main,
.ps-footer-bottom {
  position: relative;
  z-index: 1;
}

.ps-footer-main {
  display: flex;
  justify-content: center;
}

.ps-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.ps-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  color: var(--ps-footer-link);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.ps-footer-link:hover {
  color: var(--ps-footer-link-hover);
  opacity: 1;
  transform: translateY(-1px);
}

.ps-footer-bottom {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(73, 145, 210, 0.09);
}

.ps-footer-copy {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  color: var(--ps-text-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.ps-footer-copy a {
  color: #7fb5ee;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ps-footer-copy a:hover {
  color: #b7ddff;
}

/* =========================
   LEGAL PAGES
========================= */

.ps-legal {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 0 24px;
}

.ps-legal-hero {
  margin-bottom: 24px;
  padding: 30px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 38%),
    radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
}

.ps-legal-eyebrow {
  margin: 0 0 10px;
  color: var(--ps-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ps-legal-title {
  margin: 0 0 12px;
  color: var(--ps-text);
  font-size: var(--ps-type-h1);
  line-height: 0.98;
  letter-spacing: var(--ps-track-heading);
}

.ps-legal-intro {
  max-width: 62ch;
  margin: 0;
  color: var(--ps-text-soft);
  font-size: var(--ps-type-body-lg);
  line-height: var(--ps-line-body);
}

.ps-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ps-legal-card {
  min-height: 220px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 19, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 50px rgba(0, 0, 0, 0.2);
}

.ps-legal-card-title {
  margin: 0 0 12px;
  color: var(--ps-text);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ps-legal-copy {
  display: grid;
  gap: 12px;
}

.ps-legal-copy p {
  margin: 0;
  color: var(--ps-text-soft);
  font-size: 15px;
  line-height: 1.7;
}
