/**
 * Site footer — production chrome (matches paynexor-home-draft footer).
 * Load after css.css and windsurf-theme.css.
 */

:root {
  --site-footer-bg: #07080F;
  --site-footer-border: #1B1E2F;
  --site-footer-text: #A8B4CE;
  --site-footer-text-hover: #D8DDF0;
  --site-footer-tagline: #ce9178;
}

.ph-site-footer {
  border-top: 1px solid var(--site-footer-border);
  padding: 38px 56px;
  background: var(--site-footer-bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  font-weight: normal;
  line-height: 1.6;
  color: var(--site-footer-text);
}

.ph-site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ph-site-footer-logo {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--site-footer-text);
  letter-spacing: -0.02em;
}

.ph-site-footer-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.ph-site-footer-links a {
  font-size: 12px;
  color: var(--site-footer-text) !important;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.15s;
  font-weight: 400;
}

.ph-site-footer-links a:hover {
  color: var(--site-footer-text-hover) !important;
}

.ph-site-footer-copy {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--site-footer-tagline);
  margin: 0;
  white-space: nowrap;
}

/* Undo legacy .site-footer / .full-width-container chrome if classes remain elsewhere */
.full-width-container:has(.ph-site-footer) {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  text-align: left;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
  transition: none;
}

.full-width-container:has(.ph-site-footer):hover {
  background: transparent;
  color: inherit;
}

@media (max-width: 768px) {
  .ph-site-footer {
    padding: 32px 24px;
  }

  .ph-site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .ph-site-footer-links {
    justify-content: flex-start;
  }
}
