1import{r as n,j as e,L as t,O as l}from"./main-Be8DfOzT.js";import{X as d}from"./x-DpsY7NZU.js";import{c}from"./createLucideIcon-DxhPd5GQ.js";const i=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],m=c("menu",i);function x(){const[o,s]=n.useState(!1),a=[{to:"/",label:"Home"},{to:"/#features",label:"Features"},{to:"/#pricing",label:"Pricing"},{to:"/#developers",label:"Developers"},{to:"/#faq",label:"FAQ"}];return e.jsx(e.Fragment,{children:e.jsxs("header",{className:"sticky top-0 z-50 w-full border-b border-border bg-[var(--sm-surface)]/95 backdrop-blur supports-[backdrop-filter]:bg-[var(--sm-surface)]/60",children:[e.jsx("div",{className:"max-w-6xl mx-auto px-6",children:e.jsxs("div",{className:"flex h-16 items-center justify-between",children:[e.jsxs(t,{to:"/",className:"flex items-center gap-2",children:[e.jsx("img",{src:"/logo192.png",alt:"Sleep Matter",className:"w-8 h-8 rounded-lg"}),e.jsxs("span",{className:"font-display text-xl tracking-[0.01em] text-foreground",children:["Sleep ",e.jsx("span",{className:"text-primary",children:"Matter"})]})]}),e.jsx("nav",{className:"hidden md:flex items-center gap-6",children:a.map(r=>e.jsx("a",{href:r.to,className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors duration-150",children:r.label},r.label))}),e.jsxs("div",{className:"hidden md:flex items-center gap-4",children:[e.jsx(t,{to:"/privacy",className:"text-sm text-muted-foreground hover:text-foreground transition-colors duration-150",children:"Privacy"}),e.jsx(t,{to:"/terms",className:"text-sm text-muted-foreground hover:text-foreground transition-colors duration-150",children:"Terms"})]}),e.jsx("button",{onClick:()=>s(!o),className:"md:hidden p-2 hover:bg-accent rounded-lg transition-colors duration-150","aria-label":"Toggle menu",children:o?e.jsx(d,{size:24}):e.jsx(m,{size:24})})]})}),o&&e.jsx("div",{className:"md:hidden border-t border-border",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-4 space-y-4",children:[a.map(r=>e.jsx("a",{href:r.to,className:"block text-sm font-medium text-muted-foreground hover:text-foreground transition-colors duration-150",onClick:()=>s(!1),children:r.label},r.label)),e.jsxs("div",{className:"pt-4 border-t border-border space-y-2",children:[e.jsx(t,{to:"/privacy",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors duration-150",onClick:()=>s(!1),children:"Privacy Policy"}),e.jsx(t,{to:"/terms",className:"block text-sm text-muted-foreground hover:text-foreground transition-colors duration-150",onClick:()=>s(!1),children:"Terms of Service"})]})]})})]})})}function f(){return e.jsxs(e.Fragment,{children:[e.jsx(x,{}),e.jsx(l,{})]})}export{f as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.