/* Unified site header & footer (English chrome) */

.gc-header {
  position: sticky;
  top: 0;
  z-index: 10050;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gc-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.gc-logo {
  display: flex;
  align-items: baseline;
  gap: 0.15em;
  text-decoration: none;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.gc-logo-text {
  color: inherit;
}

.gc-logo-accent {
  color: #4f46e5;
}

.gc-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: #0f172a;
}

.gc-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.gc-nav a {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.gc-nav a:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.gc-nav a[aria-current="page"] {
  background: #e0e7ff;
  color: #312e81;
}

@media (max-width: 720px) {
  .gc-burger {
    display: flex;
  }

  .gc-nav {
    display: none;
    position: absolute;
    right: 16px;
    left: 16px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  }

  .gc-nav.is-open {
    display: flex;
  }

  .gc-nav a {
    padding: 12px 14px;
  }
}

/* Footer */
.gc-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 20px 40px;
  margin-top: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.gc-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.gc-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.gc-footer-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.gc-footer-nav a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

.gc-footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Legal pages: stack header + centered content */
body.gc-legal {
  flex-direction: column;
  align-items: stretch;
  padding-top: 12px;
}

body.gc-legal .page-container {
  margin: 24px auto 0;
}
