/* Shared public navigation. Also embedded by sync-nav.py in standalone pages. */
header.site { --nav-text:#f1f2f0; --nav-muted:#b9c0b9; --nav-hover:#1b1f1b; --nav-accent:#76b900; display:flex; align-items:center; gap:36px; position:sticky; top:0; z-index:100; width:100%; min-height:73px; margin:0; padding:14px max(24px,calc((100vw - 1240px)/2)); background:#0a0b0a; border:0; border-bottom:1px solid #262b26; font-family:Inter,"Segoe UI",system-ui,sans-serif; box-sizing:border-box; }
header.site * { box-sizing:border-box; }
header.site .logo { display:flex; align-items:center; flex-shrink:0; gap:9px; white-space:nowrap; font-size:17px; font-weight:750; letter-spacing:-.015em; color:var(--nav-text); text-decoration:none; }
header.site .logo .dim { color:#99a099; font-weight:450; margin-left:2px; }
header.site .spark-mark { fill:var(--nav-accent); }
header.site .land-nav { display:flex; align-items:center; flex:1; flex-wrap:nowrap; gap:6px; width:auto; }
header.site .land-nav > a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 12px; border:0; border-radius:7px; color:var(--nav-muted); text-decoration:none; font-size:14px; font-weight:600; line-height:20px; white-space:nowrap; }
header.site .land-nav > a:hover, header.site .land-nav > a.nav-current { color:var(--nav-text); background:var(--nav-hover); box-shadow:none; }
header.site .land-nav > .btn-ghost { margin-left:auto; color:var(--nav-text); }
header.site .land-nav > .btn-primary { margin-left:8px; padding:10px 18px; background:var(--nav-accent); color:#0a0b0a; }
header.site .land-nav > .btn-primary:hover { background:#8ed600; }
header.site :focus-visible { outline:2px solid var(--nav-accent); outline-offset:3px; }
header.site .nav-quick-cta { display:none; }
header.site .nav-menu-toggle { display:none; align-items:center; gap:10px; min-height:44px; padding:9px 14px; border:1px solid #4a544a; border-radius:7px; color:var(--nav-text); background:transparent; font:600 14px Inter,"Segoe UI",system-ui,sans-serif; cursor:pointer; }
header.site .nav-menu-toggle::before { content:""; width:16px; height:12px; background:linear-gradient(currentColor,currentColor) top/100% 2px,linear-gradient(currentColor,currentColor) center/100% 2px,linear-gradient(currentColor,currentColor) bottom/100% 2px; background-repeat:no-repeat; }
header.site .nav-menu-toggle[aria-expanded="true"]::before { height:16px; background:linear-gradient(45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,currentColor 45%,currentColor 55%,transparent 56%); }
@media(max-width:1100px) {
 header.site { padding:12px 20px; gap:12px; min-height:69px; flex-wrap:wrap; }
 header.site .land-nav { width:100%; flex:0 0 100%; flex-wrap:wrap; }
 header.site.nav-enhanced .nav-menu-toggle { display:inline-flex; margin-left:auto; }
 header.site.nav-enhanced .nav-quick-cta { display:inline-flex; align-items:center; justify-content:center; margin-left:auto; min-height:44px; padding:0 14px; border-radius:7px; background:var(--nav-accent); color:#0a0b0a; font-size:14px; font-weight:600; line-height:20px; white-space:nowrap; text-decoration:none; }
 header.site.nav-enhanced .nav-quick-cta:hover { background:#8ed600; }
 header.site.nav-enhanced .nav-quick-cta + .nav-menu-toggle { margin-left:0; }
 header.site.nav-enhanced .land-nav { display:none; }
 header.site.nav-enhanced.nav-mobile-open .land-nav { display:flex; flex-direction:column; align-items:stretch; gap:4px; max-height:calc(100dvh - 100px); overflow-y:auto; padding:8px 0 16px; }
 header.site .land-nav > a { justify-content:flex-start; }
 header.site .land-nav > .btn-ghost { margin:12px 0 0; border:1px solid #3a423a; }
 header.site .land-nav > .btn-primary { margin:4px 0 0; justify-content:center; }
}
@media(max-width:480px) {
 header.site { gap:8px; padding:12px 16px; }
 header.site.nav-enhanced .logo .dim { display:none; }
 header.site.nav-enhanced .nav-quick-cta { padding:0 12px; font-size:13.5px; }
 header.site.nav-enhanced .nav-menu-toggle { padding:9px 12px; gap:8px; }
}
/* Phone menu, 2026-10-08: hairline rows like the rest of the site, and no
   second copy of the primary CTA while the quick CTA sits in the bar. */
@media(max-width:1100px) {
 header.site.nav-enhanced.nav-mobile-open .land-nav > a:not(.btn) { min-height:48px; padding:12px 4px; border-radius:0; border-bottom:1px solid #262b26; font-size:16px; }
 header.site.nav-enhanced.nav-mobile-open .land-nav > a:not(.btn):hover { background:none; color:var(--nav-text); }
 header.site.nav-enhanced .nav-quick-cta ~ .land-nav > .btn-primary { display:none; }
}
/* Smallest phones (320-360px): the menu button keeps its icon and its
   accessible name "Menu" but drops the visible word, so the bar stays one row. */
@media(max-width:360px) {
 header.site.nav-enhanced .nav-menu-toggle { gap:0; padding:9px 12px; font-size:0; }
 header.site.nav-enhanced .nav-quick-cta { padding:0 10px; }
}
/* Phones, 2026-10-11 (owner): no "Create account" in the bar; the opened menu
   shows its primary button again, and Menu sits at the right edge. */
@media(max-width:640px) {
 header.site.nav-enhanced .nav-quick-cta { display:none; }
 header.site.nav-enhanced .nav-quick-cta + .nav-menu-toggle { margin-left:auto; }
 header.site.nav-enhanced .nav-quick-cta ~ .land-nav > .btn-primary { display:flex; }
}
/* Language and currency pill, account menu (2026-11-13). The account icon
   replaces the "Sign in" button on wide screens; the phone menu keeps
   "Sign in" as a row and shows the pill as its last row. */
header.site .nav-tools { display:flex; align-items:center; gap:4px; margin-left:auto; }
:is(header.site, footer.site) .nav-pop-wrap { position:relative; }
:is(header.site, footer.site) .nav-locale-btn, :is(header.site, footer.site) .nav-account-btn { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border:0; border-radius:7px; background:transparent; color:var(--nav-text); font:600 14px Inter,"Segoe UI",system-ui,sans-serif; cursor:pointer; }
:is(header.site, footer.site) .nav-account-btn { width:44px; padding:0; justify-content:center; color:var(--nav-muted); }
:is(header.site, footer.site) .nav-locale-btn:hover, :is(header.site, footer.site) .nav-account-btn:hover, :is(header.site, footer.site) .nav-pop-wrap > button[aria-expanded="true"] { background:var(--nav-hover); color:var(--nav-text); }
:is(header.site, footer.site) .nav-locale[hidden], :is(header.site, footer.site) .nav-pop-col[hidden] { display:none; }
:is(header.site, footer.site) .nav-caret { width:7px; height:7px; margin:-3px 0 0 1px; border-right:1.6px solid var(--nav-muted); border-bottom:1.6px solid var(--nav-muted); transform:rotate(45deg); }
:is(header.site, footer.site) .nav-pop { position:absolute; top:calc(100% + 8px); right:0; z-index:110; display:flex; gap:28px; padding:18px 20px; background:#121412; border:1px solid #2e342e; border-radius:10px; box-shadow:0 18px 40px rgba(0,0,0,.45); }
:is(header.site, footer.site) .nav-pop[hidden] { display:none; }
:is(header.site, footer.site) .nav-pop-col { display:flex; flex-direction:column; min-width:170px; }
:is(header.site, footer.site) .nav-pop-lang .nav-lang-list { display:grid; grid-template-columns:repeat(2,minmax(150px,1fr)); column-gap:4px; }
:is(header.site, footer.site) .nav-pop-col + .nav-pop-col { min-width:220px; }
:is(header.site, footer.site) .nav-pop-head { margin:0 0 8px; color:#99a099; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
:is(header.site, footer.site) .nav-opt { display:flex; align-items:center; gap:10px; width:100%; min-height:38px; padding:0 10px; border:0; border-radius:6px; background:transparent; color:var(--nav-muted); font:500 14px Inter,"Segoe UI",system-ui,sans-serif; text-align:left; cursor:pointer; }
:is(header.site, footer.site) .nav-opt:hover { background:var(--nav-hover); color:var(--nav-text); }
:is(header.site, footer.site) .nav-opt { text-decoration:none; }
:is(header.site, footer.site) .nav-opt[aria-pressed="true"], :is(header.site, footer.site) .nav-opt[aria-current] { color:var(--nav-text); }
:is(header.site, footer.site) .nav-opt[aria-pressed="true"]::after, :is(header.site, footer.site) .nav-opt[aria-current]::after { content:""; width:10px; height:5px; margin:-3px 2px 0 auto; border-left:2px solid var(--nav-accent); border-bottom:2px solid var(--nav-accent); transform:rotate(-45deg); }
:is(header.site, footer.site) .nav-opt-code { width:34px; font-weight:650; color:var(--nav-text); }
:is(header.site, footer.site) .nav-opt-name { flex:1; }
:is(header.site, footer.site) .nav-opt-sym { color:#7d857d; font-size:13px; }
:is(header.site, footer.site) .nav-opt[aria-pressed="true"] .nav-opt-sym { display:none; }
/* Globe, language name and currency on the button (research, 2026-11-13). */
:is(header.site, footer.site) .nav-globe { flex:none; color:var(--nav-muted); }
:is(header.site, footer.site) .nav-locale-btn:hover .nav-globe { color:var(--nav-text); }
:is(header.site, footer.site) .nav-locale-btn [hidden] { display:none; }
:is(header.site, footer.site) .nav-locale-sep { color:#7d857d; margin:0 -2px; }
:is(header.site, footer.site) .nav-locale-cur { white-space:nowrap; }
:is(header.site, footer.site) .nav-lang-filter { width:100%; box-sizing:border-box; height:36px; margin:0 0 8px; padding:0 10px; border:1px solid #2e342e; border-radius:7px; background:#0a0b0a; color:var(--nav-text); font:500 14px Inter,"Segoe UI",system-ui,sans-serif; }
:is(header.site, footer.site) .nav-lang-filter::placeholder { color:#7d857d; }
:is(header.site, footer.site) .nav-lang-filter:focus { outline:2px solid var(--nav-accent); outline-offset:-1px; border-color:transparent; }
:is(header.site, footer.site) .nav-lang-filter[hidden], :is(header.site, footer.site) .nav-lang-none[hidden], :is(header.site, footer.site) .nav-opt[hidden] { display:none; }
:is(header.site, footer.site) .nav-lang-none { margin:6px 10px; color:#7d857d; font-size:14px; }
:is(header.site, footer.site) .nav-pop-lang .nav-lang-list { max-height:min(360px, 60vh); overflow-y:auto; align-content:start; }
/* Narrow desktop bars: the globe and the currency are enough. */
@media(min-width:1101px) and (max-width:1320px) {
 header.site .nav-locale-both .nav-locale-lang, header.site .nav-locale-both .nav-locale-sep { display:none; }
}
/* The footer copy sits at the right of the bottom row and opens upwards. */
footer.site .nav-locale { --nav-text:#f1f2f0; --nav-muted:#b9c0b9; --nav-hover:#1b1f1b; --nav-accent:#76b900; font-family:Inter,"Segoe UI",system-ui,sans-serif; }
footer.site .nav-locale-btn { min-height:36px; padding:0 10px; border:1px solid #2e342e; font-size:13px; }
footer.site .nav-pop { top:auto; bottom:calc(100% + 8px); right:0; left:auto; z-index:50; text-align:left; }
footer.site .nav-pop-head { font-size:12px; }
@media(max-width:640px) {
 footer.site .nav-pop { position:fixed; left:16px; right:16px; bottom:16px; flex-direction:column; max-height:calc(100vh - 32px); overflow-y:auto; }
 footer.site .nav-pop-lang .nav-lang-list { grid-template-columns:1fr 1fr; }
}
header.site .nav-pop-menu { flex-direction:column; gap:2px; min-width:180px; padding:8px; }
header.site .nav-menu-item { display:flex; align-items:center; min-height:40px; padding:0 12px; border-radius:6px; color:var(--nav-text); font-size:14px; font-weight:600; text-decoration:none; }
header.site .nav-menu-item:hover { background:var(--nav-hover); }
header.site.nav-has-account .land-nav > .btn-ghost { display:none; }
header.site .nav-tools ~ .btn-ghost { margin-left:0; }
@media(max-width:1100px) {
 header.site.nav-enhanced.nav-mobile-open .land-nav { flex-wrap:nowrap; }
 header.site .nav-tools { order:10; margin:12px 0 0; padding-top:12px; border-top:1px solid #262b26; }
 header.site .nav-account { display:none; }
 header.site.nav-has-account .land-nav > .btn-ghost { display:inline-flex; }
 header.site .nav-locale { width:100%; }
 header.site .nav-locale-btn { width:100%; justify-content:flex-start; padding:0 4px; font-size:16px; }
 header.site .nav-locale-btn .nav-caret { margin-left:auto; }
 header.site .nav-pop { position:static; flex-direction:column; gap:18px; margin-top:6px; box-shadow:none; }
 header.site .land-nav > .btn-primary { order:11; }
 header.site .land-nav > .btn-ghost { order:9; }
}
/* Phone and tablet menu fixes (2026-11-13 review):
   - the open menu sits above the cookie banner (consent.css z-index 9000);
   - "Sign in" is a plain row with the account icon, like the links above it,
     so the green button stays the only button; a sign-up line follows it. */
header.site .nav-row-ico, header.site .nav-signup-hint { display:none; }
@media(max-width:1100px) {
 header.site.nav-mobile-open { z-index:9001; }
 header.site.nav-enhanced.nav-mobile-open .land-nav > .btn-ghost { justify-content:flex-start; gap:10px; min-height:48px; margin:0; padding:12px 4px; border:0; border-radius:0; border-bottom:0; background:none; font-size:16px; font-weight:600; color:var(--nav-text); }
 header.site.nav-enhanced.nav-mobile-open .land-nav > .btn-ghost .nav-row-ico { display:block; flex:none; color:var(--nav-muted); }
 header.site.nav-enhanced.nav-mobile-open .nav-signup-hint { display:block; order:9; margin:-6px 0 4px; padding:0 4px 12px 34px; border-bottom:1px solid #262b26; color:var(--nav-muted); font-size:14px; }
 header.site .nav-signup-hint a { color:var(--nav-accent); font-weight:600; text-decoration:none; }
 header.site .nav-signup-hint a:hover { text-decoration:underline; }
 header.site.nav-has-account .nav-tools { margin-top:0; border-top:0; }
}
/* Menus (2026-11-20, owner's sketch): Product, Use cases, Resources, Company
   open a panel on hover or keyboard focus; the top link still goes to the
   section's main page, so everything works without JavaScript. Pricing is a
   plain link; the language and currency pill and the Console button follow. */
header.site .land-nav > .nav-group { position:relative; display:flex; }
header.site .land-nav > .nav-group > a { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:10px 12px; border-radius:7px; color:var(--nav-muted); text-decoration:none; font-size:14px; font-weight:600; line-height:20px; white-space:nowrap; }
header.site .land-nav > .nav-group > a::after { content:""; width:6px; height:6px; margin-top:-3px; border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor; transform:rotate(45deg); opacity:.7; }
header.site .land-nav > .nav-group:hover > a, header.site .land-nav > .nav-group:focus-within > a, header.site .land-nav > .nav-group > a.nav-current { color:var(--nav-text); background:var(--nav-hover); }
header.site .nav-drop { display:none; position:absolute; top:100%; left:0; z-index:110; flex-direction:column; gap:2px; min-width:300px; margin-top:6px; padding:8px; background:#121412; border:1px solid #2e342e; border-radius:10px; box-shadow:0 18px 40px rgba(0,0,0,.45); }
header.site .nav-drop::before { content:""; position:absolute; left:0; right:0; top:-10px; height:10px; }
header.site .land-nav > .nav-group:hover > .nav-drop, header.site .land-nav > .nav-group:focus-within > .nav-drop { display:flex; }
header.site .nav-drop a { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:10px 12px; border-radius:7px; text-align:left; text-decoration:none; }
header.site .nav-drop a:hover, header.site .nav-drop a:focus-visible { background:var(--nav-hover); }
header.site .nav-drop b { color:var(--nav-text); font-size:14px; font-weight:600; }
header.site .nav-drop span { color:#99a099; font-size:13px; font-weight:450; }
header.site .land-nav > a[data-intent="pricing"] { margin-right:auto; }
@media(max-width:1100px) {
 header.site .land-nav > .nav-group { flex-direction:column; }
 header.site.nav-enhanced.nav-mobile-open .land-nav > .nav-group > a { min-height:48px; padding:12px 4px; border-radius:0; font-size:16px; color:var(--nav-text); background:none; }
 header.site.nav-enhanced.nav-mobile-open .land-nav > .nav-group > a::after { display:none; }
 header.site .nav-drop, header.site .land-nav > .nav-group:hover > .nav-drop { display:flex; position:static; min-width:0; margin:0 0 8px; padding:0 0 8px 12px; background:none; border:0; border-bottom:1px solid #262b26; border-radius:0; box-shadow:none; }
 header.site .nav-drop, header.site .land-nav > .nav-group:hover > .nav-drop { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; }
 header.site .nav-drop a { align-items:flex-start; padding:9px 4px; text-align:left; }
 header.site .nav-drop span { display:none; }
 header.site .nav-drop b { color:var(--nav-muted); font-size:15px; font-weight:500; }
 header.site .land-nav > a[data-intent="pricing"] { margin-right:0; }
 header.site .nav-tools { margin-top:0; padding-top:4px; border-top:0; }
}
