/* Build 19 v2: unified header + footer chrome for all public pages.
   Inlined HTML on each page references these classes; the CSS is the
   single source of truth. Header and footer are dark (#1e1b2e). */

.oc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #1e1b2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.oc-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.oc-mark {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}
.oc-mark .oc-o { color: #7c3aed; }
.oc-mark:hover { text-decoration: none; }
.oc-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.oc-nav-links a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 250, 249, 0.78);
  text-decoration: none;
  white-space: nowrap;
}
.oc-nav-links a:hover { color: #ffffff; }
.oc-nav-links .oc-cta {
  background: #7c3aed;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 120ms ease;
}
.oc-nav-links .oc-cta:hover { background: #5b21b6; color: #ffffff; }
/* Defaults: keep mobile-only elements hidden on desktop. The media query
   blocks at the bottom flip these on for narrow viewports. */
#mobile-nav { display: none; }
#mobile-nav.open { display: flex; align-items: center; justify-content: center; }

/* Hamburger + full-screen mobile overlay (Build 24.5/24.6) */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  padding: 9px 8px;
  cursor: pointer;
  position: relative;
  z-index: 10000;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fafaf9;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 27, 0.98);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  width: 100%;
  max-width: 360px;
}
.mn-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 0 0 8px;
  list-style: none;
  padding: 0;
}
.mn-links a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #fafaf9;
  text-decoration: none;
  transition: color 160ms ease;
}
.mn-links a:hover, .mn-links a:active, .mn-links a:focus { color: #7c3aed; }
.mn-cta {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  display: block;
  text-align: center;
  background: #7c3aed;
  color: #fafaf9;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 160ms ease;
  margin-top: 8px;
}
.mn-cta:hover, .mn-cta:focus { background: #5b21b6; color: #fafaf9; }
body.mn-open { overflow: hidden; }

@media (max-width: 768px) {
  .oc-nav-links { gap: 0; }
  .oc-nav-links a { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 769px) {
  .mobile-nav-overlay { display: none !important; }
}

/* Footer */
.oc-foot {
  background: #1e1b2e;
  /* Body opacity bumped from 0.65 to 0.78 for WCAG AA compliance. */
  color: rgba(250, 250, 249, 0.78);
  padding: 36px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.oc-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.oc-foot-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.oc-foot-links a {
  color: rgba(250, 250, 249, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.oc-foot-links a:hover { color: #ffffff; text-decoration: underline; }
.oc-foot-compliance {
  font-size: 12px;
  /* Bumped from 0.55 to 0.78 for WCAG AA on the dark footer. */
  color: rgba(250, 250, 249, 0.78);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.oc-foot-entity {
  font-size: 11px;
  /* Bumped from 0.4 to 0.7 for WCAG AA. */
  color: rgba(250, 250, 249, 0.7);
  letter-spacing: 0.04em;
}

/* Body-text wordmark (Part 6 unification): "o" violet, "ddly" inherits the
   context color. Use as <span class="oddly-mark">oddly</span> anywhere.
   `display:inline-block` so ::first-letter targets the "o". */
.oddly-mark {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-block;
  color: inherit;
  text-shadow: none;
}
.oddly-mark::first-letter { color: #7c3aed; }
