/* Shared public-site navigation and footer, aligned to the desktop hero window. */
.site-nav { position: sticky; top: 0; z-index: 60; background: #0b0b0cf2; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); color: var(--ink); font-family: 'Plex Sans', system-ui, sans-serif; }
.site-nav__inner { width: var(--site-page-width); height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 34px; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 600; letter-spacing: -.65px; white-space: nowrap; text-decoration: none; }
.site-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.site-nav a { text-decoration: none; }
.site-nav__links { display: flex; gap: 26px; align-items: center; margin-left: auto; }
.site-nav__links > a { font-size: 13px; color: #b7b7bc; white-space: nowrap; }
.site-nav__links > a:hover, .site-nav__links > a[aria-current=page] { color: #fff; }
.site-nav .site-nav__actions { display: flex; align-items: center; gap: 12px; margin: 0; }
.site-signin, .site-button { display: inline-flex; justify-content: center; align-items: center; min-height: 38px; padding: 8px 14px; border: 1px solid #454549; border-radius: 5px; color: #e3e3e5; font-size: 12px; font-weight: 450; line-height: 1.4; white-space: nowrap; }
.site-button { background: #ededee; border-color: #ededee; color: #18181a; }
.site-signin:hover { border-color: #aaaab0; background: #ffffff06; }
.site-button:hover { background: #fff; }
.site-nav .site-menu-toggle { display: none; }
.site-nav a:focus-visible, .site-nav button:focus-visible, .site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-footer { width: var(--site-page-width); margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; padding: 28px 0 36px; color: #a1a1a9; font: 400 12px/1.5 'Plex Sans', system-ui, sans-serif; }
.site-footer__brand { display: flex; gap: 22px; align-items: center; }
.site-footer__brand a { color: var(--ink); font-size: 19px; font-weight: 500; text-decoration: none; }
.site-footer__brand span { font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.site-footer nav a:hover, .site-footer button:hover { color: #fff; }
@media(max-width:1050px) { .site-nav__inner { gap: 24px; }.site-nav__links { gap: 19px; } }
@media(max-width:900px) {
 .site-nav__inner { height: 64px; gap: 18px; }
 .site-nav .site-nav__actions { margin-left: auto; }
 .site-nav .site-menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid #ffffff25; background: none; border-radius: 4px; width: 36px; height: 38px; padding: 0; cursor: pointer; }
 .site-menu-toggle span { width: 15px; height: 1px; background: #ccc; }
 .site-nav__links { display: none; position: absolute; top: 63px; left: 0; right: 0; padding: 16px 24px 23px; margin: 0; background: #151517; border-bottom: 1px solid #ffffff25; max-height: calc(100dvh - 64px); overflow-y: auto; }
 .site-nav__links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
 .site-nav__links > a { padding: 11px 4px; font-size: 15px; }
 .site-footer { align-items: flex-start; }.site-footer__brand { flex-direction: column; align-items: flex-start; gap: 7px; }.site-footer nav { justify-content: flex-end; }
}
@media(max-width:600px) {
 .site-nav__inner { gap: 10px; }
 .site-brand { font-size: 18px; gap: 7px; }.site-brand svg { width: 24px; height: 24px; }
 .site-nav .site-nav__actions { gap: 7px; }
 .site-signin, .site-button { font-size: 11px; padding-inline: 9px; min-height: 36px; }
 .site-nav .site-menu-toggle { width: 30px; height: 36px; }
 .site-nav__links { padding-inline: 20px; }
 .site-footer { flex-direction: column; gap: 20px; padding-block: 25px 30px; }
 .site-footer__brand { flex-direction: row; justify-content: space-between; width: 100%; align-items: center; }
 .site-footer nav { justify-content: flex-start; gap: 14px 19px; font-size: 11px; }
}
@media(max-width:370px) { .site-brand span { display: none; }.site-brand svg { width: 28px; height: 28px; }.site-nav .site-nav__actions { gap: 9px; }.site-signin, .site-button { font-size: 12px; } }

.site-footer__brand .site-footer__wordmark { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__wordmark svg { width: 23px; height: 23px; flex: 0 0 23px; }

/* Features dropdown in the shared nav. On narrow screens it shows as a plain list inside the menu panel. */
.site-menu { position: relative; }
.site-menu__btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: #b7b7bc; white-space: nowrap; }
.site-menu__btn:hover, .site-menu__btn[aria-expanded=true] { color: #fff; }
.site-menu__chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .15s; }
.site-menu__btn[aria-expanded=true] .site-menu__chev { transform: rotate(180deg); }
.site-menu__panel { display: none; position: absolute; top: calc(100% + 18px); left: -14px; z-index: 70; min-width: 470px; grid-template-columns: 1fr 1fr; gap: 6px 20px; padding: 16px; background: var(--menu-bg, #151517); border: 1px solid #ffffff25; border-radius: 8px; box-shadow: 0 20px 50px #0005; }
.site-menu.is-open .site-menu__panel { display: grid; }
.site-menu__group { display: flex; flex-direction: column; gap: 1px; }
.site-menu__label { padding: 4px 10px 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #a3a3aa); }
.site-menu__panel a { display: block; padding: 7px 10px; border-radius: 5px; font-size: 13px; color: #e3e3e5; white-space: nowrap; }
.site-menu__panel a:hover { background: #ffffff0d; }
.site-menu__all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid #ffffff14; border-radius: 0 0 5px 5px !important; padding-top: 11px !important; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid #454549; border-radius: 5px; background: none; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-toggle__sun { display: none; }
html[data-theme-now=dark] .theme-toggle .theme-toggle__sun { display: block; }
html[data-theme-now=dark] .theme-toggle .theme-toggle__moon { display: none; }
@media(max-width:900px) {
 .site-menu__btn { display: none; }
 .site-menu__panel, .site-menu.is-open .site-menu__panel { position: static; display: flex; flex-direction: column; min-width: 0; padding: 0; margin: 4px 0 6px; background: none; border: 0; box-shadow: none; gap: 3px; }
 .site-menu__label { padding: 10px 4px 4px; }
 .site-menu__panel a { padding: 9px 4px; font-size: 15px; }
 .site-menu__all { border-top: 0; margin-top: 0; }
}
@media(max-width:600px) { .theme-toggle { width: 34px; height: 36px; } }

/* Column footer with links to every page. Shared by all public pages. */
.site-footer--columns { display: block; width: auto; max-width: none; margin: 0; padding: 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer--columns .site-footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.site-footer--columns .site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer--columns .site-footer__brand p { font-size: 14px; max-width: 260px; }
.site-footer--columns nav.site-footer__col { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.site-footer__col h2 { font-size: 13px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ink); margin-bottom: 4px; }
.site-footer__col a, .site-footer__col button { font-size: 13px; text-align: left; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 12px; }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media(max-width:900px) { .site-footer--columns .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .site-footer--columns .site-footer__inner { grid-template-columns: minmax(0, 1fr); } .site-footer--columns { margin: 0; padding: 0; } }
