/* A quiet shell shared by the homepage and every documentation page. */
.site-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.site-nav-shell { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; }
.site-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 650; letter-spacing: -.6px; white-space: nowrap; }
.site-brand-mark { position:relative;display:block;flex:none;width:38px;height:38px;overflow:hidden;border-radius:50%; }.site-logo .site-brand-mark img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.9);filter:none;mix-blend-mode:normal}.site-brand-mark .brand-light{display:none}
html[data-moonship-theme=light] .site-brand-mark .brand-light{display:block}html[data-moonship-theme=light] .site-brand-mark .brand-dark{display:none}
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; color: var(--muted); }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; }
.desktop-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.site-nav-shell svg, .docs-search svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-linecap: round; stroke-width: 1.6; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 4px; color: var(--muted); }
.icon-button:hover { color: var(--ink); background: var(--pale); }
.mobile-menu-button { display: none; }
.mobile-nav { padding: 12px 24px 20px; gap: 0; border-top: 1px solid var(--line); }
.mobile-nav:not([hidden]) { display: grid; }
.mobile-nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
.site-eyebrow { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; font-weight: 500; margin-bottom: 24px; }
.site-section { padding-block: 104px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .application-copy h2, .build-section h2 { font-size: clamp(32px, 3.3vw, 40px); line-height: 1.2; letter-spacing: -.035em; font-weight: 550; text-wrap: balance; }
.section-heading > p:last-child { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 640px; margin-top: 24px; text-wrap: pretty; }
.text-link { display: inline-block; font-size: 14px; font-weight: 500; color: var(--purple); text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.site-footer-new { display: flex; justify-content: space-between; gap: 64px; padding-block: 64px; border-top: 1px solid var(--line); }
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 24px; }
.footer-brand small { display: block; font-size: 12px; color: var(--muted); margin-top: 32px; }
.site-footer-new nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.site-footer-new nav > div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.site-footer-new nav a { padding-block: 4px; line-height: 1.6; }
.site-footer-new nav strong { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.error-new { padding-block: 112px; min-height: 60vh; }
.error-new h1 { font-size: clamp(32px,4vw,48px); font-weight: 550; letter-spacing: -.035em; line-height: 1.2; max-width: 700px; }
.error-new p { font-size: 17px; line-height: 1.8; color: var(--muted); margin-top: 24px; }
.error-new > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media(max-width:1000px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .site-container { width: calc(100% - 64px); }
  .site-nav { gap: 20px; }
  .desktop-nav { gap: 24px; }
  .site-footer-new { gap: 40px; }
  .site-footer-new nav { gap: 28px; }
  .site-section { padding-block: 80px; }
}
@media(max-width:760px) {
  .nav-actions>.nav-web-app { display: none; }
  .site-container { width: calc(100% - 40px); }
  .site-nav { min-height: 72px; }
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .nav-actions { gap: 4px; }
  .site-nav-shell .button { font-size: 13px; padding: 10px 14px; }
  .site-logo { font-size: 20px; }
  .site-brand-mark { width: 34px; height: 34px; }
  .site-footer-new { flex-direction: column; gap: 40px; padding-block: 48px; }
  .footer-brand { max-width: 470px; }
  .site-footer-new nav { gap: 24px; }
  .site-footer-new nav a { min-height: 44px; display: flex; align-items: center; }
  .site-section { padding-block: 64px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading > p:last-child { font-size: 16px; }
}
@media(max-width:420px) {
  .site-container { width: calc(100% - 32px); }
  .site-nav { gap: 8px; }
  .site-logo { gap: 4px; font-size: 18px; }
  .site-brand-mark { width: 30px; height: 30px; }
  .nav-actions { gap: 0; }
  .site-nav-shell .button { padding-inline: 10px; font-size: 12px; }
  .site-footer-new nav { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
@media(max-width:360px) {
  .site-logo { font-size: 17px; }
  .site-brand-mark { width: 26px; height: 26px; }
  .site-nav-shell .button { padding-inline: 8px; }
}

/* Keep the store action visible on narrow screens without crowding navigation. */
.nav-store{display:inline-flex;align-items:center;justify-content:center;gap:8px}
@media(max-width:600px){.site-nav-shell .nav-store{width:44px;min-width:44px;padding:10px}.nav-store>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
