/* Shared public-site header and footer. Keep this plain so support/blog/legal pages match the landing shell. */
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-VariableItalic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --shell-lime: #D2F159;
  --shell-ink: #090B02;
  --shell-olive: #5F6C26;
  --shell-bg: #F5F6F1;
  --shell-white: #FFFFFF;
  --shell-border: 2px solid #090B02;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  width: min(1320px, calc(100% - 28px));
  height: 58px;
  margin: 12px auto 0;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--shell-white);
  border: var(--shell-border);
  border-radius: 10px;
  box-shadow: 5px 5px 0 var(--shell-ink);
  color: var(--shell-ink);
  font-family: 'Satoshi', system-ui, sans-serif;
}

.site-header .nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--shell-ink);
  text-decoration: none;
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.site-header .nav-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

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

.site-header .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 2px;
  color: var(--shell-ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.site-header .nav-links a:hover {
  color: var(--shell-olive);
}

.site-header .nav-links .cta,
.site-header .nav-links .cta:hover {
  background: var(--shell-lime);
  color: var(--shell-ink);
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  transition: filter 140ms ease, transform 140ms ease;
}

.site-header .nav-links .cta:hover {
  filter: brightness(0.94);
}

.site-header .nav-links .cta:active {
  transform: scale(0.985);
}

.site-footer {
  display: block;
  background: var(--shell-ink);
  color: var(--shell-white);
  border-top: var(--shell-border);
  padding: 46px 32px 28px;
  font-family: 'Satoshi', system-ui, sans-serif;
  text-align: left;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(150px, 0.8fr));
  gap: 32px;
}

.site-footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--shell-lime);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.site-footer-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-footer-brand p,
.site-footer-bottom {
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer-title {
  color: var(--shell-white);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer-column a {
  color: rgba(255,255,255,0.62);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer-column a:hover {
  color: var(--shell-lime);
}

.site-footer-bottom {
  width: min(1180px, 100%);
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 24px);
    height: auto;
    min-height: 58px;
    align-items: flex-start;
    padding: 12px 18px;
    flex-wrap: wrap;
  }

  .site-header .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .site-header .nav-links a {
    min-height: 34px;
    padding: 0 10px;
  }

  .site-footer {
    padding: 38px 18px 24px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 26px 22px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 10px 12px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-header .nav-logo {
    gap: 8px;
    font-size: 1rem;
  }

  .site-header .nav-mark {
    width: 30px;
    height: 30px;
  }

  .site-header .nav-links {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    margin-left: auto;
  }

  .site-header .nav-links li:not(:nth-last-child(-n+2)) {
    display: none;
  }

  .site-header .nav-links a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .site-header .nav-links .cta,
  .site-header .nav-links .cta:hover {
    padding: 0 10px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}
