/* WCAG 2.2 1.4.3 contrast on white:
 * navy 16.59:1 / text-secondary 9.03:1 / muted 4.83:1
 * gold is used as a filled CTA with navy text for 8.84:1 contrast.
 */

:root {
  --navy: #0e1e3a;
  --navy-2: #1a2332;
  --text-secondary: #3d4a5a;
  --text-muted: #6b7280;
  --bg-tint: #f6f8fb;
  --border: #d8dee8;
  --success: #00876a;
  --success-text: #006b4f;
  --gold: #f5b04a;
  --gold-strong: #f2a52f;
  --gold-soft: #fff7e6;
  --gold-border: #f1d59b;
  --focus: #005bd3;
  --danger: #b42318;
}

:root {
  --public-site-header-height: 76px;
}

.public-site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.public-site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.public-site-brand-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
}

.public-site-brand-mark {
  display: block;
  flex-shrink: 0;
}

.public-site-brand-mark-header {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.public-site-brand-mark-footer {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.public-site-brand-wordmark {
  display: inline-block;
}

.public-site-header-nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.public-site-header-nav-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.public-site-header-nav-link:hover {
  color: var(--navy);
}

.public-site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-tint);
}

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

.public-site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.public-site-footer-note {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.public-site-footer-links {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.public-site-footer-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.public-site-footer-link:hover {
  color: var(--navy);
  text-decoration: underline;
}

.public-site-brand-link:focus-visible,
.public-site-header-nav-link:focus-visible,
.public-site-footer-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .public-site-header-nav-list {
    gap: 14px;
  }

  .public-site-header-nav-item-hide-mobile {
    display: none;
  }

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

  .public-site-footer-links {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  :root {
    --public-site-header-height: 68px;
  }

  .public-site-header-inner {
    padding: 10px 16px;
  }

  .public-site-brand-wordmark {
    display: none;
  }
}
