/* The site header and footer, on every page. Colours come from index.css (dark by default, light with the system);
   this file adds the header and footer fonts, the menu cards and the Explore Lyric Ai split button. The header script
   is /js/header.js. Selectors are scoped to .hdr and .foot so page styles never reach them. */
@font-face{font-family:'Geist';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/geist-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:300 600;font-display:swap;src:url(/fonts/newsreader-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--chrome-display:'Newsreader',Georgia,serif;--chrome-body:'Geist',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--menu-card:#111110;--menu-card-shadow:0 18px 44px rgba(0,0,0,.6);--split:rgba(20,18,14,.2);--split-open:rgba(20,18,14,.12)}
@media (prefers-color-scheme: light){:root{--menu-card:#FFFDF9;--menu-card-shadow:0 1px 2px rgba(20,18,14,.04),0 14px 36px rgba(20,18,14,.10);--split:rgba(251,248,241,.18);--split-open:rgba(251,248,241,.16)}}

/* header */
.hdr{position:sticky;top:0;z-index:1000;display:flex;align-items:center;padding:1.15rem clamp(24px,4vw,80px);border-bottom:1px solid var(--rule-soft);background:var(--glass);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);font-family:var(--chrome-body);line-height:1.6;color:var(--text)}
.hdr.fixed{position:fixed;left:0;right:0}
.hdr *{box-sizing:border-box}
.hdr picture{display:contents}
.hdr .hdr-logo{display:block;line-height:0;text-decoration:none}
.hdr .hdr-logo img{height:34px;width:auto;display:block}
.hdr .hdr-nav{display:flex;align-items:center;gap:2rem;margin-left:2.5rem}
.hdr .hdr-item{position:relative}
.hdr .hdr-nav button{display:inline-flex;align-items:center;gap:.3rem;font:inherit;font-size:.875rem;color:var(--text);background:none;border:0;padding:.5rem 0;margin:0;cursor:pointer}
.hdr .hdr-nav button svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.6;transition:transform .2s ease}
.hdr .hdr-nav button.open{color:var(--text-muted)}
.hdr .hdr-nav button.open svg{transform:rotate(180deg)}
.hdr .hdr-cta{margin-left:auto;position:relative}
.hdr .xbtn{display:flex;align-items:stretch;height:40px;border-radius:8px;background:var(--text);color:var(--bg);overflow:hidden}
.hdr a.xbtn-main{display:inline-flex;align-items:center;padding:0 1.125rem;font-family:var(--chrome-body);font-size:.9375rem;font-weight:400;color:var(--bg);text-decoration:none;white-space:nowrap}
.hdr .xbtn-main .short{display:none}
.hdr .xbtn-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;padding:0;margin:0;border:0;border-left:1px solid var(--split);background:transparent;color:var(--bg);cursor:pointer}
.hdr .xbtn-toggle.open{background:var(--split-open)}
.hdr .xbtn-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.hdr .xbtn-toggle.open svg{transform:rotate(180deg)}
.hdr .xmenu-pop{position:absolute;top:100%;z-index:20;padding-top:10px}
.hdr .xmenu-pop[hidden]{display:none}
.hdr .xmenu-pop.right{right:0}
.hdr .xmenu-pop.left{left:-1.625rem}
.hdr .xmenu{position:relative;width:244px;max-width:calc(100vw - 32px);background:var(--menu-card);border:1px solid var(--rule-soft);border-radius:14px;box-shadow:var(--menu-card-shadow);padding:1.5rem 1.625rem;text-align:left}
.hdr .xmenu.wide{width:272px}
.hdr .xmenu-sec + .xmenu-sec{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--rule)}
.hdr .xmenu-label{display:block;font-family:var(--chrome-display);font-size:1rem;line-height:1.5;color:var(--text-muted);margin-bottom:.375rem}
.hdr a.xmenu-link{display:block;font-family:var(--chrome-display);font-size:1.0625rem;line-height:1.7;color:var(--text);text-decoration:none}
.hdr a.xmenu-link:hover{opacity:.6}

/* footer: the brand on the left; Research, Models with Software under it, and Legal on the right */
.foot{background:var(--footer-bg);border-top:1px solid var(--rule-soft);padding:96px 0 48px;font-family:var(--chrome-body);line-height:1.6;color:var(--text)}
.foot *{box-sizing:border-box}
.foot picture{display:contents}
.foot .foot-inner{max-width:1600px;margin:0 auto;padding:0 clamp(24px,4vw,80px);display:flex;justify-content:space-between;align-items:flex-start;gap:4rem}
.foot .foot-brand{flex:none;display:flex;flex-direction:column;align-items:flex-start;gap:32px}
.foot .foot-mark{width:56px;height:56px;object-fit:contain;display:block}
.foot .foot-social{display:flex;align-items:center;gap:4px;margin-left:-12px}
.foot .foot-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;color:var(--text-muted)}
.foot .foot-social svg{width:20px;height:20px;fill:currentColor}
.foot .foot-copy{margin:0;font-size:14px;color:var(--text-muted)}
.foot .foot-nav{display:grid;grid-template-columns:repeat(3,auto);column-gap:clamp(3.5rem,7vw,7rem);row-gap:2.5rem}
.foot .foot-nav h2{margin:0;font-family:var(--chrome-body);font-size:15px;font-weight:500;letter-spacing:0;line-height:1.6;color:var(--text)}
.foot .foot-nav .foot-sub{margin-top:2rem}
.foot .foot-nav ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.foot .foot-nav li{margin:0}
.foot .foot-nav a{color:var(--text-muted);font-size:15px;text-decoration:none}
.foot a:hover{opacity:.75}

@media (max-width:960px){
.foot .foot-inner{flex-direction:column;gap:48px;padding:0 24px}
.foot .foot-nav{align-self:stretch;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
}
@media (max-width:640px){
.hdr{padding-left:16px;padding-right:16px}
.hdr .xbtn-main .long{display:none}
.hdr .xbtn-main .short{display:inline}
.hdr a.xbtn-main{padding:0 .8rem;font-size:.875rem}
.hdr .xbtn-toggle{width:36px}
.hdr .hdr-nav{margin-left:.875rem;gap:.875rem}
.hdr .hdr-nav button{font-size:.8125rem}
.hdr .hdr-logo img{height:28px}
.foot{padding:56px 0 40px}
}
