/* Three jump links in the middle of the landing page's nav: How it works,
   Examples (Good type is everywhere) and Map (Found all over). Quiet grey like
   the body text, dark on hover and for the section on screen. Shown at every
   width on the landing page (see the compact header bar block below); the
   other modes (the font page) have no sections to jump to, so none there. */
.nav-links{display:none}
.nav-links a{padding:9px 14px;border-radius:100px;color:#77777c;font:500 14px/1 Inter,sans-serif;letter-spacing:-.005em;text-decoration:none;transition:color .2s,background-color .2s}
.nav-links a:hover{color:#111;background:rgb(0 0 0 / .04)}
.nav-links a[aria-current=true]{color:#111}
.nav-links a:focus-visible{outline:2px solid #111;outline-offset:2px}
#howStory,#examples{scroll-margin-top:72px}

/* ------------------------------------------------------------------------
   Compact header bar (landing page). The header is one white frosted pill,
   centred, at most 1040px wide (a side gutter on smaller screens), 56px tall
   and fully rounded, shown at every scroll position. Wordmark on the left,
   the three links centred, Join waitlist on the right as a 40px pill nested
   8px in from the bar's top, right and bottom. The header box itself stays
   full width and transparent (72px: the bar plus 8px above and below); the
   bar is its ::before (look from interaction-polish.css), and equal padding
   puts the content inside it, so the links sit on the bar's centre. This
   replaces, on the landing page only, the full-width white bar at the top
   and the slide-in pill on scroll (interaction-polish.css, .is-pill from
   specimen-studio.js), and the 1440px cap and 64px padding from
   desktop-scale.css. The links never hide; on phones (480px and under) the
   wordmark drops to its "ft" mark so all of it fits on one line.
   The button keeps its hover from buttons.css; only its size is set here.
   ------------------------------------------------------------------------ */
body.landing-mode>header{
 --bar-max:1040px;--bar-gutter:24px;--bar-h:56px;--bar-inset:8px;--bar-pad-l:20px;
 --bar-edge:max(var(--bar-gutter),calc((100% - var(--bar-max)) / 2));
 width:100%;max-width:none;margin-inline:0;
 height:calc(var(--bar-h) + 16px);min-height:0;
 padding:0 calc(var(--bar-edge) + var(--bar-inset));
 display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;column-gap:12px;
 background:transparent;box-shadow:none;clip-path:none;animation:none;border:0}
body.landing-mode>header::before,body.landing-mode>header.is-pill::before{
 top:8px;bottom:8px;left:var(--bar-edge);right:var(--bar-edge);border-radius:999px;opacity:1;transition:none}
body.landing-mode>header>.wordmark,body.landing-mode>header>nav,
body.landing-mode>header.is-pill>.wordmark,body.landing-mode>header.is-pill>nav{transform:none;transition:none}
body.landing-mode>header>.wordmark{justify-self:start;min-width:0;min-height:40px;margin-left:calc(var(--bar-pad-l) - var(--bar-inset));white-space:nowrap}
body.landing-mode>header>nav{justify-self:end;gap:8px}
body.landing-mode>header .nav-links{position:static;translate:none;display:flex;gap:2px}
body.landing-mode>header .nav-links a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;white-space:nowrap}
body.landing-mode>header #newButton{height:40px;min-height:40px;padding-inline:18px;font-size:13px;border-radius:999px}
@media(max-width:900px){
 body.landing-mode>header{column-gap:8px}
 body.landing-mode>header .nav-links{gap:0}
 body.landing-mode>header .nav-links a{padding:0 10px;font-size:13px}
}
@media(max-width:700px){
 body.landing-mode>header{--bar-gutter:12px;--bar-pad-l:16px}
 body.landing-mode>header .nav-links a{min-height:32px;padding:0 8px;font-size:12px}
 body.landing-mode>header #newButton{padding-inline:14px;font-size:12px}
}
@media(max-width:480px){
 /* Too narrow to balance both sides: the links centre in the space between. */
 body.landing-mode>header{--bar-gutter:8px;--bar-pad-l:12px;column-gap:4px;grid-template-columns:auto 1fr auto}
 body.landing-mode>header .nav-links{justify-self:center}
 /* Just the "ft" mark: the name is a bare text node, so it goes to size 0. */
 body.landing-mode>header>.wordmark{font-size:0;gap:0}
 body.landing-mode>header .nav-links a{padding:0 6px}
 body.landing-mode>header #newButton{padding-inline:12px}
}
