/*
 * Shared site chrome (top nav + footer) for the public pages.
 *
 * Scoped under .sc- prefixes and self-contained so it can be dropped onto pages
 * with different layouts without colliding with their own styles.
 */
.sc-nav {
  --sc-ink: #0b1210;
  --sc-fog: #d7e0d8;
  --sc-mute: #8a9a8e;
  --sc-lime: #c8f542;
  --sc-lime-ink: #14200a;
  --sc-line: rgba(215, 224, 216, 0.14);
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 18, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sc-line);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.sc-nav-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.sc-brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--sc-fog);
  white-space: nowrap;
}
.sc-brand span { color: var(--sc-lime); }
.sc-brand small {
  display: block;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-mute);
  margin-top: -0.15rem;
}
.sc-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--sc-mute);
  flex-wrap: wrap;
}
.sc-links a {
  text-decoration: none;
  color: var(--sc-mute);
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.sc-links a:hover { color: var(--sc-fog); }
.sc-links a[aria-current="page"] {
  color: var(--sc-fog);
  border-bottom-color: var(--sc-lime);
}
.sc-sep {
  width: 1px;
  height: 1.1rem;
  background: var(--sc-line);
}
.sc-cta {
  background: var(--sc-lime);
  color: var(--sc-lime-ink) !important;
  border-radius: 0.3rem;
  padding: 0.45rem 0.85rem !important;
  font-weight: 600;
  border-bottom: none !important;
}
.sc-cta:hover { filter: brightness(1.05); }
.sc-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--sc-line);
  color: var(--sc-fog);
  border-radius: 0.3rem;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer */
.sc-footer {
  --sc-fog: #d7e0d8;
  --sc-mute: #8a9a8e;
  --sc-lime: #c8f542;
  --sc-line: rgba(215, 224, 216, 0.12);
  margin-top: 4rem;
  border-top: 1px solid var(--sc-line);
  background: rgba(11, 18, 16, 0.55);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--sc-mute);
  font-size: 0.88rem;
}
.sc-footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.75rem;
}
.sc-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sc-fog);
  font-weight: 600;
}
.sc-footer ul { list-style: none; margin: 0; padding: 0; }
.sc-footer li { margin: 0 0 0.4rem; }
.sc-footer a { color: var(--sc-mute); text-decoration: none; }
.sc-footer a:hover { color: var(--sc-fog); text-decoration: underline; }
.sc-footer-base {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--sc-line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .sc-toggle { display: inline-block; }
  .sc-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.9rem 1.25rem 1.2rem;
    background: rgba(11, 18, 16, 0.98);
    border-bottom: 1px solid var(--sc-line);
  }
  .sc-links.sc-open { display: flex; }
  .sc-sep { display: none; }
  .sc-nav-inner { position: relative; }
}
