@font-face {
  font-family: 'Monument Extended';
  src: url('/fonts/PPMonumentExtended-Black.woff2') format('woff2'),
       url('/fonts/PPMonumentExtended-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tfas-shell-bg: #F8F9FA;
  --tfas-shell-paper: #FFFFFF;
  --tfas-shell-ink: #101010;
  --tfas-shell-muted: #667085;
  --tfas-shell-line: #E2E8F0;
  --tfas-shell-green: #1E795E;
  --tfas-shell-green-dark: #13352A;
  --tfas-shell-red: #D53528;
  --tfas-shell-max: 1160px;
}

.tfas-site-nav,
.tfas-site-footer {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--tfas-shell-ink);
}

.tfas-site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tfas-shell-line);
}

.tfas-site-nav-inner {
  max-width: var(--tfas-shell-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tfas-site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.tfas-site-logo img {
  display: block;
  width: 40px;
  height: 40px;
}

.tfas-site-logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  font-family: 'Monument Extended', 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tfas-site-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tfas-site-nav-links a:not(.tfas-shell-btn) {
  color: var(--tfas-shell-muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.tfas-shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 13px 18px;
  border: 1px solid transparent;
  background: var(--tfas-shell-green);
  color: #FFFFFF;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tfas-shell-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(30, 121, 94, 0.18);
}

.tfas-site-footer {
  padding: 54px 22px 28px;
  border-top: 1px solid var(--tfas-shell-line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--tfas-shell-muted);
  font-size: 0.94rem;
}

.tfas-site-footer-inner {
  max-width: var(--tfas-shell-max);
  margin: 0 auto;
}

.tfas-site-footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(0, 1.65fr);
  gap: 48px;
  align-items: start;
}

.tfas-site-footer-brand {
  max-width: 430px;
}

.tfas-site-footer-logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.tfas-site-footer-logo img {
  display: block;
  width: 38px;
  height: 38px;
}

.tfas-site-footer-brand p {
  line-height: 1.65;
}

.tfas-site-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tfas-site-footer-column h3 {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tfas-shell-green);
}

.tfas-site-footer-column a {
  display: block;
  margin-top: 11px;
  color: var(--tfas-shell-green-dark);
  font-weight: 800;
  text-decoration: none;
}

.tfas-site-footer-column a:hover,
.tfas-site-footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tfas-site-footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--tfas-shell-line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.tfas-site-footer-bottom a {
  color: var(--tfas-shell-green-dark);
  font-weight: 800;
  text-decoration: none;
}

.tfas-site-footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .tfas-site-nav {
    padding: 12px 14px;
  }

  .tfas-site-logo img {
    width: 34px;
    height: 34px;
  }

  .tfas-site-nav-links a:not(.tfas-shell-btn) {
    display: none;
  }

  .tfas-shell-btn {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .tfas-site-footer {
    padding: 42px 16px 24px;
  }

  .tfas-site-footer-top,
  .tfas-site-footer-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .tfas-site-footer-bottom {
    flex-direction: column;
  }
}
