.ip-header,
.ip-footer {
  --ip-fg: oklch(23% 0.03 255);
  --ip-border: oklch(92% 0.012 250);
  --ip-accent: oklch(46% 0.18 250);
  --ip-dark: oklch(24% 0.05 255);
  --ip-dark-2: oklch(23% 0.03 255);
  --ip-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ip-sans: "Space Grotesk", "Public Sans", system-ui, sans-serif;
  --ip-max: 1280px;
  --ip-pad: 28px;
  font-family: var(--ip-sans);
}
.ip-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ip-border);
}
.ip-nav {
  max-width: var(--ip-max);
  margin: 0 auto;
  padding: 14px var(--ip-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.ip-brand,
.ip-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.ip-brand:hover { color: inherit; }
.ip-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.ip-brand-logo-footer {
  height: 32px;
  max-width: 160px;
}
.ip-brand-name { font-weight: 700; font-size: 16.5px; letter-spacing: -0.02em; }
.ip-nav-links {
  display: flex;
  gap: 6px;
  margin: 0 0 0 12px;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.ip-nav-links a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: oklch(38% 0.02 255);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.ip-nav-links a:hover {
  background: oklch(96% 0.016 250);
  color: oklch(30% 0.1 250);
}
.ip-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ip-nav-signin {
  font-size: 14px;
  font-weight: 600;
  color: oklch(36% 0.02 255);
  padding: 9px 12px;
  text-decoration: none;
}
.ip-nav-signin:hover { color: var(--ip-accent); }
.ip-header .ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}
.ip-header .ip-btn-sm,
.ip-footer .ip-btn-sm { font-size: 14px; padding: 10px 18px; border-radius: 9px; }
.ip-btn-dark { background: var(--ip-dark-2); color: #fff; }
.ip-btn-dark:hover { background: var(--ip-accent); color: #fff; }
.ip-footer .ip-btn-primary {
  background: var(--ip-accent);
  color: #fff;
}
.ip-footer .ip-btn-primary:hover { color: #fff; }
.ip-nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--ip-border);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.ip-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ip-fg);
  border-radius: 2px;
}
@media (max-width: 860px) {
  .ip-nav-toggle { display: flex; }
  .ip-nav-links,
  .ip-nav-actions { display: none; width: 100%; margin-left: 0; }
  .ip-header.is-open .ip-nav-links { display: flex; flex-direction: column; gap: 2px; }
  .ip-header.is-open .ip-nav-actions { display: flex; flex-wrap: wrap; padding-bottom: 8px; }
}
.ip-footer {
  background: var(--ip-dark);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}
.ip-footer-grid {
  max-width: var(--ip-max);
  margin: 0 auto;
  padding: 56px var(--ip-pad) 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 40px;
}
.ip-footer-brand { color: #fff; text-decoration: none; }
.ip-footer-blurb {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.64;
  max-width: 38ch;
}
.ip-footer-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ip-footer .ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}
.ip-footer-signin {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.ip-footer-signin:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.ip-footer-col h3 {
  margin: 0;
  font-family: var(--ip-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}
.ip-footer-col ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ip-footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.ip-footer-col a:hover { color: #fff; }
.ip-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.ip-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
}
.ip-footer-social a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.ip-footer-bottom {
  max-width: var(--ip-max);
  margin: 0 auto;
  padding: 18px var(--ip-pad) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}
.ip-footer-bottom .mono { font-family: var(--ip-mono); }
