/* Shared chrome: sticky header, logo, nav, CTA buttons, footer. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 250, 0.88);
  border-bottom: 1px solid rgba(36, 38, 42, 0.08);
  backdrop-filter: blur(12px);
  animation: header-slide-in 0.55s ease both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.55rem;
  background: var(--charcoal);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green-deep);
}

.site-nav a[href*="5scontrol"] {
  color: var(--green-deep);
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--green);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn-secondary {
  border-color: rgba(36, 38, 42, 0.18);
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.site-footer {
  padding-block: 2.25rem;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  border-top: none;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer strong {
  color: #fff;
}

.footer-inner p + p {
  margin-top: 0.4rem;
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
  }
}
