/* Single public chrome shared by the static homepage, docs, and learn pages. */
.public-header,
.public-footer {
 position: relative;
 z-index: 80;
}
.public-header {
 position: sticky;
 top: 0;
 padding: 10px 0;
}
.public-nav,
.public-footer-inner {
 width: min(1164px, calc(100vw - 28px));
 margin: 0 auto;
 border: 1px solid rgba(99, 115, 147, 0.28);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.74);
 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 48px rgba(0, 0, 0, 0.22);
 backdrop-filter: blur(22px) saturate(1.22);
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 line-height: 1.35;
}
.public-nav {
 min-height: 58px;
 padding: 0 14px 0 16px;
 display: grid;
 grid-template-columns: minmax(188px, 1fr) auto minmax(260px, 1fr);
 align-items: center;
 gap: 18px;
}
.public-brand,
.public-footer-brand {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 color: #f8fbff;
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 font-size: 16px;
 font-weight: 800;
 line-height: 1;
 letter-spacing: -0.045em;
 text-decoration: none;
}
.public-mark {
 width: 28px;
 height: 28px;
 border-radius: 8px;
 display: inline-grid;
 place-items: center;
 overflow: hidden;
 flex: 0 0 auto;
 background: linear-gradient(145deg, #7c83ff 0%, #6266f1 48%, #95a6ff 100%);
 box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 12px 24px rgba(99, 102, 241, 0.22);
}
.public-mark img {
 width: 20px;
 height: 20px;
 object-fit: contain;
 filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.public-dot {
 width: 5px;
 height: 5px;
 border-radius: 999px;
 background: #7d86ff;
 box-shadow: 0 0 12px rgba(125, 134, 255, 0.9);
}
.public-links,
.public-actions,
.public-footer-links {
 display: flex;
 align-items: center;
 gap: 6px;
}
.public-links {
 justify-self: center;
}
.public-actions {
 justify-self: end;
 gap: 8px;
}
.public-link {
 min-height: 34px;
 display: inline-flex;
 align-items: center;
 padding: 0 12px;
 border-radius: 8px;
 color: #aab7cc;
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 font-size: 13px;
 font-weight: 700;
 letter-spacing: -0.01em;
 text-decoration: none;
}
.public-link:hover,
.public-link.active {
 color: #f4f7ff;
 background: rgba(255, 255, 255, 0.055);
}
.public-cta {
 min-height: 38px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0 16px;
 border-radius: 10px;
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 font-size: 13px;
 font-weight: 800;
 letter-spacing: -0.02em;
 text-decoration: none;
}
.public-cta.secondary {
 color: #f3f7ff;
 background: rgba(9, 15, 29, 0.58);
 border: 1px solid rgba(154, 167, 194, 0.28);
}
.public-cta.primary {
 color: #0b1220;
 background: linear-gradient(180deg, #f8fbff, #dbe6fb);
 border: 1px solid rgba(255, 255, 255, 0.74);
 box-shadow: 0 12px 30px rgba(183, 198, 238, 0.16);
}
.public-menu-btn {
 display: none;
 width: 38px;
 height: 38px;
 border: 1px solid rgba(154, 167, 194, 0.22);
 border-radius: 10px;
 align-items: center;
 justify-content: center;
 justify-self: end;
 color: #d9e2f1;
 background: rgba(9, 15, 29, 0.42);
 cursor: pointer;
}
.public-menu-btn:hover {
 background: rgba(148, 163, 184, 0.08);
}
.public-mobile {
 display: none;
 width: min(1164px, calc(100vw - 28px));
 margin: 8px auto 0;
}
.public-mobile.open {
 display: block;
}
.public-mobile-inner {
 display: grid;
 gap: 4px;
 padding: 12px;
 border: 1px solid rgba(99, 115, 147, 0.28);
 border-radius: 12px;
 background: rgba(6, 11, 23, 0.88);
 box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
 backdrop-filter: blur(22px) saturate(1.22);
}
.public-mobile-link {
 min-height: 42px;
 display: flex;
 align-items: center;
 padding: 0 10px;
 border-radius: 9px;
 color: #d5deed;
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 font-size: 15px;
 font-weight: 700;
 text-decoration: none;
}
.public-mobile-link:hover,
.public-mobile-link.active {
 color: #f4f7ff;
 background: rgba(148, 163, 184, 0.08);
}
.public-mobile-actions {
 display: grid;
 gap: 10px;
 margin-top: 10px;
 padding-top: 12px;
 border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.public-footer {
 padding: 14px 0 26px;
}
.public-footer-inner {
 min-height: 58px;
 padding: 14px 16px;
 display: grid;
 grid-template-columns: minmax(260px, 1fr) minmax(0, auto);
 align-items: center;
 gap: 18px;
 background: rgba(6, 11, 23, 0.58);
 color: #8491a8;
 font-size: 13px;
}
.public-footer-left,
.public-footer-links {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 12px;
}
.public-footer-brand {
 font-size: 14px;
}
.public-footer-sep {
 width: 1px;
 height: 14px;
 background: rgba(99, 115, 147, 0.42);
}
.public-footer-links {
 justify-content: flex-end;
}
.public-footer-links a {
 color: #9facbf;
 font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
 font-size: 13px;
 font-weight: 700;
 letter-spacing: -0.01em;
 text-decoration: none;
}
.public-footer-links a:hover {
 color: #f4f7ff;
}
.public-social-link {
 width: 32px;
 height: 32px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 padding: 0;
 border: 1px solid rgba(154, 167, 194, 0.2);
 border-radius: 9px;
 background: rgba(9, 15, 29, 0.32);
 color: #9facbf;
}
.public-social-link:hover {
 color: #f4f7ff;
 border-color: rgba(181, 194, 220, 0.38);
 background: rgba(20, 29, 52, 0.58);
}
.public-social-link svg {
 width: 16px;
 height: 16px;
 display: block;
 fill: currentColor;
}
@media (max-width: 900px) {
 .public-header {
  padding: 8px 0;
 }
 .public-nav,
 .public-footer-inner,
 .public-mobile {
  width: calc(100vw - 20px);
 }
 .public-nav {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 0 12px;
 }
 .public-links,
 .public-actions {
  display: none;
 }
 .public-menu-btn {
  display: inline-flex;
 }
 .public-footer-inner {
  grid-template-columns: 1fr;
 }
 .public-footer-links {
  justify-content: flex-start;
 }
}
@media (max-width: 520px) {
 .public-nav,
 .public-footer-inner,
 .public-mobile-inner {
  border-radius: 11px;
 }
 .public-footer-left,
 .public-footer-links {
  align-items: flex-start;
 }
 .public-footer-sep {
  display: none;
 }
}
